Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 200) sorted by relevance

12345678

/llvm-project-15.0.7/flang/runtime/
H A Dstat.cpp14 const char *StatErrorString(int stat) { in StatErrorString() argument
15 switch (stat) { in StatErrorString()
68 int ToErrmsg(const Descriptor *errmsg, int stat) { in ToErrmsg() argument
69 if (stat != StatOk && errmsg && errmsg->raw().base_addr && in ToErrmsg()
72 if (const char *msg{StatErrorString(stat)}) { in ToErrmsg()
84 return stat; in ToErrmsg()
89 if (stat == StatOk || hasStat) { in ReturnError()
90 return ToErrmsg(errmsg, stat); in ReturnError()
91 } else if (const char *msg{StatErrorString(stat)}) { in ReturnError()
94 terminator.Crash("Invalid Fortran runtime STAT= code %d", stat); in ReturnError()
[all …]
H A Dcommand.cpp101 std::int32_t stat{StatOk}; in CheckAndCopyToDescriptor() local
107 return stat; in CheckAndCopyToDescriptor()
165 return stat == StatOk || (length && stat == StatValueTooShort); in RTNAME()
177 if (!shouldContinue(stat)) { in RTNAME()
178 return stat; in RTNAME()
184 if (!shouldContinue(stat)) { in RTNAME()
185 return stat; in RTNAME()
188 stat = CheckAndCopyToDescriptor( in RTNAME()
190 if (!shouldContinue(stat)) { in RTNAME()
191 return stat; in RTNAME()
[all …]
H A Dderived.cpp22 int stat{StatOk}; in Initialize() local
37 stat = ReturnError(terminator, allocDesc.Allocate(), errMsg, hasStat); in Initialize()
38 if (stat == StatOk) { in Initialize()
39 stat = Initialize(allocDesc, derived, terminator, hasStat, errMsg); in Initialize()
41 if (stat != StatOk) { in Initialize()
74 stat = Initialize(compDesc, compType, terminator, hasStat, errMsg); in Initialize()
75 if (stat != StatOk) { in Initialize()
93 return stat; in Initialize()
H A Dallocatable.cpp78 int stat{ReturnError(terminator, descriptor.Allocate(), errMsg, hasStat)}; in RTNAME() local
79 if (stat == StatOk) { in RTNAME()
83 stat = Initialize(descriptor, *derived, terminator, hasStat, errMsg); in RTNAME()
88 return stat; in RTNAME()
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dfuzzer-finalstats.test3 FINAL_STATS: stat::number_of_executed_units: 77
4 FINAL_STATS: stat::average_exec_per_sec: 0
5 FINAL_STATS: stat::new_units_added:
6 FINAL_STATS: stat::slowest_unit_time_sec: 0
7 FINAL_STATS: stat::peak_rss_mb:
10 FINAL_STATS1: stat::number_of_executed_units: 33
11 FINAL_STATS1: stat::peak_rss_mb:
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmember-pointer.cpp205 static void stat();
206 static void stat(int);
216 bind(&stat); // expected-error {{no matching function for call}} in test()
242 bindfn(&stat); in test()
243 bindfn(&A::stat); in test()
255 static void stat();
256 static void stat(int);
267 bind(&stat); in test0a()
268 bind(&B::stat); in test0a()
278 bind(&stat); // expected-error {{no matching function for call}} in test0b()
[all …]
H A Dwarn-tautological-undefined-compare.cpp41 static int &stat();
58 if (&B::stat() == 0) {} in test()
60 if (&(B::stat()) == 0) {} in test()
63 if (&B::stat() != 0) {} in test()
65 if (&(B::stat()) != 0) {} in test()
H A Dextern-c.cpp143 struct stat {}; // expected-warning{{empty struct has size 0 in C, size 1 in C++}} struct
144 void stat(struct stat);
148 void stat(struct ::stat);
151 int stat(int *p);
H A Dwarn-undefined-bool-conversion.cpp44 static int &stat();
58 if (&B::stat()) {} in test()
60 if (&(B::stat())) {} in test()
62 if (!&B::stat()) {} in test()
/llvm-project-15.0.7/polly/lib/External/isl/cpp/
H A Dcpp-checked.h.top37 * isl::checked::stat and isl::checked::size values are checked for errors.
114 class stat {
119 friend stat manage(isl_stat val);
120 stat(isl_stat val) : val(val) {}
122 static stat ok() {
123 return stat(isl_stat_ok);
125 static stat error() {
126 return stat(isl_stat_error);
128 stat() : val(isl_stat_error) {}
145 inline stat manage(isl_stat val)
[all …]
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassStatistics.cpp43 for (auto &stat : stats) { in printPassEntry() local
44 largestName = std::max(largestName, (size_t)strlen(stat.name)); in printPassEntry()
46 std::max(largestValue, (size_t)llvm::utostr(stat.value).size()); in printPassEntry()
50 for (auto &stat : stats) { in printPassEntry() local
52 stat.value, largestName, stat.name, in printPassEntry()
53 stat.desc); in printPassEntry()
132 for (Pass::Statistic *stat : pass->getStatistics()) in printResultsAsPipeline()
133 stats.push_back({stat->getName(), stat->getDesc(), stat->getValue()}); in printResultsAsPipeline()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DPassDocGen.cpp48 for (const PassStatistic &stat : stats) in emitDoc() local
49 longestStat = std::max(stat.getName().size(), longestStat); in emitDoc()
50 for (const PassStatistic &stat : stats) { in emitDoc() local
51 os << stat.getName(); in emitDoc()
52 os.indent(longestStat - stat.getName().size()) in emitDoc()
53 << " : " << stat.getDescription() << "\n"; in emitDoc()
H A DPassGen.cpp115 for (const PassStatistic &stat : pass.getStatistics()) { in emitPassStatisticDecls() local
118 stat.getCppVariableName(), stat.getName(), stat.getDescription()); in emitPassStatisticDecls()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp137 int stat(const char *path, struct stat *buf) { STAT(stat, path, buf); } in stat() function
139 int lstat(const char *path, struct stat *buf) { STAT(lstat, path, buf); } in lstat()
141 int fstat(int fd, struct stat *buf) { STAT(fstat, fd, buf); } in fstat()
144 int __xstat(int version, const char *path, struct stat *buf) { in __xstat()
145 STAT(stat, path, buf); in __xstat()
148 int __lxstat(int version, const char *path, struct stat *buf) { in __lxstat()
152 int __fxstat(int version, int fd, struct stat *buf) { STAT(fstat, fd, buf); } in __fxstat()
/llvm-project-15.0.7/lldb/examples/python/
H A Dperformance.py317 for (idx, stat) in enumerate(values):
319 if stat:
320 if stat[-1] == 'K':
322 stat = stat[:-1]
323 elif stat[-1] == 'M':
325 stat = stat[:-1]
326 elif stat[-1] == 'G':
328 elif stat[-1] == 'T':
330 stat = stat[:-1]
331 self.value[self.stats[idx]] = int(stat) * multiplier
/llvm-project-15.0.7/clang/tools/scan-build/bin/
H A Dset-xcode-analyzer17 import stat
55 os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH)
/llvm-project-15.0.7/polly/unittests/Isl/
H A DIslTest.cpp393 isl::stat Stat = in TEST()
397 return isl::stat::ok(); in TEST()
406 isl::stat Stat = in TEST()
418 isl::stat Stat = TestUMap.foreach_map([&](isl::map Map) -> isl::stat { in TEST()
421 return isl::stat::ok(); in TEST()
429 isl::stat Stat = TestUSet.foreach_set([&](isl::set Set) -> isl::stat { in TEST()
432 return isl::stat::ok(); in TEST()
441 isl::stat Stat = UPwAff.foreach_pw_aff([&](isl::pw_aff PwAff) -> isl::stat { in TEST()
444 return isl::stat::ok(); in TEST()
1153 isl::stat StatResult = in TEST()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp28 struct stat St; in IsFile()
29 if (stat(Path.c_str(), &St)) in IsFile()
35 struct stat St; in IsDirectory()
36 if (stat(Path.c_str(), &St)) in IsDirectory()
42 struct stat St; in FileSize()
43 if (stat(Path.c_str(), &St)) in FileSize()
/llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dutils.py3 import stat
32 mode = os.stat(fpath).st_mode
41 return bool(mode & (stat.S_IXUSR |
42 stat.S_IXGRP |
43 stat.S_IXOTH))
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp118 DECLARE__REAL_AND_INTERNAL64(uptr, stat, const char *path, void *buf) { in DECLARE__REAL_AND_INTERNAL64() argument
119 return _REAL64(stat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64()
123 return _REAL64(lstat)(path, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64()
127 return _REAL64(fstat)(fd, (struct stat *)buf); in DECLARE__REAL_AND_INTERNAL64()
131 struct stat st; in internal_filesize()
/llvm-project-15.0.7/flang/unittests/Runtime/
H A Dtools.h45 int stat{result->Allocate()};
46 EXPECT_EQ(stat, 0) << stat;
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Dstrmode.cpp9 struct stat st; in main()
12 if (stat("/etc/hosts", &st)) in main()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.cpp255 stat->addSample(((tick - startTime) - totalPauseTime).ticks()); in stop()
601 statistic const *stat = &theStats[s]; in printTimerStats() local
605 stat->format(tag, true).c_str()); in printTimerStats()
619 statistic const *stat = &theStats[s]; in printTimerStats() local
621 if (stat->getCount() != 0) { in printTimerStats()
636 statistic const *stat = &theStats[s]; in printCounterStats() local
638 stat->format(' ', true).c_str()); in printCounterStats()
644 statistic const *stat = &theStats[s]; in printCounterStats() local
646 if (stat->getCount() != 0) { in printCounterStats()
660 counter const *stat = &theCounters[c]; in printCounters() local
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Ddevname.cpp10 struct stat st; in main()
13 assert(!stat("/dev/null", &st)); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions-POSIX.c176 struct stat;
177 int fstat(int fd, struct stat *statbuf);
178 int stat(const char *restrict path, struct stat *restrict buf);
179 int lstat(const char *restrict path, struct stat *restrict buf);
180 int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag);

12345678