Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c75 static int checkproc(long act_val, char *string, long exp_val);
76 static int checksys(char *path, char *pattern, long exp_val);
269 static int checksys(char *path, char *string, long exp_val) in checksys() argument
275 if (act_val != exp_val) { in checksys()
276 tst_res(TFAIL, "%s is not %ld but %ld.", string, exp_val, in checksys()
283 static int checkproc(long act_val, char *pattern, long exp_val) in checkproc() argument
286 if (act_val != exp_val) { in checkproc()
288 pattern, exp_val, act_val); in checkproc()
/external/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()
/external/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()
/external/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()
/external/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()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_cmp_requeue02.c27 int exp_val; member
39 TEST(futex_cmp_requeue(&futexes[0], tc->exp_val, &futexes[1], in verify_futex_cmp_requeue()
/external/dtc/tests/
Dtestutils.c152 int exp_len, const void *exp_val) in check_get_prop_offset() argument
169 if (exp_len && memcmp(exp_val, propval, exp_len)) in check_get_prop_offset()
/external/XNNPACK/eval/
Df32-sigmoid-ulp.cc45 const double exp_val = std::exp(input_val); in ComputeError() local
46 output_ref = exp_val / (1.0 + exp_val); in ComputeError()
/external/webp/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()