/third_party/ltp/testcases/kernel/syscalls/lseek/ |
H A D | lseek11.c | 6 * Test functional SEEK_HOLE and SEEK_DATA of lseek(2). 16 * SEEK_HOLE 71 {0, 0, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from starting of file */ 72 {0, 4, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from maddle of the first data */ 73 {1, 0, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from the starting of the first hole */ 74 {1, 128, SEEK_HOLE, "", 1023}, /* SEEK_HOLE fro [all...] |
/third_party/ltp/include/lapi/ |
H A D | seek.h | 15 #ifndef SEEK_HOLE 16 # define SEEK_HOLE 4 macro
|
/third_party/toybox/lib/ |
H A D | portability.h | 70 #ifndef SEEK_HOLE 71 #define SEEK_HOLE 4 macro
|
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate04.c | 115 tst_res(TINFO, "check that file has a hole with lseek(,,SEEK_HOLE)"); in test02() 116 off_t ret = lseek(fd, 0, SEEK_HOLE); in test02() 119 /* exclude error when kernel doesn't have SEEK_HOLE support */ in test02() 125 "lseek() doesn't support SEEK_HOLE"); in test02()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 20 #define SEEK_HOLE 4 macro
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 18 #define SEEK_HOLE 4 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 20 #define SEEK_HOLE 4 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 18 #define SEEK_HOLE 4 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 20 #define SEEK_HOLE 4 macro
|
/third_party/musl/include/ |
H A D | unistd.h | 19 #define SEEK_HOLE 4 macro
|
/third_party/toybox/toys/pending/ |
H A D | strace.c | 384 C(SEEK_HOLE), 0); in print_alternatives()
|
/third_party/python/Modules/_io/ |
H A D | bufferedio.c | 1213 #ifdef SEEK_HOLE in _io__Buffered_seek_impl() 1214 && (whence != SEEK_HOLE) 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 | 309 while ((lo = lseek(fd, ld, SEEK_HOLE)) != -1) { in add_to_tar()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 1229 @unittest.skipUnless(hasattr(os, 'SEEK_HOLE'), 1237 # os.SEEK_HOLE = end of file position 1246 self.assertLessEqual(size, os.lseek(fno, i, os.SEEK_HOLE)) 1248 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_HOLE) 1250 # Some OSs claim to support SEEK_HOLE/SEEK_DATA
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 553 pub const SEEK_HOLE: ::c_int = 4; consts
|
/third_party/python/Lib/ |
H A D | _pyio.py | 22 if hasattr(os, 'SEEK_HOLE') : 23 valid_seek_flags.add(os.SEEK_HOLE)
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 2743 pub const SEEK_HOLE: ::c_int = 4; consts
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 1273 pub const SEEK_HOLE: ::c_int = 4; consts
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 1125 SeekHole = libc::SEEK_HOLE
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 15208 #ifdef SEEK_HOLE in all_ins() 15209 if (PyModule_AddIntMacro(m, SEEK_HOLE)) return -1; in all_ins()
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 456 pub const SEEK_HOLE: u32 = 4; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1733 pub const SEEK_HOLE: ::c_int = 4; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 461 pub const SEEK_HOLE: u32 = 4; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 461 pub const SEEK_HOLE: u32 = 4; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 468 pub const SEEK_HOLE: u32 = 4; consts
|