Searched refs:val_buf (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/mem/vmtests/ |
D | stack_space.c | 208 char *val_buf; in dotest() local 219 val_buf = (char *)(malloc(csize)); in dotest() 222 if (bits == 0 || val_buf == 0 || zero_buf == 0) { in dotest() 254 bfill(val_buf, val, csize); in dotest() 284 if (memcmp(buf, val_buf, csize)) { in dotest() 321 free(val_buf); in dotest()
|
D | data_space.c | 224 char *val_buf; local 246 val_buf = (char *)(malloc(csize)); 247 if (val_buf == 0) 286 bfill(val_buf, val, csize); 316 if (memcmp(buf, val_buf, csize)) {
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest05.c | 261 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 282 if ((val_buf = (calloc(csize, 1))) == NULL) { in dotest() 322 memset(val_buf, val, csize); in dotest() 387 if (memcmp(buf, val_buf, csize)) { in dotest() 418 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
|
D | ftest01.c | 260 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 284 if ((val_buf = (calloc(csize, 1))) == 0) { in dotest() 327 memset(val_buf, val, csize); in dotest() 396 if (memcmp(buf, val_buf, csize)) { in dotest() 429 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 578 char val_buf[4]; in pcre2grep_exit() local 580 $DESCRIPTOR(sym_val, val_buf); in pcre2grep_exit() 581 sprintf(val_buf, "%d", rc); in pcre2grep_exit() 582 sym_val.dsc$w_length = strlen(val_buf); in pcre2grep_exit()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_progs.c | 885 char val_buf[PERF_MAX_STACK_DEPTH * in compare_map_keys() local 892 err = bpf_map_lookup_elem(map2_fd, &key, val_buf); in compare_map_keys() 897 err = bpf_map_lookup_elem(map2_fd, &next_key, val_buf); in compare_map_keys()
|