| /llvm-project-15.0.7/llvm/utils/docker/scripts/llvm_checksum/ |
| H A D | llvm_checksum.py | 86 def read_and_collapse_svn_subsitutions(file_path): argument 87 with open(file_path, "rb") as f: 106 def add_file_hash(file_path): argument 107 if os.path.islink(file_path) and not os.path.exists(file_path): 108 content = os.readlink(file_path) 110 content = read_and_collapse_svn_subsitutions(file_path) 114 logging.debug("Checksum %s for file %s", file_digest, file_path) 115 files.append((file_path, file_digest)) 123 for file_path, file_digest in files: 124 file_path = os.path.relpath(file_path, project_root) [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_coverage_libcdep_new.cpp | 52 fd_t fd = OpenFile(file_path); in WriteModuleCoverage() 56 Printf("SanitizerCoverage: %s: %zd PCs written\n", file_path, len); in WriteModuleCoverage() 101 InternalFree(file_path); in SanitizerDumpCoverage() 169 const char* file_path = common_flags()->cov_8bit_counters_out; in DumpCoverage() local 170 if (file_path && internal_strlen(file_path)) { in DumpCoverage() 171 fd_t fd = OpenFile(file_path); in DumpCoverage() 177 size, file_path); in DumpCoverage() 179 file_path = common_flags()->cov_pcs_out; in DumpCoverage() 180 if (file_path && internal_strlen(file_path)) { in DumpCoverage() 181 fd_t fd = OpenFile(file_path); in DumpCoverage() [all …]
|
| H A D | sanitizer_suppressions.cpp | 34 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, in GetPathAssumingFileIsRelativeToExec() argument 43 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec() 50 static const char *FindFile(const char *file_path, in FindFile() argument 55 if (!FileExists(file_path) && !IsAbsolutePath(file_path) && in FindFile() 56 GetPathAssumingFileIsRelativeToExec(file_path, new_file_path, in FindFile() 60 return file_path; in FindFile() 63 static const char *FindFile(const char *file_path, char *, uptr) { in FindFile() argument 64 return file_path; in FindFile()
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/ |
| H A D | dump_oplib.py | 54 def load_module_from_file(module_name, file_path): argument 55 spec = importlib.util.spec_from_file_location(module_name, file_path) 69 for i, file_path in enumerate(args.file or []): 70 modules.append(load_module_from_file(f"_mlir_eval_oplib{i}", file_path))
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBDeclaration.cpp | 153 char file_path[PATH_MAX * 2]; in GetDescription() local 154 m_opaque_up->GetFile().GetPath(file_path, sizeof(file_path)); in GetDescription() 155 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
|
| H A D | SBLineEntry.cpp | 170 char file_path[PATH_MAX * 2]; in GetDescription() local 171 m_opaque_up->file.GetPath(file_path, sizeof(file_path)); in GetDescription() 172 strm.Printf("%s:%u", file_path, GetLine()); in GetDescription()
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | generate_formatted_state.py | 115 file_path = os.path.join(root, filename) variable 116 ext = os.path.splitext(file_path)[-1].lower() 122 args = ["clang-format", "-n", file_path] 126 relpath = os.path.relpath(file_path, TOP_DIR)
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/builtin_commands/ |
| H A D | diff.py | 107 def printDirVsFile(dir_path, file_path): argument 108 if os.path.getsize(file_path): 112 sys.stdout.write(msg % (dir_path, file_path) + "\n") 114 def printFileVsDir(file_path, dir_path): argument 115 if os.path.getsize(file_path): 119 sys.stdout.write(msg % (file_path, dir_path) + "\n")
|
| /llvm-project-15.0.7/clang/utils/analyzer/ |
| H A D | SATestBenchmark.py | 25 def _save(data: pd.DataFrame, file_path: str): 26 data.to_csv(file_path, index_label=INDEX_COLUMN) 29 def _load(file_path: str) -> pd.DataFrame: 30 return pd.read_csv(file_path, index_col=INDEX_COLUMN)
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | TextDiagnosticTest.cpp | 47 const llvm::StringRef file_path = "main.cpp"; in TEST() local 50 file_path, in TEST() 57 std::move(buffer), file_path, /*RequiresNullTerminator=*/false); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/ObjCPlusPlus/ |
| H A D | ObjCPlusPlusLanguage.cpp | 19 bool ObjCPlusPlusLanguage::IsSourceFile(llvm::StringRef file_path) const { in LLDB_PLUGIN_DEFINE() 22 if (file_path.endswith_insensitive(suffix)) in LLDB_PLUGIN_DEFINE()
|
| H A D | ObjCPlusPlusLanguage.h | 32 bool IsSourceFile(llvm::StringRef file_path) const override;
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | LocateSymbolFileMacOSX.cpp | 585 char file_path[PATH_MAX]; in DownloadObjectAndSymbolFile() local 586 file_path[0] = '\0'; in DownloadObjectAndSymbolFile() 592 file_spec_ptr->GetPath(file_path, sizeof(file_path)); in DownloadObjectAndSymbolFile() 598 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile() 600 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile() 611 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile() 613 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile() 672 else if (file_path[0] != '\0') in DownloadObjectAndSymbolFile() 674 g_dsym_for_uuid_exe_path, file_path); in DownloadObjectAndSymbolFile()
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
| H A D | TestToolBase.py | 118 file_path = os.path.normcase(os.path.join(subdir, f)) 120 options.source_files.append(file_path) 122 options.source_files.append(file_path) 124 options.test_files.append(file_path)
|
| /llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DYLDRendezvous.cpp | 510 static bool isLoadBiasIncorrect(Target &target, const std::string &file_path) { in isLoadBiasIncorrect() argument 516 (file_path == "/system/bin/linker" || in isLoadBiasIncorrect() 517 file_path == "/system/bin/linker64"); in isLoadBiasIncorrect() 521 std::string const &file_path) { in UpdateBaseAddrIfNecessary() argument 524 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { in UpdateBaseAddrIfNecessary() 581 std::string file_path = ReadStringFromMemory(entry.path_addr); in ReadSOEntryFromMemory() local 582 entry.file_spec.SetFile(file_path, FileSpec::Style::native); in ReadSOEntryFromMemory() 584 UpdateBaseAddrIfNecessary(entry, file_path); in ReadSOEntryFromMemory()
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | Test.py | 222 def __init__(self, suite, path_in_suite, config, file_path = None, gtest_json_file = None): argument 226 self.file_path = file_path 295 if self.file_path: 296 return self.file_path
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Language.cpp | 78 Language *Language::FindPlugin(llvm::StringRef file_path) { in FindPlugin() argument 80 ForEach([&result, file_path](Language *language) { in FindPlugin() 81 if (language->IsSourceFile(file_path)) { in FindPlugin() 91 llvm::StringRef file_path) { in FindPlugin() argument 96 result = FindPlugin(file_path); in FindPlugin()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectSession.cpp | 41 llvm::StringRef file_path; in DoExecute() local 44 file_path = args[0].ref(); in DoExecute() 46 if (m_interpreter.SaveTranscript(result, file_path.str())) in DoExecute()
|
| /llvm-project-15.0.7/lldb/test/API/commands/statistics/basic/ |
| H A D | TestStats.py | 266 target = self.createTestTarget(file_path=exe) 319 target = self.createTestTarget(file_path=exe) 470 target = self.createTestTarget(file_path=exe) 519 target = self.createTestTarget(file_path=exe)
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/formats/ |
| H A D | googletest.py | 80 file_path=execpath, 95 file_path=execpath) 252 test.config, test.file_path) 256 test.file_path, testname)
|
| /llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClientTest.cpp | 190 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])"); in TEST_F() 215 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])"); in TEST_F() 235 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F() 238 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F() 241 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F() 247 R"("file_path":"/foo/bar.so","file_size":1234}]])", in TEST_F() 250 R"("file_path":"/foo/bar.so","file_offset":0}]])", in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/ |
| H A D | gen-static-analyzer-docs.py | 136 file_path = parse_arguments() 137 checkers = get_checkers(file_path)
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Language.h | 153 static Language *FindPlugin(llvm::StringRef file_path); 156 llvm::StringRef file_path); 165 virtual bool IsSourceFile(llvm::StringRef file_path) const = 0;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/ |
| H A D | MarshallingTests.cpp | 103 EXPECT_EQ(Serialized->location().file_path(), in TEST() 162 EXPECT_EQ(convert_to_slash(Serialized->definition().file_path(), in TEST() 164 Serialized->definition().file_path()); in TEST() 166 llvm::sys::path::is_relative(Serialized->definition().file_path())); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/scripts/ |
| H A D | asan_symbolize.py | 551 def _load_plugin_from_file_impl_py_gt_2(self, file_path, globals_space): argument 552 with open(file_path, 'r') as f: 555 def load_plugin_from_file(self, file_path): argument 556 logging.info('Loading plugins from "{}"'.format(file_path)) 564 execfile(file_path, globals_space, None) 568 self._load_plugin_from_file_impl_py_gt_2(file_path, globals_space)
|