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
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/
Dsanitizer_stacktrace.cc44 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
45 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
52 uptr stack_top, in GetCanonicFrame() argument
55 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
57 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
60 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
72 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack() argument
77 if (stack_top < 4096) return; // Sanity check for stack top. in FastUnwindStack()
78 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
83 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack()
[all …]
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()
389 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
390 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
392 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_mac.cc215 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
217 CHECK(stack_top); in GetThreadStackTopAndBottom()
235 *stack_top = (uptr)stackaddr; in GetThreadStackTopAndBottom()
236 *stack_bottom = *stack_top - stacksize; in GetThreadStackTopAndBottom()
334 uptr stack_top, stack_bottom; in GetThreadStackAndTls() local
335 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
337 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
Dsanitizer_stacktrace_libcdep.cc49 uptr stack_top, uptr stack_bottom, in Unwind() argument
72 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_win.cc72 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, in GetThreadStackTopAndBottom() argument
74 CHECK(stack_top); in GetThreadStackTopAndBottom()
81 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
625 uptr stack_top, stack_bottom; in GetThreadStackAndTls()
626 GetThreadStackTopAndBottom(main, &stack_top, &stack_bottom); in GetThreadStackAndTls()
628 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
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,
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 /* context */ 0, stack_top, stack_bottom, fast); \
/external/opencv3/modules/imgproc/src/
Dcanny.cpp332 uchar **stack_top = &stack[0]; in operator ()() local
455 if ((stack_top - stack_bottom) + src.cols > maxsize) in operator ()()
457 int sz = (int)(stack_top - stack_bottom); in operator ()()
461 stack_top = stack_bottom + sz; in operator ()()
464 #define CANNY_PUSH(d) *(d) = uchar(2), *stack_top++ = (d) in operator ()()
465 #define CANNY_POP(d) (d) = *--stack_top in operator ()()
533 while (stack_top > stack_bottom) in operator ()()
535 if ((stack_top - stack_bottom) + 8 > maxsize) in operator ()()
537 int sz = (int)(stack_top - stack_bottom); in operator ()()
541 stack_top = stack_bottom + sz; in operator ()()
[all …]
/external/compiler-rt/lib/asan/
Dasan_stack.h48 uptr stack_top = t->stack_top(); in GetStackTraceWithPcBpAndContext()
51 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTraceWithPcBpAndContext()
Dasan_thread.h65 uptr stack_top() { return stack_top_; } in stack_top() function
Dasan_thread.cc330 *stack_end = t->stack_top(); in GetThreadRangesLocked()
/external/opencv3/modules/python/src2/
Dhdr_parser.py615 stack_top = self.block_stack[-1]
616 context = stack_top[self.BLOCK_TYPE]
634 stack_top[self.PUBLIC_SECTION] = True
636 stack_top[self.PUBLIC_SECTION] = False
641 if not stack_top[self.PUBLIC_SECTION] or stmt.startswith("template"):
706 class_decl = stack_top[self.CLASS_DECL]
825 stack_top = self.block_stack[-1]
832 if stack_top[self.PROCESS_FLAG]:
/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/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/gtest/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/tools/
Dgrokdump.py1742 stack_top = self.reader.ExceptionSP()
1747 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
1749 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2192 stack_top = self.reader.ExceptionSP()
2196 for slot in xrange(stack_top, stack_bottom, self.reader.PointerSize()):
2262 stack_top = self.reader.ExceptionSP()
2263 self.output_words(f, stack_top - 16, stack_bottom, stack_top, "Stack")
3163 stack_top = reader.ExceptionSP()
3167 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
3214 for slot in xrange(stack_top, stack_bottom, reader.PointerSize()):
[all …]
/external/v8/src/regexp/
Dregexp-macro-assembler.h214 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/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()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc967 void* const stack_top = in ExecDeathTestFork() local
970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestFork()

12