/external/selinux/checkpolicy/ |
D | module_compiler.c | 50 static scope_stack_t *stack_top = NULL; variable 94 while (stack_top != NULL) { in define_policy() 112 if (stack_top->type != 1 || stack_top->in_else) { in is_declaration_allowed() 131 avrule_decl_t *decl = stack_top->decl; in declare_symbol() 240 assert(stack_top->type == 1); in declare_role() 241 if (stack_top->parent == NULL) { in declare_role() 245 roles_tab = stack_top->decl->p_roles.table; in declare_role() 445 assert(stack_top->type == 1); in declare_user() 446 if (stack_top->parent == NULL) { in declare_user() 450 users_tab = stack_top->decl->p_users.table; in declare_user() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.cc | 42 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument 43 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame() 50 uptr stack_top, in GetCanonicFrame() argument 53 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame() 55 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame() 58 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame() 70 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack() argument 75 if (stack_top < 4096) return; // Sanity check for stack top. in FastUnwindStack() 76 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack() 81 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack() [all …]
|
D | sanitizer_mac.cc | 160 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 162 CHECK(stack_top); in GetThreadStackTopAndBottom() 180 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom() 181 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom() 268 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local 269 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 271 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_linux_libcdep.cc | 79 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 81 CHECK(stack_top); in GetThreadStackTopAndBottom() 109 *stack_top = end; in GetThreadStackTopAndBottom() 122 *stack_top = (uptr)stackaddr + stacksize; in GetThreadStackTopAndBottom() 358 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 359 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 361 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_stacktrace_libcdep.cc | 48 uptr stack_top, uptr stack_bottom, in Unwind() argument 67 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
|
D | sanitizer_win.cc | 70 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument 72 CHECK(stack_top); in GetThreadStackTopAndBottom() 79 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom() 534 uptr stack_top, stack_bottom; in GetThreadStackAndTls() 535 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls() 537 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_stacktrace.h | 99 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top, 103 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
|
D | sanitizer_unwind_posix_libcdep.cc | 34 uptr stack_top; member
|
/external/opencv/cv/src/ |
D | cvcanny.cpp | 53 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/ |
D | lsan.h | 21 uptr stack_top = 0, stack_bottom = 0; \ 24 stack_top = t->stack_end(); \ 28 /* context */ 0, stack_top, stack_bottom, fast); \
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 47 uptr stack_top = t->stack_top(); in GetStackTraceWithPcBpAndContext() 50 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTraceWithPcBpAndContext()
|
D | asan_thread.h | 67 uptr stack_top() { return stack_top_; } in stack_top() function
|
D | asan_thread.cc | 331 *stack_end = t->stack_top(); in GetThreadRangesLocked()
|
D | asan_rtl.cc | 547 uptr top = curr_thread->stack_top(); in __asan_handle_no_return()
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info_unittest.cc | 508 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/ |
D | msan_thread.h | 31 uptr stack_top() { return stack_top_; } in stack_top() function
|
D | msan.cc | 204 stack->Unwind(max_s, pc, bp, 0, t->stack_top(), t->stack_bottom(), in GetStackTrace()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.h | 98 bool GetStackInfo(const void** stack, size_t* stack_len, uintptr_t stack_top);
|
/external/gtest/src/ |
D | gtest-death-test.cc | 1068 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/ |
D | regexp-macro-assembler.h | 210 static Address GrowStack(Address stack_pointer, Address* stack_top,
|
/external/v8/tools/ |
D | grokdump.py | 1629 stack_top = self.reader.ExceptionSP() 1634 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()): 1636 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()): 2084 stack_top = self.reader.ExceptionSP() 2088 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()): 2158 stack_top = self.reader.ExceptionSP() 2159 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack") 3059 stack_top = reader.ExceptionSP() 3063 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()): 3105 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
|
/external/protobuf/gtest/src/ |
D | gtest-death-test.cc | 914 void* const stack_top = in ExecDeathTestFork() local 917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 967 void* const stack_top = in ExecDeathTestFork() local 970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 970 void* const stack_top = in ExecDeathTestFork() local 973 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-death-test.cc | 1065 void* const stack_top = in ExecDeathTestSpawnChild() local 1068 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
|