Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 – 23 of 23) sorted by relevance

/external/valgrind/memcheck/tests/linux/
Dstack_switch.c23 #define STACK_SIZE 8192 macro
46 …if ( ( stack = mmap( NULL, 2* STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 )… in main()
52 stackid = VALGRIND_STACK_REGISTER( stack, stack + STACK_SIZE ); in main()
54 …if ( ( pid = clone( thread_main, stack + STACK_SIZE, CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|C… in main()
Dstack_changes.c8 #define STACK_SIZE (10 * 4096) macro
37 stack = (void *)mmap(0, STACK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in init_context()
45 ret = VALGRIND_STACK_REGISTER(stack, stack + STACK_SIZE); in init_context()
49 uc->uc_stack.ss_size = STACK_SIZE; in init_context()
/external/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp03.c39 #define STACK_SIZE (1024*1024) macro
57 stack = SAFE_MALLOC(STACK_SIZE); in setup()
92 STACK_SIZE, stack); in verify_kcmp()
/external/syslinux/dos/
Dheader.S1 STACK_SIZE = 8192 define
54 .space STACK_SIZE
/external/valgrind/memcheck/tests/solaris/
Dthr_daemon_exit_standalone.c229 #define STACK_SIZE 16384 macro
231 void *stack = allocate_stack(STACK_SIZE); in _start()
232 id_t tid = lwp_create((char *) stack + STACK_SIZE); in _start()
/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c37 #define STACK_SIZE 65536 macro
206 stack = malloc(STACK_SIZE); in spawn_sealing_thread()
213 stack + STACK_SIZE, in spawn_sealing_thread()
Dmemfd_test.c26 #define STACK_SIZE 65536 macro
567 stack = malloc(STACK_SIZE); in spawn_idle_thread()
574 stack + STACK_SIZE, in spawn_idle_thread()
/external/syslinux/com32/gdbstub/
Dmain.c13 #define STACK_SIZE 0x1000 macro
104 dest = (char *)((esp - STACK_SIZE - total_size) & ~3); in reloc()
/external/syslinux/gpxe/src/arch/i386/prefix/
Dbootpart.S6 #define STACK_SIZE 0x2000 macro
24 movw $STACK_SIZE, %sp
/external/libdivsufsort/include/
Ddivsufsort_private.h156 assert(ssize < STACK_SIZE);\
162 assert(ssize < STACK_SIZE);\
/external/libunwind/tests/
Dia64-test-stack.h3 #define STACK_SIZE (1 << STACK_SIZE_SHIFT) macro
Dia64-test-rbs.h3 #define STACK_SIZE (1 << STACK_SIZE_SHIFT) macro
Dia64-test-stack-asm.S28 .common stackmem, NSTACKS*STACK_SIZE, 16
54 addl r3 = STACK_SIZE-FRAME_SIZE, r2 // r3 = &stackframe
Dia64-test-rbs-asm.S28 .common stackmem, NSTACKS*STACK_SIZE, 16
60 addl r3 = STACK_SIZE-FRAME_SIZE, r2; /* r3 = &stackframe */ \
/external/libpcap/msdos/
Dndis2.c67 #define STACK_SIZE 256 macro
806 free (freeStacks[i] - STACK_SIZE); in NdisShutdown()
819 freeStacks[i] = malloc (STACK_SIZE); in NdisInit()
822 freeStacks[i] += STACK_SIZE; in NdisInit()
/external/skqp/src/core/
DSkScan_DAAPath.cpp339 constexpr int STACK_SIZE = 12 << 10; // 12K stack size alloc; Google3 has 16K limit. in DAAFillPath() local
341 constexpr int STACK_SIZE = 64 << 10; // 64k stack size to avoid heap allocation in DAAFillPath() local
343 SkSTArenaAlloc<STACK_SIZE> alloc; // avoid heap allocation with SkSTArenaAlloc in DAAFillPath()
/external/libdivsufsort/lib/
Dsssort.c313 #define STACK_SIZE SS_MISORT_STACKSIZE in ss_mintrosort() macro
314 struct { saidx_t *a, *b, c; saint_t d; } stack[STACK_SIZE]; in ss_mintrosort()
440 #undef STACK_SIZE in ss_mintrosort()
657 #define STACK_SIZE SS_SMERGE_STACKSIZE in ss_swapmerge() macro
669 struct { saidx_t *a, *b, *c; saint_t d; } stack[STACK_SIZE]; in ss_swapmerge()
735 #undef STACK_SIZE in ss_swapmerge()
Dtrsort.c330 #define STACK_SIZE TR_STACKSIZE in tr_introsort() macro
331 struct { const saidx_t *a; saidx_t *b, *c; saint_t d, e; }stack[STACK_SIZE]; in tr_introsort()
544 #undef STACK_SIZE in tr_introsort()
/external/skia/src/core/
DSkScan_DAAPath.cpp337 constexpr int STACK_SIZE = 12 << 10; // 12K stack size alloc; Google3 has 16K limit. in DAAFillPath() local
339 constexpr int STACK_SIZE = 64 << 10; // 64k stack size to avoid heap allocation in DAAFillPath() local
341 SkSTArenaAlloc<STACK_SIZE> stackAlloc; // avoid heap allocation with SkSTArenaAlloc in DAAFillPath()
/external/selinux/libsepol/src/
Dkernel_to_common.h9 #define STACK_SIZE 16 macro
Dkernel_to_common.c399 return strs_init(stack, STACK_SIZE); in stack_init()
Dmodule_to_cil.c62 #define STACK_SIZE 16 macro
419 s->stack = malloc(sizeof(*s->stack) * STACK_SIZE); in stack_init()
425 s->size = STACK_SIZE; in stack_init()
/external/mdnsresponder/mDNSShared/
DCommonServices.h536 …#define _beginthreadex_compat( SECURITY_PTR, STACK_SIZE, START_ADDRESS, ARG_LIST, FLAGS, THREAD_ID… argument
537 …(uintptr_t) CreateThread( SECURITY_PTR, STACK_SIZE, (LPTHREAD_START_ROUTINE) START_ADDRESS, ARG_LI…