146 size_t listIndex = this->
first;
172 if (list_index == NULL)
189 if (list_index == NULL)
255 this->
first = new_index;
256 this->
last = new_index;
268 this->
first = new_index;
278 this->
last = new_index;
285 element->
next = new_index;
348 size_t arraysize = this->
items();
354 for (
size_t i = 1; i <= arraysize; i++)
376 size_t nextEntry = this->
first;
377 for (
size_t i = 1; i <= this->
count; i++)
386 nextEntry = element->
next;
488 size_t current = this->
first;
493 if (current == target)
571 while (counter-- > 0)
607 newObj->
sendMessage(OREF_INIT, init_args, argCount, named_argCount);
614 size_t named_argCount)
626 arraysize = argCount;
629 for (i = 0; i < arraysize; i++)
645 arraysize = argCount;
649 for (i = 0; i < arraysize; i++)
666 void *RexxQueue::operator
new(
size_t size)
void reportException(wholenumber_t error)
RexxArray * new_array(size_t s)
RexxInteger * new_integer(wholenumber_t v)
#define INITIAL_LIST_SIZE
#define TheQueueBehaviour
void requiredArgument(RexxObject *object, RexxString *kind, size_t position)
RexxInteger * REQUEST_INTEGER(RexxObject *obj)
#define Error_Incorrect_method_noarg
#define Error_Incorrect_method_queue_index
#define Error_Incorrect_method_index
#define CLASS_CREATE(name, id, className)
RexxSupplier * new_supplier(RexxArray *c, RexxArray *f)
void put(RexxObject *eref, size_t pos)
RexxClass * getOwningClass()
RexxBehaviour * getInstanceBehaviour()
wholenumber_t wholeNumber()
void setBehaviour(RexxBehaviour *b)
RexxBehaviour * behaviour
RexxObject * primitiveRemove(LISTENTRY *)
void addLast(RexxObject *value)
stringsize_t requiredNonNegative(RexxString *kind, size_t position, size_t precision=Numerics::ARGUMENT_DIGITS)
bool equalValue(RexxObject *other)
void sendMessage(RexxString *, RexxArray *, RexxDirectory *, ProtectedObject &)
RexxObject * next(RexxObject *)
RexxObject * insert(RexxObject *, RexxObject *)
LISTENTRY * locateEntry(RexxObject *, RexxObject *)
RexxObject * remove(RexxObject *)
static void createInstance()
RexxObject * index(RexxObject *)
RexxObject * sectionSubclass(LISTENTRY *, size_t)
RexxObject * pushRexx(RexxObject *)
void push(RexxObject *obj)
RexxObject * hasindex(RexxObject *)
RexxObject * at(RexxObject *)
static RexxClass * classInstance
RexxObject * previous(RexxObject *)
RexxObject * section(RexxObject *, RexxObject *)
size_t entryToIndex(size_t target)
RexxObject * put(RexxObject *, RexxObject *)
RexxObject * newRexx(RexxObject **, size_t, size_t)
void queue(RexxObject *obj)
RexxQueue * ofRexx(RexxObject **, size_t, size_t)
RexxObject * append(RexxObject *)
RexxObject * queueRexx(RexxObject *)