#include "NumberStringClass.hpp"
#include "IntegerClass.hpp"
#include "StringUtil.hpp"
#include "Utilities.hpp"
Go to the source code of this file.
Classes | |
class | RexxString |
Macros | |
#define | STRING_BAD_VARIABLE 0 |
#define | STRING_STEM 1 |
#define | STRING_COMPOUND_NAME 2 |
#define | STRING_LITERAL 3 |
#define | STRING_LITERAL_DOT 4 |
#define | STRING_NUMERIC 5 |
#define | STRING_NAME 6 |
#define | STRING_HASLOWER 0x01 /* string does contain lowercase */ |
#define | STRING_NOLOWER 0x02 /* string does not contain lowercase */ |
#define | STRING_NONNUMERIC 0x04 /* string is non-numeric */ |
#define | STRING_ISASCII_CHECKED 0x08 /* string is ASCII only checked */ |
#define | STRING_ISASCII 0x10 /* string is ASCII only */ |
#define | STRING_EVAL_AS_TEXT 0x20 /* string evaluation returns text */ |
#define | INITIAL_NAME_SIZE 10 /* first name table allocation */ |
#define | EXTENDED_NAME_SIZE 10 /* amount to extend table by */ |
#define | STRIP_BOTH 'B' |
#define | STRIP_LEADING 'L' |
#define | STRIP_TRAILING 'T' |
#define | DATATYPE_ALPHANUMERIC 'A' |
#define | DATATYPE_BINARY 'B' |
#define | DATATYPE_LOWERCASE 'L' |
#define | DATATYPE_MIXEDCASE 'M' |
#define | DATATYPE_NUMBER 'N' |
#define | DATATYPE_SYMBOL 'S' |
#define | DATATYPE_VARIABLE 'V' |
#define | DATATYPE_UPPERCASE 'U' |
#define | DATATYPE_WHOLE_NUMBER 'W' |
#define | DATATYPE_HEX 'X' |
#define | DATATYPE_9DIGITS '9' |
#define | DATATYPE_LOGICAL 'O' |
#define | VERIFY_MATCH 'M' |
#define | VERIFY_NOMATCH 'N' |
#define | ch_SPACE ' ' |
#define | HEX_CHAR_STR "0123456789ABCDEFabcdef" |
#define | ALPHANUM "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
#define | BINARI "01" |
#define | LOWER_ALPHA "abcdefghijklmnopqrstuvwxyz" |
#define | MIXED_ALPHA "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
#define | UPPER_ALPHA "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Functions | |
char | IntToHexDigit (int n) |
void * | rmemcpy (void *t, RexxString *s, size_t blen) |
int | rmemcmp (const void *t, RexxString *s, size_t blen) |
char * | rstrcpy (char *t, RexxString *s) |
char * | rstrcat (char *t, RexxString *s) |
int | rstrcmp (const char *t, RexxString *s) |
int | rsnprintf (RexxString *s, const char *format,...) |
RexxString * | new_string (const char *s, stringsize_t l) |
RexxString * | raw_string (stringsize_t l) |
RexxString * | new_string (double d) |
RexxString * | new_string (double d, size_t p) |
RexxString * | new_string (const char *string) |
RexxString * | new_string (char cc) |
RexxString * | new_string (RXSTRING &r) |
RexxString * | new_string (CONSTRXSTRING &r) |
RexxString * | new_proxy (const char *name) |
RexxString * | new_upper_string (const char *s, stringsize_t l) |
RexxString * | new_upper_string (const char *string) |
bool | isStem (const char *cstring) |
#define ALPHANUM "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
Definition at line 97 of file StringClass.hpp.
#define BINARI "01" |
Definition at line 99 of file StringClass.hpp.
#define ch_SPACE ' ' |
Definition at line 92 of file StringClass.hpp.
#define DATATYPE_9DIGITS '9' |
Definition at line 86 of file StringClass.hpp.
#define DATATYPE_ALPHANUMERIC 'A' |
Definition at line 76 of file StringClass.hpp.
#define DATATYPE_BINARY 'B' |
Definition at line 77 of file StringClass.hpp.
#define DATATYPE_HEX 'X' |
Definition at line 85 of file StringClass.hpp.
#define DATATYPE_LOGICAL 'O' |
Definition at line 87 of file StringClass.hpp.
#define DATATYPE_LOWERCASE 'L' |
Definition at line 78 of file StringClass.hpp.
#define DATATYPE_MIXEDCASE 'M' |
Definition at line 79 of file StringClass.hpp.
#define DATATYPE_NUMBER 'N' |
Definition at line 80 of file StringClass.hpp.
#define DATATYPE_SYMBOL 'S' |
Definition at line 81 of file StringClass.hpp.
#define DATATYPE_UPPERCASE 'U' |
Definition at line 83 of file StringClass.hpp.
#define DATATYPE_VARIABLE 'V' |
Definition at line 82 of file StringClass.hpp.
#define DATATYPE_WHOLE_NUMBER 'W' |
Definition at line 84 of file StringClass.hpp.
#define EXTENDED_NAME_SIZE 10 /* amount to extend table by */ |
Definition at line 70 of file StringClass.hpp.
#define HEX_CHAR_STR "0123456789ABCDEFabcdef" |
Definition at line 96 of file StringClass.hpp.
#define INITIAL_NAME_SIZE 10 /* first name table allocation */ |
Definition at line 69 of file StringClass.hpp.
#define LOWER_ALPHA "abcdefghijklmnopqrstuvwxyz" |
Definition at line 100 of file StringClass.hpp.
#define MIXED_ALPHA "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Definition at line 101 of file StringClass.hpp.
#define STRING_BAD_VARIABLE 0 |
Definition at line 54 of file StringClass.hpp.
#define STRING_COMPOUND_NAME 2 |
Definition at line 56 of file StringClass.hpp.
#define STRING_EVAL_AS_TEXT 0x20 /* string evaluation returns text */ |
Definition at line 67 of file StringClass.hpp.
#define STRING_HASLOWER 0x01 /* string does contain lowercase */ |
Definition at line 62 of file StringClass.hpp.
#define STRING_ISASCII 0x10 /* string is ASCII only */ |
Definition at line 66 of file StringClass.hpp.
#define STRING_ISASCII_CHECKED 0x08 /* string is ASCII only checked */ |
Definition at line 65 of file StringClass.hpp.
#define STRING_LITERAL 3 |
Definition at line 57 of file StringClass.hpp.
#define STRING_LITERAL_DOT 4 |
Definition at line 58 of file StringClass.hpp.
#define STRING_NAME 6 |
Definition at line 60 of file StringClass.hpp.
#define STRING_NOLOWER 0x02 /* string does not contain lowercase */ |
Definition at line 63 of file StringClass.hpp.
#define STRING_NONNUMERIC 0x04 /* string is non-numeric */ |
Definition at line 64 of file StringClass.hpp.
#define STRING_NUMERIC 5 |
Definition at line 59 of file StringClass.hpp.
#define STRING_STEM 1 |
Definition at line 55 of file StringClass.hpp.
#define STRIP_BOTH 'B' |
Definition at line 72 of file StringClass.hpp.
#define STRIP_LEADING 'L' |
Definition at line 73 of file StringClass.hpp.
#define STRIP_TRAILING 'T' |
Definition at line 74 of file StringClass.hpp.
#define UPPER_ALPHA "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Definition at line 103 of file StringClass.hpp.
#define VERIFY_MATCH 'M' |
Definition at line 89 of file StringClass.hpp.
#define VERIFY_NOMATCH 'N' |
Definition at line 90 of file StringClass.hpp.
|
inline |
Definition at line 117 of file StringClass.hpp.
Referenced by RexxString::c2x(), and RexxNumberString::d2xD2c().
|
inline |
Definition at line 656 of file StringClass.hpp.
Referenced by RexxNativeActivation::objectToValue(), RexxNativeActivation::processArguments(), and RexxNativeActivation::resolveStemVariable().
|
inline |
Definition at line 641 of file StringClass.hpp.
References RexxString::newProxy().
Referenced by RexxClass::makeProxy(), RexxInternalObject::makeProxy(), RexxHashTableCollection::makeProxy(), and RexxMemory::makeProxy().
|
inline |
Definition at line 626 of file StringClass.hpp.
References new_string().
|
inline |
Definition at line 600 of file StringClass.hpp.
References RexxString::newString().
Referenced by RexxSource::addCompound(), SysInterpreterInstance::addSearchExtension(), RexxSource::addText(), RexxSource::argList(), ArrayAppendString(), BUILTIN(), RexxActivity::callCommandExit(), RexxActivity::callDebugInputExit(), RexxActivity::callFunctionExit(), RexxActivity::callPullExit(), RexxActivity::callQueueNameExit(), RexxNativeActivation::callRegisteredRoutine(), RexxActivity::callTerminalInputExit(), RexxString::center(), CommandHandlerDispatcher::complete(), RexxActivity::createExceptionObject(), RexxMemory::createImage(), RexxClass::createInstance(), RexxNumberString::d2xD2c(), RexxString::dataType(), StringUtil::dataType(), RexxObject::defMethod(), DirectoryAt(), DirectoryPut(), DirectoryRemove(), RexxNativeActivation::dropContextVariable(), RexxNativeActivation::dropObjectVariable(), RexxActivation::enableExternalTrace(), RexxClass::enhanced(), RexxSource::errorToken(), SysFileSystem::extractDirectory(), SysFileSystem::extractExtension(), SysFileSystem::extractFile(), RexxSource::formatTraceSetting(), RexxSource::get(), RexxNativeActivation::getContextVariable(), RexxMemory::getGlobalName(), SystemInterpreter::getMessageHeader(), SystemInterpreter::getMessageText(), RexxNativeActivation::getObjectVariable(), SystemInterpreter::getSystemName(), StackFrameClass::getType(), SystemInterpreter::getUserid(), Interpreter::getVersionNumber(), RexxTarget::getWord(), RexxInteger::hashCode(), RexxNumberString::hashCode(), RexxObject::hashCode(), LoadLibraryPackage(), LoadPackage(), LoadPackageFromData(), InterpreterInstance::loadRequires(), LibraryPackage::loadRoutines(), StringUtil::makearray(), RexxMutableBuffer::makeString(), RexxString::makeString(), RexxCompoundTail::makeString(), NamedArguments::match(), Interpreter::messageNumber(), RexxActivity::messageSubstitution(), new_string(), RexxNumberString::newInstanceFromDouble(), NewMethod(), RexxString::newProxy(), RexxMethod::newRexx(), RoutineClass::newRexx(), RexxString::newRexx(), NewRoutine(), NewStem(), RexxString::newString(), NewString(), NewStringFromAsciiz(), RexxText::newText(), normalize(), RexxClass::operator new(), RexxSource::optionsDirective(), RexxObject::oref(), RexxSource::packLiteral(), Numerics::pointerToString(), RexxInteger::primitiveMakeString(), InterpreterInstance::processOptions(), SystemInterpreter::qualifyFileSystemName(), RegisterLibrary(), RexxActivity::reportAnException(), SysInterpreterInstance::resolveProgramName(), RexxSource::RexxInstructionForwardCreate(), RexxSourceLiteral::RexxSourceLiteral(), RexxStartDispatcher::run(), CallProgramDispatcher::run(), TranslateDispatcher::run(), TranslateInstoreDispatcher::run(), RexxNativeActivation::setContextVariable(), RexxObject::setMethod(), RexxNativeActivation::setObjectVariable(), RexxActivation::setTrace(), RexxSource::sourceNextToken(), Interpreter::startInterpreter(), RexxNativeActivation::stemSort(), RexxInteger::stringValue(), RexxString::stringValue(), RexxString::strip(), StringUtil::subchar(), StringUtil::subWord(), StringUtil::subWords(), RexxArray::toString(), RexxSource::traceNew(), RexxString::translate(), Unicode::unialgo_version(), Unicode::utf8proc_version(), StringUtil::validateSet(), SystemInterpreter::valueFunction(), RexxNativeActivation::valueToObject(), RexxNativeActivation::variablePoolFetchPrivate(), RexxNativeActivation::variablePoolGetVariable(), RexxNativeActivation::variablePoolSetVariable(), StringUtil::word(), and StringUtil::words().
|
inline |
Definition at line 621 of file StringClass.hpp.
References new_string().
|
inline |
Definition at line 636 of file StringClass.hpp.
References new_string(), _CONSTRXSTRING::strlength, and _CONSTRXSTRING::strptr.
|
inline |
Definition at line 610 of file StringClass.hpp.
References RexxString::newString().
|
inline |
Definition at line 615 of file StringClass.hpp.
References RexxString::newString().
|
inline |
Definition at line 631 of file StringClass.hpp.
References new_string(), _RXSTRING::strlength, and _RXSTRING::strptr.
|
inline |
Definition at line 646 of file StringClass.hpp.
References RexxString::newUpperString().
Referenced by InterpreterInstance::addCommandHandler(), FindCallContextClass(), FindClass(), FindClassFromPackage(), FindContextClass(), ForwardMessage(), HasMethod(), IsOfType(), LibraryPackage::loadRoutines(), new_upper_string(), RaiseCondition(), SendMessage0(), SendMessage1(), SendMessage2(), and SendMessageArray().
|
inline |
Definition at line 651 of file StringClass.hpp.
References new_upper_string().
|
inline |
Definition at line 605 of file StringClass.hpp.
References RexxString::rawString().
Referenced by RexxString::b2x(), RexxString::bitAnd(), RexxString::bitOr(), RexxString::bitXor(), BUILTIN(), RexxString::c2x(), RexxString::caselessChangeStr(), RexxString::center(), RexxString::changeStr(), RexxString::concat(), RexxString::concatBlank(), RexxString::concatRexx(), RexxString::concatToCstring(), RexxString::concatWith(), RexxString::concatWithCstring(), RexxString::copies(), RexxCompoundTail::createCompoundName(), RexxString::decodeBase64(), RexxString::delstr(), RexxString::delWord(), RexxString::encodeBase64(), RexxNumberString::formatInternal(), SystemInterpreter::getSourceString(), RexxString::insert(), RexxString::left(), RexxString::lower(), NewBufferString(), RexxString::overlay(), StringUtil::packHex(), RexxSource::packLiteral(), RexxString::replaceAt(), RexxString::reverse(), RexxString::right(), RexxSource::sourceNextToken(), RexxString::space(), RexxNumberString::stringValue(), StringUtil::substr(), RexxSource::traceBack(), RexxActivation::traceCompoundValue(), RexxActivation::traceEntry(), RexxActivation::traceOperatorValue(), RexxActivation::traceSourceString(), RexxActivation::traceTaggedValue(), RexxActivation::traceValue(), RexxNumberString::truncInternal(), RexxString::upper(), RexxString::x2b(), and RexxString::x2dC2d().
|
inline |
Definition at line 568 of file StringClass.hpp.
References RexxString::getStringData().
|
inline |
Definition at line 563 of file StringClass.hpp.
References RexxString::getStringData().
|
inline |
Definition at line 588 of file StringClass.hpp.
References RexxString::finish(), RexxString::getLength(), RexxString::getWritableData(), and Utilities::vsnprintf().
|
inline |
Definition at line 578 of file StringClass.hpp.
References RexxString::getStringData().
|
inline |
Definition at line 583 of file StringClass.hpp.
References RexxString::getStringData().
|
inline |
Definition at line 573 of file StringClass.hpp.
References RexxString::getStringData().