Home
last modified time | relevance | path

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

123

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_unwind_linux_libcdep.cc43 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
104 u32 max_depth; member
109 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
117 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
122 CHECK_GE(max_depth, 2); in SlowUnwindStack()
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
141 u32 max_depth) { in SlowUnwindStackWithContext() argument
142 CHECK_GE(max_depth, 2); in SlowUnwindStackWithContext()
144 SlowUnwindStack(pc, max_depth); in SlowUnwindStackWithContext()
[all …]
Dsanitizer_stacktrace_libcdep.cc57 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
60 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
62 if (max_depth == 0) { in Unwind()
66 if (max_depth == 1) { in Unwind()
74 SlowUnwindStackWithContext(pc, context, max_depth); in Unwind()
76 SlowUnwindStack(pc, max_depth); in Unwind()
81 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
Dsanitizer_stacktrace.h97 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
102 u32 max_depth);
103 void SlowUnwindStack(uptr pc, u32 max_depth);
105 u32 max_depth);
Dsanitizer_stacktrace.cc68 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
70 CHECK_GE(max_depth, 2); in FastUnwindStack()
81 size < max_depth) { in FastUnwindStack()
Dsanitizer_win.cc716 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
717 CHECK_GE(max_depth, 2); in SlowUnwindStack()
721 size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax), in SlowUnwindStack()
732 u32 max_depth) { in SlowUnwindStackWithContext() argument
754 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
/external/fio/engines/
Dsolarisaio.c19 unsigned int max_depth; member
136 if (sd->nr == sd->max_depth) in fio_solarisaio_queue()
189 unsigned int max_depth; in fio_solarisaio_init() local
191 max_depth = td->o.iodepth; in fio_solarisaio_init()
192 if (max_depth > MAXASYNCHIO) { in fio_solarisaio_init()
193 max_depth = MAXASYNCHIO; in fio_solarisaio_init()
195 max_depth); in fio_solarisaio_init()
199 sd->aio_events = malloc(max_depth * sizeof(struct io_u *)); in fio_solarisaio_init()
200 memset(sd->aio_events, 0, max_depth * sizeof(struct io_u *)); in fio_solarisaio_init()
201 sd->max_depth = max_depth; in fio_solarisaio_init()
/external/v8/src/base/debug/
Dstack_trace_android.cc23 StackCrawlState(uintptr_t* frames, size_t max_depth) in StackCrawlState()
26 max_depth(max_depth), in StackCrawlState()
31 size_t max_depth; member
46 if (state->frame_count >= state->max_depth) in TraceStackFrame()
/external/mesa3d/src/compiler/glsl/
Dlower_if_to_cond_assign.cpp65 unsigned max_depth, in ir_if_to_cond_assign_visitor() argument
70 this->max_depth = max_depth; in ir_if_to_cond_assign_visitor()
96 unsigned max_depth; member in __anona643fe4f0111::ir_if_to_cond_assign_visitor
106 unsigned max_depth, unsigned min_branch_cost) in lower_if_to_cond_assign() argument
108 if (max_depth == UINT_MAX) in lower_if_to_cond_assign()
111 ir_if_to_cond_assign_visitor v(stage, max_depth, min_branch_cost); in lower_if_to_cond_assign()
230 bool must_lower = this->depth-- > this->max_depth; in visit_leave()
/external/libmojo/base/debug/
Dstack_trace_android.cc25 StackCrawlState(uintptr_t* frames, size_t max_depth) in StackCrawlState()
28 max_depth(max_depth), in StackCrawlState()
33 size_t max_depth; member
48 if (state->frame_count >= state->max_depth) in TraceStackFrame()
/external/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()
514 if (handle->level < handle->max_depth) in ext2fs_extent_get()
519 handle->level, handle->max_depth, in ext2fs_extent_get()
[all …]
/external/compiler-rt/lib/asan/
Dasan_stack.h34 void GetStackTraceWithPcBpAndContext(BufferedStackTrace *stack, uptr max_depth, in GetStackTraceWithPcBpAndContext() argument
38 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast); in GetStackTraceWithPcBpAndContext()
52 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTraceWithPcBpAndContext()
57 stack->Unwind(max_depth, pc, bp, context, 0, 0, false); in GetStackTraceWithPcBpAndContext()
/external/brotli/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()
Dentropy_encode.c22 int p0, HuffmanTree* pool, uint8_t* depth, int max_depth) { in BrotliSetDepth() argument
26 assert(max_depth <= 15); in BrotliSetDepth()
31 if (level > max_depth) return BROTLI_FALSE; in BrotliSetDepth()
/external/ImageMagick/coders/
Dplasma.c139 max_depth; in ReadPlasmaImage() local
200 for (max_depth=0; i != 0; max_depth++) in ReadPlasmaImage()
207 max_depth); in ReadPlasmaImage()
/external/ltp/testcases/kernel/fs/iso9660/
Disofs.sh48 max_depth=3
56 if [ "$cur_depth" -gt "$max_depth" ]; then
/external/libchrome/base/debug/
Dstack_trace.cc89 size_t max_depth, in TraceStackFramePointers() argument
101 while (depth < max_depth) { in TraceStackFramePointers()
Dstack_trace.h114 size_t max_depth,
/external/webp/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()
/external/ltp/testcases/kernel/fs/inode/
Dinode02.c85 int max_depth, max_breadth, file_length; variable
140 max_depth = 6;
151 if (sscanf(argv[i++], "%d", &max_depth) != 1)
428 } else if (level < max_depth) {
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_test_dma.c220 unsigned bpp, max_width, max_height, max_depth, j, num; in r600_test_dma() local
310 max_depth = MIN2(tsrc.array_size, tdst.array_size); in r600_test_dma()
324 depth = max_depth; in r600_test_dma()
329 depth = (rand() % max_depth) + 1; in r600_test_dma()
/external/fio/
Dblktrace.c429 int this_depth[DDIR_RWDIR_CNT], depth[DDIR_RWDIR_CNT], max_depth; in load_blktrace() local
521 max_depth = 0; in load_blktrace()
527 max_depth = max(depth[i], max_depth); in load_blktrace()
562 td->o.iodepth = td->o.iodepth_low = max_depth; in load_blktrace()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc24 bool TryFastUnwind(uptr max_depth) { in TryFastUnwind() argument
27 trace.Unwind(max_depth, start_pc, (uptr)&fake_stack[0], 0, fake_top, in TryFastUnwind()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.h116 void set_max_recursion_depth(int max_depth) { in set_max_recursion_depth() argument
117 max_recursion_depth_ = max_depth; in set_max_recursion_depth()
/external/fio/t/
Dbtrace2fio.c23 static unsigned int max_depth = 256; variable
150 if (o->depth >= max_depth && !o->complete_seen) { in inflight_add()
152 o->depth = max_depth; in inflight_add()
996 log_err("fio: missing completion traces, depths capped at %u\n", max_depth); in output_p()
1026 log_err("\t-D\tCap queue depth at this value (def=%u)\n", max_depth); in usage()
1107 max_depth = atoi(optarg); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cc.c60 ccv[i].max_depth = MAX2(ctx->ViewportArray[i].Near, in brw_upload_cc_vp()
64 ccv[i].max_depth = 1.0; in brw_upload_cc_vp()

123