Searched refs:val_buf (Results 1 – 6 of 6) sorted by relevance
/third_party/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)) {
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest01.c | 259 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 283 if ((val_buf = (calloc(csize, 1))) == 0) { in dotest() 326 memset(val_buf, val, csize); in dotest() 395 if (memcmp(buf, val_buf, csize)) { in dotest() 428 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
|
D | ftest05.c | 260 char *bits, *hold_bits, *buf, *val_buf, *zero_buf; in dotest() local 281 if ((val_buf = (calloc(csize, 1))) == NULL) { in dotest() 321 memset(val_buf, val, csize); in dotest() 386 if (memcmp(buf, val_buf, csize)) { in dotest() 417 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2grep.c | 640 char val_buf[4]; in pcre2grep_exit() local 642 $DESCRIPTOR(sym_val, val_buf); in pcre2grep_exit() 643 sprintf(val_buf, "%d", rc); in pcre2grep_exit() 644 sym_val.dsc$w_length = strlen(val_buf); in pcre2grep_exit()
|
D | pcre2test.c | 8351 char nam_buf[22], val_buf[4]; in c_option() local 8353 $DESCRIPTOR(val, val_buf); in c_option() 8357 sprintf(val_buf, "%d", yield); in c_option() 8358 val.dsc$w_length = strlen(val_buf); in c_option()
|