Home
last modified time | relevance | path

Searched refs:best_index (Results 1 – 16 of 16) sorted by relevance

/external/eigen/test/
Deigensolver_complex.cpp29 Index best_index(0); in find_pivot() local
30 if(diffs.col(col).segment(col,n-i).minCoeff(&best_index) > tol) in find_pivot()
33 best_index += col; in find_pivot()
35 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
37 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
40 diffs.row(n-(i-col)-1).swap(diffs.row(best_index)); in find_pivot()
41 transpositions.push_back(std::pair<Index,Index>(n-(i-col)-1,best_index)); in find_pivot()
/external/webrtc/modules/audio_coding/neteq/
Dexpand.cc440 size_t best_index = std::numeric_limits<size_t>::max(); in AnalyzeSignal() local
451 best_index = i; in AnalyzeSignal()
456 size_t distortion_lag = best_distortion_index[best_index]; in AnalyzeSignal()
457 size_t correlation_lag = best_correlation_index[best_index]; in AnalyzeSignal()
498 best_index = WebRtcSpl_MaxIndexW32(correlation_vector2, correlation_lags); in AnalyzeSignal()
499 int32_t max_correlation = correlation_vector2[best_index]; in AnalyzeSignal()
501 best_index = best_index + start_index; in AnalyzeSignal()
509 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
510 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
Ddsp_helper.cc255 size_t best_index = 0; in MinDistortion() local
267 best_index = i; in MinDistortion()
271 return best_index; in MinDistortion()
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Dexpect.py211 best_index, best_match = index, s
217 return best_index
300 best_index = index
306 return best_index
/external/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c636 signed best_index = -1; in mir_choose_instruction() local
704 if (effect == best_effect && (signed) i < best_index) in mir_choose_instruction()
708 best_index = i; in mir_choose_instruction()
714 if (best_index < 0) in mir_choose_instruction()
718 assert(best_index < count); in mir_choose_instruction()
721 BITSET_CLEAR(worklist, best_index); in mir_choose_instruction()
724 mir_adjust_constants(instructions[best_index], predicate, true); in mir_choose_instruction()
727 predicate->pipeline_count += mir_pipeline_count(instructions[best_index]); in mir_choose_instruction()
730 mir_adjust_unit(instructions[best_index], unit); in mir_choose_instruction()
734 mir_live_effect(liveness, instructions[best_index], true); in mir_choose_instruction()
[all …]
/external/rust/crates/rusqlite/tests/
Dvtab.rs38 fn best_index(&self, info: &mut IndexInfo) -> Result<()> { in test_dummy_module() method
/external/skia/modules/skplaintexteditor/src/
Deditor.cpp268 size_t best_index = b; in find_closest_x() local
269 float best_diff = ::fabsf(bounds[best_index].x() - x); in find_closest_x()
274 best_index = i; in find_closest_x()
277 return best_index; in find_closest_x()
/external/rust/crates/rusqlite/src/vtab/
Darray.rs91 fn best_index(&self, info: &mut IndexInfo) -> Result<()> { in best_index() method
Dseries.rs71 fn best_index(&self, info: &mut IndexInfo) -> Result<()> { in best_index() method
Dcsvtab.rs257 fn best_index(&self, info: &mut IndexInfo) -> Result<()> { in best_index() method
Dmod.rs224 fn best_index(&self, info: &mut IndexInfo) -> Result<()>; in best_index() method
819 match (*vt).best_index(&mut idx_info) { in rust_best_index()
/external/autotest/client/common_lib/
Dpexpect.py1677 best_index, best_match = index, s
1683 return best_index
1764 best_index = index
1770 return best_index
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c572 int best_index = 0; in vp9_mv_pred() local
611 best_index = i; in vp9_mv_pred()
616 x->mv_best_ref_index[ref_frame] = best_index; in vp9_mv_pred()
/external/flac/src/libFLAC/
Dlpc.c1335 …uint32_t order, indx, best_index; /* 'index' the index into lpc_error; index==order-1 since lpc_er… in FLAC__lpc_compute_best_order() local
1343 best_index = 0; in FLAC__lpc_compute_best_order()
1349 best_index = indx; in FLAC__lpc_compute_best_order()
1354 return best_index+1; /* +1 since indx of lpc_error[] is order-1 */ in FLAC__lpc_compute_best_order()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dt1_lib.cc2732 size_t best_index = num_algs; in cert_compression_parse_clienthello() local
2746 if (i < best_index) { in cert_compression_parse_clienthello()
2747 best_index = i; in cert_compression_parse_clienthello()
2762 if (best_index < num_algs && in cert_compression_parse_clienthello()
2765 hs->cert_compression_alg_id = ctx->cert_compression_algs[best_index].alg_id; in cert_compression_parse_clienthello()
/external/boringssl/src/ssl/
Dt1_lib.cc3055 size_t best_index = num_algs; in cert_compression_parse_clienthello() local
3069 if (i < best_index) { in cert_compression_parse_clienthello()
3070 best_index = i; in cert_compression_parse_clienthello()
3085 if (best_index < num_algs && in cert_compression_parse_clienthello()
3088 hs->cert_compression_alg_id = ctx->cert_compression_algs[best_index].alg_id; in cert_compression_parse_clienthello()