Home
last modified time | relevance | path

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

12

/php-src/Zend/
H A Dzend_call_stack.c248 static bool zend_call_stack_get_linux(zend_call_stack *stack) in zend_call_stack_get_linux()
257 static bool zend_call_stack_get_linux(zend_call_stack *stack) in zend_call_stack_get_linux()
347 static bool zend_call_stack_get_freebsd(zend_call_stack *stack) in zend_call_stack_get_freebsd()
356 static bool zend_call_stack_get_freebsd(zend_call_stack *stack) in zend_call_stack_get_freebsd()
363 static bool zend_call_stack_get_win32(zend_call_stack *stack) in zend_call_stack_get_win32()
426 static bool zend_call_stack_get_win32(zend_call_stack *stack) in zend_call_stack_get_win32()
433 static bool zend_call_stack_get_macos(zend_call_stack *stack) in zend_call_stack_get_macos()
463 static bool zend_call_stack_get_macos(zend_call_stack *stack) in zend_call_stack_get_macos()
535 static bool zend_call_stack_get_haiku(zend_call_stack *stack) in zend_call_stack_get_haiku()
555 static bool zend_call_stack_get_haiku(zend_call_stack *stack) in zend_call_stack_get_haiku()
[all …]
H A Dzend_stack.c23 #define ZEND_STACK_ELEMENT(stack, n) ((void *)((char *) (stack)->elements + (stack)->size * (n))) argument
25 ZEND_API void zend_stack_init(zend_stack *stack, int size) in zend_stack_init()
33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element) in zend_stack_push()
45 ZEND_API void *zend_stack_top(const zend_stack *stack) in zend_stack_top()
55 ZEND_API void zend_stack_del_top(zend_stack *stack) in zend_stack_del_top()
61 ZEND_API int zend_stack_int_top(const zend_stack *stack) in zend_stack_int_top()
72 ZEND_API bool zend_stack_is_empty(const zend_stack *stack) in zend_stack_is_empty()
78 ZEND_API void zend_stack_destroy(zend_stack *stack) in zend_stack_destroy()
87 ZEND_API void *zend_stack_base(const zend_stack *stack) in zend_stack_base()
93 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, 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 *), bool free_elements) 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.c322 static zend_never_inline gc_stack* gc_stack_next(gc_stack *stack) in gc_stack_next()
342 static zend_always_inline zend_refcounted* gc_stack_pop(gc_stack **stack, size_t *top) in gc_stack_pop()
357 static void gc_stack_free(gc_stack *stack) in gc_stack_free()
776 static void gc_scan_black(zend_refcounted *ref, gc_stack *stack) in gc_scan_black()
975 static void gc_mark_grey(zend_refcounted *ref, gc_stack *stack) in gc_mark_grey()
1187 static void gc_mark_roots(gc_stack *stack) in gc_mark_roots()
1206 static void gc_scan(zend_refcounted *ref, gc_stack *stack) in gc_scan()
1359 static void gc_scan_roots(gc_stack *stack) in gc_scan_roots()
1417 static int gc_collect_white(zend_refcounted *ref, uint32_t *flags, gc_stack *stack) in gc_collect_white()
1605 static int gc_collect_roots(uint32_t *flags, gc_stack *stack) in gc_collect_roots()
[all …]
H A Dzend_fibers.c265 zend_fiber_stack *stack = emalloc(sizeof(zend_fiber_stack)); in zend_fiber_stack_allocate() local
300 static void zend_fiber_stack_free(zend_fiber_stack *stack) in zend_fiber_stack_free()
330 ZEND_API void* zend_fiber_stack_limit(zend_fiber_stack *stack) in zend_fiber_stack_limit()
347 ZEND_API void* zend_fiber_stack_base(zend_fiber_stack *stack) in zend_fiber_stack_base()
433 void *stack = (void *) ((uintptr_t) context->stack->pointer + context->stack->size); in zend_fiber_init_context() local
576 zend_vm_stack stack = zend_vm_stack_new_page(ZEND_FIBER_VM_STACK_SIZE, NULL); in zend_fiber_execute() local
H A Dzend_execute.h222 #define ZEND_VM_STACK_ELEMENTS(stack) \ argument
233 # define ZEND_ASSERT_VM_STACK(stack) ZEND_ASSERT(stack->top > (zval *) stack && stack->end > (zval … argument
236 # define ZEND_ASSERT_VM_STACK(stack) argument
H A Dzend_fibers.h90 zend_fiber_stack *stack; member
H A Dzend_generators.c63 zval *stack; in zend_generator_freeze_call_stack() local
H A Dzend.c1372 #define SAVE_STACK(stack) do { \ argument
1382 #define RESTORE_STACK(stack) do { \ argument
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c177 struct sljit_stack *stack; in sljit_allocate_stack() local
202 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
209 SLJIT_API_FUNC_ATTRIBUTE sljit_u8 *SLJIT_FUNC sljit_stack_resize(struct sljit_stack *stack, sljit_u… in sljit_stack_resize()
221 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
230 SLJIT_API_FUNC_ATTRIBUTE void SLJIT_FUNC sljit_free_stack(struct sljit_stack *stack, void *allocato… in sljit_free_stack()
241 struct sljit_stack *stack; in sljit_allocate_stack() local
296 SLJIT_API_FUNC_ATTRIBUTE sljit_u8 *SLJIT_FUNC sljit_stack_resize(struct sljit_stack *stack, sljit_u… in sljit_stack_resize()
/php-src/Zend/Optimizer/
H A Dzend_worklist.h40 static inline void zend_worklist_stack_prepare(zend_arena **arena, zend_worklist_stack *stack, int … in zend_worklist_stack_prepare()
49 static inline void zend_worklist_stack_push(zend_worklist_stack *stack, int i) in zend_worklist_stack_push()
55 static inline int zend_worklist_stack_peek(const zend_worklist_stack *stack) in zend_worklist_stack_peek()
61 static inline int zend_worklist_stack_pop(zend_worklist_stack *stack) in zend_worklist_stack_pop()
69 zend_worklist_stack stack; member
H A Dzend_inference.c388 …t zend_op_array *op_array, zend_ssa *ssa, int var, int *index, zend_worklist_stack *stack, zend_wo… in zend_ssa_check_scc_var()
446 zend_worklist_stack stack, vstack; in zend_ssa_find_sccs() local
/php-src/sapi/phpdbg/
H A Dphpdbg_cmd.c373 PHPDBG_API void phpdbg_stack_free(phpdbg_param_t *stack) { in phpdbg_stack_free()
433 PHPDBG_API void phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param) { in phpdbg_stack_push()
459 phpdbg_param_t *stack = calloc(1, sizeof(phpdbg_param_t)); in phpdbg_stack_separate() local
467 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack) { in phpdbg_stack_verify()
663 static int phpdbg_internal_stack_execute(phpdbg_param_t *stack, bool allow_async_unsafe) { in phpdbg_internal_stack_execute()
716 PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, bool allow_async_unsafe) { in phpdbg_stack_execute()
H A Dphpdbg_parser.y188 int phpdbg_do_parse(phpdbg_param_t *stack, char *input) { in phpdbg_do_parse()
H A Dphpdbg_prompt.c94 static inline int phpdbg_call_register(phpdbg_param_t *stack) /* {{{ */ in phpdbg_call_register()
255 phpdbg_param_t stack; in phpdbg_line_init() local
1527 phpdbg_param_t stack; in phpdbg_interactive() local
H A Dphpdbg_print.c97 PHPDBG_PRINT(stack) /* {{{ */ in PHPDBG_PRINT() argument
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c140 zend_jit_trace_stack *stack = NULL; in zend_jit_trace_get_exit_point() local
454 zend_jit_trace_stack *stack = call->stack; in zend_jit_trace_send_type() local
1257 zend_jit_trace_stack *stack; in zend_jit_trace_build_tssa() local
2779 zend_jit_trace_stack *stack; in zend_jit_trace_allocate_registers() local
3407 static int zend_jit_trace_stack_needs_deoptimization(zend_jit_trace_stack *stack, uint32_t stack_si… in zend_jit_trace_stack_needs_deoptimization()
3426 zend_jit_trace_stack *stack; in zend_jit_trace_exit_needs_deoptimization() local
3444 zend_jit_trace_stack *stack, in zend_jit_trace_deoptimization()
4003 zend_jit_trace_stack *stack; in zend_jit_trace() local
5533 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_trace() local
5809 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_trace() local
[all …]
H A Dzend_jit_ir.c627 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in jit_SNAPSHOT() local
4514 zend_jit_trace_stack *stack; in zend_jit_inc_dec() local
4566 zend_jit_trace_stack *stack; in zend_jit_inc_dec() local
4826 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_math_long_long() local
7697 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; in zend_jit_guard_fetch_result_type() local
10238 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; local
12023 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; local
15119 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; local
15835 zend_jit_trace_stack *stack; local
16177 zend_jit_trace_stack *stack = JIT_G(current_frame)->stack; local
/php-src/ext/zend_test/
H A Dfiber.c85 zend_vm_stack stack = zend_vm_stack_new_page(ZEND_FIBER_VM_STACK_SIZE, NULL); in zend_test_fiber_execute() local
H A Dtest.c558 zend_call_stack stack; in ZEND_FUNCTION() local
598 zend_call_stack stack; in ZEND_FUNCTION() local
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.h163 void *stack; member
H A Dir_ra.c500 ir_ref stack[4]; in ir_add_fusion_ranges() local
1154 ir_ref stack[4]; in ir_add_fusion_ranges() local
/php-src/ext/standard/
H A Darray.c3517 *stack, /* Input array */ local
3546 zval *stack, /* Input stack */ local
3611 zval *stack, /* Input stack */ local
3724 *stack; /* Input stack */ local
4486 zval *stack; /* Input stack */ local
4501 zval *stack; /* Input stack */ local
/php-src/ext/gd/libgd/
H A Dgd_gif_in.c90 int stack[STACK_SIZE], *sp; member

Completed in 198 milliseconds

12