Home
last modified time | relevance | path

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

/freebsd-12.1/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-12.1/contrib/llvm/lib/Support/
H A DStatistic.cpp158 for (auto *Stat : Stats) { in reset() local
161 Stat->Initialized = false; in reset()
162 Stat->Value = 0; in reset()
212 for (const Statistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local
214 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
216 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
218 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
219 << Stat->getValue(); in PrintStatisticsJSON()
261 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local
262 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()
H A DFileOutputBuffer.cpp163 fs::file_status Stat; in create() local
164 fs::status(Path, Stat); in create()
167 if (Stat.type() == fs::file_type::regular_file) in create()
168 Size = Stat.getSize(); in create()
169 else if (Stat.type() == fs::file_type::file_not_found) in create()
183 switch (Stat.type()) { in create()
H A DVirtualFileSystem.cpp503 Status Stat; member in llvm::vfs::detail::InMemoryFile
508 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
515 return Status::copyWithNewName(Stat, RequestedName); in getStatus()
520 return (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString()
578 Status Stat; member in llvm::vfs::detail::InMemoryDirectory
582 InMemoryDirectory(Status Stat) in InMemoryDirectory() argument
583 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
589 return Status::copyWithNewName(Stat, RequestedName); in getStatus()
610 (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString()
690 Status Stat(P.str(), getNextVirtualUniqueID(), in addFile() local
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.h40 struct Stat { struct
41 Stat() {} in Stat() argument
42 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() function
58 Stat Totals;
59 DenseMap<uint32_t, Stat> Individual;
H A DDumpOutputStyle.cpp700 for (const auto &Stat : Stats.Individual) { in getLongestTypeLeafName() local
701 StringRef Label = getUdtStatLabel(Stat.first); in getLongestTypeLeafName()
721 StringMap<StatCollection::Stat> NamespacedStats; in dumpUdtStats()
809 for (const auto &Stat : UdtTargetStats.Individual) { in dumpUdtStats() local
810 StringRef Label = getUdtStatLabel(Stat.first); in dumpUdtStats()
813 fmt_align(Stat.second.Count, AlignStyle::Right, CD), in dumpUdtStats()
814 fmt_align(Stat.second.Size, AlignStyle::Right, SD)); in dumpUdtStats()
822 for (const auto &Stat : NamespacedStats) { in dumpUdtStats() local
823 std::string Label = formatv("namespace '{0}'", Stat.getKey()); in dumpUdtStats()
826 fmt_align(Stat.second.Count, AlignStyle::Right, CD), in dumpUdtStats()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp171 const sys::fs::file_status &Stat) { in restoreDateOnFile() argument
179 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in restoreDateOnFile()
190 sys::fs::file_status Stat; in executeObjcopy() local
192 if (auto EC = sys::fs::status(Config.InputFilename, Stat)) in executeObjcopy()
216 restoreDateOnFile(Config.OutputFilename, Stat); in executeObjcopy()
218 restoreDateOnFile(Config.SplitDWO, Stat); in executeObjcopy()
/freebsd-12.1/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-12.1/contrib/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp134 for (auto &Stat : Stats) { in dumpChildStats() local
135 outs() << Stat.first << ": " << Stat.second << "\n"; in dumpChildStats()
/freebsd-12.1/contrib/googletest/googletest/src/
H A Dgtest-filepath.cc215 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
242 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists()
/freebsd-12.1/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
510 (Stat(pathbuf->s, &sbuf) == 0) && in glob2()
/freebsd-12.1/crypto/openssh/
H A Dsftp-server.c78 typedef struct Stat Stat; typedef
80 struct Stat { struct
571 send_names(u_int32_t id, int count, const Stat *stats) in send_names()
1054 Stat *stats; in process_readdir()
1057 stats = xcalloc(nstats, sizeof(Stat)); in process_readdir()
1061 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir()
1164 Stat s; in process_realpath()
1247 Stat s; in process_readlink()
/freebsd-12.1/usr.bin/truss/
H A Dsyscall.h171 Stat, enumerator
H A Dsyscalls.c236 .args = { { Int, 0 }, { Stat | OUT, 1 } } },
238 .args = { { Atfd, 0 }, { Name | IN, 1 }, { Stat | OUT, 2 },
319 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } },
493 .args = { { Name | IN, 0 }, { Stat | OUT, 1 } } },
2125 case Stat: { in print_arg()
/freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2476 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-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_ann.cc54 StatInc(thr, Stat##typ); \
/freebsd-12.1/contrib/tcpdump/
H A DREADME.md216 S and Gary Perlman's Unix|Stat), spend a few months staring
H A DREADME216 S and Gary Perlman's Unix|Stat), spend a few months staring
/freebsd-12.1/share/misc/
H A Dusb_hid_usages1158 0x2E Stat Not Ready
1159 0x2F Stat Ready
/freebsd-12.1/gnu/usr.bin/grep/
H A DChangeLog1664 (grepfile): Stat the file before invoking grepdir.
1985 Stat the file if either mmap or directory-skipping is possible.
/freebsd-12.1/contrib/binutils/bfd/
H A DChangeLog-94956064 * aoutx.h: Stat to determine executable status if STAT_FOR_EXEC