Lines Matching defs:stack
122 module_path* stack;
263 status_t _ScanDirectory(Stack<DIR*>& stack, DIR* dir,
837 *_baseLength = iterator->stack[iterator->stack_current - 1].base_length;
839 return iterator->stack[--iterator->stack_current].name;
848 // allocate new space on the stack
849 module_path* stack = (module_path*)realloc(iterator->stack,
851 if (stack == NULL)
854 iterator->stack = stack;
858 iterator->stack[iterator->stack_current].name = path;
859 iterator->stack[iterator->stack_current++].base_length = baseLength;
929 // get next directory path from the stack
933 // we are finished, there are no more entries on the stack
944 // the next directory on the stack
1474 Stack<DIR*> stack;
1475 stack.Push(dir);
1477 while (stack.Pop(&dir)) {
1478 status_t status = _ScanDirectory(stack, dir, prefix, prefixPosition);
1488 ModuleNotificationService::_ScanDirectory(Stack<DIR*>& stack, DIR* dir,
1538 stack.Push(subDir);
2014 // put all search paths on the stack
2027 // Copy base path onto the iterator stack
2044 // if we do, don't forget to empty the stack
2085 // free stack
2096 free(iterator->stack);