| /PHP_5_4/main/ |
| H A D | alloca.c | 5 which is used to allocate space off the run-time stack so 16 that are found to be deeper in the stack than the current 62 /* If your stack is a linked list of frames, you have to 82 /* Define STACK_DIRECTION if you know the direction of stack 107 auto char dummy; /* To get stack address. */ 129 (b) keep track of stack depth. 144 char *deep; /* For stack depth measure. */ 153 was supposed to be taken from the current stack frame of the 161 auto char probe; /* Probes stack depth: */ 170 was allocated from deeper in the stack tha 421 long size, pseg, this_segment, stack; local [all...] |
| /PHP_5_4/ext/gd/libgd/ |
| H A D | gd.c | 1847 /* max depth of stack */ 1850 if (sp<stack+FILL_MAX && Y+(DY)>=0 && Y+(DY)<wy2) \ 1866 /* stack of filled segments */ 1867 /* struct seg stack[FILL_MAX],*sp = stack;; */ 1868 struct seg *stack = NULL; local 1909 stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1); 1910 sp = stack; 1916 while (sp>stack) { 1947 efree(stack); 1960 struct seg *stack; local [all...] |
| H A D | gd_gif_in.c | 87 int stack[STACK_SIZE], *sp; member in struct:__anon131 444 sd->sp = sd->stack; 456 if (sd->sp > sd->stack) 470 sd->sp = sd->stack; 490 if (sd->sp == (sd->stack + STACK_SIZE)) { 501 if (sd->sp == (sd->stack + STACK_SIZE)) { 527 if (sd->sp > sd->stack)
|
| /PHP_5_4/ext/json/ |
| H A D | JSON_parser.h | 17 int* stack; member in struct:JSON_parser_struct
|
| /PHP_5_4/Zend/ |
| H A D | zend_execute.h | 172 #define ZEND_VM_STACK_ELEMETS(stack) \ 173 ((void**)(((char*)(stack)) + ZEND_MM_ALIGNED_SIZE(sizeof(struct _zend_vm_stack)))) 199 zend_vm_stack stack = EG(argument_stack); local 201 while (stack != NULL) { 202 zend_vm_stack p = stack->prev; 203 efree(stack); 204 stack = p; 260 /* store old top on the stack */ 355 static zend_always_inline void zend_arg_types_stack_2_pop(zend_ptr_stack *stack, zval **object, zend_function **fbc) argument 359 zend_ptr_stack_2_pop(stack, 365 zend_arg_types_stack_3_pop(zend_ptr_stack *stack, zend_class_entry **called_scope, zval **object, zend_function **fbc) argument [all...] |
| H A D | zend_ptr_stack.c | 28 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) argument 30 stack->top_element = stack->elements = NULL; 31 stack->top = stack->max = 0; 32 stack->persistent = persistent; 35 ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack) argument 37 zend_ptr_stack_init_ex(stack, 0); 41 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...) argument 46 ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, coun 59 zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...) argument 76 zend_ptr_stack_destroy(zend_ptr_stack *stack) argument 84 zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)) argument 94 zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements) argument 109 zend_ptr_stack_num_elements(zend_ptr_stack *stack) argument [all...] |
| H A D | zend_ptr_stack.h | 36 ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack); 37 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent); 38 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...); 39 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...); 40 ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack); 41 ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)); 42 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements); 43 ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack); 46 #define ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) \ 47 if (stack 58 zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void *c) argument 72 zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b) argument 85 zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c) argument 93 zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b) argument 100 zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) argument 108 zend_ptr_stack_pop(zend_ptr_stack *stack) argument [all...] |
| H A D | zend_stack.c | 25 ZEND_API int zend_stack_init(zend_stack *stack) argument 27 stack->top = 0; 28 stack->max = 0; 29 stack->elements = NULL; 33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element, int size) argument 35 if (stack->top >= stack->max) { /* we need to allocate more memory */ 36 stack->elements = (void **) erealloc(stack->elements, 37 (sizeof(void **) * (stack 48 zend_stack_top(const zend_stack *stack, void **element) argument 60 zend_stack_del_top(zend_stack *stack) argument 69 zend_stack_int_top(const zend_stack *stack) argument 81 zend_stack_is_empty(const zend_stack *stack) argument 91 zend_stack_destroy(zend_stack *stack) argument 107 zend_stack_base(const zend_stack *stack) argument 113 zend_stack_count(const zend_stack *stack) argument 119 zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)) argument 142 zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument [all...] |
| /PHP_5_4/ext/mbstring/ |
| H A D | mbstring.c | 3492 zval ***args, ***stack, **var, **hash_entry, **zfrom_enc; local 3543 stack = (zval ***)safe_emalloc(stack_max, sizeof(zval **), 0); 3559 var = stack[stack_level]; 3569 ptmp = erealloc(stack, sizeof(zval **)*stack_max); 3570 stack = (zval ***)ptmp; 3572 stack[stack_level] = var; 3601 efree(stack); 3626 stack = (zval ***)safe_emalloc(stack_max, sizeof(zval **), 0); 3640 var = stack[stack_level]; 3650 ptmp = erealloc(stack, sizeo [all...] |
| /PHP_5_4/ext/standard/ |
| H A D | array.c | 1935 /* {{{ proto int array_push(array stack, mixed var [, mixed ...]) 1940 *stack, /* Input array */ local 1946 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a+", &stack, &args, &argc) == FAILURE) { 1955 if (zend_hash_next_index_insert(Z_ARRVAL_P(stack), &new_var, sizeof(zval *), NULL) == FAILURE) { 1963 /* Clean up and return the number of values in the stack */ 1965 RETVAL_LONG(zend_hash_num_elements(Z_ARRVAL_P(stack))); 1972 zval *stack, /* Input stack */ local 1978 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &stack) == FAILURE) { 1982 if (zend_hash_num_elements(Z_ARRVAL_P(stack)) 2052 *stack; /* Input stack */ local [all...] |
| /PHP_5_4/ext/wddx/ |
| H A D | wddx.c | 69 if (stack->varname) { \ 70 ent.varname = estrdup(stack->varname); \ 71 efree(stack->varname); \ 72 stack->varname = NULL; \ 175 static int wddx_stack_init(wddx_stack *stack) argument 177 stack->top = 0; 178 stack->elements = (void **) safe_emalloc(sizeof(void **), STACK_BLOCK_SIZE, 0); 179 stack->max = STACK_BLOCK_SIZE; 180 stack->varname = NULL; 181 stack 189 wddx_stack_push(wddx_stack *stack, void *element, int size) argument 203 wddx_stack_top(wddx_stack *stack, void **element) argument 217 wddx_stack_is_empty(wddx_stack *stack) argument 229 wddx_stack_destroy(wddx_stack *stack) argument 739 wddx_stack *stack = (wddx_stack *)user_data; local 917 wddx_stack *stack = (wddx_stack *)user_data; local 1045 wddx_stack *stack = (wddx_stack *)user_data; local 1126 wddx_stack stack; local [all...] |
| /PHP_5_4/sapi/apache_hooks/ |
| H A D | mod_php5.c | 107 /* {{{ zend stack utility functions 115 int sapi_stack_init_ex(sapi_stack *stack, int persistent) argument 117 stack->top = 0; 118 stack->persistent = persistent; 119 stack->elements = (void **) pemalloc(sizeof(void **) * STACK_BLOCK_SIZE, persistent); 120 if (!stack->elements) { 123 stack->max = STACK_BLOCK_SIZE; 127 int sapi_stack_push(sapi_stack *stack, void *element) argument 129 if (stack->top >= stack 139 sapi_stack_pop(sapi_stack *stack) argument 148 sapi_stack_destroy(sapi_stack *stack) argument 153 sapi_stack_apply_with_argument_all(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument 173 sapi_stack_apply_with_argument_stop_if_equals(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg, int stopval) argument 196 sapi_stack_apply_with_argument_stop_if_http_error(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument 219 php_handler_stack_destroy(sapi_stack *stack) argument [all...] |