Home
last modified time | relevance | path

Searched refs:SEEK_DATA (Results 1 - 25 of 37) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/lseek/
H A Dlseek11.c6 * Test functional SEEK_HOLE and SEEK_DATA of lseek(2).
11 * SEEK_DATA
69 {0, 0, SEEK_DATA, "data01", 6}, /* SEEK_DATA from starting of file*/
70 {0, 4, SEEK_DATA, "01suffix", 8}, /* SEEK_DATA from maddle of the first data */
75 {1, 0, SEEK_DATA, "data02", 6}, /* SEEK_DATA from the starting of the first hole */
76 {UNIT_BLOCKS, -1, SEEK_DATA, "data02", 6}, /* SEEK_DATA fro
[all...]
/third_party/ltp/include/lapi/
H A Dseek.h11 #ifndef SEEK_DATA
12 # define SEEK_DATA 3 macro
/third_party/toybox/lib/
H A Dportability.h67 #ifndef SEEK_DATA
68 #define SEEK_DATA 3 macro
/third_party/toybox/toys/lsb/
H A Ddmesg.c139 lseek(fd, 0, SEEK_DATA); in dmesg_main()
/third_party/ltp/testcases/kernel/logging/kmsg/
H A Dkmsg01.c13 * - device supports SEEK_SET, SEEK_END, SEEK_DATA
528 #ifdef SEEK_DATA in test_seek()
529 /* 3. messages after SEEK_DATA 0 shouldn't contain MSG_PREFIX */ in test_seek()
530 tst_res(TINFO, "TEST: seek SEEK_DATA 0"); in test_seek()
535 if (lseek(fd, 0, SEEK_DATA) == -1) in test_seek()
536 tst_res(TFAIL|TERRNO, "lseek SEEK_DATA 0 failed"); in test_seek()
538 tst_res(TPASS, "SEEK_DATA 0"); in test_seek()
540 tst_res(TFAIL, "SEEK_DATA 0 found: %s", msg); in test_seek()
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h19 #define SEEK_DATA 3 macro
/third_party/musl/porting/linux/user/include/
H A Dunistd.h17 #define SEEK_DATA 3 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h19 #define SEEK_DATA 3 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h17 #define SEEK_DATA 3 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h19 #define SEEK_DATA 3 macro
/third_party/musl/include/
H A Dunistd.h18 #define SEEK_DATA 3 macro
/third_party/toybox/toys/pending/
H A Dstrace.c383 print_bitmask(0, v, "SEEK_SET", C(SEEK_CUR), C(SEEK_END), C(SEEK_DATA), in print_alternatives()
/third_party/python/Modules/_io/
H A Dbufferedio.c1216 #ifdef SEEK_DATA in _io__Buffered_seek_impl()
1217 && (whence != SEEK_DATA) in _io__Buffered_seek_impl()
1237 SEEK_HOLE/SEEK_DATA. */ in _io__Buffered_seek_impl()
/third_party/toybox/toys/posix/
H A Dtar.c316 if (lo == st->st_size || (ld = lseek(fd, lo, SEEK_DATA)) < lo) break; in add_to_tar()
/third_party/python/Lib/test/
H A Dtest_posix.py1236 # os.SEEK_DATA = current position
1245 self.assertEqual(i, os.lseek(fno, i, os.SEEK_DATA))
1247 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_DATA)
1250 # Some OSs claim to support SEEK_HOLE/SEEK_DATA
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs552 pub const SEEK_DATA: ::c_int = 3; consts
/third_party/python/Lib/
H A D_pyio.py24 valid_seek_flags.add(os.SEEK_DATA)
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2742 pub const SEEK_DATA: ::c_int = 3; consts
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs1272 pub const SEEK_DATA: ::c_int = 3; consts
/third_party/rust/crates/nix/src/
H A Dunistd.rs1114 SeekData = libc::SEEK_DATA,
/third_party/python/Modules/
H A Dposixmodule.c15211 #ifdef SEEK_DATA in all_ins()
15212 if (PyModule_AddIntMacro(m, SEEK_DATA)) return -1; in all_ins()
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs455 pub const SEEK_DATA: u32 = 3; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1732 pub const SEEK_DATA: ::c_int = 3; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs460 pub const SEEK_DATA: u32 = 3; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs460 pub const SEEK_DATA: u32 = 3; consts

Completed in 111 milliseconds

12