| /openbsd-src/gnu/llvm/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 | 195 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 D | FileOutputBuffer.cpp | 169 fs::file_status Stat; in create() local 170 fs::status(Path, Stat); in create() 180 switch (Stat.type()) { in create()
|
| H A D | VirtualFileSystem.cpp | 623 Status Stat; member in llvm::vfs::detail::InMemoryFile 627 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer) in InMemoryFile() argument 628 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile() 632 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 637 return (std::string(Indent, ' ') + Stat.getName() + "\n").str(); in toString() 671 Status Stat; member in llvm::vfs::detail::__anon4785343f0511::InMemorySymbolicLink 674 InMemorySymbolicLink(StringRef Path, StringRef TargetPath, Status Stat) in InMemorySymbolicLink() argument 676 Stat(Stat) {} in InMemorySymbolicLink() 683 return Status::copyWithNewName(Stat, RequestedName); in getStatus() 725 Status Stat; member in llvm::vfs::detail::InMemoryDirectory [all …]
|
| /openbsd-src/gnu/llvm/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() 128 llvm::ErrorOr<llvm::vfs::Status> Stat) { in getOrEmplaceEntryForFilename() argument 133 new (EntryStorage.Allocate()) CachedFileSystemEntry(std::move(Stat)); in getOrEmplaceEntryForFilename() 139 llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, in getOrEmplaceEntryForUID() argument 149 CachedFileSystemEntry(std::move(Stat), StoredContents); in getOrEmplaceEntryForUID() 215 llvm::ErrorOr<llvm::vfs::Status> Stat = getUnderlyingFS().status(Filename); in computeAndStoreResult() local [all …]
|
| /openbsd-src/gnu/llvm/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() 183 llvm::ErrorOr<llvm::vfs::Status> Stat); 189 getOrEmplaceEntryForUID(llvm::sys::fs::UniqueID UID, llvm::vfs::Status Stat, 248 llvm::vfs::Status Stat = Entry.getStatus(); in getStatus() local 249 if (!Stat.isDirectory()) in getStatus() 250 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus() 251 return llvm::vfs::Status::copyWithNewName(Stat, Filename); in getStatus() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | DumpOutputStyle.h | 33 struct Stat { struct 34 Stat() {} in Stat() argument 35 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {} in Stat() function 45 using KindAndStat = std::pair<uint32_t, Stat>; 53 Stat Totals; 54 DenseMap<uint32_t, Stat> Individual;
|
| H A D | DumpOutputStyle.cpp | 658 for (const auto &Stat : Stats.Individual) { in getLongestTypeLeafName() local 659 std::string Label = getUdtStatLabel(Stat.first); in getLongestTypeLeafName() 679 StringMap<StatCollection::Stat> NamespacedStats; in dumpUdtStats() 767 for (const auto &Stat : UdtTargetStats.getStatsSortedBySize()) { in dumpUdtStats() local 768 std::string Label = getUdtStatLabel(Stat.first); in dumpUdtStats() 771 fmt_align(Stat.second.Count, AlignStyle::Right, CD), in dumpUdtStats() 772 fmt_align(Stat.second.Size, AlignStyle::Right, SD)); in dumpUdtStats() 782 StatCollection::Stat Stat; in dumpUdtStats() member 787 for (const auto &Stat : NamespacedStats) in dumpUdtStats() local 788 NamespacedStatsSorted.push_back({Stat.getKey(), Stat.second}); in dumpUdtStats() [all …]
|
| /openbsd-src/gnu/usr.bin/cvs/ |
| H A D | cvsnt.mak | 609 {$(INCLUDE)}"\sys\Stat.h"\ 647 {$(INCLUDE)}"\sys\Stat.h"\ 684 {$(INCLUDE)}"\sys\Stat.h"\ 727 {$(INCLUDE)}"\sys\Stat.h"\ 764 {$(INCLUDE)}"\sys\Stat.h"\ 827 {$(INCLUDE)}"\sys\Stat.h"\ 864 {$(INCLUDE)}"\sys\Stat.h"\ 902 {$(INCLUDE)}"\sys\Stat.h"\ 940 {$(INCLUDE)}"\sys\Stat.h"\ 978 {$(INCLUDE)}"\sys\Stat.h"\ [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineFunctionSplitter.cpp | 106 auto checkPredecessors = [&](MachineBasicBlock *MBB, Status Stat) { in setDescendantEHBlocksCold() argument 111 if (PredStatus > Stat) in setDescendantEHBlocksCold() 112 Stat = PredStatus; in setDescendantEHBlocksCold() 114 return Stat; in setDescendantEHBlocksCold()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | BinaryHolder.cpp | 100 llvm::ErrorOr<vfs::Status> Stat = VFS->status(Filename); in load() local 101 if (!Stat) in load() 102 return errorCodeToError(Stat.getError()); in load() 104 Stat->getLastModificationTime())) in load() 107 << Stat->getLastModificationTime() in load()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/OpenBSD-Unveil/t/ |
| H A D | OpenBSD-Unveil.t | 105 ok !-e '/dev/zero', "Stat says we can't see /dev/zero"; 106 ok -w $tmpfile, "Stat says we can write to tempfile"; 107 ok !-r '/dev/null', "Stat says we can't read from /dev/null";
|
| /openbsd-src/gnu/usr.bin/perl/plan9/ |
| H A D | plan9ish.h | 120 #define Stat(fname,bufptr) stat((fname),(bufptr)) macro
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | dosish.h | 101 # define Stat(fname,bufptr) stat((fname),(bufptr)) macro
|
| H A D | unixish.h | 120 #define Stat(fname,bufptr) stat((fname),(bufptr)) 124 #define Stat( global() macro
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | sftp-server.c | 79 typedef struct Stat Stat; typedef 81 struct Stat { struct 606 send_names(u_int32_t id, int count, const Stat *stats) in send_names() 1126 Stat *stats; in process_readdir() 1129 stats = xcalloc(nstats, sizeof(Stat)); in process_readdir() 1133 stats = xreallocarray(stats, nstats, sizeof(Stat)); in process_readdir() 1237 Stat s; in process_realpath() 1313 Stat s; in process_readlink() 1523 Stat s; in process_extended_expand() 1670 Stat s; in process_extended_home_directory()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/f/ |
| H A D | str-ot.fin | 48 ;Stat STAT
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFuse.cpp | 374 bool reportInvalidCandidate(llvm::Statistic &Stat) const { in reportInvalidCandidate() 378 ++Stat; in reportInvalidCandidate() 379 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(), in reportInvalidCandidate() 382 << "Loop is not a candidate for fusion: " << Stat.getDesc()); in reportInvalidCandidate() 1785 llvm::Statistic &Stat) { in reportLoopFusion() 1790 ++Stat; in reportLoopFusion() 1791 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(), in reportLoopFusion() 1796 << ": " << Stat.getDesc()); in reportLoopFusion()
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeAnalyzer.cpp | 658 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()
|
| /openbsd-src/gnu/usr.bin/perl/win32/ |
| H A D | win32.h | 388 #undef Stat 389 #define Stat win32_stat 391 #define Stat global() macro
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Android/ |
| H A D | AdbClient.h | 45 Status Stat(const FileSpec &remote_file, uint32_t &mode, uint32_t &size,
|
| /openbsd-src/regress/lib/libcrypto/c2sp/ |
| H A D | cctv.go | 182 if _, err := os.Stat(testVectorPath); os.IsNotExist(err) {
|