Home
last modified time | relevance | path

Searched refs:RegularFile (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/tests/fs/
Dmknodat.rs17 mknodat(&dir, "foo", FileType::RegularFile, Mode::empty(), 0).unwrap(); in test_mknodat()
19 assert_eq!(FileType::from_raw_mode(stat.st_mode), FileType::RegularFile); in test_mknodat()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dtypes.rs256 RegularFile = linux_raw_sys::general::S_IFREG as isize, enumerator
286 linux_raw_sys::general::S_IFREG => Self::RegularFile, in from_raw_mode()
301 Self::RegularFile => linux_raw_sys::general::S_IFREG, in as_raw_mode()
316 linux_raw_sys::general::DT_REG => Self::RegularFile, in from_dirent_d_type()
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dtypes.rs379 RegularFile = c::S_IFREG as isize, enumerator
411 c::S_IFREG => Self::RegularFile, in from_raw_mode()
427 Self::RegularFile => c::S_IFREG as RawMode, in as_raw_mode()
449 c::DT_REG => Self::RegularFile, in from_dirent_d_type()
/third_party/rust/crates/rustix/src/io/
Dprocfs.rs150 if FileType::from_raw_mode(stat.st_mode) != FileType::RegularFile { in check_proc_file()
442 && entry.file_type() == FileType::RegularFile in open_and_check_file()
/third_party/node/deps/zlib/google/
Dzip_reader_unittest.cc283 TEST_F(ZipReaderTest, RegularFile) { in TEST_F() argument
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_reader_unittest.cc281 TEST_F(ZipReaderTest, RegularFile) { in TEST_F() argument