| /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 | 289 auto combineStat = [&](const auto &Stat) { in write() argument 290 StringRef Key = Stat.getKey(); in write() 291 auto Value = Stat.getValue(); in write() 296 for (const auto &Stat : CountAndTotalPerName) in write() local 297 combineStat(Stat); in write() 299 for (const auto &Stat : TTP->CountAndTotalPerName) in write() local 300 combineStat(Stat); in write()
|
| H A D | FileOutputBuffer.cpp | 172 fs::file_status Stat; in create() local 173 fs::status(Path, Stat); in create() 183 switch (Stat.type()) { in create()
|
| H A D | VirtualFileSystem.cpp | 662 Status Stat; member in llvm::vfs::detail::InMemoryFile 666 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer) in InMemoryFile() argument 667 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile() 671 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 676 return (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString() 710 Status Stat; member in llvm::vfs::detail::__anon5c4e8b480511::InMemorySymbolicLink 713 InMemorySymbolicLink(StringRef Path, StringRef TargetPath, Status Stat) in InMemorySymbolicLink() argument 715 Stat(Stat) {} in InMemorySymbolicLink() 722 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 764 Status Stat; member in llvm::vfs::detail::InMemoryDirectory [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 29 auto Stat = std::move(*MaybeStat); in readFile() local 31 auto MaybeBuffer = File->getBuffer(Stat.getName()); in readFile() 37 if (Stat.getSize() != Buffer->getBufferSize()) in readFile() 38 Stat = llvm::vfs::Status::copyWithNewSize(Stat, Buffer->getBufferSize()); in readFile() 40 return TentativeEntry(Stat, std::move(Buffer)); in readFile() 174 llvm::ErrorOr<llvm::vfs::Status> Stat) { in getOrEmplaceEntryForFilename() argument 183 new (EntryStorage.Allocate()) CachedFileSystemEntry(std::move(Stat)); in getOrEmplaceEntryForFilename() 190 llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, in getOrEmplaceEntryForUID() argument 201 CachedFileSystemEntry(std::move(Stat), StoredContents); in getOrEmplaceEntryForUID() 284 llvm::ErrorOr<llvm::vfs::Status> Stat = in computeAndStoreResult() local [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/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 65 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat) in CachedFileSystemEntry() argument 66 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry() 71 CachedFileSystemEntry(llvm::ErrorOr<llvm::vfs::Status> Stat, in CachedFileSystemEntry() argument 73 : MaybeStat(std::move(Stat)), Contents(std::move(Contents)) { in CachedFileSystemEntry() 191 llvm::ErrorOr<llvm::vfs::Status> Stat); 197 getOrEmplaceEntryForUID(llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, 334 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() local 335 if (!Stat.isDirectory()) in getStatus() 336 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus() 337 return llvm::vfs::Status::copyWithNewName(Stat, Filename); in getStatus() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | EHUtils.h | 31 auto CheckPredecessors = [&](BlockT *BB, Status Stat) { in computeEHOnlyBlocks() 36 if (PredStatus > Stat) in computeEHOnlyBlocks() 37 Stat = PredStatus; in computeEHOnlyBlocks() 39 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 | 85 typedef struct Stat Stat; typedef 87 struct Stat { struct 612 send_names(u_int32_t id, int count, const Stat *stats) in send_names() 1144 Stat *stats; in process_readdir() 1147 stats = xcalloc(nstats, sizeof(Stat)); in process_readdir() 1151 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir() 1255 Stat s; in process_realpath() 1338 Stat s; in process_readlink() 1552 Stat s; in process_extended_expand() 1699 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/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 230 ReachedStat &Stat = ReachedStats[CE]; in analyzerNumTimesReached() local 231 ++Stat.NumTimesReached; in analyzerNumTimesReached() 232 if (!Stat.ExampleNode) { in analyzerNumTimesReached() 234 Stat.ExampleNode = C.generateNonFatalErrorNode(); in analyzerNumTimesReached()
|
| /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 | 370 bool reportInvalidCandidate(llvm::Statistic &Stat) const { in reportInvalidCandidate() 374 ++Stat; in reportInvalidCandidate() 375 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(), in reportInvalidCandidate() 378 << "Loop is not a candidate for fusion: " << Stat.getDesc()); in reportInvalidCandidate() 1786 llvm::Statistic &Stat) { in reportLoopFusion() 1791 ++Stat; in reportLoopFusion() 1792 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(), in reportLoopFusion() 1797 << ": " << Stat.getDesc()); in reportLoopFusion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeAnalyzer.cpp | 667 for (const auto &Stat : BlockIDStats) { in printStats() local 668 O.OS << " Block ID #" << Stat.first; in printStats() 670 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats() 674 const PerBlockIDStats &Stats = Stat.second; in printStats() 733 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats()
|
| /freebsd/usr.bin/truss/ |
| H A D | syscall.h | 183 Stat, enumerator
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 4587 SrcStatus Stat = getNegStatus(Curr.first, Curr.second, MRI); in calcNextStatus() local 4588 if (Stat == SrcStatus::INVALID) in calcNextStatus() 4591 {MI->getOperand(1).getReg(), Stat}); in calcNextStatus() 4682 bool checkOptions(SrcStatus Stat) const { in checkOptions() 4684 (Stat >= SrcStatus::NEG_START && Stat <= SrcStatus::NEG_END)) { in checkOptions() 4688 (Stat >= SrcStatus::HALF_START && Stat <= SrcStatus::HALF_END)) { in checkOptions() 4721 SrcStatus Stat = Curr.value().second; in getLastSameOrNeg() local 4722 if (SO.checkOptions(Stat)) { in getLastSameOrNeg() 4723 if (Stat == SrcStatus::IS_SAME || Stat == SrcStatus::IS_HI_NEG || in getLastSameOrNeg() 4724 Stat == SrcStatus::IS_LO_NEG || Stat == SrcStatus::IS_BOTH_NEG) in getLastSameOrNeg() [all …]
|
| /freebsd/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-port.h | 2012 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); } 2023 inline int Stat(const char* path, StatStruct* buf) { 2037 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
|