Home
last modified time | relevance | path

Searched refs:exp_val (Results 1 - 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
H A Dhugemmap05.c70 static int checkproc(long act_val, char *string, long exp_val);
71 static int checksys(char *path, char *pattern, long exp_val);
259 static int checksys(char *path, char *string, long exp_val) in checksys() argument
265 if (act_val != exp_val) { in checksys()
266 tst_res(TFAIL, "%s is not %ld but %ld.", string, exp_val, in checksys()
273 static int checkproc(long act_val, char *pattern, long exp_val) in checkproc() argument
276 if (act_val != exp_val) { in checkproc()
278 pattern, exp_val, act_val); in checkproc()
/third_party/ltp/testcases/kernel/syscalls/readlink/
H A 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/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl03.c41 static void check_get_subreaper(int exp_val) in check_get_subreaper() argument
51 if (get_val == exp_val) { in check_get_subreaper()
56 get_val, exp_val); in check_get_subreaper()
/third_party/ltp/testcases/kernel/syscalls/preadv2/
H A 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/ltp/testcases/kernel/syscalls/madvise/
H A 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/
H A 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/libfuse/example/
H A Dhello_ll.c178 const char* exp_val = "hello_ll_setxattr_value"; in hello_ll_setxattr() local
180 strlen(exp_val) == size && in hello_ll_setxattr()
181 strncmp(value, exp_val, size) == 0) in hello_ll_setxattr()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpredictor_enc.c34 double exp_val) { in PredictionCostSpatial()
40 bits += exp_val * (counts[i] + counts[256 - i]); in PredictionCostSpatial()
41 exp_val *= exp_decay_factor; in PredictionCostSpatial()
33 PredictionCostSpatial(const int counts[256], int weight_0, double exp_val) PredictionCostSpatial() argument

Completed in 6 milliseconds