Home
last modified time | relevance | path

Searched refs:BUFSIZ (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c25 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/
Devp_key.c17 #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/
Devp_key.c17 #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/
Dzram03.c103 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/
Dui_util.c15 #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/
Dui_util.c15 #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/
Dnetdb_test.cpp126 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/
Dsethostname.c32 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()
Dsetdomainname.c32 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/
Dhugemmap05.c27 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/
Dwrite01.c17 char buf[BUFSIZ]; in verify_write()
19 memset(buf, 'w', BUFSIZ); in verify_write()
23 for (i = BUFSIZ; i > 0; i--) { in verify_write()
Dwrite03.c25 static char wbuf[BUFSIZ], rbuf[BUFSIZ];
44 memset(rbuf, 0, BUFSIZ); in verify_write()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c247 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/
Dnfs_flock_dgen.c12 char c, buf[BUFSIZ]; in main()
24 if (nchars > BUFSIZ) { in main()
26 BUFSIZ); in main()
/third_party/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv02.c100 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/
Dgetcwd03.c30 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.c26 char buf[BUFSIZ]; in __flbf_0100()
46 char buf[BUFSIZ]; in __flbf_0200()
66 char buf[BUFSIZ]; in __flbf_0300()
Dsetbuffer.c33 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.c22 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.c22 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/
Dsysctl01.c40 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.c23 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/
Duserns05.c54 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/
Ddiotest_routines.c116 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/
Dpoll_sup.c34 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()

123456789