Home
last modified time | relevance | path

Searched refs:stack (Results 26 – 50 of 81) sorted by relevance

1234

/PHP-5.5/ext/gd/libgd/
H A Dgd_gif_in.c89 int stack[STACK_SIZE], *sp; member
451 sd->sp = sd->stack; in LWZReadByte_()
463 if (sd->sp > sd->stack) in LWZReadByte_()
477 sd->sp = sd->stack; in LWZReadByte_()
497 if (sd->sp == (sd->stack + STACK_SIZE)) { in LWZReadByte_()
508 if (sd->sp == (sd->stack + STACK_SIZE)) { in LWZReadByte_()
534 if (sd->sp > sd->stack) in LWZReadByte_()
/PHP-5.5/ext/json/
H A DJSON_parser.h17 int* stack; member
H A DJSON_parser.c209 jp->stack[jp->top] = mode; in push()
221 if (jp->top < 0 || jp->stack[jp->top] != mode) { in pop()
249 jp->stack = (int*)ecalloc(depth, sizeof(int)); in new_JSON_parser()
265 efree((void*)jp->stack); in free_JSON_parser()
396 int up_mode = jp->stack[up]; in attach_zval()
545 if (type != -1 && jp->stack[jp->top] == MODE_OBJECT) in parse_JSON_ex()
573 if (type != -1 && jp->stack[jp->top] == MODE_ARRAY) in parse_JSON_ex()
655 switch (jp->stack[jp->top]) { in parse_JSON_ex()
686 (jp->stack[jp->top] == MODE_OBJECT || in parse_JSON_ex()
687 jp->stack[jp->top] == MODE_ARRAY)) in parse_JSON_ex()
[all …]
/PHP-5.5/Zend/tests/generators/
H A Dbacktrace.phpt2 Printing the stack trace in a generator
/PHP-5.5/Zend/
H A Dzend_generators.h45 zend_vm_stack stack; member
H A Dzend.c1000 #define SAVE_STACK(stack) do { \ argument
1001 if (CG(stack).top) { \
1002 memcpy(&stack, &CG(stack), sizeof(zend_stack)); \
1003 CG(stack).top = CG(stack).max = 0; \
1004 CG(stack).elements = NULL; \
1006 stack.top = 0; \
1010 #define RESTORE_STACK(stack) do { \ argument
1011 if (stack.top) { \
1012 zend_stack_destroy(&CG(stack)); \
1013 memcpy(&CG(stack), &stack, sizeof(zend_stack)); \
H A Dzend_generators.c80 void **ptr = generator->stack->top - 1; in zend_generator_cleanup_unfinished_execution()
162 efree(generator->stack); in zend_generator_close()
314 generator->stack = EG(argument_stack); in zend_generator_create_zval()
367 EG(argument_stack) = generator->stack; in zend_generator_resume()
/PHP-5.5/ext/standard/tests/array/
H A Darray_push_variation1.phpt2 Test array_push() function : usage variations - Pass different data types as $stack arg
5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
11 * Pass different data types as $stack argument to array_push() to test behaviour
39 // unexpected values to be passed to $stack argument
H A Darray_shift_variation1.phpt2 Test array_shift() function : usage variations - Pass different data types as $stack arg
5 /* Prototype : mixed array_shift(array &$stack)
11 * Pass different data types as $stack argument to array_shift() to test behaviour
36 // unexpected values to be passed to $stack argument
H A Darray_shift_variation2.phpt5 /* Prototype : mixed array_shift(array &$stack)
37 // arrays of different data types to be passed to $stack argument
H A Darray_shift_variation3.phpt5 /* Prototype : mixed array_shift(array &$stack)
25 // unexpected values to be passed to $stack argument
H A Darray_push_error2.phpt5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
H A Darray_shift_basic.phpt5 /* Prototype : mixed array_shift(array &$stack)
H A Darray_push_variation6.phpt5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
28 // arrays of different data types as keys to be passed to $stack argument
H A Darray_push_basic.phpt5 /* Prototype : int array_push(array $stack, mixed $var [, mixed $...])
H A Darray_shift_variation6.phpt5 /* Prototype : mixed array_shift(array &$stack)
H A Darray_shift_variation4.phpt5 /* Prototype : mixed array_shift(array &$stack)
H A Darray_shift_variation8.phpt5 /* Prototype : mixed array_shift(array &$stack)
/PHP-5.5/ext/filter/tests/
H A Dbug52929.phpt12 // An invalid address likely to crash PHP due to stack exhaustion if it goes to
/PHP-5.5/ext/json/tests/
H A D007.phpt30 string(28) "Maximum stack depth exceeded"
/PHP-5.5/sapi/cgi/tests/
H A Dapache_request_headers.phpt2 apache_request_headers() stack overflow.
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug69793.phpt2 Bug #69793: Remotely triggerable stack exhaustion via recursive method calls
/PHP-5.5/ext/imap/tests/
H A Dimap_alerts_error.phpt10 …load or since the last imap_alerts() call, whichever came last. The alert stack is cleared after i…
/PHP-5.5/ext/standard/
H A Darray.c1905 *stack, /* Input array */ in PHP_FUNCTION() local
1937 zval *stack, /* Input stack */ in _phpi_pop() local
1972 Bucket *p = Z_ARRVAL_P(stack)->pListHead; in _phpi_pop()
1984 Z_ARRVAL_P(stack)->nNextFreeElement = k; in _phpi_pop()
1986 zend_hash_rehash(Z_ARRVAL_P(stack)); in _phpi_pop()
1988 …} else if (!key_len && Z_ARRVAL_P(stack)->nNextFreeElement > 0 && index >= Z_ARRVAL_P(stack)->nNex… in _phpi_pop()
1989 Z_ARRVAL_P(stack)->nNextFreeElement = Z_ARRVAL_P(stack)->nNextFreeElement - 1; in _phpi_pop()
2017 *stack; /* Input stack */ in PHP_FUNCTION() local
2029 old_hash = *Z_ARRVAL_P(stack); in PHP_FUNCTION()
2030 if (Z_ARRVAL_P(stack) == &EG(symbol_table)) { in PHP_FUNCTION()
[all …]
/PHP-5.5/tests/func/
H A D010.phpt10 // the stack size + some random constant

Completed in 63 milliseconds

1234