/third_party/ffmpeg/libavcodec/x86/ |
D | celt_pvq_search.asm | 89 pxor m1, m1 ; max_idx 142 …por m1, mm_const_int32_offsets ; max_idx offsets per individual lane (skipped in the i… 143 movdqa m4, m1 ; needed for the aligned y[max_idx]+=1; processing 152 BLENDVPS xm3, xm5, xm0 ; max_idx = m0 ? max_idx[1x128] : max_idx[0x128] 162 BLENDVPS xm3, xm5, xm0 ; max_idx = m0 ? max_idx[3,2] : max_idx[1,0] 175 %{1}ps m7, m3 ; Sxy += X[max_idx] 178 %{1}ps m6, m5 ; Syy += Y[max_idx] 184 pcmpeqd m1, m1, m4 ; exactly 1 element matches max_idx and this finds it 186 …and r4d, ~(mmsize-1) ; align address down, so the value pointed by max_idx is insid… 190 movaps [tmpY + r4], m5 ; Y[max_idx] +-= 1.0;
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | pooling_grad.c | 132 uint32x4_t max_idx = vdupq_n_u32(0); in MaxPoolingGrad() local 138 int max_idx[4] = {0}; in MaxPoolingGrad() local 148 max_idx = vreinterpretq_u32_s32( in MaxPoolingGrad() 149 … MaxIndex(in, &max_val, vreinterpretq_s32_u32(index), vreinterpretq_s32_u32(max_idx))); in MaxPoolingGrad() 155 max_idx[i] = val_idx + i; in MaxPoolingGrad() 162 out[((int *)&max_idx)[i]] += ((float *)&delta)[i]; in MaxPoolingGrad() 167 int max_idx = 0; in MaxPoolingGrad() local 178 max_idx = val_idx; in MaxPoolingGrad() 182 out[max_idx] += delta; in MaxPoolingGrad()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | pooling_grad.c | 135 uint32x4_t max_idx = vdupq_n_u32(0); in MaxPoolingFp16Grad() local 141 uint max_idx[4] = {0}; in MaxPoolingFp16Grad() local 151 max_idx = MaxIndex(in, &max_val, index, max_idx); in MaxPoolingFp16Grad() 157 max_idx[i] = val_idx + i; in MaxPoolingFp16Grad() 164 out[((int *)&max_idx)[i]] += ((float16_t *)&delta)[i]; in MaxPoolingFp16Grad() 169 int max_idx = 0; in MaxPoolingFp16Grad() local 180 max_idx = val_idx; in MaxPoolingFp16Grad() 184 out[max_idx] += delta; in MaxPoolingFp16Grad()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | stream_map.cc | 101 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()
|
/third_party/mindspore/mindspore/lite/src/train/ |
D | train_utils.cc | 60 int max_idx = 0; in CalcSparseClassificationAccuracy() local 65 max_idx = c; in CalcSparseClassificationAccuracy() 68 if (labels[b] == max_idx) accuracy += 1.0; in CalcSparseClassificationAccuracy() 99 int max_idx = 0; in CalcOneHotClassificationAccuracy() local 105 max_idx = c; in CalcOneHotClassificationAccuracy() 112 if (label == max_idx) accuracy += 1.0; in CalcOneHotClassificationAccuracy()
|
/third_party/musl/libc-test/src/functional/ |
D | test-iterate.c | 72 size_t min_idx, max_idx; in fill_allocations_info() local 80 max_idx = i; in fill_allocations_info() 89 allocations_info->size = allocs[max_idx] - allocs[min_idx] + allocs_sizes[max_idx]; in fill_allocations_info()
|
/third_party/gstreamer/gstplugins_base/gst/tcp/ |
D | gstmultihandlesink.c | 239 gint * max_idx, gint bytes_max, gint buffers_max, gint64 time_max); 1185 gint * max_idx, gint bytes_max, gint buffers_max, gint64 time_max) in find_limits() argument 1206 *max_idx = len - 1; in find_limits() 1216 *max_idx = -1; in find_limits() 1234 *max_idx = i - 1; in find_limits() 1275 if (*max_idx == -1) in find_limits() 1276 *max_idx = len - 1; in find_limits() 1279 *min_idx = *max_idx; in find_limits() 1324 GstFormat min_format, guint64 min_value, gint * max_idx, in count_burst_unit() argument 1335 max_idx, bytes_max, buffers_max, time_max); in count_burst_unit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | BasicBlock.cpp | 330 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()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl01.c | 233 int max_idx, i; in get_shm_idx_from_id() local 235 max_idx = SAFE_SHMCTL(shm_id, SHM_INFO, (void *)&dummy); in get_shm_idx_from_id() 237 for (i = 0; i <= max_idx; i++) { in get_shm_idx_from_id()
|
/third_party/openssl/crypto/modes/ |
D | ocb128.c | 345 size_t max_idx = 0, top = (size_t)all_num_blocks; in CRYPTO_ocb128_encrypt() local 352 max_idx++; in CRYPTO_ocb128_encrypt() 353 if (ocb_lookup_l(ctx, max_idx) == NULL) in CRYPTO_ocb128_encrypt() 437 size_t max_idx = 0, top = (size_t)all_num_blocks; in CRYPTO_ocb128_decrypt() local 444 max_idx++; in CRYPTO_ocb128_decrypt() 445 if (ocb_lookup_l(ctx, max_idx) == NULL) in CRYPTO_ocb128_decrypt()
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | huffman.c | 61 int max_idx, min_idx; in compute_region_powers() local 73 max_idx = 64; in compute_region_powers() 75 idx = (min_idx + max_idx) / 2; in compute_region_powers() 79 max_idx = idx; in compute_region_powers()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-snapshot.c | 1403 lit_utf8_size_t max_idx = node_idx; in jerry_save_literals_heap_max() local 1406 && jerry_save_literals_compare (literals[max_idx], literals[child_idx1])) in jerry_save_literals_heap_max() 1408 max_idx = child_idx1; in jerry_save_literals_heap_max() 1412 && jerry_save_literals_compare (literals[max_idx], literals[child_idx2])) in jerry_save_literals_heap_max() 1414 max_idx = child_idx2; in jerry_save_literals_heap_max() 1417 return max_idx; in jerry_save_literals_heap_max() 1430 lit_utf8_size_t max_idx = jerry_save_literals_heap_max (literals, in jerry_save_literals_down_heap() local 1435 if (max_idx == node_idx) in jerry_save_literals_down_heap() 1441 literals[node_idx] = literals[max_idx]; in jerry_save_literals_down_heap() 1442 literals[max_idx] = tmp_str_p; in jerry_save_literals_down_heap() [all …]
|
/third_party/mindspore/mindspore/lite/examples/train_lenet_java/src/main/java/com/mindspore/lite/train_lenet/ |
D | NetRunner.java | 157 int max_idx = 0; in calculateAccuracy() local 162 max_idx = c; in calculateAccuracy() 166 if (labels.get(b) == max_idx) { in calculateAccuracy()
|
/third_party/mindspore/tests/st/cpp/model/ |
D | test_zero_copy.cc | 180 size_t max_idx = 0; in GetMax() local 185 max_idx = i; in GetMax() 188 return max_idx; in GetMax()
|
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/ |
D | quantize_util.cc | 374 size_t *max_idx) { in SearchUpperBound() argument 380 if (fabs(*max_tmp - min_tmp) <= 0.0f || fabs(length - *max_idx) <= 0.0f) { in SearchUpperBound() 385 float index_ratio = static_cast<float>(index - *max_idx) / (length - *max_idx); in SearchUpperBound() 391 *max_idx = index; in SearchUpperBound() 426 size_t max_idx = 0; in OutlierMethod() local 432 if (!SearchUpperBound(min_datas, i, &max_tmp, min_tmp, &max_idx)) { in OutlierMethod()
|
/third_party/mindspore/mindspore/nn/metrics/ |
D | occlusion_sensitivity.py | 182 max_idx = [min(j, i + self.margin) for i, j in zip(idx, y_pred_shape)] 185 occlu_im[(...,) + tuple(slice(i, j) for i, j in zip(min_idx, max_idx))] = self.pad_val
|
/third_party/mindspore/mindspore/lite/examples/transfer_learning/src/ |
D | net_runner.cc | 146 int max_idx = 0; in CalculateAccuracy() local 151 max_idx = c; in CalculateAccuracy() 154 if (labels[b] == max_idx) accuracy += 1.0; in CalculateAccuracy()
|
/third_party/ffmpeg/libavcodec/ |
D | opus_pvq.c | 384 int max_idx = 0, phase = FFSIGN(K); in ppp_pvq_search_c() local 400 max_idx = i; in ppp_pvq_search_c() 406 phase *= FFSIGN(X[max_idx]); in ppp_pvq_search_c() 407 xy_norm += 1*phase*X[max_idx]; in ppp_pvq_search_c() 408 y_norm += 2*phase*y[max_idx]; in ppp_pvq_search_c() 409 y[max_idx] += phase; in ppp_pvq_search_c()
|
D | aacdec_template.c | 1732 int max_idx = cpe->ch[0].ics.num_window_groups * cpe->ch[0].ics.max_sfb; in decode_mid_side_stereo() local 1734 for (idx = 0; idx < max_idx; idx++) in decode_mid_side_stereo() 1737 memset(cpe->ms_mask, 1, max_idx * sizeof(cpe->ms_mask[0])); in decode_mid_side_stereo()
|
/third_party/e2fsprogs/debugfs/ |
D | set_fields.c | 65 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()
|
/third_party/mesa3d/src/freedreno/ir2/ |
D | disasm-a2xx.c | 624 int idx, max_idx; in disasm_a2xx() local 629 max_idx = 2 * cf->exec.address; in disasm_a2xx() 634 for (idx = 0; idx < max_idx; idx++) { in disasm_a2xx()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_program.c | 573 unsigned max_idx = ARRAY_SIZE(prog->pipelines); in zink_destroy_gfx_program() local 579 max_idx = 4; in zink_destroy_gfx_program() 581 max_idx = 3; in zink_destroy_gfx_program() 582 max_idx++; in zink_destroy_gfx_program() 585 for (int i = 0; i < max_idx; ++i) { in zink_destroy_gfx_program()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | tensor.cc | 1030 dsize_t max_idx = shape_[slice_index]; in GetSliceOption() local 1031 slice_copy.start_ = slice_copy.start_ > max_idx ? max_idx : slice_copy.start_; in GetSliceOption() 1032 slice_copy.stop_ = slice_copy.stop_ > max_idx ? max_idx : slice_copy.stop_; in GetSliceOption()
|