/external/ltp/testcases/kernel/syscalls/readv/ |
readv02.c | 88 char *buf_list[NBUFS]; variable 138 if (memcmp((buf_list[0] + CHUNK * 6), 139 (buf_list[1] + CHUNK * 6), CHUNK * 3) != 0) { 197 buf_list[0] = buf1; 198 buf_list[1] = buf2; 199 buf_list[2] = buf3; 200 buf_list[3] = NULL; 202 init_buffs(buf_list); 210 if ((nbytes = write(fd[0], buf_list[2], K_1)) != K_1) {
|
/external/ltp/testcases/kernel/syscalls/writev/ |
writev02.c | 81 char *buf_list[NBUFS]; variable 106 buf_list[0] = buf1; 107 buf_list[1] = buf2; 109 memset(buf_list[0], 0, K_1); 110 memset(buf_list[1], 0, K_1); 127 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) 158 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != CHUNK) { 162 if (memcmp(buf_list[0], buf_list[1], CHUNK)
|
writev05.c | 76 char *buf_list[NBUFS]; variable 105 buf_list[0] = buf1; 106 buf_list[1] = buf2; 122 /* Fill the buf_list[0] and buf_list[1] with 0 zeros */ 123 memset(buf_list[0], 0, K_1); 124 memset(buf_list[1], 0, K_1); 131 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) { 171 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != 0) {
|
/external/e2fsprogs/contrib/android/ |
ext2simg.c | 64 } *buf_list; variable in typeref:struct:buf_item 82 if (buf_list == NULL) 83 buf_list = bi; 85 bi->next = buf_list; 86 buf_list = bi; 102 while (buf_list) { 103 bi = buf_list->next; 104 free(buf_list); 105 buf_list = bi;
|