Searched refs:top (Results 1 - 25 of 45) sorted by relevance

12

/PHP_TRUNK/build/
H A Dbuild2.mk33 SUPPRESS_WARNINGS ?= 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times|AC_DECL_YYTEXT is expanded from...|the top level)'||true)
/PHP_TRUNK/ext/spl/internal/
H A Drecursiveiteratoriterator.inc60 /** Rewind to top iterator as set in constructor
H A Dspldoublylinkedlist.inc90 public function top()
143 /** Rewind to top iterator as set in constructor
H A Dsplobjectstorage.inc28 /** Rewind to top iterator as set in constructor
/PHP_TRUNK/main/
H A Dmergesort.c248 #define reverse(bot, top) { \
249 s = top; \
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_gif_in.c185 int top, left; local
217 top = LM_to_uint(buf[2], buf[3]);
221 if (left + width > screen_width || top + height > screen_height) {
/PHP_TRUNK/Zend/
H A Dzend_ptr_stack.c31 stack->top = stack->max = 0;
51 stack->top++;
68 stack->top--;
86 int i = stack->top;
98 int i = stack->top;
104 stack->top = 0;
111 return stack->top;
H A Dzend_stack.c30 stack->top = 0;
39 if (stack->top >= stack->max) {
43 memcpy(ZEND_STACK_ELEMENT(stack, stack->top), element, stack->size);
44 return stack->top++;
50 if (stack->top > 0) {
51 return ZEND_STACK_ELEMENT(stack, stack->top - 1);
60 --stack->top;
78 return stack->top == 0;
101 return stack->top;
111 for (i=stack->top
[all...]
H A Dzend_stack.h26 int size, top, max; member in struct:_zend_stack
H A Dzend_objects_API.c31 objects->top = 1; /* Skip 0 so that handles are true */
47 for (i = 1; i < objects->top ; i++) {
68 for (i = 1; i < objects->top ; i++) {
82 for (i = objects->top - 1; i > 0 ; i--) {
98 for (i = 1; i < objects->top ; i++) {
121 if (EG(objects_store).top == EG(objects_store).size) {
125 handle = EG(objects_store).top++;
H A Dzend_objects_API.h51 uint32_t top; member in struct:_zend_objects_store
H A Dzend_execute.c1695 int used_stack = (EG(argument_stack)->top - (zval*)call) + additional_args;
1699 new_call = (zend_execute_data*)EG(argument_stack)->top;
1700 EG(argument_stack)->top += used_stack;
1714 EG(argument_stack)->prev->top = (zval*)call;
1717 if (UNEXPECTED(EG(argument_stack)->prev->top == ZEND_VM_STACK_ELEMETS(EG(argument_stack)->prev))) {
1730 if (EXPECTED(EG(argument_stack)->end - EG(argument_stack)->top > additional_args)) {
1731 EG(argument_stack)->top += additional_args;
H A Dzend_execute.h143 zval *top; member in struct:_zend_vm_stack
158 ((char*)EG(argument_stack)->top)))) { \
166 page->top = ZEND_VM_STACK_ELEMETS(page);
175 EG(argument_stack)->top++;
210 call = (zend_execute_data*)EG(argument_stack)->top;
211 EG(argument_stack)->top += used_stack;
258 EG(argument_stack)->top = (zval*)call;
H A Dzend_ptr_stack.h26 int top, max; member in struct:_zend_ptr_stack
47 if (stack->top+count > stack->max) { \
51 } while (stack->top+count > stack->max); \
53 stack->top_element = stack->elements+stack->top; \
64 stack->top += ZEND_PTR_STACK_NUM_ARGS;
78 stack->top += ZEND_PTR_STACK_NUM_ARGS;
90 stack->top -= 3;
97 stack->top -= 2;
104 stack->top++;
110 stack->top
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c58 int top, max, persistent; member in struct:_sapi_stack
117 stack->top = 0;
129 if (stack->top >= stack->max) { /* we need to allocate more memory */
136 stack->elements[stack->top] = (void *) element;
137 return stack->top++;
140 if(stack->top == 0) {
144 return stack->elements[--stack->top];
159 for (i=stack->top-1; i>=0; i--) {
164 for (i=0; i<stack->top; i++) {
179 for (i=stack->top
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h68 phpdbg_param_t *top; member in struct:_phpdbg_param
82 (v)->top = NULL; \
120 * 2) the commands at the top of the stack are resolved sensibly using aliases, abbreviations and case insensitive matching
122 * 4) the handler is called passing the top of the stack as the only parameter
136 PHPDBG_API const phpdbg_command_t* phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top, char **why);
H A Dphpdbg_parser.y166 const phpdbg_param_t *top = PHPDBG_G(parser_stack);
168 while (top) {
169 phpdbg_param_debug(top, "--> ");
170 top = top->next;
H A Dphpdbg_cmd.c527 if (stack->top == NULL) {
528 stack->top = next;
529 next->top = NULL;
532 stack->top->next = next;
533 next->top = stack->top;
534 stack->top = next;
543 const phpdbg_param_t *top = (stack != NULL) ? *stack : NULL; local
552 if (!top) {
604 case 'i': verify_arg("raw input", top, STR_PARA
642 phpdbg_stack_resolve(const phpdbg_command_t *commands, const phpdbg_command_t *parent, phpdbg_param_t **top, char **why) argument
745 phpdbg_param_t *top = NULL; local
[all...]
/PHP_TRUNK/ext/json/
H A DJSON_parser.h15 int top; member in struct:JSON_parser_struct
H A DJSON_parser.c204 jp->top += 1;
205 if (jp->top >= jp->depth) {
209 jp->stack[jp->top] = mode;
221 if (jp->top < 0 || jp->stack[jp->top] != mode) {
225 jp->top -= 1;
247 jp->top = -1;
555 if (type != -1 && jp->stack[jp->top] == MODE_OBJECT)
562 add_assoc_or_property(assoc, &jp->the_zstack[jp->top], &key, &mval TSRMLS_CC);
578 if (type != -1 && jp->stack[jp->top]
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c79 int top, bot; local
83 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
85 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
93 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
95 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
103 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
105 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
114 while (top > bot)
116 int mid = (top + bot) / 2;
121 if (c > 0) bot = mid + 1; else top
162 int top, bot; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c272 stack->top = stack->base;
/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c439 zend_bool top=0; local
443 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &var, &var_len, &val, &val_len, &top) == FAILURE) {
447 while(top) {
/PHP_TRUNK/ext/ereg/regex/
H A Dregcomp.c188 - p_ere - ERE parser top level, concatenation and alternation
396 - p_bre - BRE parser top level, anchoring and concatenation
1060 register cset *top = &p->g->sets[p->g->ncsets]; local
1065 if (cs == top-1) /* recover only the easy case */
1086 register cset *top = &p->g->sets[p->g->ncsets]; local
1091 for (cs2 = &p->g->sets[0]; cs2 < top; cs2++)
1101 if (cs2 < top) { /* found one */
/PHP_TRUNK/ext/wddx/
H A Dwddx.c96 int top, max; member in struct:__anon7
175 stack->top = 0;
189 if (stack->top >= stack->max) { /* we need to allocate more memory */
193 stack->elements[stack->top] = (void *) emalloc(size);
194 memcpy(stack->elements[stack->top], element, size);
195 return stack->top++;
203 if (stack->top > 0) {
204 *element = stack->elements[stack->top - 1];
217 if (stack->top == 0) {
232 for (i = 0; i < stack->top;
[all...]

Completed in 54 milliseconds

12