86 this->
string = OREF_NULLSTRING;
94 this->
string = OREF_NULLSTRING;
101 this->
string = OREF_NULLSTRING;
109 this->
string = this->
string->
upper();
115 this->
string = this->
string->
lower();
159 if (this->end <= this->
start)
203 if ((
size_t)offset <= this->
start)
280 this->
end = this->
string->pos(needle, this->
start);
308 this->
end = this->
string->caselessPos(needle, this->
start);
339 word = OREF_NULLSTRING;
346 endScan = this->
string->getStringData() + this->
end;
351 while (*scan ==
' ' || *scan ==
'\t')
356 this->
subcurrent = scan - this->
string->getStringData();
359 word = OREF_NULLSTRING;
365 const char *scanner = scan;
367 while (scanner < endPosition)
369 if (*scanner ==
' ' || *scanner ==
'\t')
380 this->subcurrent = this->
end;
385 this->
subcurrent = endScan - this->
string->getStringData();
386 length = endScan - scan;
416 if (this->subcurrent < this->
end)
419 scan = this->
string->getStringData() + this->
subcurrent;
421 endScan = this->
string->getStringData() + this->
end;
426 while (*scan ==
' ' || *scan ==
'\t')
431 this->
subcurrent = scan - this->
string->getStringData();
432 if (this->subcurrent < this->
end)
436 const char *scanner = scan;
437 const char *endPosition =
string->getStringData() + this->
end;
438 while (scanner < endPosition)
440 if (*scanner ==
' ' || *scanner ==
'\t')
454 this->
subcurrent = endScan - this->
string->getStringData();
475 word = OREF_NULLSTRING;
487 word = this->
string->
extract(this->subcurrent, length);
489 this->subcurrent = this->
end;
RexxString * REQUEST_STRING(RexxObject *object)
RexxString * new_string(const char *s, stringsize_t l)
void traceResult(RexxObject *v)
void push(RexxObject *value)
const char * getStringData()
RexxString * extract(size_t offset, size_t sublength)
void search(RexxString *)
void backward(stringsize_t)
void absolute(stringsize_t)
void backwardLength(stringsize_t)
void init(RexxObject *, RexxObject **, size_t, size_t, bool, RexxActivation *, RexxExpressionStack *)
stringsize_t pattern_start
void forwardLength(stringsize_t)
stringsize_t string_length
void caselessSearch(RexxString *)
void forward(stringsize_t)
RexxExpressionStack * stack
void next(RexxActivation *)