/third_party/boost/boost/chrono/ |
D | round.hpp | 30 result_type diff0; in round() local 37 diff0 = t0 - d; in round() 41 diff0 = d - t0; in round() 45 if (diff0 == diff1) in round() 51 else if (diff0 < diff1) in round()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | h263dsp_msa.c | 34 v8i16 diff0, diff2, diff4, diff6, diff8; in h263_h_loop_filter_msa() local 47 diff0 = a_d0 + temp2; in h263_h_loop_filter_msa() 48 diff2 = -(-diff0 >> 3); in h263_h_loop_filter_msa() 56 diff4 = diff0 >> 3; in h263_h_loop_filter_msa() 64 temp0 = __msa_clti_s_h(diff0, 0); in h263_h_loop_filter_msa() 97 v8i16 temp0, temp2, diff0, diff2, diff4, diff6, diff8; in h263_v_loop_filter_msa() local 107 diff0 = a_d0 + temp2; in h263_v_loop_filter_msa() 108 diff2 = -(-diff0 >> 3); in h263_v_loop_filter_msa() 116 diff4 = diff0 >> 3; in h263_v_loop_filter_msa() 124 temp0 = __msa_clti_s_h(diff0, 0); in h263_v_loop_filter_msa()
|
D | me_cmp_msa.c | 506 v8u16 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7; in hadamard_diff_8x8_msa() local 515 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7); in hadamard_diff_8x8_msa() 516 HSUB_UB4_UH(diff0, diff1, diff2, diff3, diff0, diff1, diff2, diff3); in hadamard_diff_8x8_msa() 518 TRANSPOSE8x8_UH_UH(diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7, in hadamard_diff_8x8_msa() 519 diff0, diff1, diff2, diff3, diff4, diff5, diff6, diff7); in hadamard_diff_8x8_msa() 520 BUTTERFLY_8(diff0, diff2, diff4, diff6, diff7, diff5, diff3, diff1, in hadamard_diff_8x8_msa() 523 diff0, diff1, diff4, diff5, diff7, diff6, diff3, diff2); in hadamard_diff_8x8_msa() 524 BUTTERFLY_8(diff0, diff1, diff2, diff3, diff7, diff6, diff5, diff4, in hadamard_diff_8x8_msa() 529 diff0, diff2, diff4, diff6, diff7, diff5, diff3, diff1); in hadamard_diff_8x8_msa() 530 BUTTERFLY_8(diff0, diff1, diff4, diff5, diff7, diff6, diff3, diff2, in hadamard_diff_8x8_msa() [all …]
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_softmax_cross_entropy_with_logits_op.py | 49 diff0 = output.asnumpy() - expect_loss 50 assert np.all(abs(diff0) < error0) 56 diff0 = output.asnumpy() - expect_loss 57 assert np.all(abs(diff0) < error0)
|
D | test_sparse_softmax_cross_entropy_with_logits_op.py | 46 diff0 = output.asnumpy() - expect_loss 47 assert np.all(abs(diff0) < error0) 53 diff0 = output.asnumpy() - expect_loss 54 assert np.all(abs(diff0) < error0)
|
D | test_matrix_inverse_op.py | 48 diff0 = output0.asnumpy() - expect0 49 assert np.all(diff0 < error0) 55 diff0 = output0.asnumpy() - expect0 56 assert np.all(diff0 < error0)
|
D | test_reciprocal_op.py | 50 diff0 = output0.asnumpy() - expect0 51 assert np.all(diff0 < error0) 61 diff0 = output0.asnumpy() - expect0 62 assert np.all(diff0 < error0)
|
D | test_exp_op.py | 50 diff0 = output0.asnumpy() - expect0 51 assert np.all(diff0 < error0) 61 diff0 = output0.asnumpy() - expect0 62 assert np.all(diff0 < error0)
|
D | test_log_op.py | 51 diff0 = output0.asnumpy() - expect0 52 assert np.all(diff0 < error0) 62 diff0 = output0.asnumpy() - expect0 63 assert np.all(diff0 < error0)
|
D | test_sigmoid_grad_grad_op.py | 72 diff0 = ddy.asnumpy() - expect_ddy 74 assert np.all(abs(diff0) < error) 80 diff0 = ddy.asnumpy() - expect_ddy 82 assert np.all(abs(diff0) < error)
|
D | test_neg_op.py | 47 diff0 = output0.asnumpy() - expect0 48 assert np.all(diff0 < error0) 58 diff0 = output0.asnumpy() - expect0 59 assert np.all(diff0 < error0)
|
D | test_oneslike_op.py | 52 diff0 = output0.asnumpy() - expect0 54 assert np.all(diff0 < error0) 68 diff0 = output0.asnumpy() - expect0 70 assert np.all(diff0 < error0)
|
D | test_sub_op.py | 86 diff0 = output0.asnumpy() - expect0 87 assert np.all(diff0 < error0) 109 diff0 = output0.asnumpy() - expect0 110 assert np.all(diff0 < error0) 133 diff0 = output0.asnumpy() - expect0 134 assert np.all(diff0 < error0)
|
D | test_realdiv_op.py | 64 diff0 = output0.asnumpy() - expect0 66 assert np.all(diff0 < error0) 101 diff0 = output0.asnumpy() - expect0 103 assert np.all(diff0 < error0)
|
/third_party/ffmpeg/libavfilter/ |
D | vf_mcdeint.c | 215 int diff0 = filp[-fils] - srcp[-srcs]; in filter_frame() local 235 diff0 = filp[-fils+DELTA(j)] - srcp[-srcs+DELTA(j)];\ in filter_frame() 242 diff0 = filp[-fils+(j)] - srcp[-srcs+(j)];\ in filter_frame() 256 if (diff0 + diff1 > 0) 257 temp -= (diff0 + diff1 - FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2; 259 temp -= (diff0 + diff1 + FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2;
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 191 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 194 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 201 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 280 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local 283 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 291 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 382 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 385 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 392 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 471 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderPackingFunctionTests.cpp | 191 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 194 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 201 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 280 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local 283 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 291 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 382 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 385 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 392 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 471 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 195 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 198 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 205 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 302 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local 305 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 313 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 414 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate() local 417 if (diff0 > maxDiff || diff1 > maxDiff) in iterate() 424 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate() 521 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate() local [all …]
|
/third_party/alsa-lib/test/ |
D | mixtest.c | 228 unsigned long long begin, end, diff, diffS, diff0, diff1, diff1_mmx, diff2; in main() local 270 for (t = 0, diff0 = -1; t < LOOP; t++) { in main() 278 if (diff < diff0) in main() 279 diff0 = diff; in main() 325 printf("mix_areas0 : %8llu %f%%\n", diff0, 100*2*44100.0*diff0/(size*n*cpu_clock)); in main()
|
/third_party/mindspore/tests/st/ops/cpu/ |
D | test_softmax_cross_entropy_with_logits_op.py | 49 diff0 = output.asnumpy() - expect_loss 50 assert np.all(abs(diff0) < error0)
|
D | test_zeroslike_op.py | 48 diff0 = output0.asnumpy() - expect0 50 assert np.all(diff0 < error0)
|
D | test_oneslike_op.py | 48 diff0 = output0.asnumpy() - expect0 50 assert np.all(diff0 < error0)
|
/third_party/mindspore/tests/st/ops/graph_kernel/ |
D | test_softmax_cross_entropy_with_logits.py | 56 diff0 = result_open_gk[0].asnumpy() - result_close_gk[0].asnumpy() 58 assert np.all(abs(diff0) < error0)
|
/third_party/mindspore/tests/st/nccl/ |
D | test_nccl_all_reduce_op.py | 63 diff0 = output[0].asnumpy() - expect0 65 assert np.all(diff0 < error0) 109 diff0 = abs(output[0].asnumpy() - expect0) 111 assert np.all(diff0 < error0)
|
/third_party/ffmpeg/tests/checkasm/ |
D | llviddsp.c | 79 uint8_t *diff0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred() local 86 init_buffer(diff0, diff1, uint8_t, width); in check_add_median_pred() 95 call_ref(dst0, src0, diff0, width, &A0, &B0); in check_add_median_pred() 104 av_free(diff0); in check_add_median_pred()
|