Home
last modified time | relevance | path

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

12345

/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
Draw_pwrite_stream_test.cpp37 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
42 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST()
73 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
74 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
78 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST()
91 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
92 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
/external/libcups/filter/
Drastertoepson.c46 #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); in Setup()
217 pwrite("\033(G\001\000\001", 6); /* Graphics mode */ in StartPage()
225 pwrite("\033(U\001\000", 5); /* Resolution/units */ in StartPage()
230 pwrite("\033(U\005\000", 5); in StartPage()
240 pwrite("\033(C\002\000", 5); /* Page length */ in StartPage()
249 pwrite("\033(c\004\000", 5); /* Top & bottom margins */ in StartPage()
257 pwrite("\033(i\001\000\001", 6); /* Microweave */ in StartPage()
258 pwrite("\033(e\002\000\000\001", 7); /* Small dots */ in StartPage()
261 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.c759 FT_Byte* pwrite = line; in tt_sbit_decoder_load_byte_aligned() local
765 pwrite[0] = (FT_Byte)( pwrite[0] | *p++ ); in tt_sbit_decoder_load_byte_aligned()
766 pwrite += 1; in tt_sbit_decoder_load_byte_aligned()
770 pwrite[0] = (FT_Byte)( pwrite[0] | ( *p++ & ( 0xFF00U >> w ) ) ); in tt_sbit_decoder_load_byte_aligned()
777 FT_Byte* pwrite = line; in tt_sbit_decoder_load_byte_aligned() local
785 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
786 pwrite += 1; in tt_sbit_decoder_load_byte_aligned()
795 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
799 pwrite++; in tt_sbit_decoder_load_byte_aligned()
801 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.c29 TEST(pwrite(fd, NULL, 0, 0)); in verify_pwrite()
Dpwrite02.c91 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/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source_unittest.cc191 EXPECT_GT(pwrite(tmp_.fd(), kMockMeminfo, strlen(kMockMeminfo), 0), 0); in MockOpenReadOnly()
193 EXPECT_GT(pwrite(tmp_.fd(), kMockVmstat, strlen(kMockVmstat), 0), 0); in MockOpenReadOnly()
195 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/ltp/testcases/kernel/io/ltp-aiodio/
Dltp-diorh.c68 rc = pwrite(fd, iobuf, WRITESIZE, offset); in do_buffered_writes()
/external/elfutils/lib/
Dsystem.h95 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry()

12345