/third_party/node/deps/v8/src/wasm/ |
H A D | stacks.h | 38 // Returns a non-owning view of the current stack. 47 PrintF("Delete stack #%d\n", id_); in ~StackMemory() 51 // We don't need to handle removing the last stack from the list (next_ == in ~StackMemory() 53 // at least one reachable stack (the active stack). in ~StackMemory() 64 // Insert a stack in the linked list after this stack. 65 void Add(StackMemory* stack) { in Add() argument 66 stack->next_ = this->next_; in Add() 67 stack in Add() [all...] |
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
H A D | clone302.c | 21 unsigned long stack; variable 31 unsigned long stack; member 45 {"zero-stack-size", &valid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, (unsigned long)&stack, 0, 0, EINVAL}, 46 {"invalid-stack", &valid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, 0, 4, 0, EINVAL}, 83 args->stack = tc->stack; in run()
|
/third_party/node/deps/v8/src/torque/ |
H A D | torque-code-generator.h | 75 Stack<std::string>* stack); 78 void EmitIRAnnotation(const T& instruction, Stack<std::string>* stack) { in EmitIRAnnotation() argument 80 << ", starting stack size: " << stack->Size() << "\n"; in EmitIRAnnotation() 84 void EmitInstruction(const T& instruction, Stack<std::string>* stack); 90 Stack<std::string>* stack) = 0;
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | serialize.rs | 28 stack: &mut Vec<String>, in serialize() 40 stack: &mut Vec<String>, in serialize() 45 func.serialize(ctx, self, stack, writer) in serialize() 64 stack: &mut Vec<String>, in serialize() 111 ret_ty.serialize(ctx, (), stack, writer)?; in serialize() 129 ret_ty.serialize(ctx, (), stack, writer)?; in serialize() 157 stack: &mut Vec<String>, in serialize() 161 item.expect_type().serialize(ctx, item, stack, writer) in serialize() 172 stack: &mut Vec<String>, in serialize() 249 type_id.serialize(ctx, (), stack, write in serialize() 281 let mut stack = vec![]; serialize() variables [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | sccutils.py | 24 stack: List[str] = [] 29 index[v] = len(stack) 30 stack.append(v) 42 scc = set(stack[index[v] :]) 43 del stack[index[v] :]
|
/third_party/python/Lib/ |
H A D | getpass.py | 45 with contextlib.ExitStack() as stack: 50 stack.enter_context(tty) 52 stack.enter_context(input) 57 stack.close() 90 stack.close()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | osfiber_ucontext.h | 46 // createFiber() returns a new fiber with the given stack size that will 62 Allocation stack; member in marl::OSFiber 68 if (stack.ptr != nullptr) { in ~OSFiber() 69 allocator->free(stack); in ~OSFiber() 112 out->stack = allocator->allocate(request); in createFiber() 118 out->context.uc_stack.ss_sp = out->stack.ptr; in createFiber()
|
/third_party/skia/tools/ |
H A D | CrashHandler.cpp | 103 void* stack[64]; in handler() 104 const int count = backtrace(stack, SK_ARRAY_COUNT(stack)); in handler() 105 char** symbols = backtrace_symbols(stack, count); in handler() 110 if (dladdr(stack[i], &info) && info.dli_sname) { in handler() 181 // We need to run SymInitialize before doing any of the stack walking below.
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | traps.c | 347 static void show_trace(unsigned long *stack, unsigned long *endstack, in show_trace() argument 355 while (stack + 1 <= endstack) { in show_trace() 356 addr = *stack++; in show_trace() 377 void show_stack(struct task_struct *task, unsigned long *stack, in show_stack() argument 383 if (!stack) { in show_stack() 385 /* We know this is a kernel stack, in show_stack() 387 stack = (unsigned long *)thread_saved_ksp(task); in show_stack() 389 stack = (unsigned long *)&stack; in show_stack() 391 endstack = (unsigned long *)(((unsigned long)stack in show_stack() [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | entry-header.S | 22 @ Most of the stack format comes from struct pt_regs, but with 29 * The SWI code relies on the fact that R0 is at the bottom of the stack 62 * automatically saved on the current stack (32 words) before 63 * switching to the exception stack (SP_main). 79 @ exception happend that is either on the main or the process stack. 80 @ Bit 2 of EXC_RETURN stored in the lr register specifies which stack 91 @ Linux expects to have irqs off. Do it here before taking stack space 103 @ calculate the original stack pointer value. 106 @ The cpu might automatically 8-byte align the stack. Bit 9 107 @ of the saved xPSR specifies if stack alignin [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | ex_data.c | 162 /* We push an initial value on the stack because the SSL in ossl_crypto_get_ex_new_index_ex() 219 EX_CALLBACK *stack[10]; in ossl_crypto_new_ex_data_ex() local 234 if (mx < (int)OSSL_NELEM(stack)) in ossl_crypto_new_ex_data_ex() 235 storage = stack; in ossl_crypto_new_ex_data_ex() 255 if (storage != stack) in ossl_crypto_new_ex_data_ex() 274 EX_CALLBACK *stack[10]; in CRYPTO_dup_ex_data() local 298 if (mx < (int)OSSL_NELEM(stack)) in CRYPTO_dup_ex_data() 299 storage = stack; in CRYPTO_dup_ex_data() 315 * Make sure the ex_data stack is at least |mx| elements long to avoid in CRYPTO_dup_ex_data() 318 * to itself. This is normally a no-op; but ensures the stack i in CRYPTO_dup_ex_data() 371 struct ex_callback_entry stack[10]; CRYPTO_free_ex_data() local [all...] |
/third_party/python/Lib/idlelib/ |
H A D | pyparse.py | 386 stack = [] # stack of open bracket indices 387 push_stack = stack.append 409 bracketing.append((p, len(stack))) 415 if stack: 416 del stack[-1] 419 bracketing.append((p, len(stack))) 430 bracketing.append((p, len(stack)+1)) 433 bracketing.append((p, len(stack))) 438 bracketing.append((p, len(stack) [all...] |
/third_party/openssl/crypto/ |
H A D | ex_data.c | 162 /* We push an initial value on the stack because the SSL in ossl_crypto_get_ex_new_index_ex() 217 EX_CALLBACK *stack[10]; in ossl_crypto_new_ex_data_ex() local 232 if (mx < (int)OSSL_NELEM(stack)) in ossl_crypto_new_ex_data_ex() 233 storage = stack; in ossl_crypto_new_ex_data_ex() 253 if (storage != stack) in ossl_crypto_new_ex_data_ex() 272 EX_CALLBACK *stack[10]; in CRYPTO_dup_ex_data() local 296 if (mx < (int)OSSL_NELEM(stack)) in CRYPTO_dup_ex_data() 297 storage = stack; in CRYPTO_dup_ex_data() 313 * Make sure the ex_data stack is at least |mx| elements long to avoid in CRYPTO_dup_ex_data() 316 * to itself. This is normally a no-op; but ensures the stack i in CRYPTO_dup_ex_data() 369 struct ex_callback_entry stack[10]; CRYPTO_free_ex_data() local [all...] |
/third_party/python/Python/ |
H A D | modsupport.c | 214 do_mkstack(PyObject **stack, const char **p_format, va_list *p_va, in do_mkstack() argument 230 stack[i] = w; in do_mkstack() 245 Py_DECREF(stack[i]); in do_mkstack() 594 PyObject **stack; in va_build_stack() local 609 stack = small_stack; in va_build_stack() 612 stack = PyMem_Malloc(n * sizeof(stack[0])); in va_build_stack() 613 if (stack == NULL) { in va_build_stack() 621 res = do_mkstack(stack, &f, &lva, '\0', n, flags); in va_build_stack() 625 if (stack ! in va_build_stack() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/ |
H A D | stack_id_test.cpp | 22 NAPI_START(stack, ARKUI_NODE_STACK); in TestStackId001() 27 auto ret = nodeAPI->setAttribute(stack, NODE_ID, &id_item); in TestStackId001() 29 ASSERT_STREQ(nodeAPI->getAttribute(stack, NODE_ID)->string, id); in TestStackId001()
|
/third_party/python/Modules/ |
H A D | faulthandler.c | 22 /* Using an alternative stack requires sigaltstack() 33 /* Allocate at maximum 100 MiB of the stack to raise the stack overflow */ 138 static stack_t stack; variable 428 case EXCEPTION_STACK_OVERFLOW: PUTS(fd, "stack overflow"); break; in faulthandler_exc_handler() 459 if (stack.ss_sp != NULL) { in faulthandler_allocate_stack() 462 /* Allocate an alternate stack for faulthandler() signal handler in faulthandler_allocate_stack() 463 to be able to execute a signal handler on a stack overflow error */ in faulthandler_allocate_stack() 464 stack.ss_sp = PyMem_Malloc(stack in faulthandler_allocate_stack() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_random.c | 48 char stack[128]; in i915_prandom_shuffle() local 50 if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX)) in i915_prandom_shuffle() 64 memcpy(stack, arr + count * elsz, elsz); in i915_prandom_shuffle() 66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_random.c | 48 char stack[128]; in i915_prandom_shuffle() local 50 if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX)) in i915_prandom_shuffle() 64 memcpy(stack, arr + count * elsz, elsz); in i915_prandom_shuffle() 66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_container_chroot_001.cpp | 76 char *stack = nullptr; in ItContainerChroot001() local 79 stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in ItContainerChroot001() 80 ASSERT_NE(stack, MAP_FAILED); in ItContainerChroot001() 85 stackTop = stack + STACK_SIZE; in ItContainerChroot001()
|
/third_party/musl/src/thread/loongarch64/ |
H A D | clone.s | 1 #__clone(func, stack, flags, arg, ptid, tls, ctid) 3 # sys_clone(flags, stack, ptid, ctid, tls) 10 bstrins.d $a1, $zero, 3, 0 #stack to 16 align 11 # Save function pointer and argument pointer on new thread stack
|
/third_party/musl/src/linux/liteos_a/ |
H A D | clone.c | 53 int clone(int (*func)(void *), void *stack, int flags, void *arg, ...) in clone() argument 60 void *clone_stack = stack; in clone() 72 if (!stack) { in clone() 80 clone_args = (struct __clone_args *)stack; in clone()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
H A D | clone.c | 38 int clone(int (*func)(void *), void *stack, int flags, void *arg, ...) in clone() argument 45 void *clone_stack = stack; in clone() 57 if (!stack) { in clone() 65 clone_args = (struct __clone_args *)stack; in clone()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 246 stack = [] 251 stack.append(token) 252 while stack and stack[-1] in ops: 253 op = stack.pop() 257 operand = stack.pop() 268 stack.append(tmp) 270 if len(stack) != 1: 275 value = stack[-1] 287 stack [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_getattr_np.c | 41 void *stack = NULL; in pthread_getattr_np_0100() local 43 pthread_attr_getstack(&attr, &stack, &stacksize); in pthread_getattr_np_0100() 44 EXPECT_PTRNE("pthread_getattr_np_0100", stack, NULL); in pthread_getattr_np_0100()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
H A D | entry-arcv2.h | 12 * Interrupt/Exception stack layout (pt_regs) for ARCv2 53 ; 1. SP auto-switched to kernel mode stack 55 ; 3. Auto save: (mandatory) Push PC and STAT32 on stack variable 62 ; carve pt_regs on stack (case #3), PC/STAT32 already on stack 67 ; carve pt_regs on stack (case #4), which grew partially already 78 ; 1. SP auto-switched to kernel mode stack 144 ; Auto stack switch works 182 ; - for K mode, it will be implicitly restored as stack is unwound
|