/freebsd/contrib/sendmail/src/ |
H A D | stats.c | 20 static struct statistics Stat; variable 52 Stat.stat_nq[e->e_from.q_mailer->m_mno]++; 59 Stat.stat_nd[e->e_from.q_mailer->m_mno]++; 61 Stat.stat_nr[e->e_from.q_mailer->m_mno]++; 63 Stat.stat_cr++; 68 Stat.stat_cf++; 70 Stat.stat_ct++; 78 Stat.stat_nf[e->e_from.q_mailer->m_mno]++; 79 Stat.stat_bf[e->e_from.q_mailer->m_mno] += 85 Stat.stat_nt[to->q_mailer->m_mno]++; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Statistic.cpp | 161 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() 182 MaxValLen = std::max(MaxValLen, (unsigned)utostr(Stat->getValue()).size()); in PrintStatistics() 184 std::max(MaxDebugTypeLen, (unsigned)std::strlen(Stat->getDebugType())); in PrintStatistics() 195 for (TrackingStatistic *Stat : Stats.Stats) in PrintStatistics() 196 OS << format("%*" PRIu64 " %-*s - %s\n", MaxValLen, Stat->getValue(), in PrintStatistics() 197 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics() 212 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local [all …]
|
H A D | FileCollector.cpp | 161 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 D | TimeProfiler.cpp | 245 auto combineStat = [&](const auto &Stat) { in write() argument 246 StringRef Key = Stat.getKey(); in write() 247 auto Value = Stat.getValue(); in write() 252 for (const auto &Stat : CountAndTotalPerName) in write() local 253 combineStat(Stat); in write() 255 for (const auto &Stat : TTP->CountAndTotalPerName) in write() local 256 combineStat(Stat); in write()
|
H A D | FileOutputBuffer.cpp | 172 fs::file_status Stat; in create() 173 fs::status(Path, Stat); in create() 183 switch (Stat.type()) { in create() 169 fs::file_status Stat; create() local
|
H A D | VirtualFileSystem.cpp | 650 Status Stat; member in llvm::vfs::detail::InMemoryFile 654 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer) in InMemoryFile() argument 655 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile() 659 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 664 return (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString() 698 Status Stat; member in llvm::vfs::detail::__anon5c4e8b480511::InMemorySymbolicLink 701 InMemorySymbolicLink(StringRef Path, StringRef TargetPath, Status Stat) in InMemorySymbolicLink() argument 703 Stat(Stat) {} in InMemorySymbolicLink() 710 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 752 Status Stat; member in llvm::vfs::detail::InMemoryDirectory [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 30 auto Stat = std::move(*MaybeStat); in readFile() local 32 auto MaybeBuffer = File->getBuffer(Stat.getName()); in readFile() 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() 131 llvm::ErrorOr<llvm::vfs::Status> Stat) { in getOrEmplaceEntryForFilename() argument 140 new (EntryStorage.Allocate()) CachedFileSystemEntry(std::move(Stat)); in getOrEmplaceEntryForFilename() 147 llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, in getOrEmplaceEntryForUID() argument 158 CachedFileSystemEntry(std::move(Stat), StoredContents); in getOrEmplaceEntryForUID() 244 llvm::ErrorOr<llvm::vfs::Status> Stat = in computeAndStoreResult() local [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 64 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() 190 llvm::ErrorOr<llvm::vfs::Status> Stat); 196 getOrEmplaceEntryForUID(llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, 304 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() local 305 if (!Stat.isDirectory()) in getStatus() 306 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus() 307 return llvm::vfs::Status::copyWithNewName(Stat, Filename); in getStatus() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | DumpOutputStyle.h | 31 struct Stat { 32 Stat() {} 33 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} struct 43 using KindAndStat = std::pair<uint32_t, Stat>; 51 Stat Totals; in update() 52 DenseMap<uint32_t, Stat> Individual; in update() 34 StatStatCollection::Stat Stat() argument 35 StatStatCollection::Stat Stat() argument 36 CountStatCollection::Stat global() argument 37 SizeStatCollection::Stat global() argument 39 updateStatCollection::Stat update() argument
|
H A D | DumpOutputStyle.cpp | 659 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() 768 for (const auto &Stat : UdtTargetStats.getStatsSortedBySize()) { in dumpUdtStats() local 769 std::string Label = getUdtStatLabel(Stat.first); in dumpUdtStats() 772 fmt_align(Stat.second.Count, AlignStyle::Right, CD), in dumpUdtStats() 773 fmt_align(Stat.second.Size, AlignStyle::Right, SD)); 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | EHUtils.h | 33 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 D | rename6.sh | 86 Stat() function 108 Stat(); function 129 * but only when Stat() is running. function
|
H A D | tmpfs8.sh | 81 Stat() function 104 Stat(); function 134 * but only when Stat() is running. function
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_premature_exit_test.cc | 41 using ::testing::internal::posix::Stat; 51 return Stat(filepath, &stat) == 0; in FileExists()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbol.cpp | 133 for (auto &Stat : Stats) { in dumpChildStats() local 134 outs() << Stat.first << ": " << Stat.second << "\n"; in dumpChildStats()
|
/freebsd/crypto/openssh/ |
H A D | sftp-server.c | 89 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 D | gtest-filepath.cc | 259 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/tcsh/ |
H A D | glob.c | 100 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/Utils/ |
H A D | CodeMoverUtils.cpp | 270 llvm::Statistic &Stat) { in reportInvalidCandidate() argument 271 ++Stat; in reportInvalidCandidate() 273 << Stat.getDesc()); in reportInvalidCandidate()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopFuse.cpp | 371 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 D | BitcodeAnalyzer.cpp | 664 for (const auto &Stat : BlockIDStats) { in printStats() local 665 O.OS << " Block ID #" << Stat.first; in printStats() 667 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats() 671 const PerBlockIDStats &Stats = Stat.second; in printStats() 730 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats()
|
/freebsd/usr.bin/truss/ |
H A D | syscall.h | 182 Stat, enumerator
|
H A D | syscalls.c | 275 .args = { { Int, 0 }, { Stat | OUT, 1 } } }, 277 .args = { { Atfd, 0 }, { Name | IN, 1 }, { Stat | OUT, 2 }, 363 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } }, 556 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } }, 2172 case Stat: { in print_arg()
|
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 2044 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); } 2055 inline int Stat(const char* path, StatStruct* buf) { 2069 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 1091 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;
|