Home
last modified time | relevance | path

Searched refs:max_idx (Results 1 – 23 of 23) 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/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dstream_map.cc101 size_t max_idx = map->count; in find() local
107 GPR_DEBUG_ASSERT(!strict_find || max_idx > 0); in find()
108 if (!strict_find && max_idx == 0) return nullptr; in find()
110 while (min_idx < max_idx) { in find()
112 mid_idx = min_idx + ((max_idx - min_idx) / 2); in find()
118 max_idx = mid_idx; in find()
/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/arm-trusted-firmware/lib/extensions/ras/
Dstd_err_record.c56 unsigned int max_idx __unused = in ser_probe_sysreg()
59 assert(idx_start < max_idx); in ser_probe_sysreg()
61 assert((idx_start + num_idx - 1U) < max_idx); in ser_probe_sysreg()
/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-project/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cpp139 u64 max_idx = MutexTypeInvalid; in Lock() local
146 max_idx = i; in Lock()
150 if (max_idx == MutexTypeInvalid) in Lock()
153 if (!CanLockAdj[max_idx][t]) { in Lock()
156 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-10.0/llvm/lib/IR/
DBasicBlock.cpp330 unsigned max_idx = APN->getNumIncomingValues(); in removePredecessor() local
331 assert(max_idx != 0 && "PHI Node in block with 0 predecessors!?!?!"); in removePredecessor()
332 if (max_idx == 2) { in removePredecessor()
336 if (this == Other) max_idx = 3; in removePredecessor()
340 if (max_idx <= 2 && !KeepOneInputPHIs) { in removePredecessor()
347 if (max_idx == 2) { in removePredecessor()
/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.c773 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset() local
774 if (idx > max_idx) in initial_offset()
/external/arm-trusted-firmware/include/lib/extensions/
Dras_arch.h251 unsigned int max_idx __unused = in ser_sys_select_record()
254 assert(idx < max_idx); in ser_sys_select_record()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.cc198 XlaOp max_idx = MaxValue(builder, output_type); in ArgMinMaxTwoPass() local
202 max_idx); in ArgMinMaxTwoPass()
203 return Reduce(select_mask, max_idx, in ArgMinMaxTwoPass()
/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/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.c65 int max_idx; member
426 if (ss->max_idx > 0 && array_idx >= ss->max_idx) in find_field()
791 if (ss->max_idx > 0) in print_possible_fields()
792 sprintf(idx, "[%d]", ss->max_idx); in print_possible_fields()
/external/mesa3d/src/freedreno/ir2/
Ddisasm-a2xx.c602 int idx, max_idx; in disasm_a2xx() local
607 max_idx = 2 * cf->exec.address; in disasm_a2xx()
612 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.c728 WORD32 max_idx = ctr; in ihevce_pre_enc_manage_ref_pics() local
736 aps_pre_enc_ref_pic_list[LIST_0][max_idx]->i4_poc) in ihevce_pre_enc_manage_ref_pics()
738 max_idx = i; in ihevce_pre_enc_manage_ref_pics()
743 if(max_idx != ctr) in ihevce_pre_enc_manage_ref_pics()
745 ps_temp = aps_pre_enc_ref_pic_list[LIST_0][max_idx]; in ihevce_pre_enc_manage_ref_pics()
746 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()
1398 WORD32 max_idx = ctr; in ihevce_manage_ref_pics() local
1405 if(aps_ref_list[LIST_0][i]->i4_poc > aps_ref_list[LIST_0][max_idx]->i4_poc) in ihevce_manage_ref_pics()
1407 max_idx = i; in ihevce_manage_ref_pics()
1412 if(max_idx != ctr) in ihevce_manage_ref_pics()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py981 max_idx = len(op_def.input_arg) + len(op_def.attr)
990 while attr_def.name in derived_attrs and (idx + 1) < max_idx:
993 if idx >= max_idx:
/external/libaom/libaom/av1/encoder/
Dtx_search.c1983 int max_idx = 0; in get_tx_mask() local
1987 max_idx = i; in get_tx_mask()
1991 if ((prune >> max_idx) & 0x01) prune &= ~(1 << max_idx); in get_tx_mask()
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.cc2510 uint64_t max_idx = in ClearPropertyForAllValues() local
2514 for (uint64_t i = 0; i < max_idx; ++i) { in ClearPropertyForAllValues()