Home
last modified time | relevance | path

Searched refs:pwrite (Results 1 – 25 of 139) sorted by relevance

123456

/external/llvm/unittests/Support/
Draw_pwrite_stream_test.cpp24 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/
Draw_pwrite_stream_test.cpp36 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/
Drastertoepson.c41 #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/
Dpread64-pwrite64.c108 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()
Duio.expected3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
/external/strace/tests/
Dpread64-pwrite64.c108 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()
Duio.expected3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
/external/strace/tests-m32/
Dpread64-pwrite64.c108 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()
Duio.expected3 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4
Duio.c52 assert(pwrite(0, buf, sizeof(buf), offset) == 4); in main()
/external/freetype/src/sfnt/
Dttsbit.c758 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/
Dpwrite04.c93 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()
Dpwrite01.c119 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()
Dpwrite03.c17 TEST(pwrite(fd, NULL, 0, 0)); in verify_pwrite()
Dpwrite02.c76 TEST(pwrite(*tc->fd, tc->buf, BS, tc->off)); in verify_pwrite()
/external/ltp/testcases/kernel/syscalls/pread/
Dpread01.c210 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/
Duio.rs63 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/
Dsys_stats_data_source_unittest.cc213 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/
Dtst_safe_prw.h47 rval = pwrite(fildes, buf, nbyte, offset); in safe_pwrite()
/external/elfutils/tests/
Dlfs-symbols62 pwrite
/external/libchrome/libchrome_tools/patch/
Dfile_posix.patch23 // instead of pwrite().
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-invalidate-failure.c83 ret = pwrite(fd, buf, GINORMOUS, 0); in spin_buffered()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp55 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()

123456