Home
last modified time | relevance | path

Searched refs:max_idx (Results 1 – 20 of 20) sorted by relevance

/external/autotest/site_utils/tester_feedback/
Dinput_handlers.py115 max_idx = len(choices)
116 if not (default is None or default in range(1, max_idx + 1)):
119 self._idx_range = '1-%d' % max_idx if max_idx > 1 else str(max_idx)
/external/perfetto/src/trace_processor/
Dstorage_table.cc67 uint32_t max_idx = RowCount(); in CreateRangeIterator() local
75 max_idx = std::min(max_idx, bounds.max_idx); in CreateRangeIterator()
79 if (min_idx >= max_idx) in CreateRangeIterator()
87 FilteredRowIndex index(min_idx, max_idx); in CreateRangeIterator()
Dstorage_columns.h36 uint32_t max_idx = std::numeric_limits<uint32_t>::max();
95 bounds.max_idx = static_cast<uint32_t>(accessor_.Size()); in BoundFilter()
146 bounds.max_idx = accessor_.Size(); in BoundFilter()
170 bounds.max_idx = accessor_.UpperBoundIndex(max); in BoundFilter()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dstream_map.cc92 size_t max_idx = map->count; in find() local
98 if (max_idx == 0) return nullptr; in find()
100 while (min_idx < max_idx) { in find()
102 mid_idx = min_idx + ((max_idx - min_idx) / 2); in find()
108 max_idx = mid_idx; in find()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp238 unsigned max_idx = APN->getNumIncomingValues(); in removePredecessor() local
239 assert(max_idx != 0 && "PHI Node in block with 0 predecessors!?!?!"); in removePredecessor()
240 if (max_idx == 2) { in removePredecessor()
244 if (this == Other) max_idx = 3; in removePredecessor()
248 if (max_idx <= 2 && !DontDeleteUselessPHIs) { in removePredecessor()
255 if (max_idx == 2) { in removePredecessor()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc140 u64 max_idx = MutexTypeInvalid; in Lock() local
147 max_idx = i; in Lock()
151 if (max_idx == MutexTypeInvalid) in Lock()
154 if (!CanLockAdj[max_idx][t]) { in Lock()
157 t, (uptr)max_idx); in Lock()
/external/llvm/lib/IR/
DBasicBlock.cpp303 unsigned max_idx = APN->getNumIncomingValues(); in removePredecessor() local
304 assert(max_idx != 0 && "PHI Node in block with 0 predecessors!?!?!"); in removePredecessor()
305 if (max_idx == 2) { in removePredecessor()
309 if (this == Other) max_idx = 3; in removePredecessor()
313 if (max_idx <= 2 && !DontDeleteUselessPHIs) { in removePredecessor()
320 if (max_idx == 2) { in removePredecessor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DBasicBlock.cpp317 unsigned max_idx = APN->getNumIncomingValues(); in removePredecessor() local
318 assert(max_idx != 0 && "PHI Node in block with 0 predecessors!?!?!"); in removePredecessor()
319 if (max_idx == 2) { in removePredecessor()
323 if (this == Other) max_idx = 3; in removePredecessor()
327 if (max_idx <= 2 && !DontDeleteUselessPHIs) { in removePredecessor()
334 if (max_idx == 2) { in removePredecessor()
/external/libxcam/cl_kernel/
Dkernel_fisheye.cl71 int max_idx = r + 1.0f;
72 float lsc_data = max_idx > (array_size - 1) ? lsc_array[array_size - 1] :
73 (r - min_idx) * (lsc_array[max_idx] - lsc_array[min_idx]) + lsc_array[min_idx];
/external/elfutils/libdw/
Ddwarf_formstring.c162 size_t max_idx = (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring() local
164 if (idx > max_idx) in dwarf_formstring()
Ddwarf_ranges.c436 size_t max_idx = (sec_size - offset_size - range_base_off) / offset_size; in initial_offset() local
437 if (idx > max_idx) in initial_offset()
Ddwarf_getlocation.c769 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset() local
770 if (idx > max_idx) in initial_offset()
/external/libaom/libaom/av1/common/
Dentropymode.c934 int max_idx = i; in av1_get_palette_color_index_context() local
938 max_idx = j; in av1_get_palette_color_index_context()
941 if (max_idx != i) { in av1_get_palette_color_index_context()
944 const int max_score = scores[max_idx]; in av1_get_palette_color_index_context()
945 const uint8_t max_color_order = color_order[max_idx]; in av1_get_palette_color_index_context()
946 for (int k = max_idx; k > i; --k) { in av1_get_palette_color_index_context()
/external/tensorflow/tensorflow/contrib/quantize/python/
Dquant_ops_test.py139 max_idx = (min_idx + 1) % 2
140 min_var, max_var = min_max_vars[min_idx], min_max_vars[max_idx]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_libcdep.cc610 uptr max_idx = tr_event_pointer - tr_event_array; in DumpTrace() local
611 if (!max_idx) return; in DumpTrace()
639 uptr bytes_to_write = max_idx * sizeof(tr_event_array[0]); in DumpTrace()
654 VReport(1, " CovDump: Trace: %zd Events written\n", max_idx); in DumpTrace()
660 uptr max_idx = atomic_load(&cc_array_index, memory_order_relaxed); in DumpCallerCalleePairs() local
661 if (!max_idx) return; in DumpCallerCalleePairs()
667 for (uptr i = 0; i < max_idx; i++) { in DumpCallerCalleePairs()
/external/libaom/libaom/test/
Dintra_edge_test.cc50 const int max_idx = (size_ - 1) * 2; in Common() local
51 for (int r = -2; r <= max_idx; ++r) { in Common()
/external/e2fsprogs/debugfs/
Dset_fields.c64 int max_idx; member
421 if (ss->max_idx > 0 && array_idx >= ss->max_idx) in find_field()
712 if (ss->max_idx > 0) in print_possible_fields()
713 sprintf(idx, "[%d]", ss->max_idx); in print_possible_fields()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Ddisasm-a2xx.c598 int idx, max_idx; in disasm_a2xx() local
603 max_idx = 2 * cf->exec.address; in disasm_a2xx()
608 for (idx = 0; idx < max_idx; idx++) { in disasm_a2xx()
/external/libaom/libaom/tools/txfm_analyzer/
Dtxfm_graph.cc503 int max_idx = 2 * (get_max_bit(N) + 1) - 3; in gen_R_graph() local
504 for (int idx = 0; idx < max_idx; idx++) { in gen_R_graph()
505 int s = stage_idx + max_idx - idx - 1; in gen_R_graph()
509 } else if (idx == max_idx - 1) { in gen_R_graph()
/external/libhevc/encoder/
Dihevce_frame_process.c714 WORD32 max_idx = ctr; in ihevce_pre_enc_manage_ref_pics() local
722 aps_pre_enc_ref_pic_list[LIST_0][max_idx]->i4_poc) in ihevce_pre_enc_manage_ref_pics()
724 max_idx = i; in ihevce_pre_enc_manage_ref_pics()
729 if(max_idx != ctr) in ihevce_pre_enc_manage_ref_pics()
731 ps_temp = aps_pre_enc_ref_pic_list[LIST_0][max_idx]; in ihevce_pre_enc_manage_ref_pics()
732 aps_pre_enc_ref_pic_list[LIST_0][max_idx] = aps_pre_enc_ref_pic_list[LIST_0][ctr]; in ihevce_pre_enc_manage_ref_pics()
1384 WORD32 max_idx = ctr; in ihevce_manage_ref_pics() local
1391 if(aps_ref_list[LIST_0][i]->i4_poc > aps_ref_list[LIST_0][max_idx]->i4_poc) in ihevce_manage_ref_pics()
1393 max_idx = i; in ihevce_manage_ref_pics()
1398 if(max_idx != ctr) in ihevce_manage_ref_pics()
[all …]