Home
last modified time | relevance | path

Searched refs:SEEK_HOLE (Results 1 - 25 of 36) 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).
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 Dseek.h15 #ifndef SEEK_HOLE
16 # define SEEK_HOLE 4 macro
/third_party/toybox/lib/
H A Dportability.h70 #ifndef SEEK_HOLE
71 #define SEEK_HOLE 4 macro
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate04.c115 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 Dunistd.h20 #define SEEK_HOLE 4 macro
/third_party/musl/porting/linux/user/include/
H A Dunistd.h18 #define SEEK_HOLE 4 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h20 #define SEEK_HOLE 4 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h18 #define SEEK_HOLE 4 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h20 #define SEEK_HOLE 4 macro
/third_party/musl/include/
H A Dunistd.h19 #define SEEK_HOLE 4 macro
/third_party/toybox/toys/pending/
H A Dstrace.c384 C(SEEK_HOLE), 0); in print_alternatives()
/third_party/python/Modules/_io/
H A Dbufferedio.c1213 #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 Dtar.c309 while ((lo = lseek(fd, ld, SEEK_HOLE)) != -1) { in add_to_tar()
/third_party/python/Lib/test/
H A Dtest_posix.py1229 @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 Dmod.rs553 pub const SEEK_HOLE: ::c_int = 4; consts
/third_party/python/Lib/
H A D_pyio.py22 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 Dmod.rs2743 pub const SEEK_HOLE: ::c_int = 4; consts
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs1273 pub const SEEK_HOLE: ::c_int = 4; consts
/third_party/rust/crates/nix/src/
H A Dunistd.rs1125 SeekHole = libc::SEEK_HOLE
/third_party/python/Modules/
H A Dposixmodule.c15208 #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 Dgeneral.rs456 pub const SEEK_HOLE: u32 = 4; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1733 pub const SEEK_HOLE: ::c_int = 4; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs461 pub const SEEK_HOLE: u32 = 4; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs461 pub const SEEK_HOLE: u32 = 4; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs468 pub const SEEK_HOLE: u32 = 4; consts

Completed in 161 milliseconds

12