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

1 2 3 4 5 6 7 8

  /external/llvm/unittests/Support/
raw_pwrite_stream_test.cpp 24 OS.pwrite(Test.data(), Test.size(), 0);
29 EXPECT_DEATH(OS.pwrite("12345", 5, 0),
42 OS.pwrite(Test.data(), Test.size(), 0);
43 OS.pwrite(Test.data(), Test.size(), 0);
47 EXPECT_DEATH(OS.pwrite("12345", 5, 0),
60 OS.pwrite(Test.data(), Test.size(), 0);
61 OS.pwrite(Test.data(), Test.size(), 0);
  /system/vold/
BenchmarkGen.h 558 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 512, 0));
559 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 512));
560 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 516));
561 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4612));
562 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4616));
563 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 4620));
564 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8716));
565 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8720));
566 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 8724));
567 TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12820))
    [all...]
  /bionic/libc/arch-arm64/syscalls/
pwrite64.S 16 ALIAS_SYMBOL(pwrite, pwrite64)
  /bionic/libc/arch-x86_64/syscalls/
pwrite64.S 18 ALIAS_SYMBOL(pwrite, pwrite64)
  /external/ltp/testcases/kernel/syscalls/pwrite/
pwrite02.c 23 * 1) pwrite() fails when attempted to write to an unnamed pipe,
25 * 2) pwrite() fails if the specified offset position was invalid,
27 * 3) pwrite() fails if fd is not a valid file descriptor,
29 * 4) pwrite() fails if fd is not open for writing, return EBADF.
30 * 5) pwrite() fails when attempted to write with buf outside
136 tst_resm(TPASS, "pwrite failed as expected: %d - %s",
139 tst_resm(TFAIL, "pwrite failed unexpectedly; expected: %d - %s"
151 TEST(pwrite(pipe_fds[1], write_buf, K1, 0));
166 TEST(pwrite(fd, write_buf, K1, -1));
177 TEST(pwrite(fd, write_buf, K1, 0))
    [all...]
pwrite04.c 26 * Test the pwrite() system call with O_APPEND.
91 * pwrite() K1 of data (0's) at offset 0.
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
95 "pwrite at 0 failed: nbytes=%d, errno=%d",
111 * pwrite() K1 of data (2's) at offset K2.
113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) {
115 "pwrite at K2 failed: nbytes=%d, errno=%d",
146 * pwrite() K1 of data (1's) at offset K1.
148 if ((nbytes = pwrite(fd, wbuf[1], K1, K1)) != K1) {
149 tst_resm(TFAIL, "pwrite failed: nbytes=%d, errno=%d"
    [all...]
  /bionic/libc/arch-mips64/syscalls/
pwrite64.S 27 ALIAS_SYMBOL(pwrite, pwrite64)
  /external/strace/tests/
uio.c 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
pread64-pwrite64.c 108 rc = pwrite(1, buf, len, offset);
157 rc = pwrite(1, w, 0, 0);
162 rc = pwrite(1, efault, 1, 0);
168 rc = pwrite(1, nil, 1, -3);
173 rc = pwrite(1, w, w_len, 0);
  /external/strace/tests-m32/
uio.c 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
pread64-pwrite64.c 108 rc = pwrite(1, buf, len, offset);
157 rc = pwrite(1, w, 0, 0);
162 rc = pwrite(1, efault, 1, 0);
168 rc = pwrite(1, nil, 1, -3);
173 rc = pwrite(1, w, w_len, 0);
  /external/strace/tests-mx32/
uio.c 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4);
pread64-pwrite64.c 108 rc = pwrite(1, buf, len, offset);
157 rc = pwrite(1, w, 0, 0);
162 rc = pwrite(1, efault, 1, 0);
168 rc = pwrite(1, nil, 1, -3);
173 rc = pwrite(1, w, w_len, 0);
  /libcore/ojluni/src/main/java/sun/nio/ch/
NativeDispatcher.java 42 * Returns {@code true} if pread/pwrite needs to be synchronized with
61 int pwrite(FileDescriptor fd, long address, int len, long position) method in class:NativeDispatcher
  /hardware/qcom/display/msm8909/sdm/include/utils/
sys.h 62 typedef ssize_t (*pwrite)(int, const void *, size_t, off_t); typedef in class:sdm::Sys
77 static pwrite pwrite_;
  /hardware/qcom/display/msm8909/sdm/libs/utils/
sys.cpp 53 Sys::pwrite Sys::pwrite_ = ::pwrite;
  /hardware/qcom/display/msm8909w_3100/sdm/include/utils/
sys.h 62 typedef ssize_t (*pwrite)(int, const void *, size_t, off_t); typedef in class:sdm::Sys
77 static pwrite pwrite_;
  /hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
sys.cpp 53 Sys::pwrite Sys::pwrite_ = ::pwrite;
  /hardware/qcom/display/msm8996/sdm/include/utils/
sys.h 57 typedef ssize_t (*pwrite)(int, const void *, size_t, off_t); typedef in class:sdm::Sys
71 static pwrite pwrite_;
  /hardware/qcom/display/msm8996/sdm/libs/utils/
sys.cpp 52 Sys::pwrite Sys::pwrite_ = ::pwrite;
  /hardware/qcom/display/msm8998/sdm/include/utils/
sys.h 62 typedef ssize_t (*pwrite)(int, const void *, size_t, off_t); typedef in class:sdm::Sys
77 static pwrite pwrite_;
  /hardware/qcom/display/msm8998/sdm/libs/utils/
sys.cpp 53 Sys::pwrite Sys::pwrite_ = ::pwrite;
  /system/core/libutils/include/utils/
Compat.h 37 return pwrite(fd, buf, nbytes, offset);
  /external/libcups/filter/
rastertoepson.c 46 #define pwrite(s,n) fwrite((s), 1, (n), stdout) macro
103 pwrite("\000\000\000\033\001@EJL 1284.4\n@EJL \n\033@", 29);
217 pwrite("\033(G\001\000\001", 6); /* Graphics mode */
225 pwrite("\033(U\001\000", 5); /* Resolution/units */
230 pwrite("\033(U\005\000", 5);
240 pwrite("\033(C\002\000", 5); /* Page length */
249 pwrite("\033(c\004\000", 5); /* Top & bottom margins */
257 pwrite("\033(i\001\000\001", 6); /* Microweave */
258 pwrite("\033(e\002\000\000\001", 7); /* Small dots */
261 pwrite("\033(V\002\000\000\000", 7); /* Set absolute position 0 *
    [all...]
  /external/ltp/testcases/kernel/syscalls/pread/
pread01.c 24 * Verify the functionality of pread() by writing known data using pwrite()
99 void compare_bufers(); /* function to compare o/p of pread/pwrite */
192 int nwrite = 0; /* no. of bytes written by pwrite() */
209 /* pwrite() K1 of data (0's) at offset 0 of temporary file */
210 if ((nwrite = pwrite(fildes, write_buf[0], K1, 0)) != K1) {
211 tst_brkm(TBROK, cleanup, "pwrite() failed to write on %s, "
221 /* Again, pwrite() K1 of data (2's) at offset K2 of temporary file */
222 if ((nwrite = pwrite(fildes, write_buf[2], K1, K2)) != K1) {
223 tst_brkm(TBROK, cleanup, "pwrite() failed to write at %d off. "
246 /* Again, pwrite() K1 of data (1's) at offset K1. *
    [all...]

Completed in 760 milliseconds

1 2 3 4 5 6 7 8