HomeSort by: relevance | last modified time | path
    Searched refs:Stat (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
DependencyScanningFilesystem.cpp 25 llvm::ErrorOr<llvm::vfs::Status> Stat = (*MaybeFile)->status();
26 if (!Stat)
27 return Stat.getError();
31 F.getBuffer(Stat->getName());
45 Result.MaybeStat = std::move(*Stat);
56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(),
57 Stat->getLastModificationTime(),
58 Stat->getUser(), Stat->getGroup(), Size
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
DumpOutputStyle.h 40 struct Stat {
41 Stat() {}
42 Stat(uint32_t Count, uint32_t Size) : Count(Count), Size(Size) {}
52 using KindAndStat = std::pair<uint32_t, Stat>;
60 Stat Totals;
61 DenseMap<uint32_t, Stat> Individual;
DumpOutputStyle.cpp 758 for (const auto &Stat : Stats.Individual) {
759 std::string Label = getUdtStatLabel(Stat.first);
779 StringMap<StatCollection::Stat> NamespacedStats;
867 for (const auto &Stat : UdtTargetStats.getStatsSortedBySize()) {
868 std::string Label = getUdtStatLabel(Stat.first);
871 fmt_align(Stat.second.Count, AlignStyle::Right, CD),
872 fmt_align(Stat.second.Size, AlignStyle::Right, SD));
882 StatCollection::Stat Stat;
887 for (const auto &Stat : NamespacedStats
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Statistic.cpp 155 for (auto *Stat : Stats) {
158 Stat->Initialized = false;
159 Stat->Value = 0;
209 for (const TrackingStatistic *Stat : Stats.Stats) {
211 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None &&
213 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None &&
215 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": "
216 << Stat->getValue();
258 for (const auto &Stat : StatInfo->statistics()
    [all...]
FileCollector.cpp 159 const sys::fs::file_status &Stat) {
167 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime()))
186 sys::fs::file_status Stat;
187 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) {
194 if (Stat.type() == sys::fs::file_type::file_not_found)
205 if (Stat.type() == sys::fs::file_type::directory_file) {
231 copyAccessAndModificationTime(entry.RPath, Stat);
TimeProfiler.cpp 172 auto combineStat = [&](const auto &Stat) {
173 StringRef Key = Stat.getKey();
174 auto Value = Stat.getValue();
179 for (const auto &Stat : CountAndTotalPerName)
180 combineStat(Stat);
182 for (const auto &Stat : TTP->CountAndTotalPerName)
183 combineStat(Stat);
FileOutputBuffer.cpp 171 fs::file_status Stat;
172 fs::status(Path, Stat);
182 switch (Stat.type()) {
VirtualFileSystem.cpp 203 assert(FD != kInvalidFile && "cannot stat closed file");
570 Status Stat;
574 InMemoryFile(Status Stat, std::unique_ptr<llvm::MemoryBuffer> Buffer)
575 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)),
582 return Status::copyWithNewName(Stat, RequestedName);
587 return (std::string(Indent, ' ') + Stat.getName() + "\n").str();
645 Status Stat;
649 InMemoryDirectory(Status Stat)
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
statistics.cc 151 for(const auto& Stat : *reports[0].statistics) {
154 data.benchmark_name = reports[0].benchmark_name + "_" + Stat.name_;
158 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat);
159 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat);
160 data.bytes_per_second = Stat.compute_(bytes_per_second_stat);
161 data.items_per_second = Stat.compute_(items_per_second_stat);
167 const auto uc_stat = Stat.compute_(kv.second.s);
benchmark.cc 404 for(const auto& Stat : *benchmark.statistics)
405 stat_field_width = std::max<size_t>(stat_field_width, Stat.name_.size());
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
llvm-objcopy.cpp 271 const sys::fs::file_status &Stat,
287 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime()))
297 sys::fs::changeFileOwnership(FD, Stat.getUser(), Stat.getGroup());
300 sys::fs::perms Perm = Stat.permissions();
323 sys::fs::file_status Stat;
325 if (auto EC = sys::fs::status(Config.InputFilename, Stat))
328 Stat.permissions(static_cast<sys::fs::perms>(0777));
398 if (Error E = restoreStatOnFile(Config.OutputFilename, Stat, ConfigMgr)
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
statistics.cc 147 for (const auto& Stat : *reports[0].statistics) {
152 data.aggregate_name = Stat.name_;
162 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat);
163 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat);
178 const auto uc_stat = Stat.compute_(kv.second.s);
benchmark.cc 239 for (const auto& Stat : *benchmark.statistics)
240 stat_field_width = std::max<size_t>(stat_field_width, Stat.name_.size());
  /src/external/apache2/llvm/dist/llvm/tools/dsymutil/
BinaryHolder.cpp 100 llvm::ErrorOr<vfs::Status> Stat = VFS->status(Filename);
101 if (!Stat)
102 return errorCodeToError(Stat.getError());
104 Stat->getLastModificationTime()))
107 << Stat->getLastModificationTime()
DwarfLinkerForBinary.cpp 406 sys::fs::file_status Stat;
407 if (auto Err = sys::fs::status(File, Stat)) {
416 Stat.getLastModificationTime());
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
PDBSymbol.cpp 133 for (auto &Stat : Stats) {
134 outs() << Stat.first << ": " << Stat.second << "\n";
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
DependencyScanningFilesystem.h 29 /// - an opened source file with minimized contents and a stat value.
30 /// - an opened source file with original contents and a stat value.
31 /// - a directory entry with its stat value.
33 /// - a placeholder with an invalid stat indicating a not yet initialized entry.
36 /// Default constructor creates an entry with an invalid stat.
44 /// The filesystem opens the file even for `stat` calls open to avoid the
45 /// issues with stat + open of minimized files that might lead to a
54 static CachedFileSystemEntry createDirectoryEntry(llvm::vfs::Status &&Stat);
105 /// This class is a shared cache, that caches the 'stat' and 'open' calls to the
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
gtest-filepath.cc 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
240 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CodeMoverUtils.cpp 268 llvm::Statistic &Stat) {
269 ++Stat;
271 << Stat.getDesc());
  /src/crypto/external/bsd/openssh/dist/
sftp-server.c 26 #include <sys/stat.h>
85 typedef struct Stat Stat;
87 struct Stat {
149 { "stat", NULL, SSH2_FXP_STAT, process_stat, 0 },
612 send_names(uint32_t id, int count, const Stat *stats)
898 struct stat st;
907 r = do_lstat ? lstat(name, &st) : stat(name, &st);
936 struct stat st;
1130 struct stat st
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopFuse.cpp 372 bool reportInvalidCandidate(llvm::Statistic &Stat) const {
376 ++Stat;
377 ORE.emit(OptimizationRemarkAnalysis(DEBUG_TYPE, Stat.getName(),
380 << "Loop is not a candidate for fusion: " << Stat.getDesc());
1531 /// <Cand1 Preheader> and <Cand2 Preheader>: <Stat Description>
1534 llvm::Statistic &Stat) {
1539 ++Stat;
1540 ORE.emit(RemarkKind(DEBUG_TYPE, Stat.getName(), FC0.L->getStartLoc(),
1545 << ": " << Stat.getDesc());
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 256 # include <sys/stat.h>
329 // namespace (read, write, close, chdir, isatty, stat). We do not currently
1985 // Stat(), RmDir(), and IsDir() are not needed on Windows CE at this
1989 inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); }
1998 typedef struct stat StatStruct;
2002 inline int Stat(const char* path, StatStruct* buf) { return stat(path, buf); }
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/windows/
objidl.d 588 HRESULT Stat(STATSTG*, DWORD);
757 HRESULT Stat(STATSTG*, DWORD);
804 HRESULT Stat(STATSTG*, DWORD);
844 HRESULT Stat(STATPROPSTG*);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_interface_ann.cc 54 StatInc(thr, Stat##typ); \
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
StackSafetyAnalysis.cpp 1009 auto CountParamAccesses = [&](auto &Stat) {
1015 Stat += FS->paramAccesses().size();

Completed in 36 milliseconds

1 2