| /freebsd-13.1/contrib/sendmail/src/ |
| H A D | stats.c | 20 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-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 26 if (!Stat) in createFileEntry() 27 return Stat.getError(); in createFileEntry() 31 F.getBuffer(Stat->getName()); in createFileEntry() 45 Result.MaybeStat = std::move(*Stat); in createFileEntry() 56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(), in createFileEntry() 58 Stat->getUser(), Stat->getGroup(), Size, in createFileEntry() 59 Stat->getType(), Stat->getPermissions()); in createFileEntry() 98 Result.MaybeStat = std::move(Stat); in createDirectoryEntry() 230 llvm::vfs::Status Stat) in MinimizedVFSFile() argument 231 : Buffer(std::move(Buffer)), Stat(std::move(Stat)) {} in MinimizedVFSFile() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Statistic.cpp | 160 for (auto *Stat : Stats) { in reset() local 163 Stat->Initialized = false; in reset() 164 Stat->Value = 0; in reset() 214 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local 216 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON() 218 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON() 220 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON() 221 << Stat->getValue(); in PrintStatisticsJSON() 263 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local 264 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()
|
| H A D | FileCollector.cpp | 159 const sys::fs::file_status &Stat) { in copyAccessAndModificationTime() argument 167 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in copyAccessAndModificationTime() 186 sys::fs::file_status Stat; in copyFiles() local 187 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles() 194 if (Stat.type() == sys::fs::file_type::file_not_found) in copyFiles() 205 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles() 231 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
|
| H A D | TimeProfiler.cpp | 172 auto combineStat = [&](const auto &Stat) { in write() argument 173 StringRef Key = Stat.getKey(); in write() 174 auto Value = Stat.getValue(); in write() 179 for (const auto &Stat : CountAndTotalPerName) in write() local 180 combineStat(Stat); in write() 182 for (const auto &Stat : TTP->CountAndTotalPerName) in write() local 183 combineStat(Stat); in write()
|
| H A D | FileOutputBuffer.cpp | 171 fs::file_status Stat; in create() local 172 fs::status(Path, Stat); in create() 182 switch (Stat.type()) { in create()
|
| H A D | VirtualFileSystem.cpp | 570 Status Stat; member in llvm::vfs::detail::InMemoryFile 575 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile() 582 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 587 return (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString() 645 Status Stat; member in llvm::vfs::detail::InMemoryDirectory 649 InMemoryDirectory(Status Stat) in InMemoryDirectory() argument 650 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory() 656 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 677 (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString() 757 Status Stat(P.str(), getNextVirtualUniqueID(), in addFile() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | DumpOutputStyle.h | 40 struct Stat { struct 41 Stat() {} in Stat() function 42 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() argument 52 using KindAndStat = std::pair<uint32_t, Stat>; 60 Stat Totals; 61 DenseMap<uint32_t, Stat> Individual;
|
| H A D | DumpOutputStyle.cpp | 758 for (const auto &Stat : Stats.Individual) { in getLongestTypeLeafName() local 759 std::string Label = getUdtStatLabel(Stat.first); in getLongestTypeLeafName() 779 StringMap<StatCollection::Stat> NamespacedStats; in dumpUdtStats() 868 std::string Label = getUdtStatLabel(Stat.first); in dumpUdtStats() 882 StatCollection::Stat Stat; in dumpUdtStats() member 887 for (const auto &Stat : NamespacedStats) in dumpUdtStats() local 888 NamespacedStatsSorted.push_back({Stat.getKey(), Stat.second}); in dumpUdtStats() 891 return L.Stat.Size > R.Stat.Size; in dumpUdtStats() 893 for (const auto &Stat : NamespacedStatsSorted) { in dumpUdtStats() local 897 fmt_align(Stat.Stat.Count, AlignStyle::Right, CD), in dumpUdtStats() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 265 const sys::fs::file_status &Stat, in restoreStatOnFile() argument 281 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in restoreStatOnFile() 291 sys::fs::changeFileOwnership(FD, Stat.getUser(), Stat.getGroup()); in restoreStatOnFile() 294 sys::fs::perms Perm = Stat.permissions(); in restoreStatOnFile() 317 sys::fs::file_status Stat; in executeObjcopy() local 319 if (auto EC = sys::fs::status(Config.InputFilename, Stat)) in executeObjcopy() 322 Stat.permissions(static_cast<sys::fs::perms>(0777)); in executeObjcopy() 392 if (Error E = restoreStatOnFile(Config.OutputFilename, Stat, ConfigMgr)) in executeObjcopy() 396 Stat.permissions(static_cast<sys::fs::perms>(0666)); in executeObjcopy() 397 if (Error E = restoreStatOnFile(Config.SplitDWO, Stat, ConfigMgr)) in executeObjcopy()
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/googletest/googletest/src/ |
| H A D | gtest-filepath.cc | 215 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 242 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 268 llvm::Statistic &Stat) { in reportInvalidCandidate() argument 269 ++Stat; in reportInvalidCandidate() 271 << Stat.getDesc()); in reportInvalidCandidate()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | sftp-server.c | 84 typedef struct Stat Stat; typedef 86 struct Stat { struct 596 send_names(u_int32_t id, int count, const Stat *stats) in send_names() 1125 Stat *stats; in process_readdir() 1128 stats = xcalloc(nstats, sizeof(Stat)); in process_readdir() 1132 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir() 1235 Stat s; in process_realpath() 1318 Stat s; in process_readlink() 1532 Stat s; in process_extended_expand()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFuse.cpp | 372 bool reportInvalidCandidate(llvm::Statistic &Stat) const { in reportInvalidCandidate() 376 ++Stat; in reportInvalidCandidate() 377 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(), in reportInvalidCandidate() 380 << "Loop is not a candidate for fusion: " << Stat.getDesc()); in reportInvalidCandidate() 1534 llvm::Statistic &Stat) { in reportLoopFusion() 1539 ++Stat; in reportLoopFusion() 1540 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(), in reportLoopFusion() 1545 << ": " << Stat.getDesc()); in reportLoopFusion()
|
| /freebsd-13.1/usr.bin/truss/ |
| H A D | syscall.h | 183 Stat, enumerator
|
| H A D | syscalls.c | 278 .args = { { Int, 0 }, { Stat | OUT, 1 } } }, 280 .args = { { Atfd, 0 }, { Name | IN, 1 }, { Stat | OUT, 2 }, 366 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } }, 549 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } }, 2340 case Stat: { in print_arg()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 54 static CachedFileSystemEntry createDirectoryEntry(llvm::vfs::Status &&Stat);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 1061 struct stat Stat; 1062 if (fstat(ResultFD, &Stat) == -1) 1064 if (S_ISREG(Stat.st_mode)) { 1066 !Stat.st_tag.ft_txtflag && !Stat.st_tag.ft_ccsid && 1067 Stat.st_size == 0;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackSafetyAnalysis.cpp | 1011 auto CountParamAccesses = [&](auto &Stat) { in generateParamAccessSummary() argument 1017 Stat += FS->paramAccesses().size(); in generateParamAccessSummary()
|
| /freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-port.h | 2476 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); } 2489 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | README | 216 S and Gary Perlman's Unix|Stat), spend a few months staring
|
| H A D | README.md | 216 S and Gary Perlman's Unix|Stat), spend a few months staring
|