Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 25 of 48) sorted by relevance

12

/openbsd-src/gnu/usr.bin/perl/dist/Storable/
H A Dstacksize128 my $max_depth = $n;
135 : $max_depth;
147 if ($max_depth == $bad1-1
153 $max_depth = 512;
155 print "MAX_DEPTH = $max_depth\n" unless QUIET;
167 $max_depth = int(0.6 * $max_depth);
172 $max_depth -= $stack_reserve;
178 $max_depth = ($max_depth >> 1) - $stack_reserve;
182 write_limits($max_depth, $max_depth_hash);
185 my ($max_depth, $max_depth_hash) = @_;
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cpp45 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
75 u32 max_depth; member
80 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
88 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
127 CHECK_GE(max_depth, 2); in UnwindSlow()
129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
151 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
153 CHECK_GE(max_depth, 2); in UnwindSlow()
155 UnwindSlow(pc, max_depth); in UnwindSlow()
[all …]
H A Dsanitizer_stacktrace.h121 u32 max_depth = kStackTraceMax) {
122 top_frame_bp = (max_depth > 0) ? bp : 0;
124 if (max_depth <= 1) {
125 if (max_depth == 1)
127 size = max_depth;
130 UnwindImpl(pc, bp, context, request_fast, max_depth);
133 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
144 u32 max_depth);
148 u32 max_depth);
149 void UnwindSlow(uptr pc, u32 max_depth);
[all …]
H A Dsanitizer_symbolizer_markup.cpp113 u32 max_depth; member
118 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
122 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
127 CHECK_GE(max_depth, 2); in UnwindSlow()
129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
141 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
143 CHECK_GE(max_depth, 2); in UnwindSlow()
H A Dsanitizer_unwind_win.cpp27 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
28 CHECK_GE(max_depth, 2); in UnwindSlow()
32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in UnwindSlow()
50 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
52 CHECK_GE(max_depth, 2); in UnwindSlow()
84 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
H A Dsanitizer_stacktrace_libcdep.cpp136 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
141 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
143 if (max_depth == 0) { in Unwind()
147 if (max_depth == 1) { in Unwind()
155 UnwindSlow(pc, context, max_depth); in Unwind()
157 UnwindSlow(pc, max_depth); in Unwind()
160 if (size > 2 || size >= max_depth) in Unwind()
166 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
31 CHECK_GE(max_depth, 2); in UnwindFast()
66 size < max_depth) { in UnwindFast()
H A Dsanitizer_stacktrace.cpp98 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
100 CHECK_GE(max_depth, 2); in UnwindFast()
112 size < max_depth) { in UnwindFast()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_stack.cpp34 u32 max_depth) { in UnwindImpl() argument
43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
48 Unwind(max_depth, pc, bp, context, 0, 0, false); in UnwindImpl()
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DOptionGroupValueObjectDisplay.cpp103 if (option_arg.getAsInteger(0, max_depth)) { in SetOptionValue()
104 max_depth = UINT32_MAX; in SetOptionValue()
167 max_depth = UINT32_MAX; in OptionParsingStarting()
181 max_depth = std::get<uint32_t>(max_depth_config); in OptionParsingStarting()
199 options.SetMaximumDepth(max_depth, max_depth_is_default) in GetAsDumpOptions()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_stack.cpp57 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A D013_limit.t23 ok (ref $js->max_depth (32)->decode (("[" x 32) . ("]" x 32)));
25 ok ($js->max_depth(1)->encode ([]));
28 ok ($js->max_depth(2)->encode ([{}]));
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/optional/
H A Dbacktrace_sanitizer_common.cpp24 u32 max_depth) { in UnwindImpl() argument
26 return Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
32 return Unwind(max_depth, pc, bp, context, top, bottom, request_fast); in UnwindImpl()
/openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_diag_standalone.cpp20 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
25 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
H A Dubsan_signals_standalone.cpp41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
/openbsd-src/gnu/llvm/lldb/include/lldb/Interpreter/
H A DOptionGroupValueObjectDisplay.h34 flat_output || use_objc || max_depth != UINT32_MAX || in AnyOptionWasSet()
50 uint32_t max_depth; variable
/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/lib/JSON/
H A DPP.pm136 max_depth => 512,
183 sub max_depth { subroutine
185 $_[0]->{max_depth} = $max;
190 sub get_max_depth { $_[0]->{max_depth}; }
321 my $max_depth;
357 ($max_depth, $indent_length) = @{$self}{qw/max_depth indent_length/};
446 if (++$depth > $max_depth);
470 if (++$depth > $max_depth);
724 my $max_depth; # max nest number of objects and arrays
786 ($max_depth, $max_size, $cb_object, $cb_sk_object, $F_HOOK)
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.cpp50 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
55 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan.cpp36 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
46 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
/openbsd-src/usr.sbin/unbound/edns-subnet/
H A Daddrtree.h76 addrlen_t max_depth; member
143 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *),
H A Daddrtree.c122 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *), in addrtree_create() argument
139 tree->max_depth = max_depth; in addrtree_create()
374 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert()
/openbsd-src/lib/libcrypto/x509/
H A Dx509_verify.c665 if (depth >= ctx->max_depth && in x509_verify_build_chains()
960 size_t max_depth; in x509_verify_ctx_new_from_xsc() local
974 max_depth = X509_VERIFY_MAX_CHAIN_CERTS; in x509_verify_ctx_new_from_xsc()
976 max_depth = xsc->param->depth; in x509_verify_ctx_new_from_xsc()
977 if (!x509_verify_ctx_set_max_depth(ctx, max_depth)) in x509_verify_ctx_new_from_xsc()
1004 ctx->max_depth = X509_VERIFY_MAX_CHAIN_CERTS; in x509_verify_ctx_new()
1033 ctx->max_depth = max; in x509_verify_ctx_set_max_depth()
1099 if (ctx->roots == NULL || ctx->max_depth == 0) { in x509_verify()
/openbsd-src/usr.bin/ftp/
H A Dsmall.c338 static int depth = 0, max_depth = 0; local
351 max_depth = strtonum(optarg, 0, INT_MAX, &errstr);
418 if (type == 'd' && depth == max_depth)
470 depth = max_depth = mflag = restartit = 0;
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan.cpp327 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
333 return Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
337 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
339 Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
/openbsd-src/gnu/usr.bin/perl/regen/
H A Dregcharclass.pl646 my $trie= $self->make_trie( $opt{type}, $opt{max_depth}, $opt{backwards} );
667 my $latin1= $self->make_trie( 'latin1', $opt{max_depth}, $opt{backwards} );
668 my $utf8= $self->make_trie( 'utf8', $opt{max_depth}, $opt{backwards} );
679 my $low= $self->make_trie( 'low', $opt{max_depth}, $opt{backwards} );
735 my $optree= $self->$method(%opt, type => $type, max_depth => $size);
743 my $optree= $self->$method(%opt, type => $type, max_depth => $size);

12