Home
last modified time | relevance | path

Searched refs:exp_val (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c70 static int checkproc(long act_val, char *string, long exp_val);
71 static int checksys(char *path, char *pattern, long exp_val);
262 static int checksys(char *path, char *string, long exp_val) in checksys() argument
268 if (act_val != exp_val) { in checksys()
269 tst_res(TFAIL, "%s is not %ld but %ld.", string, exp_val, in checksys()
276 static int checkproc(long act_val, char *pattern, long exp_val) in checkproc() argument
279 if (act_val != exp_val) { in checkproc()
281 pattern, exp_val, act_val); in checkproc()
/third_party/ltp/testcases/kernel/syscalls/readlink/
Dreadlink01.c27 int exp_val = strlen(TESTFILE); in test_readlink() local
35 if (TST_RET != exp_val) { in test_readlink()
37 "did't match, Expected %d", TST_RET, exp_val); in test_readlink()
41 if (memcmp(buffer, TESTFILE, exp_val) != 0) { in test_readlink()
/third_party/boost/libs/predef/tools/check/
Dpredef_check.h56 const char * exp_val = str_token(&exp, whitespace); in main() local
58 if (*exp_val != 0) in main()
60 exp = exp_val; in main()
83 else if (*exp_op != 0 && *exp_val != 0 && in main()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dsigmoid_cross_entropy_with_logits_grad_impl.cu26 const T exp_val = exp(logits[i]); in SigmoidCrossEntropyWithLogitsGradKernel() local
27 outputs[i] = (exp_val / (static_cast<T>(1.) + exp_val) - labels[i]) * dout_addr[i]; in SigmoidCrossEntropyWithLogitsGradKernel()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl03.c34 static void check_get_subreaper(int exp_val) in check_get_subreaper() argument
44 if (get_val == exp_val) { in check_get_subreaper()
49 get_val, exp_val); in check_get_subreaper()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dsigmoid_cross_entropy_with_logits_grad_cpu_kernel.cc65 const T exp_val = static_cast<T>(exp(logits_addr[i])); in LaunchKernel() local
66 output_addr[i] = (exp_val / (one + exp_val) - labels_addr[i]) * dloss_addr[i]; in LaunchKernel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dsoftmax_int8.c51 int exp_val = exp_on_negative_values(input_scaled, 5); in SoftmaxInt8() local
52 exp_data[axis_offset] = exp_val; in SoftmaxInt8()
53 exp_sum = exp_sum + Rescale(exp_val, 0, 12); in SoftmaxInt8()
Dpower_int8.c39 float exp_val = exp_scale * (exp_ptr[i] - exp_zp); in PowerInt8() local
40 float output_val = pow(param->scale_ * input_val + param->shift_, exp_val); in PowerInt8()
/third_party/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv203.c80 char exp_val = '0' + (off + checked)/CHUNK_SZ; in verify_short_read() local
82 if (exp_val != buf[j]) { in verify_short_read()
85 checked, size, exp_val, exp_val, in verify_short_read()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dsigmoid_cross_entropy_with_logits_grad.cc56 const float exp_val = expf(logits[i]); in Execute() local
57 out[i] = (exp_val / (one + exp_val) - labels[i]) * dloss[i]; in Execute()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c217 char exp_val; in child() local
220 exp_val = 'a'; in child()
223 exp_val = 0; in child()
229 if (check_page(ptr + i * page_size, exp_val)) { in child()
/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutex_cmp_requeue02.c27 int exp_val; member
50 TEST(futex_cmp_requeue(tv->fntype, &futexes[0], tc->exp_val, in verify_futex_cmp_requeue()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpredictor_enc.c34 double exp_val) { in PredictionCostSpatial() argument
40 bits += exp_val * (counts[i] + counts[256 - i]); in PredictionCostSpatial()
41 exp_val *= exp_decay_factor; in PredictionCostSpatial()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpredictor_enc.c34 double exp_val) { in PredictionCostSpatial() argument
40 bits += exp_val * (counts[i] + counts[256 - i]); in PredictionCostSpatial()
41 exp_val *= exp_decay_factor; in PredictionCostSpatial()