/third_party/ltp/testcases/kernel/syscalls/lseek/ |
H A D | lseek11.c | 6 * 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 D | seek.h | 11 #ifndef SEEK_DATA 12 # define SEEK_DATA 3 macro
|
/third_party/toybox/lib/ |
H A D | portability.h | 67 #ifndef SEEK_DATA 68 #define SEEK_DATA 3 macro
|
/third_party/toybox/toys/lsb/ |
H A D | dmesg.c | 139 lseek(fd, 0, SEEK_DATA); in dmesg_main()
|
/third_party/ltp/testcases/kernel/logging/kmsg/ |
H A D | kmsg01.c | 13 * - 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 D | unistd.h | 19 #define SEEK_DATA 3 macro
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 17 #define SEEK_DATA 3 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 19 #define SEEK_DATA 3 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 17 #define SEEK_DATA 3 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 19 #define SEEK_DATA 3 macro
|
/third_party/musl/include/ |
H A D | unistd.h | 18 #define SEEK_DATA 3 macro
|
/third_party/toybox/toys/pending/ |
H A D | strace.c | 383 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 D | bufferedio.c | 1216 #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 D | tar.c | 316 if (lo == st->st_size || (ld = lseek(fd, lo, SEEK_DATA)) < lo) break; in add_to_tar()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 1236 # 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 D | mod.rs | 552 pub const SEEK_DATA: ::c_int = 3; consts
|
/third_party/python/Lib/ |
H A D | _pyio.py | 24 valid_seek_flags.add(os.SEEK_DATA)
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 2742 pub const SEEK_DATA: ::c_int = 3; consts
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 1272 pub const SEEK_DATA: ::c_int = 3; consts
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 1114 SeekData = libc::SEEK_DATA,
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 15211 #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 D | general.rs | 455 pub const SEEK_DATA: u32 = 3; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1732 pub const SEEK_DATA: ::c_int = 3; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 460 pub const SEEK_DATA: u32 = 3; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 460 pub const SEEK_DATA: u32 = 3; consts
|