Home
last modified time | relevance | path

Searched refs:Stat (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/sendmail/src/
H A Dstats.c20 static struct statistics Stat; variable
63 Stat.stat_cr++;
68 Stat.stat_cf++;
70 Stat.stat_ct++;
115 memset(&Stat, '\0', sizeof(Stat)); in clearstats()
145 (void) time(&Stat.stat_itime);
146 Stat.stat_size = sizeof(Stat);
147 Stat.stat_magic = STAT_MAGIC;
183 stats.stat_cr += Stat.stat_cr;
184 stats.stat_ct += Stat.stat_ct;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStatistic.cpp161 for (auto *Stat : Stats) { in reset() local
164 Stat->Initialized = false; in reset()
165 Stat->Value = 0; in reset()
181 for (TrackingStatistic *Stat : Stats.Stats) { in PrintStatistics()
195 for (TrackingStatistic *Stat : Stats.Stats) in PrintStatistics()
197 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics()
212 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local
218 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
219 << Stat->getValue(); in PrintStatisticsJSON()
261 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local
[all …]
H A DFileCollector.cpp161 const sys::fs::file_status &Stat) { in copyAccessAndModificationTime() argument
169 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in copyAccessAndModificationTime()
188 sys::fs::file_status Stat; in copyFiles() local
189 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles()
196 if (Stat.type() == sys::fs::file_type::file_not_found) in copyFiles()
207 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles()
233 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
H A DTimeProfiler.cpp195 auto combineStat = [&](const auto &Stat) { in write() argument
196 StringRef Key = Stat.getKey(); in write()
197 auto Value = Stat.getValue(); in write()
202 for (const auto &Stat : CountAndTotalPerName) in write() local
203 combineStat(Stat); in write()
205 for (const auto &Stat : TTP->CountAndTotalPerName) in write() local
206 combineStat(Stat); in write()
H A DFileOutputBuffer.cpp172 fs::file_status Stat; in create() local
173 fs::status(Path, Stat); in create()
183 switch (Stat.type()) { in create()
H A DVirtualFileSystem.cpp626 Status Stat; member in llvm::vfs::detail::InMemoryFile
631 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
674 Status Stat; member in llvm::vfs::detail::__anonac4a31100511::InMemorySymbolicLink
679 Stat(Stat) {} in InMemorySymbolicLink()
728 Status Stat; member in llvm::vfs::detail::InMemoryDirectory
732 InMemoryDirectory(Status Stat) in InMemoryDirectory() argument
733 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
861 Status Stat( in addFile() local
903 Status Stat = NNI.makeStatus(); in addFile() local
907 Stat, std::move(NNI.Buffer)); in addFile()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp30 auto Stat = std::move(*MaybeStat); in readFile() local
38 if (Stat.getSize() != Buffer->getBufferSize()) in readFile()
39 Stat = llvm::vfs::Status::copyWithNewSize(Stat, Buffer->getBufferSize()); in readFile()
41 return TentativeEntry(Stat, std::move(Buffer)); in readFile()
230 llvm::ErrorOr<llvm::vfs::Status> Stat = in computeAndStoreResult() local
232 if (!Stat) { in computeAndStoreResult()
234 return Stat.getError(); in computeAndStoreResult()
244 Stat->isDirectory() ? TentativeEntry(*Stat) : readFile(OriginalFilename); in computeAndStoreResult()
309 llvm::vfs::Status Stat) in DepScanFile() argument
310 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {} in DepScanFile()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h64 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat) in CachedFileSystemEntry() argument
65 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry()
70 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat, in CachedFileSystemEntry() argument
72 : MaybeStat(std::move(Stat)), Contents(std::move(Contents)) { in CachedFileSystemEntry()
250 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() local
251 if (!Stat.isDirectory()) in getStatus()
252 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus()
253 return llvm::vfs::Status::copyWithNewName(Stat, Filename); in getStatus()
353 findSharedEntryByUID(llvm::vfs::Status Stat) const { in findSharedEntryByUID() argument
354 return SharedCache.getShardForUID(Stat.getUniqueID()) in findSharedEntryByUID()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.h31 struct Stat { struct
32 Stat() {} in Stat() function
33 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() argument
43 using KindAndStat = std::pair<uint32_t, Stat>;
51 Stat Totals;
52 DenseMap<uint32_t, Stat> Individual;
H A DDumpOutputStyle.cpp659 for (const auto &Stat : Stats.Individual) { in getLongestTypeLeafName() local
660 std::string Label = getUdtStatLabel(Stat.first); in getLongestTypeLeafName()
680 StringMap<StatCollection::Stat> NamespacedStats; in dumpUdtStats()
769 std::string Label = getUdtStatLabel(Stat.first); in dumpUdtStats()
783 StatCollection::Stat Stat; in dumpUdtStats() member
788 for (const auto &Stat : NamespacedStats) in dumpUdtStats() local
789 NamespacedStatsSorted.push_back({Stat.getKey(), Stat.second}); in dumpUdtStats()
792 return L.Stat.Size > R.Stat.Size; in dumpUdtStats()
794 for (const auto &Stat : NamespacedStatsSorted) { in dumpUdtStats() local
798 fmt_align(Stat.Stat.Count, AlignStyle::Right, CD), in dumpUdtStats()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DEHUtils.h33 auto CheckPredecessors = [&](BlockT *BB, Status Stat) { in computeEHOnlyBlocks()
38 if (PredStatus > Stat) in computeEHOnlyBlocks()
39 Stat = PredStatus; in computeEHOnlyBlocks()
41 return Stat; in computeEHOnlyBlocks()
/freebsd/tools/test/stress2/misc/
H A Drename6.sh86 Stat() function
108 Stat(); function
129 * but only when Stat() is running. function
H A Dtmpfs8.sh81 Stat() function
104 Stat(); function
134 * but only when Stat() is running. function
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc41 using ::testing::internal::posix::Stat;
51 return Stat(filepath, &stat) == 0; in FileExists()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp133 for (auto &Stat : Stats) { in dumpChildStats() local
134 outs() << Stat.first << ": " << Stat.second << "\n"; in dumpChildStats()
/freebsd/crypto/openssh/
H A Dsftp-server.c89 typedef struct Stat Stat; typedef
91 struct Stat { struct
616 send_names(u_int32_t id, int count, const Stat *stats) in send_names()
1148 Stat *stats; in process_readdir()
1151 stats = xcalloc(nstats, sizeof(Stat)); in process_readdir()
1155 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir()
1259 Stat s; in process_realpath()
1342 Stat s; in process_readlink()
1556 Stat s; in process_extended_expand()
1703 Stat s; in process_extended_home_directory()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-filepath.cc259 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
287 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp270 llvm::Statistic &Stat) { in reportInvalidCandidate() argument
271 ++Stat; in reportInvalidCandidate()
273 << Stat.getDesc()); in reportInvalidCandidate()
/freebsd/contrib/tcsh/
H A Dglob.c100 static int Stat (const char *, struct stat *sb);
231 #define Lstat Stat
235 Stat(const char *fn, struct stat *sb) in Stat() function
511 (Stat(pathbuf->s, &sbuf) == 0) && in glob2()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFuse.cpp371 bool reportInvalidCandidate(llvm::Statistic &Stat) const { in reportInvalidCandidate()
375 ++Stat; in reportInvalidCandidate()
376 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(), in reportInvalidCandidate()
379 << "Loop is not a candidate for fusion: " << Stat.getDesc()); in reportInvalidCandidate()
1784 llvm::Statistic &Stat) { in reportLoopFusion()
1789 ++Stat; in reportLoopFusion()
1790 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(), in reportLoopFusion()
1795 << ": " << Stat.getDesc()); in reportLoopFusion()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp658 for (const auto &Stat : BlockIDStats) { in printStats() local
659 O.OS << " Block ID #" << Stat.first; in printStats()
661 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats()
665 const PerBlockIDStats &Stats = Stat.second; in printStats()
724 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats()
/freebsd/usr.bin/truss/
H A Dsyscall.h182 Stat, enumerator
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2001 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); }
2010 inline int Stat(const char* path, StatStruct* buf) {
2022 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc1091 struct stat Stat;
1092 if (fstat(ResultFD, &Stat) == -1)
1094 if (S_ISREG(Stat.st_mode)) {
1096 !Stat.st_tag.ft_txtflag && !Stat.st_tag.ft_ccsid &&
1097 Stat.st_size == 0;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h355 std::optional<GDBRemoteFStatData> Stat(const FileSpec &file_spec);

12