#include <SystemInterpreter.hpp>
Static Public Attributes | |
static sigset_t | oldmask |
static sigset_t | newmask |
static ULONG | exceptionHostProcessId = 0 |
static HANDLE | exceptionHostProcess = NULL |
static bool | exceptionConsole = false |
static bool | explicitConsole = false |
static int | signalCount = 0 |
Static Protected Attributes | |
static HINSTANCE | moduleHandle = 0 |
static HANDLE | timeSliceTimerThread = 0 |
Definition at line 68 of file unix/SystemInterpreter.hpp.
|
static |
Definition at line 61 of file unix/MemorySupport.cpp.
References size_v.
Referenced by RexxActivity::callFunctionExit(), RexxString::copyToRxstring(), RexxNativeActivation::copyValue(), SysInterpreterInstance::initialize(), ProgramMetaData::operator new(), RexxGetVersionInformation(), and SysSearchPath::SysSearchPath().
|
static |
|
static |
Definition at line 437 of file unix/ExternalFunctions.cpp.
References Error_System_service, getCurrentWorkingDirectory(), RexxBuffer::getData(), getEnvironment(), new_buffer(), OREF_NULL, and reportException().
Referenced by pushEnvironment().
|
static |
Definition at line 58 of file unix/TimeSupport.cpp.
References RexxDateTime::day, RexxDateTime::hours, RexxDateTime::microseconds, RexxDateTime::minutes, RexxDateTime::month, RexxDateTime::seconds, RexxDateTime::timeZoneOffset, and RexxDateTime::year.
Referenced by RexxActivity::generateRandomNumberSeed(), and RexxActivation::getTime().
|
static |
|
static |
Get the current working directory for the process.
Definition at line 183 of file unix/SystemInterpreter.cpp.
Referenced by buildEnvlist(), and RexxRoutine1().
|
static |
Retrieve the globally default initial address.
Definition at line 101 of file unix/SystemCommands.cpp.
Referenced by InterpreterInstance::initialize().
|
static |
|
static |
Definition at line 91 of file unix/MiscSystem.cpp.
References getSystemName().
Referenced by RexxMemory::createImage().
|
static |
|
static |
Return a message header for a given error message.
code | The error code |
Return a message header for a given error message.
code | The error code |
Definition at line 183 of file unix/ErrorMessages.cpp.
References msgEntry::code, msgEntry::msgid, new_string(), and OREF_NULL.
Referenced by RexxActivity::display().
|
static |
|
static |
Retrieve the message text for a give error code.
code | The Rexx error code |
Definition at line 102 of file unix/ErrorMessages.cpp.
References CATD_ERR, msgEntry::code, msgEntry::msgid, new_string(), OREF_NULL, REXXMESSAGEFILE, and SECOND_PARAMETER.
Referenced by RexxActivity::buildMessage(), BUILTIN(), RexxActivity::createExceptionObject(), RexxActivation::debugPause(), RexxActivity::display(), RexxActivity::displayDebug(), and RexxActivity::reraiseException().
|
static |
|
static |
Definition at line 144 of file unix/MiscSystem.cpp.
References RexxString::getBLength(), RexxString::getStringData(), RexxString::getWritableData(), and raw_string().
Referenced by RexxActivation::sourceString().
|
static |
|
static |
Definition at line 96 of file unix/MiscSystem.cpp.
References new_string().
Referenced by RexxMemory::createImage(), and getInternalSystemName().
|
static |
|
static |
Definition at line 112 of file unix/MiscSystem.cpp.
References new_string().
Referenced by RexxMemory::createImage().
|
static |
|
static |
Definition at line 64 of file unix/UseridFunction.cpp.
References ACCOUNT_BUFFER_SIZE, and new_string().
Referenced by BUILTIN().
|
static |
|
static |
|
static |
|
static |
Definition at line 345 of file unix/ExternalFunctions.cpp.
References RexxActivation::callExternalRexx(), RexxActivation::callMacroSpaceFunction(), PackageManager::callNativeRoutine(), MS_POSTORDER, and MS_PREORDER.
Referenced by RexxActivation::externalCall().
|
static |
|
static |
Definition at line 166 of file unix/SystemInterpreter.cpp.
Referenced by RexxMemory::live().
|
static |
|
static |
Definition at line 170 of file unix/SystemInterpreter.cpp.
References memoryObject, and RexxMemory::savingImage().
Referenced by RexxMemory::liveGeneral().
|
static |
|
static |
Load the base image into storage.
imageBuffer | returned start of the image |
imageSize | returned size of the image |
Since, on Windows, the base image (rexx.img) is always located in the same directory as rexx.exe, this results in the image being found faster. For development, it prevents the wrong base image being picked up during a compile.
If the image is not found in the application image's directory, the regular executable search, which searches the path, is performed.
Definition at line 142 of file unix/FileSystem.cpp.
References RexxMemory::allocateImageBuffer(), BASEIMAGE, Interpreter::logicError(), memoryObject, and SysFileSystem::primitiveSearchName().
Referenced by RexxMemory::restoreImage().
|
static |
|
static |
Load a message from the system message resources.
code | The error message identifier. |
buffer | The buffer for the returned message. |
bufferLength | The length of th message buffer. |
Definition at line 117 of file windows/SystemInterpreter.cpp.
References moduleHandle.
|
static |
Pop an environment for the SysEndLocal() BIF.
context | The current activation context. |
Definition at line 409 of file unix/ExternalFunctions.cpp.
References RexxBuffer::getData(), RexxActivation::popEnvironment(), restoreEnvironment(), TheFalseObject, TheNilObject, and TheTrueObject.
Referenced by BUILTIN().
|
static |
|
static |
Definition at line 67 of file unix/SystemInterpreter.cpp.
References Interpreter::processStartup().
|
static |
|
static |
Process a signal based on current command handler settings.
dwCtrlType | The type of exception. |
Definition at line 130 of file windows/SystemInterpreter.cpp.
References exceptionConsole, exceptionHostProcess, exceptionHostProcessId, Interpreter::haltAllActivities(), and OREF_NULL.
Referenced by WinConsoleCtrlHandler().
|
static |
Definition at line 60 of file unix/SystemInterpreter.cpp.
References Interpreter::processStartup().
|
static |
Definition at line 66 of file windows/SystemInterpreter.cpp.
References moduleHandle, Interpreter::processStartup(), and startTimeSlice().
|
static |
Push a new environment for the SysSetLocal() BIF.
context | The current activation context. |
Definition at line 387 of file unix/ExternalFunctions.cpp.
References buildEnvlist(), OREF_NULL, RexxActivation::pushEnvironment(), TheFalseObject, and TheTrueObject.
Referenced by BUILTIN().
|
static |
|
static |
Definition at line 223 of file unix/FileSystem.cpp.
References RexxString::getStringData(), SysFileSystem::MaximumFileNameBuffer, new_string(), and SysFileSystem::qualifyStreamName().
Referenced by RexxActivation::resolveStream().
|
static |
|
static |
Definition at line 189 of file unix/FileSystem.cpp.
References RexxBuffer::getData(), new_buffer(), and OREF_NULL.
Referenced by RoutineClass::fromFile(), and RexxSource::initFile().
|
static |
|
static |
Definition at line 73 of file unix/MemorySupport.cpp.
Referenced by RexxActivity::callCommandExit(), RexxActivity::callDebugInputExit(), RexxActivity::callFunctionExit(), RexxActivity::callPullExit(), RexxActivity::callQueueNameExit(), RexxNativeActivation::callRegisteredRoutine(), RexxActivity::callTerminalInputExit(), CommandHandlerDispatcher::complete(), RexxActivation::getMacroCode(), ProgramMetaData::operator delete(), RoutineClass::restoreFromMacroSpace(), SysInterpreterInstance::terminate(), and SysSearchPath::~SysSearchPath().
|
static |
|
static |
Definition at line 506 of file unix/ExternalFunctions.cpp.
References Error_System_service_service, getEnvironment(), putflag, and reportException().
Referenced by popEnvironment(), and RexxActivation::termination().
|
static |
|
inlinestatic |
Definition at line 75 of file windows/SystemInterpreter.hpp.
References timeSliceTimerThread.
Referenced by TimeSliceControl().
|
static |
Definition at line 127 of file unix/SystemInterpreter.cpp.
References signalHandler().
Referenced by Interpreter::startInterpreter().
|
static |
|
static |
Definition at line 149 of file windows/TimeSupport.cpp.
References Interpreter::clearTimeSliceElapsed(), TIMESLICE_STACKSIZE, TimeSliceControl(), and timeSliceTimerThread.
Referenced by processStartup().
|
static |
Definition at line 169 of file windows/TimeSupport.cpp.
References timeSliceTimerThread.
|
static |
|
static |
|
static |
Definition at line 157 of file unix/SystemInterpreter.cpp.
Referenced by Interpreter::terminateInterpreter().
|
static |
|
static |
Validate an external address name.
Name | The name to validate |
Definition at line 134 of file unix/MiscSystem.cpp.
References Error_Environment_name_name, RexxString::getBLength(), MAX_ADDRESS_NAME_LENGTH, and reportException().
Referenced by RexxInstructionAddress::execute().
|
static |
|
static |
Process a value function call for external repositories.
Name | The variable name. |
NewValue | The new value to assign to that variable. |
Selector | The variable pool selector. |
result | The returned existing value. |
Definition at line 67 of file unix/ValueFunction.cpp.
References ARG_TWO, RexxString::getStringData(), new_string(), OREF_NULL, SELECTOR, RexxString::strCaselessCompare(), stringArgument(), and TheNilObject.
Referenced by BUILTIN().
|
static |
|
static |
Definition at line 102 of file windows/SystemInterpreter.hpp.
Referenced by processSignal(), and systemCommandHandler().
|
static |
Definition at line 101 of file windows/SystemInterpreter.hpp.
Referenced by processSignal(), and sysCommandNT().
|
static |
Definition at line 100 of file windows/SystemInterpreter.hpp.
Referenced by processSignal(), and sysCommandNT().
|
static |
Definition at line 103 of file windows/SystemInterpreter.hpp.
Referenced by sysCommandNT(), and systemCommandHandler().
|
staticprotected |
Definition at line 108 of file windows/SystemInterpreter.hpp.
Referenced by loadMessage(), and processStartup().
|
static |
Definition at line 107 of file unix/SystemInterpreter.hpp.
|
static |
Definition at line 106 of file unix/SystemInterpreter.hpp.
|
static |
Definition at line 104 of file windows/SystemInterpreter.hpp.
|
staticprotected |
Definition at line 109 of file windows/SystemInterpreter.hpp.
Referenced by setTimeSliceTimerThread(), startTimeSlice(), and stopTimeSlice().