Home
last modified time | relevance | path

Searched refs:stack_top (Results 1 – 25 of 38) sorted by relevance

12

/external/selinux/checkpolicy/
Dmodule_compiler.c50 static scope_stack_t *stack_top = NULL; variable
122 while (stack_top != NULL) { in define_policy()
140 if (stack_top->type != 1 || stack_top->in_else) { in is_creation_allowed()
157 avrule_decl_t *decl = stack_top->decl; in create_symbol()
200 avrule_decl_t *decl = stack_top->decl; in declare_symbol()
329 assert(stack_top->type == 1); in declare_role()
331 if (stack_top->parent == NULL) { in declare_role()
335 roles_tab = stack_top->decl->p_roles.table; in declare_role()
563 assert(stack_top->type == 1); in declare_user()
565 if (stack_top->parent == NULL) { in declare_user()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc47 uptr stack_top, in GetCanonicFrame() argument
50 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
52 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
55 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
67 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack() argument
73 if (stack_top < 4096) return; // Sanity check for stack top. in FastUnwindStack()
74 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
79 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack()
87 if (!IsValidFrame((uptr)caller_frame, stack_top, bottom) || in FastUnwindStack()
105 frame = GetCanonicFrame((uptr)frame[0], stack_top, bottom); in FastUnwindStack()
Dsanitizer_stacktrace.h97 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
101 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
114 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
115 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
Dsanitizer_linux_libcdep.cc77 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
79 CHECK(stack_top); in GetThreadStackTopAndBottom()
108 *stack_top = end; in GetThreadStackTopAndBottom()
121 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom()
397 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
398 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
400 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_mac.cc247 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
249 CHECK(stack_top); in GetThreadStackTopAndBottom()
267 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom()
268 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
366 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
367 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
369 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_stacktrace_libcdep.cc58 uptr stack_top, uptr stack_bottom, in Unwind() argument
81 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cc74 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
76 CHECK(stack_top); in GetThreadStackTopAndBottom()
83 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
706 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
707 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
709 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_unwind_linux_libcdep.cc34 uptr stack_top; member
/external/opencv/cv/src/
Dcvcanny.cpp53 uchar **stack_top, **stack_bottom = 0; in cvCanny() local
135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) )); in cvCanny()
153 #define CANNY_PUSH(d) *(d) = (uchar)2, *stack_top++ = (d) in cvCanny()
154 #define CANNY_POP(d) (d) = *--stack_top in cvCanny()
219 if( (stack_top - stack_bottom) + size.width > maxsize ) in cvCanny()
223 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny()
224 … memcpy( new_stack_bottom, stack_bottom, (stack_top - stack_bottom)*sizeof(stack_top[0]) ); in cvCanny()
225 stack_top = new_stack_bottom + (stack_top - stack_bottom); in cvCanny()
305 while( stack_top > stack_bottom ) in cvCanny()
308 if( (stack_top - stack_bottom) + 8 > maxsize ) in cvCanny()
[all …]
/external/compiler-rt/lib/lsan/
Dlsan.h21 uptr stack_top = 0, stack_bottom = 0; \
24 stack_top = t->stack_end(); \
28 IsValidFrame(GET_CURRENT_FRAME(), stack_top, stack_bottom)) { \
30 /* context */ 0, stack_top, stack_bottom, fast); \
/external/compiler-rt/lib/asan/
Dasan_stack.h48 uptr stack_top = t->stack_top(); in GetStackTraceWithPcBpAndContext()
51 if (!SANITIZER_MIPS || IsValidFrame(bp, stack_top, stack_bottom)) { in GetStackTraceWithPcBpAndContext()
52 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTraceWithPcBpAndContext()
Dasan_thread.cc175 uptr AsanThread::stack_top() { in stack_top() function in __asan::AsanThread
404 *stack_end = t->stack_top(); in GetThreadRangesLocked()
Dasan_thread.h69 uptr stack_top();
/external/google-breakpad/src/processor/
Dcfi_frame_info_unittest.cc508 uint64_t stack_top = 0x83254944b20d5512ULL; in TEST_F() local
512 GetMemoryAtAddress(stack_top, A<uint64_t *>())) in TEST_F()
517 GetMemoryAtAddress(stack_top + 16, A<uint64_t *>())) in TEST_F()
531 callee_context.sp = stack_top; in TEST_F()
544 EXPECT_EQ(stack_top + 24, caller_context.sp); in TEST_F()
/external/compiler-rt/lib/msan/
Dmsan_thread.h31 uptr stack_top() { return stack_top_; } in stack_top() function
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h100 bool GetStackInfo(const void** stack, size_t* stack_len, uintptr_t stack_top);
/external/v8/testing/gtest/src/
Dgtest-death-test.cc1084 void* const stack_top = in ExecDeathTestSpawnChild() local
1088 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1090 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc1086 void* const stack_top = in ExecDeathTestSpawnChild() local
1090 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1092 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/googletest/googletest/src/
Dgtest-death-test.cc1086 void* const stack_top = in ExecDeathTestSpawnChild() local
1090 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1092 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/v8/tools/
Dgrokdump.py1743 stack_top = self.reader.ExceptionSP()
1748 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
1751 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2213 stack_top = self.reader.ExceptionSP()
2217 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2281 stack_top = self.reader.ExceptionSP()
2284 stack_top + self.MAX_CONTEXT_STACK)
2285 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack")
3187 stack_top = reader.ExceptionSP()
3191 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-death-test.cc1068 void* const stack_top = in ExecDeathTestSpawnChild() local
1072 reinterpret_cast<intptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1074 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/external/v8/src/regexp/
Dregexp-macro-assembler.h230 static Address GrowStack(Address stack_pointer, Address* stack_top,
/external/protobuf/gtest/src/
Dgtest-death-test.cc914 void* const stack_top = in ExecDeathTestFork() local
917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-death-test.cc967 void* const stack_top = in ExecDeathTestFork() local
970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc970 void* const stack_top = in ExecDeathTestFork() local
973 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()

12