| /third_party/libfuse/test/ |
| H A D | conftest.py | 56 os.write(ofd, buf)
|
| /third_party/ltp/testcases/kernel/syscalls/fallocate/ |
| H A D | fallocate03.c | 20 * along with this program; if not, write to the Free Software 213 if ((data = write(fd, buf, buf_size)) < 0) in populate_file() 215 "Unable to write to %s", fname); in populate_file()
|
| /third_party/ltp/testcases/kernel/syscalls/mmap/ |
| H A D | mmap03.c | 15 * along with this program; if not, write to the Free Software 178 if (write(fildes, tst_buff, page_sz) < (long)page_sz) { in setup() 192 /* Close the temporary file opened for write */ in setup()
|
| H A D | mmap04.c | 15 * along with this program; if not, write to the Free Software 150 if (write(fildes, tst_buff, page_sz) < (ssize_t)page_sz) { in setup() 163 /* Close the temporary file opened for write */ in setup()
|
| H A D | mmap16.c | 119 ret = write(parentfd, buf, FS_BLOCKSIZE); in run_single() 124 tst_brk(TBROK | TERRNO, "write failed unexpectedly"); in run_single()
|
| H A D | mmap01.c | 15 * along with this program; if not, write to the Free Software 80 * with write access. in main() 167 if (write(fildes, write_buf, strlen(write_buf)) != (long)strlen(write_buf)) { in setup()
|
| H A D | mmap001.c | 16 * along with this program; if not, write to the Free Software 128 if (write(fd, "\0", 1) != 1) { in main()
|
| /third_party/ltp/testcases/kernel/syscalls/writev/ |
| H A D | writev05.c | 16 * along with this program; if not, write to the Free Software 26 * is same as writev02.c. But the initial write() with valid data is 130 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) { in main() 131 tst_resm(TFAIL, "write(2) failed: nbytes " in main() 152 * the scheduled write() with valid data is done correctly in main()
|
| H A D | writev02.c | 16 * along with this program; if not, write to the Free Software 29 * The file is created and write() is called with valid buffer to write 126 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) in main() 128 "write failed"); in main() 141 * the scheduled write() with valid data at 8k th offset is in main()
|
| /third_party/ltp/testcases/lib/ |
| H A D | tst_rod.c | 14 #define WRITE_STRING(fd, string) if (write(fd, string, sizeof(string)-1)) {}
|
| /third_party/ltp/testcases/kernel/syscalls/ioctl/ |
| H A D | ioctl_loop02.c | 19 * flag even though backing file with write mode. 77 TEST(write(dev_fd, "xx", 2)); in verify_ioctl_loop() 79 tst_res(TFAIL, "write succeed unexpectedly"); in verify_ioctl_loop() 81 tst_res(TPASS | TTERRNO, "Can not write data in RO mode"); in verify_ioctl_loop()
|
| /third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
| H A D | memfd_create03.c | 12 * Huge pages are write protected. Any writes to 55 ret = write(fd, test_str, strlen(test_str)); in test_write_protect() 59 "write(%d, \"%s\", %zu) didn't fail as expected\n", in test_write_protect() 65 "write(%d, \"%s\", %zu) succeeded unexpectedly\n", in test_write_protect() 71 "write(%d, \"%s\", %zu) failed as expected\n", in test_write_protect()
|
| /third_party/ltp/testcases/network/nfs/nfs_stress/ |
| H A D | nfs01_open_files.c | 97 rc = write(fd, msg, msg_len); in write_something()
|
| /third_party/ltp/testcases/kernel/syscalls/fork/ |
| H A D | fork04.c | 20 * with this program; if not, write the Free Software Foundation, Inc., 80 * Determine environment values and write to file 157 write(fildes, msg, sizeof(msg)); in child_environment()
|
| /third_party/ltp/testcases/kernel/syscalls/inotify/ |
| H A D | inotify03.c | 141 ret = write(fd, fname, 1); in setup() 144 "write(%d, %s, 1) failed", fd, fname); in setup()
|
| H A D | inotify01.c | 74 if (write(fd, buf, BUF_SIZE) == -1) { in verify_inotify() 76 "write(%d, %s, 1) failed", fd, fname); in verify_inotify()
|
| /third_party/ltp/testcases/kernel/syscalls/nftw/ |
| H A D | tools.c | 16 * along with this program; if not, write to the Free Software 109 if (write(fd, pathdat[i].contents, in setup_path() 111 perror("Can't write"); in setup_path()
|
| H A D | tools64.c | 16 * along with this program; if not, write to the Free Software 108 if (write(fd, pathdat[i].contents, in setup_path() 110 perror("Can't write"); in setup_path()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
| H A D | 13-1.c | 11 * call. The initial read or write reference to a mapped region 65 printf("Time before write(): %ld\n", time(NULL)); in main() 66 if (write(fd, data, size) != size) { in main() 67 printf("Error at write(): %s\n", strerror(errno)); in main() 77 /* atime1: write */ in main() 103 /* write reference to mapped memory */ in main() 118 /* atime3: write to memory */ in main()
|
| H A D | 14-1.c | 11 * in the interval between a write reference to the 15 * as a result of a write reference, then these fields shall be marked 16 * for update at some time after the write reference. 58 printf("Time before write(): %ld\n", time(NULL)); in main() 59 if (write(fd, data, size) != size) { in main() 60 printf("Error at write(): %s\n", strerror(errno)); in main() 73 printf("Time before write reference: %ld\n", time(NULL)); in main() 74 /* Before write reference */ in main()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
| H A D | 2-1.c | 168 bytes = write(write_pipe, &send, 1); in send_receive() 170 perror(ERROR_PREFIX "write fd[1]"); in send_receive()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
| H A D | 6-1.c | 14 * with this program; if not, write the Free Software Foundation, Inc., 228 if (write(fd, tmp, sz) != (ssize_t) sz) { in main()
|
| /third_party/mesa3d/src/vulkan/runtime/ |
| H A D | vk_physical_device_features.py | 235 f.write(TEMPLATE_C.render(**environment))
|
| /third_party/mesa3d/src/util/ |
| H A D | driconf_static.py | 232 f.write(Template(template, output_encoding='utf-8').render(driconf=DriConf(xml)))
|
| /third_party/musl/libc-test/src/functional/ |
| H A D | fopencookie_test.c | 107 cookie_io_functions_t ioFunc = {.read = mread, .write = mwrite, .seek = mseek, .close = mclose};
in main()
|