Home
last modified time | relevance | path

Searched defs:stack (Results 1 – 21 of 21) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_stack.c23 #define ZEND_STACK_ELEMENT(stack, n) ((void *)((char *) (stack)->elements + (stack)->size * (n))) argument
25 ZEND_API int zend_stack_init(zend_stack *stack, int size) in zend_stack_init()
34 ZEND_API int zend_stack_push(zend_stack *stack, const void *element) in zend_stack_push()
46 ZEND_API void *zend_stack_top(const zend_stack *stack) in zend_stack_top()
56 ZEND_API int zend_stack_del_top(zend_stack *stack) in zend_stack_del_top()
63 ZEND_API int zend_stack_int_top(const zend_stack *stack) in zend_stack_int_top()
74 ZEND_API int zend_stack_is_empty(const zend_stack *stack) in zend_stack_is_empty()
80 ZEND_API int zend_stack_destroy(zend_stack *stack) in zend_stack_destroy()
91 ZEND_API void *zend_stack_base(const zend_stack *stack) in zend_stack_base()
97 ZEND_API int zend_stack_count(const zend_stack *stack) in zend_stack_count()
[all …]
H A Dzend_ptr_stack.c24 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) in zend_ptr_stack_init_ex()
31 ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack) in zend_ptr_stack_init()
37 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_push()
55 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_pop()
72 ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack) in zend_ptr_stack_destroy()
80 ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_apply()
89 ZEND_API void zend_ptr_stack_reverse_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_reverse_apply()
99 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elem… in zend_ptr_stack_clean()
114 ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack) in zend_ptr_stack_num_elements()
H A Dzend_ptr_stack.h45 #define ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) \ in END_EXTERN_C() argument
71 static zend_always_inline void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b) in zend_ptr_stack_2_push()
84 static zend_always_inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void… in zend_ptr_stack_3_pop()
92 static zend_always_inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b) in zend_ptr_stack_2_pop()
99 static zend_always_inline void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) in zend_ptr_stack_push()
107 static zend_always_inline void *zend_ptr_stack_pop(zend_ptr_stack *stack) in zend_ptr_stack_pop()
113 static zend_always_inline void *zend_ptr_stack_top(zend_ptr_stack *stack) in zend_ptr_stack_top()
H A Dzend_gc.c280 static zend_never_inline gc_stack* gc_stack_next(gc_stack *stack) in gc_stack_next()
300 static zend_always_inline zend_refcounted* gc_stack_pop(gc_stack **stack, size_t *top) in gc_stack_pop()
315 static void gc_stack_free(gc_stack *stack) in gc_stack_free()
691 static void gc_scan_black(zend_refcounted *ref, gc_stack *stack) in gc_scan_black()
809 static void gc_mark_grey(zend_refcounted *ref, gc_stack *stack) in gc_mark_grey()
965 static void gc_mark_roots(gc_stack *stack) in gc_mark_roots()
984 static void gc_scan(zend_refcounted *ref, gc_stack *stack) in gc_scan()
1113 static void gc_scan_roots(gc_stack *stack) in gc_scan_roots()
1154 static int gc_collect_white(zend_refcounted *ref, uint32_t *flags, gc_stack *stack) in gc_collect_white()
1287 static int gc_collect_roots(uint32_t *flags, gc_stack *stack) in gc_collect_roots()
[all …]
H A Dzend_execute.h160 #define ZEND_VM_STACK_ELEMENTS(stack) \ argument
171 # define ZEND_ASSERT_VM_STACK(stack) ZEND_ASSERT(stack->top > (zval *) stack && stack->end > (zval … argument
174 # define ZEND_ASSERT_VM_STACK(stack) argument
H A Dzend.c1245 #define SAVE_STACK(stack) do { \ argument
1255 #define RESTORE_STACK(stack) do { \ argument
H A Dzend_generators.c60 zval *stack; in zend_generator_freeze_call_stack() local
H A Dzend_execute.c213 zend_vm_stack stack = EG(vm_stack); in zend_vm_stack_destroy() local
224 zend_vm_stack stack; in zend_vm_stack_extend() local
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c223 struct sljit_stack *stack; in sljit_allocate_stack() local
248 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
255 SLJIT_API_FUNC_ATTRIBUTE sljit_u8 *SLJIT_FUNC sljit_stack_resize(struct sljit_stack *stack, sljit_u… in sljit_stack_resize()
277 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
298 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
309 struct sljit_stack *stack; in sljit_allocate_stack() local
366 SLJIT_API_FUNC_ATTRIBUTE sljit_u8 *SLJIT_FUNC sljit_stack_resize(struct sljit_stack *stack, sljit_u… in sljit_stack_resize()
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_worklist.h40 static inline int zend_worklist_stack_prepare(zend_arena **arena, zend_worklist_stack *stack, int l… in zend_worklist_stack_prepare()
51 static inline void zend_worklist_stack_push(zend_worklist_stack *stack, int i) in zend_worklist_stack_push()
57 static inline int zend_worklist_stack_peek(zend_worklist_stack *stack) in zend_worklist_stack_peek()
63 static inline int zend_worklist_stack_pop(zend_worklist_stack *stack) in zend_worklist_stack_pop()
71 zend_worklist_stack stack; member
H A Dzend_inference.c172 …rray, zend_ssa *ssa, int var, int *index, int *dfs, int *root, zend_worklist_stack *stack) /* {{{ … in zend_ssa_check_scc_var()
213 zend_worklist_stack stack; in zend_ssa_find_sccs() local
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c375 PHPDBG_API void phpdbg_stack_free(phpdbg_param_t *stack) { in phpdbg_stack_free()
434 PHPDBG_API void phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) { in phpdbg_stack_push()
460 phpdbg_param_t *stack = calloc(1, sizeof(phpdbg_param_t)); in phpdbg_stack_separate() local
468 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack) { in phpdbg_stack_verify()
664 static int phpdbg_internal_stack_execute(phpdbg_param_t *stack, zend_bool allow_async_unsafe) { in phpdbg_internal_stack_execute()
717 PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, zend_bool allow_async_unsafe) { in phpdbg_stack_execute()
H A Dphpdbg_parser.y187 int phpdbg_do_parse(phpdbg_param_t *stack, char *input) { in phpdbg_do_parse()
H A Dphpdbg_prompt.c101 static inline int phpdbg_call_register(phpdbg_param_t *stack) /* {{{ */ in phpdbg_call_register()
264 phpdbg_param_t stack; in phpdbg_line_init() local
1564 phpdbg_param_t stack; in phpdbg_interactive() local
H A Dphpdbg_print.c124 PHPDBG_PRINT(stack) /* {{{ */ in PHPDBG_PRINT() argument
/PHP-7.4/ext/standard/
H A Darray.c3196 *stack, /* Input array */ local
3227 zval *stack, /* Input stack */ local
3277 zval *stack, /* Input stack */ local
3385 *stack; /* Input stack */ local
4035 zval *stack; /* Input stack */ local
4051 zval *stack; /* Input stack */ local
/PHP-7.4/ext/gd/libgd/
H A Dgd_gif_in.c90 int stack[STACK_SIZE], *sp; member
H A Dgd.c1924 struct seg *stack = NULL; in gdImageFill() local
2016 struct seg *stack; in _gdImageFillTiled() local
/PHP-7.4/main/
H A Dalloca.c415 long size, pseg, this_segment, stack; in i00afunc() local
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_intmodedep.h763 void* stack; member
H A Dpcre2_jit_compile.c179 struct sljit_stack *stack; member
10711 int stack; /* Also contains the offset of control head. */ in compile_bracketpos_matchingpath() local

Completed in 155 milliseconds