Home
last modified time | relevance | path

Searched refs:kStackSize (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/test/asan/TestCases/Linux/
Dswapcontext_test.cc18 const int kStackSize = 1 << 20; variable
54 child_context.uc_stack.ss_size = kStackSize / 2; in Run()
64 for (int i = 0; i < kStackSize; i++) { in Run()
71 char stack[kStackSize + 1]; in main()
80 char *heap = new char[kStackSize + 1]; in main()
Dclone_test.cc24 const int kStackSize = 1 << 20; in main() local
25 char child_stack[kStackSize + 1]; in main()
26 char *sp = child_stack + kStackSize; // Stack grows down. in main()
37 for (int i = 0; i < kStackSize; i++) in main()
/external/compiler-rt/test/lsan/TestCases/
Dswapcontext.cc12 const int kStackSize = 1 << 20; variable
21 char stack_memory[kStackSize + 1]; in main()
22 char *heap_memory = new char[kStackSize + 1]; in main()
30 child_context.uc_stack.ss_size = kStackSize / 2; in main()
/external/compiler-rt/test/asan/TestCases/
Dstack-use-after-return.cc29 #ifndef kStackSize
30 # define kStackSize 0 macro
70 if (kStackSize > 0) in main()
71 pthread_attr_setstacksize(&attr, kStackSize); in main()
/external/chromium_org/third_party/icu/source/common/
Drbbiscan.h49 kStackSize = 100 // The size of the state stack for enumerator
116 uint16_t fStack[kStackSize]; // State stack, holds state pushes
120 RBBINode *fNodeStack[kStackSize]; // Node stack, holds nodes created
Drbbiscan.cpp1022 if (fStackPtr >= kStackSize) { in parse()
1109 if (fNodeStackPtr >= kStackSize) { in pushNewNode()
/external/icu/icu4c/source/common/
Drbbiscan.h49 kStackSize = 100 // The size of the state stack for enumerator
116 uint16_t fStack[kStackSize]; // State stack, holds state pushes
120 RBBINode *fNodeStack[kStackSize]; // Node stack, holds nodes created
Drbbiscan.cpp1022 if (fStackPtr >= kStackSize) { in parse()
1109 if (fNodeStackPtr >= kStackSize) { in pushNewNode()
/external/chromium_org/components/nacl/loader/nonsfi/
Dnonsfi_main.cc59 const size_t kStackSize = (16 << 20); variable
86 kStackSize, new PluginMainDelegate(entry_point))) { in MainStart()
Dirt_thread.cc18 const int kStackSize = 1024 * 1024; variable
64 error = pthread_attr_setstacksize(&attr, kStackSize); in IrtThreadCreate()
/external/chromium_org/third_party/icu/source/i18n/
Dregexcmp.h44 kStackSize = 100 // The size of the state stack for enumerator
148 uint16_t fStack[kStackSize]; // State stack, holds state pushes
Dregexcmp.cpp238 if (fStackPtr >= kStackSize) { in compile()
/external/icu/icu4c/source/i18n/
Dregexcmp.h44 kStackSize = 100 // The size of the state stack for enumerator
148 uint16_t fStack[kStackSize]; // State stack, holds state pushes
Dregexcmp.cpp238 if (fStackPtr >= kStackSize) { in compile()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dmalloc_hook.cc663 static const int kStackSize = kMaxSkip + 1; in MallocHook_GetCallerStackTrace()
664 void* stack[kStackSize]; in MallocHook_GetCallerStackTrace()
665 int depth = GetStackTrace(stack, kStackSize, 1); // skip this function frame in MallocHook_GetCallerStackTrace()
676 if (depth < max_depth && depth + i == kStackSize) { in MallocHook_GetCallerStackTrace()
679 GetStackTrace(result + depth, max_depth - depth, 1 + kStackSize); in MallocHook_GetCallerStackTrace()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dmalloc_hook.cc663 static const int kStackSize = kMaxSkip + 1; in MallocHook_GetCallerStackTrace()
664 void* stack[kStackSize]; in MallocHook_GetCallerStackTrace()
665 int depth = GetStackTrace(stack, kStackSize, 1); // skip this function frame in MallocHook_GetCallerStackTrace()
676 if (depth < max_depth && depth + i == kStackSize) { in MallocHook_GetCallerStackTrace()
679 GetStackTrace(result + depth, max_depth - depth, 1 + kStackSize); in MallocHook_GetCallerStackTrace()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2838 const size_t kStackSize = 16 * 1024; in TEST() local
2839 res = posix_memalign(&stack, 4096, kStackSize); in TEST()
2841 res = pthread_attr_setstack(&attr, stack, kStackSize); in TEST()
/external/chromium_org/v8/src/
Dobjects.h9305 static const int kStackSize = 32;
9307 static const int kDepthMask = kStackSize-1;
9308 STATIC_ASSERT(IS_POWER_OF_TWO(kStackSize));
9315 inline bool StackBlown() { return maximum_depth_ - depth_ == kStackSize; } in StackBlown()
9323 ConsString* frames_[kStackSize];
Dobjects.cc8190 maximum_depth_ = kStackSize + depth_; in Initialize()