84 Retval = OREF_NULLSTRING;
95 while (--WordPos != 0 && WordLength != 0)
109 while (--Count != 0 && WordLength != 0)
123 if (FrontLength != 0)
127 Current += FrontLength;
132 memcpy(Current, NextSite, Length);
154 const char *NextSite;
174 while (WordLength != 0)
177 WordSize += WordLength;
184 Retval = OREF_NULLSTRING;
190 Retval =
raw_string(WordSize + Count * Spaces);
202 memcpy(Current, Word, WordLength);
203 Current += WordLength;
207 memset(Current, (
int)PadChar, Spaces);
215 memcpy(Current, Word, WordLength);
RexxInteger * new_integer(wholenumber_t v)
codepoint_t optionalPadArgument(RexxObject *o, codepoint_t d, size_t p)
size_t optionalLengthArgument(RexxObject *o, size_t d, size_t p)
RexxString * raw_string(stringsize_t l)
stringsize_t positionArgument(RexxObject *argument, size_t position)
static const wholenumber_t MAX_WHOLENUMBER
RexxArray * subWords(RexxInteger *, RexxInteger *)
RexxInteger * wordIndex(RexxInteger *)
RexxString * subWord(RexxInteger *, RexxInteger *)
const char * getStringData()
RexxString * space(RexxInteger *, RexxString *)
RexxString * word(RexxInteger *)
RexxInteger * caselessWordPos(RexxString *, RexxInteger *)
RexxInteger * wordLength(RexxInteger *)
RexxInteger * wordPos(RexxString *, RexxInteger *)
RexxString * delWord(RexxInteger *, RexxInteger *)
static RexxInteger * caselessWordPos(const char *data, size_t length, RexxString *phrase, RexxInteger *pstart)
static RexxInteger * wordIndex(const char *data, size_t length, RexxInteger *position)
static RexxArray * subWords(const char *data, size_t length, RexxInteger *position, RexxInteger *plength)
static void skipBlanks(const char **String, size_t *StringLength)
static size_t wordCount(const char *String, size_t StringLength)
static RexxString * subWord(const char *data, size_t length, RexxInteger *position, RexxInteger *plength)
static size_t nextWord(const char **String, size_t *StringLength, const char **NextString)
static RexxInteger * wordPos(const char *data, size_t length, RexxString *phrase, RexxInteger *pstart)
static RexxInteger * wordLength(const char *data, size_t length, RexxInteger *position)
static RexxString * word(const char *data, size_t length, RexxInteger *position)