Home
last modified time | relevance | path

Searched refs:Stat (Results 1 - 25 of 75) sorted by relevance

123

/third_party/ninja/src/
H A Dclean_test.cc59 EXPECT_EQ(0, fs_.Stat("in1", &err)); in TEST_F()
60 EXPECT_EQ(0, fs_.Stat("out1", &err)); in TEST_F()
61 EXPECT_EQ(0, fs_.Stat("in2", &err)); in TEST_F()
62 EXPECT_EQ(0, fs_.Stat("out2", &err)); in TEST_F()
91 EXPECT_LT(0, fs_.Stat("in1", &err)); in TEST_F()
92 EXPECT_LT(0, fs_.Stat("out1", &err)); in TEST_F()
93 EXPECT_LT(0, fs_.Stat("in2", &err)); in TEST_F()
94 EXPECT_LT(0, fs_.Stat("out2", &err)); in TEST_F()
122 EXPECT_EQ(0, fs_.Stat("in1", &err)); in TEST_F()
123 EXPECT_EQ(0, fs_.Stat("out in TEST_F()
[all...]
H A Ddisk_interface_test.cc54 EXPECT_EQ(0, disk_.Stat("nosuchfile", &err)); in TEST_F()
59 EXPECT_EQ(0, disk_.Stat("nosuchdir/nosuchfile", &err)); in TEST_F()
65 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F()
76 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F()
84 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F()
88 EXPECT_EQ(-1, disk_.Stat(too_long_name, &err)); in TEST_F()
96 EXPECT_GT(disk_.Stat("file", &err), 1); in TEST_F()
112 EXPECT_GT(disk_.Stat(disk_.AreLongPathsEnabled() ? in TEST_F()
122 EXPECT_GT(disk_.Stat("..", &err), 1); in TEST_F()
124 EXPECT_GT(disk_.Stat(" in TEST_F()
288 TimeStamp StatTest::Stat(const string& path, string* err) const { Stat() function in __anon11574::StatTest
[all...]
H A Ddisk_interface.h48 virtual TimeStamp Stat(const std::string& path, std::string* err) const = 0;
74 virtual TimeStamp Stat(const std::string& path, std::string* err) const;
/third_party/lzma/CPP/7zip/UI/GUI/
H A DExtractGUI.cpp103 CDecompressStat Stat; in ProcessVirt() local
126 FinalMessage.ErrorMessage.Message, Stat); in ProcessVirt()
133 AddValuePair(Pairs, IDS_ARCHIVES_COLON, Stat.NumArchives); in ProcessVirt()
134 AddSizeValuePair(Pairs, IDS_PROP_PACKED_SIZE, Stat.PackSize); in ProcessVirt()
141 AddValuePair(s, IDS_ARCHIVES_COLON, Stat.NumArchives, false); in ProcessVirt()
142 AddSizePair(s, IDS_PROP_PACKED_SIZE, Stat.PackSize); in ProcessVirt()
144 if (Stat.NumFolders != 0) in ProcessVirt()
145 AddValuePair(s, IDS_PROP_FOLDERS, Stat.NumFolders); in ProcessVirt()
146 AddValuePair(s, IDS_PROP_FILES, Stat.NumFiles); in ProcessVirt()
147 AddSizePair(s, IDS_PROP_SIZE, Stat in ProcessVirt()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DStatistic.cpp155 for (auto *Stat : Stats) { in reset()
158 Stat->Initialized = false; in reset()
159 Stat->Value = 0; in reset()
209 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON()
211 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
213 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
215 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
216 << Stat->getValue(); in PrintStatisticsJSON()
258 for (const auto &Stat in GetStatistics()
[all...]
H A DFileCollector.cpp108 const sys::fs::file_status &Stat) { in copyAccessAndModificationTime()
116 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in copyAccessAndModificationTime()
136 sys::fs::file_status Stat; in copyFiles() local
137 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles()
143 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles()
169 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
107 copyAccessAndModificationTime(StringRef Filename, const sys::fs::file_status &Stat) copyAccessAndModificationTime() argument
H A DFileOutputBuffer.cpp175 fs::file_status Stat; in create() local
176 fs::status(Path, Stat); in create()
186 switch (Stat.type()) { in create()
H A DVirtualFileSystem.cpp548 Status Stat; member in llvm::vfs::detail::InMemoryFile
552 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer) in InMemoryFile() argument
553 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
560 return Status::copyWithNewName(Stat, RequestedName); in getStatus()
565 return (std::string(Indent, ' ') + Stat.getName() + "\n").str();
623 Status Stat; member in llvm::vfs::detail::InMemoryDirectory
627 InMemoryDirectory(Status Stat) in InMemoryDirectory() argument
628 : InMemoryNode(Stat in InMemoryDirectory()
[all...]
/third_party/rust/crates/rustix/src/io/
H A Dprocfs.rs22 cwd, fstat, fstatfs, major, openat, renameat, Dir, FileType, Mode, OFlags, Stat,
49 proc_stat: Option<&Stat>, in check_proc_entry()
50 ) -> io::Result<Stat> { in check_proc_entry()
55 /// Check a subdirectory of "/proc" for anomalies, using the provided `Stat`.
59 entry_stat: Stat, in check_proc_entry_with_stat()
60 proc_stat: Option<&Stat>, in check_proc_entry_with_stat()
61 ) -> io::Result<Stat> { in check_proc_entry_with_stat()
105 fn check_proc_root(entry: BorrowedFd<'_>, stat: &Stat) -> io::Result<()> { in check_proc_root()
131 stat: &Stat, in check_proc_subdir()
132 proc_stat: Option<&Stat>, in check_proc_subdir()
[all...]
/third_party/benchmark/src/
H A Dstatistics.cc158 for (const auto& Stat : *reports[0].statistics) { in ComputeStats()
168 data.aggregate_name = Stat.name_; in ComputeStats()
169 data.aggregate_unit = Stat.unit_; in ComputeStats()
179 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat); in ComputeStats()
180 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat); in ComputeStats()
197 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
/third_party/skia/third_party/externals/swiftshader/tests/regres/util/
H A Dutil.go24 s, err := os.Stat(path)
33 s, err := os.Stat(path)
/third_party/lzma/CPP/7zip/Compress/
H A DXzDecoder.cpp39 XzStatInfo_Clear(&Stat); in Decode()
84 &Stat, in Decode()
105 if (inSize && *inSize != Stat.PhySize) in Decode()
130 *value = Stat.InSize; in GetInStreamProcessedSize()
/third_party/skia/src/utils/win/
H A DSkIStream.h50 SK_STDMETHODIMP Stat(STATSTG* pStatstg, DWORD grfStatFlag) override;
72 SK_STDMETHODIMP Stat(STATSTG* pStatstg, DWORD grfStatFlag) override;
91 SK_STDMETHODIMP Stat(STATSTG* pStatstg, DWORD grfStatFlag) override;
H A DSkIStream.cpp83 SK_STDMETHODIMP SkBaseIStream::Stat(STATSTG* pStatstg, DWORD grfStatFlag) in Stat() function in SkBaseIStream
174 SK_STDMETHODIMP SkIStream::Stat(STATSTG* pStatstg, DWORD grfStatFlag) { in Stat() function in SkIStream
225 SK_STDMETHODIMP SkWIStream::Stat(STATSTG* pStatstg, DWORD grfStatFlag) { in Stat() function in SkWIStream
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs28 RenameFlags, ResolveFlags, SealFlags, Stat, StatFs, StatVfs, StatVfsMountFlags, StatxFlags,
411 pub(crate) fn fstat(fd: BorrowedFd<'_>) -> io::Result<Stat> {
423 let mut result = MaybeUninit::<Stat>::uninit();
430 fn fstat_old(fd: BorrowedFd<'_>) -> io::Result<Stat> { in fstat_old()
447 pub(crate) fn stat(filename: &CStr) -> io::Result<Stat> {
464 let mut result = MaybeUninit::<Stat>::uninit();
477 fn stat_old(filename: &CStr) -> io::Result<Stat> { in stat_old()
506 pub(crate) fn statat(dirfd: BorrowedFd<'_>, filename: &CStr, flags: AtFlags) -> io::Result<Stat> {
518 let mut result = MaybeUninit::<Stat>::uninit();
531 fn statat_old(dirfd: BorrowedFd<'_>, filename: &CStr, flags: AtFlags) -> io::Result<Stat> { in statat_old()
[all...]
/third_party/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc41 using ::testing::internal::posix::Stat;
51 return Stat(filepath, &stat) == 0; in FileExists()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp50 llvm::Statistic &Stat) { in reportInvalidCandidate()
51 ++Stat; in reportInvalidCandidate()
53 << Stat.getDesc()); in reportInvalidCandidate()
49 reportInvalidCandidate(const Instruction &I, llvm::Statistic &Stat) reportInvalidCandidate() argument
/third_party/rust/crates/rustix/tests/fs/
H A Drenameat.rs2 use rustix::fs::Stat;
5 fn same(a: &Stat, b: &Stat) -> bool { in same()
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dsyscalls.rs118 use crate::fs::{Mode, OFlags, Stat, Timestamps};
402 pub(crate) fn statat(dirfd: BorrowedFd<'_>, path: &CStr, flags: AtFlags) -> io::Result<Stat> {
424 let mut stat = MaybeUninit::<Stat>::uninit();
439 fn statat_old(dirfd: BorrowedFd<'_>, path: &CStr, flags: AtFlags) -> io::Result<Stat> { in statat_old()
958 pub(crate) fn fstat(fd: BorrowedFd<'_>) -> io::Result<Stat> {
980 let mut stat = MaybeUninit::<Stat>::uninit();
990 fn fstat_old(fd: BorrowedFd<'_>) -> io::Result<Stat> { in fstat_old()
1328 /// Convert from a Linux `statx` value to rustix's `Stat`.
1333 fn statx_to_stat(x: crate::fs::Statx) -> io::Result<Stat> { in statx_to_stat()
1334 Ok(Stat { in statx_to_stat()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp133 for (auto &Stat : Stats) { in dumpChildStats()
134 outs() << Stat.first << ": " << Stat.second << "\n"; in dumpChildStats()
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
H A Duri.go98 // Stat the files to check if they are equal.
99 infoa, err := os.Stat(filepath.FromSlash(fa))
103 infob, err := os.Stat(filepath.FromSlash(fb))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Duri.go98 // Stat the files to check if they are equal.
99 infoa, err := os.Stat(filepath.FromSlash(fa))
103 infob, err := os.Stat(filepath.FromSlash(fb))
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Duri.go98 // Stat the files to check if they are equal.
99 infoa, err := os.Stat(filepath.FromSlash(fa))
103 infob, err := os.Stat(filepath.FromSlash(fb))
/third_party/lzma/CPP/7zip/UI/Common/
H A DEnumDirItems.cpp78 Stat.NumDirs++; in AddDirFileInfo()
82 Stat.NumAltStreams++; in AddDirFileInfo()
83 Stat.AltStreamsSize += fi.Size; in AddDirFileInfo()
88 Stat.NumFiles++; in AddDirFileInfo()
89 Stat.FilesSize += fi.Size; in AddDirFileInfo()
100 Stat.NumErrors++; in AddError()
116 return Callback->ScanProgress(Stat, dirPath, true); in ScanProgress()
590 Stat.FilesSize -= fi.Size; in SetLinkInfo()
1243 // Stat.FilesSize doesn't contain item.Size already in FillFixedReparse()
1244 // Stat in FillFixedReparse()
[all...]
/third_party/skia/third_party/externals/tint/tools/src/fileutils/
H A Dfileutils_other.go26 s, err := os.Stat(path)

Completed in 14 milliseconds

123