Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dstacktrace.cc70 int max_depth, int skip_count, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
88 void** result, int* sizes, int max_depth, int skip_count) { in GetStackFrames() argument
89 return Unwind<true, false>(result, sizes, max_depth, skip_count, nullptr, in GetStackFrames()
94 GetStackFramesWithContext(void** result, int* sizes, int max_depth, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
102 void** result, int max_depth, int skip_count) { in GetStackTrace() argument
103 return Unwind<false, false>(result, nullptr, max_depth, skip_count, nullptr, in GetStackTrace()
108 GetStackTraceWithContext(void** result, int max_depth, int skip_count, in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
Dstacktrace.h81 extern int GetStackFrames(void** result, int* sizes, int max_depth,
105 extern int GetStackFramesWithContext(void** result, int* sizes, int max_depth,
133 extern int GetStackTrace(void** result, int max_depth, int skip_count);
155 extern int GetStackTraceWithContext(void** result, int max_depth,
188 int max_depth, int skip_count,
217 extern int DefaultStackUnwinder(void** pcs, int* sizes, int max_depth,
/third_party/abseil-cpp/absl/debugging/
Dstacktrace.cc68 int max_depth, int skip_count, in Unwind() argument
76 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
86 void** result, int* sizes, int max_depth, int skip_count) { in GetStackFrames() argument
87 return Unwind<true, false>(result, sizes, max_depth, skip_count, nullptr, in GetStackFrames()
92 GetStackFramesWithContext(void** result, int* sizes, int max_depth, in GetStackFramesWithContext() argument
95 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
100 void** result, int max_depth, int skip_count) { in GetStackTrace() argument
101 return Unwind<false, false>(result, nullptr, max_depth, skip_count, nullptr, in GetStackTrace()
106 GetStackTraceWithContext(void** result, int max_depth, int skip_count, in GetStackTraceWithContext() argument
108 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
Dstacktrace.h81 extern int GetStackFrames(void** result, int* sizes, int max_depth,
105 extern int GetStackFramesWithContext(void** result, int* sizes, int max_depth,
133 extern int GetStackTrace(void** result, int max_depth, int skip_count);
155 extern int GetStackTraceWithContext(void** result, int max_depth,
188 int max_depth, int skip_count,
217 extern int DefaultStackUnwinder(void** pcs, int* sizes, int max_depth,
/third_party/python/Lib/xml/etree/
DElementInclude.py117 max_depth=DEFAULT_MAX_INCLUSION_DEPTH): argument
118 if max_depth is None:
119 max_depth = -1
120 elif max_depth < 0:
121 raise ValueError("expected non-negative depth or None for 'max_depth', got %r" % max_depth)
128 _include(elem, loader, base_url, max_depth, set())
131 def _include(elem, loader, base_url, max_depth, _parent_hrefs): argument
145 if max_depth == 0:
155 _include(node, loader, href, max_depth - 1, _parent_hrefs)
184 _include(e, loader, base_url, max_depth, _parent_hrefs)
/third_party/boost/boost/stacktrace/
Dsafe_dump_to.hpp64 …tic std::size_t safe_dump_to_impl(T file, std::size_t skip, std::size_t max_depth) BOOST_NOEXCEPT { in safe_dump_to_impl()
68 if (max_depth > boost::stacktrace::detail::max_frames_dump) { in safe_dump_to_impl()
69 max_depth = boost::stacktrace::detail::max_frames_dump; in safe_dump_to_impl()
72 …frames_count = boost::stacktrace::detail::this_thread_frames::collect(buffer, max_depth, skip + 1); in safe_dump_to_impl()
140 BOOST_FORCEINLINE std::size_t safe_dump_to(std::size_t skip, std::size_t max_depth, const char* fil… in safe_dump_to() argument
141 return boost::stacktrace::detail::this_thread_frames::safe_dump_to_impl(file, skip, max_depth); in safe_dump_to()
170 BOOST_FORCEINLINE std::size_t safe_dump_to(std::size_t skip, std::size_t max_depth, platform_specif…
178 BOOST_FORCEINLINE std::size_t safe_dump_to(std::size_t skip, std::size_t max_depth, void* fd) BOOST… in safe_dump_to() argument
179 return boost::stacktrace::detail::this_thread_frames::safe_dump_to_impl(fd, skip, max_depth); in safe_dump_to()
189 BOOST_FORCEINLINE std::size_t safe_dump_to(std::size_t skip, std::size_t max_depth, int fd) BOOST_N… in safe_dump_to() argument
[all …]
Dstacktrace.hpp67 BOOST_NOINLINE void init(std::size_t frames_to_skip, std::size_t max_depth) { in init() argument
69 if (!max_depth) { in init()
76 …:detail::this_thread_frames::collect(buffer, buffer_size < max_depth ? buffer_size : max_depth, fr… in init()
77 if (buffer_size > frames_count || frames_count == max_depth) { in init()
91 …:detail::this_thread_frames::collect(&buf[0], buf.size() < max_depth ? buf.size() : max_depth, fra… in init()
92 if (buf.size() > frames_count || frames_count == max_depth) { in init()
158 …BOOST_FORCEINLINE basic_stacktrace(std::size_t skip, std::size_t max_depth, const allocator_type& … in basic_stacktrace() argument
161 init(skip , max_depth); in basic_stacktrace()
/third_party/jerryscript/jerry-core/vm/
Dvm-utils.c101 vm_get_backtrace (uint32_t max_depth) /**< maximum backtrace depth, 0 = unlimited */ in vm_get_backtrace() argument
106 if (max_depth == 0) in vm_get_backtrace()
108 max_depth = UINT32_MAX; in vm_get_backtrace()
135 if (index >= max_depth) in vm_get_backtrace()
143 JERRY_UNUSED (max_depth); in vm_get_backtrace()
/third_party/glib/glib/glib-mirroring-tab/
Dgen-mirroring-tab.c172 int max_depth, in gen_mirroring_tab() argument
193 (table, UNICODE_CHARS, key_bytes, 0, max_depth, 1, NULL, in gen_mirroring_tab()
218 int max_depth = atoi (argv[1]); in main() local
221 if (max_depth < 2) in main()
226 gen_mirroring_tab (max_depth, data_file_type); in main()
/third_party/gn/src/base/json/
Djson_reader.cc37 JSONReader::JSONReader(int options, int max_depth) in JSONReader() argument
38 : parser_(new internal::JSONParser(options, max_depth)) {} in JSONReader()
45 int max_depth) { in Read() argument
46 internal::JSONParser parser(options, max_depth); in Read()
Djson_reader.h88 JSONReader(int options = JSON_PARSE_RFC, int max_depth = kStackMaxDepth);
98 int max_depth = kStackMaxDepth);
Djson_parser.cc33 StackMarker(int max_depth, int* depth) in StackMarker() argument
34 : max_depth_(max_depth), depth_(depth) { in StackMarker()
56 JSONParser::JSONParser(int options, int max_depth) in JSONParser() argument
58 max_depth_(max_depth), in JSONParser()
66 CHECK_LE(max_depth, JSONReader::kStackMaxDepth); in JSONParser()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbit_cost_inc.h73 size_t max_depth = 1; in FN() local
87 if (depth > max_depth) { in FN()
88 max_depth = depth; in FN()
120 bits += (double)(18 + 2 * max_depth); in FN()
/third_party/node/deps/brotli/c/enc/
Dbit_cost_inc.h73 size_t max_depth = 1; in FN() local
87 if (depth > max_depth) { in FN()
88 max_depth = depth; in FN()
120 bits += (double)(18 + 2 * max_depth); in FN()
/third_party/glib/glib/
Dgvarianttype.c208 gsize max_depth = 0, child_depth; in variant_type_string_scan_internal() local
226 max_depth = MAX (max_depth, child_depth + 1); in variant_type_string_scan_internal()
241 max_depth = MAX (max_depth, child_depth + 1); in variant_type_string_scan_internal()
250 max_depth = MAX (max_depth, child_depth + 1); in variant_type_string_scan_internal()
256 max_depth = MAX (max_depth, 1); in variant_type_string_scan_internal()
266 *depth = max_depth; in variant_type_string_scan_internal()
Dgvariant-parser.c645 guint max_depth,
831 guint max_depth, in maybe_parse() argument
845 child = parse (stream, max_depth - 1, app, error); in maybe_parse()
962 guint max_depth, in array_parse() argument
990 child = parse (stream, max_depth - 1, app, error); in array_parse()
1101 guint max_depth, in tuple_parse() argument
1130 child = parse (stream, max_depth - 1, app, error); in tuple_parse()
1208 guint max_depth, in variant_parse() argument
1221 value = parse (stream, max_depth - 1, app, error); in variant_parse()
1395 guint max_depth, in dictionary_parse() argument
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dextent.c62 int max_depth; member
273 handle->max_depth = ext2fs_le16_to_cpu(eh->eh_depth); in ext2fs_extent_open2()
276 handle->max_paths = handle->max_depth + 1; in ext2fs_extent_open2()
329 if (handle->level < handle->max_depth) { in ext2fs_extent_get()
360 if (handle->level < handle->max_depth) { in ext2fs_extent_get()
390 if ((handle->level < handle->max_depth) && in ext2fs_extent_get()
435 if (handle->level < handle->max_depth) in ext2fs_extent_get()
457 if (!path->curr ||(handle->level >= handle->max_depth)) in ext2fs_extent_get()
518 if (handle->level < handle->max_depth) in ext2fs_extent_get()
523 handle->level, handle->max_depth, in ext2fs_extent_get()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dstacktrace_generic-inl.inc48 static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
65 if (result_count > max_depth)
66 result_count = max_depth;
75 if (size - skip_count - max_depth > 0) {
76 *min_dropped_frames = size - skip_count - max_depth;
Dstacktrace_emscripten-inl.inc65 static int UnwindImpl(void **result, int *sizes, int max_depth, int skip_count,
82 if (result_count > max_depth) result_count = max_depth;
90 if (size - skip_count - max_depth > 0) {
91 *min_dropped_frames = size - skip_count - max_depth;
/third_party/abseil-cpp/absl/debugging/internal/
Dstacktrace_generic-inl.inc59 static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
76 if (result_count > max_depth)
77 result_count = max_depth;
86 if (size - skip_count - max_depth > 0) {
87 *min_dropped_frames = size - skip_count - max_depth;
/third_party/ffmpeg/libavcodec/
Dget_bits.h706 #define GET_VLC(code, name, gb, table, bits, max_depth) \ argument
715 if (max_depth > 1 && n < 0) { \
724 if (max_depth > 2 && n < 0) { \
739 max_depth, need_update) \ argument
748 if (max_depth > 1 && n < 0) { \
759 if (max_depth > 2 && n < 0) { \
798 int bits, int max_depth) in get_vlc2() argument
806 if (max_depth > 1 && n < 0) { in get_vlc2()
809 if (max_depth > 2 && n < 0) { in get_vlc2()
823 GET_VLC(code, re, s, table, bits, max_depth); in get_vlc2()
/third_party/jerryscript/tests/unit-core/
Dtest-backtrace.c29 uint32_t max_depth = 0; in backtrace_handler() local
33 max_depth = (uint32_t) jerry_get_number_value (args_p[0]); in backtrace_handler()
36 return jerry_get_backtrace (max_depth); in backtrace_handler()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c245 int max_depth = bit_depths[0]; in GenerateOptimalTree() local
247 if (max_depth < bit_depths[j]) { in GenerateOptimalTree()
248 max_depth = bit_depths[j]; in GenerateOptimalTree()
251 if (max_depth <= tree_depth_limit) { in GenerateOptimalTree()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c245 int max_depth = bit_depths[0]; in GenerateOptimalTree() local
247 if (max_depth < bit_depths[j]) { in GenerateOptimalTree()
248 max_depth = bit_depths[j]; in GenerateOptimalTree()
251 if (max_depth <= tree_depth_limit) { in GenerateOptimalTree()
/third_party/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h87 void set_max_recursion_depth(int max_depth) { in set_max_recursion_depth() argument
88 max_recursion_depth_ = max_depth; in set_max_recursion_depth()

1234