/external/llvm/unittests/Support/ |
D | raw_pwrite_stream_test.cpp | 24 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 29 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST() 42 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 43 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 47 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST() 60 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 61 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
|
/external/llvm-project/llvm/unittests/Support/ |
D | raw_pwrite_stream_test.cpp | 36 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 41 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST() 72 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 73 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 77 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST() 90 OS.pwrite(Test.data(), Test.size(), 0); in TEST() 91 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
|
/external/libcups/filter/ |
D | rastertoepson.c | 41 #define pwrite(s,n) fwrite((s), 1, (n), stdout) macro 98 pwrite("\000\000\000\033\001@EJL 1284.4\n@EJL \n\033@", 29); in Setup() 212 pwrite("\033(G\001\000\001", 6); /* Graphics mode */ in StartPage() 220 pwrite("\033(U\001\000", 5); /* Resolution/units */ in StartPage() 225 pwrite("\033(U\005\000", 5); in StartPage() 235 pwrite("\033(C\002\000", 5); /* Page length */ in StartPage() 244 pwrite("\033(c\004\000", 5); /* Top & bottom margins */ in StartPage() 252 pwrite("\033(i\001\000\001", 6); /* Microweave */ in StartPage() 253 pwrite("\033(e\002\000\000\001", 7); /* Small dots */ in StartPage() 256 pwrite("\033(V\002\000\000\000", 7); /* Set absolute position 0 */ in StartPage() [all …]
|
/external/strace/tests-mx32/ |
D | pread64-pwrite64.c | 108 rc = pwrite(1, buf, len, offset); in test_dump() 157 rc = pwrite(1, w, 0, 0); in main() 162 rc = pwrite(1, efault, 1, 0); in main() 168 rc = pwrite(1, nil, 1, -3); in main() 174 rc = pwrite(1, w, w_len, 0); in main()
|
D | uio.expected | 3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
|
D | uio.c | 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
|
/external/strace/tests/ |
D | pread64-pwrite64.c | 108 rc = pwrite(1, buf, len, offset); in test_dump() 157 rc = pwrite(1, w, 0, 0); in main() 162 rc = pwrite(1, efault, 1, 0); in main() 168 rc = pwrite(1, nil, 1, -3); in main() 174 rc = pwrite(1, w, w_len, 0); in main()
|
D | uio.expected | 3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
|
D | uio.c | 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
|
/external/strace/tests-m32/ |
D | pread64-pwrite64.c | 108 rc = pwrite(1, buf, len, offset); in test_dump() 157 rc = pwrite(1, w, 0, 0); in main() 162 rc = pwrite(1, efault, 1, 0); in main() 168 rc = pwrite(1, nil, 1, -3); in main() 174 rc = pwrite(1, w, w_len, 0); in main()
|
D | uio.expected | 3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
|
D | uio.c | 52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 758 FT_Byte* pwrite = line; in tt_sbit_decoder_load_byte_aligned() local 764 pwrite[0] = (FT_Byte)( pwrite[0] | *p++ ); in tt_sbit_decoder_load_byte_aligned() 765 pwrite += 1; in tt_sbit_decoder_load_byte_aligned() 769 pwrite[0] = (FT_Byte)( pwrite[0] | ( *p++ & ( 0xFF00U >> w ) ) ); in tt_sbit_decoder_load_byte_aligned() 776 FT_Byte* pwrite = line; in tt_sbit_decoder_load_byte_aligned() local 784 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned() 785 pwrite += 1; in tt_sbit_decoder_load_byte_aligned() 794 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned() 798 pwrite++; in tt_sbit_decoder_load_byte_aligned() 800 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned() [all …]
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite04.c | 93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) { in main() 113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) { in main() 148 if ((nbytes = pwrite(fd, wbuf[1], K1, K1)) != K1) { in main() 187 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) { in main()
|
D | pwrite01.c | 119 nwrite = pwrite(fildes, write_buf[0], K1, 0); in main() 141 nwrite = pwrite(fildes, write_buf[2], K1, K2); in main() 171 nwrite = pwrite(fildes, write_buf[1], K1, K1); in main()
|
D | pwrite03.c | 17 TEST(pwrite(fd, NULL, 0, 0)); in verify_pwrite()
|
D | pwrite02.c | 76 TEST(pwrite(*tc->fd, tc->buf, BS, tc->off)); in verify_pwrite()
|
/external/ltp/testcases/kernel/syscalls/pread/ |
D | pread01.c | 210 if ((nwrite = pwrite(fildes, write_buf[0], K1, 0)) != K1) { in setup() 222 if ((nwrite = pwrite(fildes, write_buf[2], K1, K2)) != K1) { in setup() 247 if ((nwrite = pwrite(fildes, write_buf[1], K1, K1)) != K1) { in setup()
|
/external/rust/crates/nix/src/sys/ |
D | uio.rs | 63 pub fn pwrite(fd: RawFd, buf: &[u8], offset: off_t) -> Result<usize> { in pwrite() function 65 libc::pwrite(fd, buf.as_ptr() as *const c_void, buf.len() as size_t, in pwrite()
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source_unittest.cc | 213 EXPECT_GT(pwrite(tmp_.fd(), kMockMeminfo, strlen(kMockMeminfo), 0), 0); in MockOpenReadOnly() 215 EXPECT_GT(pwrite(tmp_.fd(), kMockVmstat, strlen(kMockVmstat), 0), 0); in MockOpenReadOnly() 217 EXPECT_GT(pwrite(tmp_.fd(), kMockStat, strlen(kMockStat), 0), 0); in MockOpenReadOnly()
|
/external/ltp/include/ |
D | tst_safe_prw.h | 47 rval = pwrite(fildes, buf, nbyte, offset); in safe_pwrite()
|
/external/elfutils/tests/ |
D | lfs-symbols | 62 pwrite
|
/external/libchrome/libchrome_tools/patch/ |
D | file_posix.patch | 23 // instead of pwrite().
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-dio-invalidate-failure.c | 83 ret = pwrite(fd, buf, GINORMOUS, 0); in spin_buffered()
|
/external/llvm-project/llvm/lib/DebugInfo/GSYM/ |
D | FileWriter.cpp | 55 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()
|