65 const char *PadString;
87 if (String1Len <= String2Len)
89 MinLength = String1Len;
90 MaxLength = String2Len;
96 MinLength = String2Len;
97 MaxLength = String1Len;
101 PadLength = MaxLength - MinLength;
105 memcpy(Target, PadString, MaxLength);
107 while (MinLength-- != 0)
110 *Target = *Target & *Source++;
114 while (PadLength-- != 0)
117 *Target = *Target & PadChar;
136 const char *PadString;
158 if (String1Len <= String2Len)
160 MinLength = String1Len;
161 MaxLength = String2Len;
167 MinLength = String2Len;
168 MaxLength = String1Len;
172 PadLength = MaxLength - MinLength;
176 memcpy(Target, PadString, MaxLength);
178 while (MinLength-- != 0)
181 *Target = *Target | *Source++;
185 while (PadLength-- != 0)
188 *Target = *Target | PadChar;
207 const char *PadString;
229 if (String1Len <= String2Len)
231 MinLength = String1Len;
232 MaxLength = String2Len;
238 MinLength = String2Len;
239 MaxLength = String1Len;
243 PadLength = MaxLength - MinLength;
247 memcpy(Target, PadString, MaxLength);
249 while (MinLength-- != 0)
252 *Target = *Target ^ *Source++;
256 while (PadLength-- != 0)
259 *Target = *Target ^ PadChar;
codepoint_t optionalPadArgument(RexxObject *o, codepoint_t d, size_t p)
RexxString * optionalStringArgument(RexxObject *o, RexxString *d, RexxString *kind, size_t p)
RexxString * raw_string(stringsize_t l)
RexxString * bitOr(RexxString *, RexxString *)
RexxString * bitAnd(RexxString *, RexxString *)
const char * getStringData()
RexxString * bitXor(RexxString *, RexxString *)