Searched refs:max_depth (Results 1 - 25 of 92) sorted by relevance

1234

/netbsd-current/external/gpl3/gcc/dist/gcc/analyzer/
H A Dcomplexity.h32 complexity (unsigned num_nodes, unsigned max_depth) argument
33 : m_num_nodes (num_nodes), m_max_depth (max_depth)
H A Dcomplexity.cc99 unsigned max_depth = 0; local
104 max_depth = MAX (max_depth, iter_c.m_max_depth);
106 return complexity (num_nodes + 1, max_depth + 1);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cc44 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
106 u32 max_depth; member in struct:__sanitizer::UnwindTraceArg
111 CHECK_LT(arg->stack->size, arg->max_depth);
119 if (arg->stack->size == arg->max_depth) return UNWIND_STOP;
123 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
124 CHECK_GE(max_depth, 2);
126 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
143 u32 max_depth) {
144 CHECK_GE(max_depth, 2);
146 SlowUnwindStack(pc, max_depth);
142 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
[all...]
H A Dsanitizer_unwind_win.cc28 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
29 CHECK_GE(max_depth, 2);
33 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax),
44 u32 max_depth) {
69 size < Min(max_depth, kStackTraceMax)) {
43 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
H A Dsanitizer_stacktrace_sparc.cc26 uptr stack_bottom, u32 max_depth) {
28 CHECK_GE(max_depth, 2);
41 size < max_depth) {
25 FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, u32 max_depth) argument
H A Dsanitizer_symbolizer_markup.cc108 u32 max_depth; member in struct:__sanitizer::UnwindTraceArg
113 CHECK_LT(arg->stack->size, arg->max_depth);
117 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
122 CHECK_GE(max_depth, 2);
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
137 u32 max_depth) {
136 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
H A Dsanitizer_stacktrace_libcdep.cc58 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, argument
61 top_frame_bp = (max_depth > 0) ? bp : 0;
62 // Avoid doing any work for small max_depth.
63 if (max_depth == 0) {
67 if (max_depth == 1) {
75 SlowUnwindStackWithContext(pc, context, max_depth);
77 SlowUnwindStack(pc, max_depth);
82 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth);
H A Dsanitizer_stacktrace.h100 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
110 u32 max_depth);
111 void SlowUnwindStack(uptr pc, u32 max_depth);
113 u32 max_depth);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_unwind_win.cc26 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
27 CHECK_GE(max_depth, 2);
31 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax),
42 u32 max_depth) {
67 size < Min(max_depth, kStackTraceMax)) {
41 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
H A Dsanitizer_unwind_linux_libcdep.cc42 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
104 u32 max_depth; member in struct:__sanitizer::UnwindTraceArg
109 CHECK_LT(arg->stack->size, arg->max_depth);
117 if (arg->stack->size == arg->max_depth) return UNWIND_STOP;
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
122 CHECK_GE(max_depth, 2);
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
147 u32 max_depth) {
148 CHECK_GE(max_depth, 2);
150 SlowUnwindStack(pc, max_depth);
146 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
[all...]
H A Dsanitizer_symbolizer_markup.cc106 u32 max_depth; member in struct:__sanitizer::UnwindTraceArg
111 CHECK_LT(arg->stack->size, arg->max_depth);
115 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP
119 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { argument
120 CHECK_GE(max_depth, 2);
122 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
135 u32 max_depth) {
134 SlowUnwindStackWithContext(uptr pc, void *context, u32 max_depth) argument
H A Dsanitizer_stacktrace_sparc.cc28 uptr stack_bottom, u32 max_depth) {
30 CHECK_GE(max_depth, 2);
67 size < max_depth) {
27 FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, u32 max_depth) argument
H A Dsanitizer_stacktrace_libcdep.cc56 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, argument
59 top_frame_bp = (max_depth > 0) ? bp : 0;
60 // Avoid doing any work for small max_depth.
61 if (max_depth == 0) {
65 if (max_depth == 1) {
73 SlowUnwindStackWithContext(pc, context, max_depth);
75 SlowUnwindStack(pc, max_depth);
80 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth);
H A Dsanitizer_stacktrace.h98 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
108 u32 max_depth);
109 void SlowUnwindStack(uptr pc, u32 max_depth);
111 u32 max_depth);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_unwind_win.cpp27 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { argument
28 CHECK_GE(max_depth, 2);
32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax),
50 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { argument
52 CHECK_GE(max_depth, 2);
77 size < Min(max_depth, kStackTraceMax)) {
H A Dsanitizer_symbolizer_markup.cpp115 u32 max_depth; member in struct:__sanitizer::UnwindTraceArg
120 CHECK_LT(arg->stack->size, arg->max_depth);
124 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP
128 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { argument
129 CHECK_GE(max_depth, 2);
131 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
143 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { argument
145 CHECK_GE(max_depth, 2);
H A Dsanitizer_stacktrace.h122 u32 max_depth = kStackTraceMax) {
123 top_frame_bp = (max_depth > 0) ? bp : 0;
124 // Small max_depth optimization
125 if (max_depth <= 1) {
126 if (max_depth == 1)
128 size = max_depth;
131 UnwindImpl(pc, bp, context, request_fast, max_depth);
134 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
145 u32 max_depth);
149 u32 max_depth);
[all...]
H A Dsanitizer_unwind_linux_libcdep.cpp45 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
75 u32 max_depth; member in struct:__sanitizer::__anon1::UnwindTraceArg
80 CHECK_LT(arg->stack->size, arg->max_depth);
88 if (arg->stack->size == arg->max_depth) return UNWIND_STOP;
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { argument
127 CHECK_GE(max_depth, 2);
129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)};
151 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { argument
153 CHECK_GE(max_depth, 2);
155 UnwindSlow(pc, max_depth);
[all...]
H A Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) {
31 CHECK_GE(max_depth, 2);
66 size < max_depth) {
28 UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom, u32 max_depth) argument
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_diag_standalone.cpp20 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) {
25 Unwind(max_depth, pc, bp, context, top, bottom, fast);
19 UnwindImpl( uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) argument
H A Dubsan_signals_standalone.cpp41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_stack.h34 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp, argument
37 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast);
47 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom,
52 stack->Unwind(max_depth, pc, bp, context, 0, 0, false);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_stack.h32 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp, argument
35 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast);
49 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom,
54 stack->Unwind(max_depth, pc, bp, context, 0, 0, false);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_stack.cpp57 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) {
69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(),
77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0,
56 UnwindImpl( uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) argument
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan.h49 __sanitizer::uptr max_depth, __sanitizer::uptr pc,
58 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast);
48 GetStackTrace(__sanitizer::BufferedStackTrace *stack, __sanitizer::uptr max_depth, __sanitizer::uptr pc, __sanitizer::uptr bp, void *context, bool fast) argument

Completed in 150 milliseconds

1234