HomeSort by relevance Sort by last modified time
    Searched refs:BUFSIZ (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /external/dhcpcd-6.8.2/compat/
getline.c 37 #undef BUFSIZ
38 #define BUFSIZ 128
58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) {
59 newlen = *buflen + BUFSIZ;
67 memset(p, 0, BUFSIZ);
68 if (fgets(p, BUFSIZ, fp) == NULL)
  /external/ltp/testcases/kernel/syscalls/llseek/
llseek01.c 93 char write_buff[BUFSIZ]; /* buffer to hold data */
117 TEST(lseek64(fildes, (loff_t) (80 * BUFSIZ), SEEK_SET));
125 if (TEST_RETURN != (loff_t) (80 * BUFSIZ)) {
128 (int64_t) offset, BUFSIZ);
136 if (write(fildes, write_buff, BUFSIZ) != -1) {
142 offset = lseek64(fildes, (loff_t) BUFSIZ, SEEK_SET);
143 if (offset != (loff_t) BUFSIZ) {
152 if (write(fildes, write_buff, BUFSIZ) != BUFSIZ) {
160 if (write(fildes, write_buff, BUFSIZ) != -1)
    [all...]
  /external/ltp/testcases/kernel/syscalls/write/
write01.c 35 char buf[BUFSIZ];
37 memset(buf, 'w', BUFSIZ);
41 for (i = BUFSIZ; i > 0; i--) {
write03.c 38 static char wbuf[BUFSIZ], rbuf[BUFSIZ];
57 memset(rbuf, 0, BUFSIZ);
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock_dgen.c 12 char c, buf[BUFSIZ];
24 if (nchars > BUFSIZ) {
26 BUFSIZ);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
setbuf.c 62 (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
  /external/xz-embedded/userspace/
bytetest.c 17 static uint8_t out[BUFSIZ];
51 b.out_size = uncomp_size < BUFSIZ ? uncomp_size : BUFSIZ;
69 b.out_size = uncomp_size < BUFSIZ
70 ? uncomp_size : BUFSIZ;
xzminidec.c 22 static uint8_t in[BUFSIZ];
23 static uint8_t out[BUFSIZ];
59 b.out_size = BUFSIZ;
  /external/ltp/testcases/kernel/syscalls/fsync/
fsync02.c 80 char pbuf[BUFSIZ];
104 offset -= BUFSIZ;
109 if ((ret = write(fd, pbuf, BUFSIZ)) != BUFSIZ)
183 if (write(fd, pbuf, BUFSIZ) != BUFSIZ)
  /bionic/tests/
async_safe_test.cpp 25 char buf[BUFSIZ];
113 char buf[BUFSIZ];
123 char buf[BUFSIZ];
133 char buf[BUFSIZ];
147 char buf[BUFSIZ];
161 char buf[BUFSIZ];
171 char buf[BUFSIZ];
181 char buf[BUFSIZ];
sys_random_test.cpp 62 char buf[BUFSIZ];
63 static_assert(BUFSIZ > 256, "BUFSIZ <= 256!");
  /external/ltp/testcases/cve/
cve-2016-10044.c 45 char perms[8], line[BUFSIZ];
52 while (fgets(line, BUFSIZ, f) != NULL) {
cve-2016-7042.c 43 char buf[BUFSIZ];
56 SAFE_READ(0, fd, buf, BUFSIZ);
  /external/ltp/testcases/kernel/containers/userns/
userns_helper.h 46 char path[BUFSIZ];
47 char content[BUFSIZ];
userns05.c 54 char path[BUFSIZ];
55 char userid[BUFSIZ];
60 if (readlink(path, userid, BUFSIZ) == -1)
  /libcore/luni/src/main/native/
JniException.cpp 17 #include <stdio.h> // For BUFSIZ
23 char buf[BUFSIZ];
  /external/libedit/src/
fgetln.c 51 static size_t bufsiz = 0; local
56 bufsiz = BUFSIZ;
57 if ((buf = malloc(bufsiz)) == NULL)
61 if (fgets(buf, bufsiz, fp) == NULL)
66 size_t nbufsiz = bufsiz + BUFSIZ;
78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) {
79 buf[bufsiz] = '\0'
    [all...]
  /external/ltp/testcases/kernel/syscalls/getcwd/
getcwd03.c 42 static char dir[BUFSIZ], dir_link[BUFSIZ];
46 char link[BUFSIZ];
  /external/python/cpython2/Launcher/
launcher_main.cpp 66 setvbuf(stdin, (char *)NULL, _IONBF, BUFSIZ);
67 setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
68 setvbuf(stderr, (char *)NULL, _IONBF, BUFSIZ);
  /external/ltp/testcases/kernel/syscalls/asyncio/
asyncio02.c 49 * more than BUFSIZ bytes.
51 * BUFSIZ bytes.
53 * lower than BUFSIZ bytes.
74 * Call testrun writing (BUFSIZ + 1) bytes
75 * Call testrun writing BUFSIZ bytes
77 * less than BUFSIZ
163 * call testrun writing (BUFSIZ + 1) byte chunks
167 if (testrun(Flags[flag_cnt], BUFSIZ + 1, 1) != OK) {
175 * call testrun writing BUFSIZ byte chunks
179 if (testrun(Flags[flag_cnt], BUFSIZ, 2) != OK)
    [all...]
  /external/ltp/testcases/kernel/syscalls/cma/
process_vm_readv02.c 100 char buf[BUFSIZ];
109 snprintf(buf, BUFSIZ, "%p", foo);
120 char buf[BUFSIZ];
125 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, BUFSIZ);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
makebuf.c 86 *bufsize = BUFSIZ;
93 *bufsize = BUFSIZ;
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
getprotoent.c 48 static char line[BUFSIZ+1];
82 if ((p = fgets(line, BUFSIZ, protof)) == NULL)
  /external/ltp/testcases/kernel/syscalls/pipe/
pipe10.c 74 char wrbuf[BUFSIZ], rebuf[BUFSIZ];
  /external/ltp/testcases/kernel/syscalls/read/
read04.c 72 char prbuf[BUFSIZ];
88 TEST(read(rfild, prbuf, BUFSIZ));

Completed in 1016 milliseconds

1 2 3 4 5 6 7 8 9