/third_party/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek01.c | 25 static char write_buff[BUFSIZ]; 30 TEST(lseek64(fildes, (loff_t) (80 * BUFSIZ), SEEK_SET)); in verify_llseek() 31 if (TST_RET == (80 * BUFSIZ)) in verify_llseek() 36 if (write(fildes, write_buff, BUFSIZ) == -1) in verify_llseek() 41 TEST(lseek64(fildes, (loff_t) BUFSIZ, SEEK_SET)); in verify_llseek() 42 if (TST_RET == BUFSIZ) in verify_llseek() 47 if (write(fildes, write_buff, BUFSIZ) != -1) in verify_llseek() 52 if (write(fildes, write_buff, BUFSIZ) == -1) in verify_llseek() 68 rlp.rlim_cur = rlp.rlim_max = 2 * BUFSIZ; in setup() 73 SAFE_WRITE(1, fildes, write_buff, BUFSIZ); in setup()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | evp_key.c | 17 #ifndef BUFSIZ 18 # define BUFSIZ 256 macro 56 char buff[BUFSIZ]; in EVP_read_pw_string_min() 65 (len >= BUFSIZ) ? BUFSIZ - 1 : len) < 0 in EVP_read_pw_string_min() 68 (len >= BUFSIZ) ? BUFSIZ - 1 : len, in EVP_read_pw_string_min() 72 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
|
/third_party/openssl/crypto/evp/ |
D | evp_key.c | 17 #ifndef BUFSIZ 18 # define BUFSIZ 256 macro 56 char buff[BUFSIZ]; in EVP_read_pw_string_min() 65 (len >= BUFSIZ) ? BUFSIZ - 1 : len) < 0 in EVP_read_pw_string_min() 68 (len >= BUFSIZ) ? BUFSIZ - 1 : len, in EVP_read_pw_string_min() 72 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
|
/third_party/ltp/testcases/kernel/device-drivers/zram/ |
D | zram03.c | 103 char filename[BUFSIZ], value[BUFSIZ]; in print() 113 char nread_val[BUFSIZ], nwrite_val[BUFSIZ]; in print_stat() 124 char orig_val[BUFSIZ], compr_val[BUFSIZ]; in print_mm_stat() 125 char mem_val[BUFSIZ], zero_val[BUFSIZ]; in print_mm_stat()
|
/third_party/openssl/crypto/ui/ |
D | ui_util.c | 15 #ifndef BUFSIZ 16 #define BUFSIZ 256 macro 22 char buff[BUFSIZ]; in UI_UTIL_read_pw_string() 26 UI_UTIL_read_pw(buf, buff, (length > BUFSIZ) ? BUFSIZ : length, in UI_UTIL_read_pw_string() 28 OPENSSL_cleanse(buff, BUFSIZ); in UI_UTIL_read_pw_string()
|
/third_party/node/deps/openssl/openssl/crypto/ui/ |
D | ui_util.c | 15 #ifndef BUFSIZ 16 #define BUFSIZ 256 macro 22 char buff[BUFSIZ]; in UI_UTIL_read_pw_string() 26 UI_UTIL_read_pw(buf, buff, (length > BUFSIZ) ? BUFSIZ : length, in UI_UTIL_read_pw_string() 28 OPENSSL_cleanse(buff, BUFSIZ); in UI_UTIL_read_pw_string()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/ |
D | netdb_test.cpp | 126 char node[BUFSIZ]; 146 char node[BUFSIZ]; 166 char node[BUFSIZ]; 185 char node[BUFSIZ]; 205 char node[BUFSIZ]; 225 char node[BUFSIZ]; 294 char buf[BUFSIZ]; 310 char buf2[BUFSIZ]; 332 char buf[BUFSIZ]; 371 char buf[BUFSIZ]; [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | sethostname.c | 32 char cbuf[BUFSIZ] = {0}; in sethostname_0100() 45 char buf[BUFSIZ] = {0}; in sethostname_0100() 71 char cbuf[BUFSIZ] = {0}; in sethostname_0200() 84 char buf[BUFSIZ] = {0}; in sethostname_0200()
|
D | setdomainname.c | 32 char cbuf[BUFSIZ] = {0}; in setdomainname_0100() 45 char buf[BUFSIZ] = {0}; in setdomainname_0100() 71 char cbuf[BUFSIZ] = {0}; in setdomainname_0200() 84 char buf[BUFSIZ] = {0}; in setdomainname_0200()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 27 static char path_sys_sz[BUFSIZ]; 28 static char path_sys_sz_over[BUFSIZ]; 29 static char path_sys_sz_free[BUFSIZ]; 30 static char path_sys_sz_resv[BUFSIZ]; 31 static char path_sys_sz_surp[BUFSIZ]; 32 static char path_sys_sz_huge[BUFSIZ];
|
/third_party/ltp/testcases/kernel/syscalls/write/ |
D | write01.c | 17 char buf[BUFSIZ]; in verify_write() 19 memset(buf, 'w', BUFSIZ); in verify_write() 23 for (i = BUFSIZ; i > 0; i--) { in verify_write()
|
D | write03.c | 25 static char wbuf[BUFSIZ], rbuf[BUFSIZ]; 44 memset(rbuf, 0, BUFSIZ); in verify_write()
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 247 char fullpath[BUFSIZ]; in check() 250 snprintf(fullpath, BUFSIZ, PATH_KSM "%s", path); in check() 607 char buf[BUFSIZ]; in gather_node_cpus() 608 char path[BUFSIZ], path1[BUFSIZ]; in gather_node_cpus() 614 snprintf(path, BUFSIZ, in gather_node_cpus() 617 snprintf(path1, BUFSIZ, "%s/online", path); in gather_node_cpus() 637 char cpus[BUFSIZ] = ""; in write_cpusets() 706 char path[BUFSIZ]; in set_sys_tune() 710 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in set_sys_tune() 723 char path[BUFSIZ]; in get_sys_tune() [all …]
|
/third_party/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock_dgen.c | 12 char c, buf[BUFSIZ]; in main() 24 if (nchars > BUFSIZ) { in main() 26 BUFSIZ); in main()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_readv02.c | 100 char buf[BUFSIZ]; in child_alloc() 109 snprintf(buf, BUFSIZ, "%p", foo); in child_alloc() 120 char buf[BUFSIZ]; in child_invoke() 125 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, BUFSIZ); in child_invoke()
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd03.c | 30 static char dir[BUFSIZ], dir_link[BUFSIZ]; 34 char link[BUFSIZ]; in verify_getcwd()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | __flbf.c | 26 char buf[BUFSIZ]; in __flbf_0100() 46 char buf[BUFSIZ]; in __flbf_0200() 66 char buf[BUFSIZ]; in __flbf_0300()
|
D | setbuffer.c | 33 char buf[BUFSIZ] = {0}; in setbuffer_0100() 35 setbuffer(fp, buf, BUFSIZ); in setbuffer_0100() 69 setbuffer(f, NULL, BUFSIZ); in setbuffer_0200()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
D | __fdopen.c | 22 if (!(f=malloc(sizeof *f + UNGET + BUFSIZ + sizeof(pthread_mutex_t)))) return 0; in __fdopen() 40 f->buf_size = BUFSIZ; in __fdopen() 41 f->lock = (pthread_mutex_t *)((unsigned char *)f + sizeof *f + UNGET + BUFSIZ); in __fdopen()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
D | __fdopen.c | 22 if (!(f=malloc(sizeof *f + UNGET + BUFSIZ + sizeof(pthread_mutex_t)))) return 0; in __fdopen() 40 f->buf_size = BUFSIZ; in __fdopen() 41 f->lock = (pthread_mutex_t *)((unsigned char *)f + sizeof *f + UNGET + BUFSIZ); in __fdopen()
|
/third_party/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl01.c | 40 char osname[BUFSIZ]; in verify_sysctl() 41 size_t length = BUFSIZ; in verify_sysctl() 44 memset(osname, 0, BUFSIZ); in verify_sysctl()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
D | __fdopen.c | 23 if (!(f=malloc(sizeof *f + UNGET + BUFSIZ + sizeof(pthread_mutex_t)))) return 0; in __fdopen() 44 f->buf_size = BUFSIZ; in __fdopen() 45 f->lock = (pthread_mutex_t *)((unsigned char *)f + sizeof *f + UNGET + BUFSIZ); in __fdopen()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
D | userns05.c | 54 char path[BUFSIZ]; in getusernsidbypid() 55 char userid[BUFSIZ]; in getusernsidbypid() 60 if (readlink(path, userid, BUFSIZ) == -1) in getusernsidbypid()
|
/third_party/ltp/testcases/kernel/io/direct_io/ |
D | diotest_routines.c | 116 char buf1[BUFSIZ], buf2[BUFSIZ]; in filecmp() 132 while ((ret1 = read(fd1, buf1, BUFSIZ)) > 0) { in filecmp() 133 ret2 = read(fd2, buf2, BUFSIZ); in filecmp()
|
/third_party/musl/libc-test/src/functionalext/supplement/select/ |
D | poll_sup.c | 34 char buf[BUFSIZ]; in poll_0100() 71 memset(buf, 0, BUFSIZ); in poll_0100() 72 int result = read(fds[i].fd, buf, BUFSIZ); in poll_0100()
|