Home
last modified time | relevance | path

Searched refs:stacktop (Results 1 - 16 of 16) sorted by relevance

/third_party/python/Include/internal/
H A Dpycore_frame.h62 int stacktop; /* Offset of TOS from localsplus */ member
77 assert(f->stacktop > f->f_code->co_nlocalsplus); in _PyFrame_StackPeek()
78 assert(f->localsplus[f->stacktop-1] != NULL); in _PyFrame_StackPeek()
79 return f->localsplus[f->stacktop-1]; in _PyFrame_StackPeek()
83 assert(f->stacktop > f->f_code->co_nlocalsplus); in _PyFrame_StackPop()
84 f->stacktop--; in _PyFrame_StackPop()
85 return f->localsplus[f->stacktop]; in _PyFrame_StackPop()
89 f->localsplus[f->stacktop] = value; in _PyFrame_StackPush()
90 f->stacktop++; in _PyFrame_StackPush()
111 frame->stacktop in _PyFrame_InitializeSpecials()
[all...]
/third_party/python/Python/
H A Dframe.c20 for (; i <frame->stacktop; i++) { in _PyFrame_Traverse()
69 assert(src->stacktop >= src->f_code->co_nlocalsplus); in _PyFrame_Copy()
70 Py_ssize_t size = ((char*)&src->localsplus[src->stacktop]) - (char *)src; in _PyFrame_Copy()
83 Py_ssize_t size = ((char*)&frame->localsplus[frame->stacktop]) - (char *)frame; in take_ownership()
139 assert(frame->stacktop >= 0); in _PyFrame_Clear()
140 for (int i = 0; i < frame->stacktop; i++) { in _PyFrame_Clear()
H A Dceval.c1539 frame->stacktop = -1; \
1547 assert(frame->stacktop >= 0); \
1713 frame->stacktop = -1;
5448 frame->stacktop = 0;
5657 frame->stacktop = -1;
/third_party/toybox/
H A Dmain.c155 if (!CFG_TOYBOX_NORECURSE && toys.stacktop) in toy_exec_which()
156 if (labs((long)toys.stacktop-(long)&which)>6000) return; in toy_exec_which()
224 toys.stacktop = &stack; in main()
236 // Use !stacktop to signal "vfork happened", both before and after xexec() in main()
240 toys.stacktop = 0; in main()
H A Dtoys.h115 void *stacktop; // nested toy_exec() call count, or 0 if vforked member
/third_party/toybox/porting/liteos_a/
H A Dmain.c156 if (!CFG_TOYBOX_NORECURSE && toys.stacktop) in toy_exec_which()
157 if (labs((long)toys.stacktop-(long)&which)>6000) return; in toy_exec_which()
225 toys.stacktop = &stack; in main()
237 // Use !stacktop to signal "vfork happened", both before and after xexec() in main()
241 toys.stacktop = 0; in main()
H A Dtoys.h121 void *stacktop; // nested toy_exec() call count, or 0 if vforked member
/third_party/toybox/toys/android/
H A Druncon.c26 toys.stacktop = 0; in runcon_main()
/third_party/toybox/toys/posix/
H A Denv.c49 toys.stacktop = 0; in env_main()
H A Dcpio.c89 if (toys.stacktop) { in cpio_main()
91 // with !toys.stacktop in cpio_main()
H A Dtar.c812 if (toys.stacktop) { in tar_main()
/third_party/python/Objects/
H A Dframeobject.c594 if (frame->f_frame->stacktop == 0) { in _PyFrame_GetState()
874 for (int i = 0; i < frame->stacktop; i++) { in frame_dealloc()
904 assert(f->f_frame->stacktop >= 0); in frame_tp_clear()
905 for (int i = 0; i < f->f_frame->stacktop; i++) { in frame_tp_clear()
908 f->f_frame->stacktop = 0; in frame_tp_clear()
1148 if (frame->stacktop) { in _PyFrame_FastToLocalsWithError()
/third_party/toybox/lib/
H A Dxwrap.c200 if (!pid) toys.stacktop = 0; in xvforkwrap()
210 if (CFG_TOYBOX && !CFG_TOYBOX_NORECURSE && toys.stacktop && **argv != '/') in xexec()
216 if (!toys.stacktop) _exit(toys.exitval); in xexec()
222 // toys.stacktop zeroed.
277 toys.stacktop = 0; in xpopen_both()
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
H A Dppc-ffi_darwin.c107 /* 'stacktop' points at the previous backchain pointer. */ in ffi_prep_args()
111 unsigned long *const stacktop = in ffi_prep_args() local
114 unsigned long *const stacktop = longStack + (bytes / sizeof(long)); in ffi_prep_args() local
121 double* fpr_base = (double*)(stacktop - ASM_NEEDS_REGISTERS) - in ffi_prep_args()
143 FFI_ASSERT(stacktop == SF_ROUND(stacktop)); in ffi_prep_args()
299 //FFI_ASSERT(gpr_base <= stacktop - ASM_NEEDS_REGISTERS); in ffi_prep_args()
301 // <= stacktop - ASM_NEEDS_REGISTERS - NUM_GPR_ARG_REGISTERS); in ffi_prep_args()
/third_party/toybox/toys/pending/
H A Dstrace.c585 toys.stacktop = 0; in strace_main()
/third_party/pcre2/pcre2/src/
H A Dpcre2_jit_compile.c2123 static void init_frame(compiler_common *common, PCRE2_SPTR cc, PCRE2_SPTR ccend, int stackpos, int stacktop) in init_frame() argument
2133 SLJIT_UNUSED_ARG(stacktop); in init_frame()
2134 SLJIT_ASSERT(stackpos >= stacktop + 2); in init_frame()
2243 SLJIT_ASSERT(stackpos == STACK(stacktop)); in init_frame()
2605 int type, int stackptr, int stacktop, uint32_t recurse_flags) in copy_recurse_data()
2644 stacktop = STACK(stacktop); in copy_recurse_data()
3032 SLJIT_ASSERT(cc == ccend && stackptr == stacktop); in copy_recurse_data()
2604 copy_recurse_data(compiler_common *common, PCRE2_SPTR cc, PCRE2_SPTR ccend, int type, int stackptr, int stacktop, uint32_t recurse_flags) copy_recurse_data() argument

Completed in 38 milliseconds