/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/boost/libs/format/tools/ |
D | format_matrix.cpp | 213 char buf[BUFSIZ]; in call_snprintf() 218 case ID_ZERO: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_z ); break; in call_snprintf() 219 case ID_BOOLF: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_bf ); break; in call_snprintf() 220 case ID_BOOLT: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_bt ); break; in call_snprintf() 221 case ID_BYTE: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_by ); break; in call_snprintf() 222 case ID_UBYTE: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_uby); break; in call_snprintf() 223 case ID_CHAR: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_c ); break; in call_snprintf() 224 case ID_WCHAR: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_wc ); break; in call_snprintf() 225 case ID_STR: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_s ); break; in call_snprintf() 226 case ID_WSTR: len = SNPRINTF(buf, BUFSIZ, fmtStr.c_str(), g_ws ); break; in call_snprintf() [all …]
|
/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/evp/ |
D | evp_key.c | 52 char buff[BUFSIZ]; in EVP_read_pw_string_min() 61 (len >= BUFSIZ) ? BUFSIZ - 1 : len) < 0 in EVP_read_pw_string_min() 64 (len >= BUFSIZ) ? BUFSIZ - 1 : len, in EVP_read_pw_string_min() 68 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
|
/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/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/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/ |
D | soft_dp_log.h | 75 char buf[BUFSIZ]; in GetFormatString() 77 _snprintf_s(&buf[0], BUFSIZ, BUFSIZ - 1, format, args...); in GetFormatString() 79 snprintf_s(&buf[0], BUFSIZ, BUFSIZ - 1, format, args...); in GetFormatString()
|
/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/boost/libs/graph/example/ |
D | iohb.c | 307 char line[BUFSIZ]; in readHB_header() 310 fgets(line, BUFSIZ, in_file); in readHB_header() 318 fgets(line, BUFSIZ, in_file); in readHB_header() 328 fgets(line, BUFSIZ, in_file); in readHB_header() 340 fgets(line, BUFSIZ, in_file); in readHB_header() 358 fgets(line, BUFSIZ, in_file); in readHB_header() 401 char line[BUFSIZ]; in readHB_mat_double() 430 fgets(line, BUFSIZ, in_file); in readHB_mat_double() 453 fgets(line, BUFSIZ, in_file); in readHB_mat_double() 481 fgets(line, BUFSIZ, in_file); in readHB_mat_double() [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/glib/gio/tests/ |
D | gtlsconsoleinteraction.c | 44 #ifndef BUFSIZ in G_DEFINE_TYPE() 45 #define BUFSIZ 8192 in G_DEFINE_TYPE() macro 50 static gchar buf[BUFSIZ]; in G_DEFINE_TYPE() 56 for (i = 0; i < BUFSIZ - 1; ++i) in G_DEFINE_TYPE()
|
/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/musl/libc-test/src/functionalext/supplement/stdio/ |
D | setbuffer.c | 32 char buf[BUFSIZ] = {0}; in setbuffer_0100() 34 setbuffer(fp, buf, BUFSIZ); in setbuffer_0100() 66 setbuffer(f, NULL, BUFSIZ); in setbuffer_0200()
|
D | __flbf.c | 26 char buf[BUFSIZ]; in __flbf_0100() 46 char buf[BUFSIZ]; in __flbf_0200() 66 char buf[BUFSIZ]; in __flbf_0300()
|
/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/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/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/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/numa/ |
D | support_numa.c | 67 char line[BUFSIZ], buf[BUFSIZ]; in read_hugepagesize() 76 while (fgets(line, BUFSIZ, fp) != NULL) { in read_hugepagesize()
|