Home
last modified time | relevance | path

Searched refs:write (Results 2176 - 2200 of 4904) sorted by relevance

1...<<81828384858687888990>>...197

/third_party/libfuse/test/
H A Dconftest.py56 os.write(ofd, buf)
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate03.c20 * 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 Dmmap03.c15 * 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 Dmmap04.c15 * 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 Dmmap16.c119 ret = write(parentfd, buf, FS_BLOCKSIZE); in run_single()
124 tst_brk(TBROK | TERRNO, "write failed unexpectedly"); in run_single()
H A Dmmap01.c15 * 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 Dmmap001.c16 * 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 Dwritev05.c16 * 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 Dwritev02.c16 * 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 Dtst_rod.c14 #define WRITE_STRING(fd, string) if (write(fd, string, sizeof(string)-1)) {}
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl_loop02.c19 * 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 Dmemfd_create03.c12 * 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 Dnfs01_open_files.c97 rc = write(fd, msg, msg_len); in write_something()
/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork04.c20 * 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 Dinotify03.c141 ret = write(fd, fname, 1); in setup()
144 "write(%d, %s, 1) failed", fd, fname); in setup()
H A Dinotify01.c74 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 Dtools.c16 * 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 Dtools64.c16 * 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 D13-1.c11 * 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 D14-1.c11 * 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 D2-1.c168 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 D6-1.c14 * 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 Dvk_physical_device_features.py235 f.write(TEMPLATE_C.render(**environment))
/third_party/mesa3d/src/util/
H A Ddriconf_static.py232 f.write(Template(template, output_encoding='utf-8').render(driconf=DriConf(xml)))
/third_party/musl/libc-test/src/functional/
H A Dfopencookie_test.c107 cookie_io_functions_t ioFunc = {.read = mread, .write = mwrite, .seek = mseek, .close = mclose}; in main()

Completed in 10 milliseconds

1...<<81828384858687888990>>...197