Home
last modified time | relevance | path

Searched refs:FileSpec (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp68 FileSpec::FileSpec() : m_style(GetNativeStyle()) {} in FileSpec() function in FileSpec
228 bool FileSpec::DirectoryEquals(const FileSpec &rhs) const { in DirectoryEquals()
233 bool FileSpec::FileEquals(const FileSpec &rhs) const { in FileEquals()
239 bool FileSpec::operator==(const FileSpec &rhs) const { in operator ==()
247 bool FileSpec::operator<(const FileSpec &rhs) const { in operator <()
273 int FileSpec::Compare(const FileSpec &a, const FileSpec &b, bool full) { in Compare()
294 bool FileSpec::Equal(const FileSpec &a, const FileSpec &b, bool full) { in Equal()
301 bool FileSpec::Match(const FileSpec &pattern, const FileSpec &file) { in Match()
417 FileSpec
424 FileSpec FileSpec::CopyByRemovingLastPathComponent() const { in CopyByRemovingLastPathComponent()
[all …]
H A DFileSpecList.cpp23 void FileSpecList::Append(const FileSpec &file_spec) { in Append()
31 bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) { in AppendIfUnique()
41 bool SupportFileList::AppendIfUnique(const FileSpec &file_spec) { in AppendIfUnique()
79 const FileSpec &ith = get_ith(idx); in FindFileIndex()
86 if (FileSpec::Equal(ith, file_spec, full)) in FindFileIndex()
103 const FileSpec &file_spec, in FindFileIndex()
106 [&](size_t idx) -> const FileSpec & { in FindFileIndex()
124 const FileSpec &curr_file = m_files[idx]->GetSpecOnly(); in FindCompatibleIndex()
133 if (FileSpec::Equal(curr_file, file_spec, full)) { in FindCompatibleIndex()
168 static FileSpec g_empty_file_spec; in GetFileSpecAtIndex()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostInfoBase.h28 class FileSpec; variable
91 static FileSpec GetShlibDir();
95 static FileSpec GetSupportExeDir();
99 static FileSpec GetHeaderDir();
103 static FileSpec GetSystemPluginDir();
107 static FileSpec GetUserPluginDir();
112 static FileSpec GetProcessTempDir();
117 static FileSpec GetGlobalTempDir();
127 static FileSpec GetXcodeContentsDirectory() { return {}; } in GetXcodeContentsDirectory()
128 static FileSpec GetXcodeDeveloperDirectory() { return {}; } in GetXcodeDeveloperDirectory()
[all …]
H A DFileSystem.h56 Status Symlink(const FileSpec &src, const FileSpec &dst);
57 Status Readlink(const FileSpec &src, FileSpec &dst);
59 Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
111 bool Exists(const FileSpec &file_spec) const;
117 bool Readable(const FileSpec &file_spec) const;
123 bool IsDirectory(const FileSpec &file_spec) const;
129 bool IsLocal(const FileSpec &file_spec) const;
142 void Resolve(FileSpec &file_spec);
149 Status RemoveFile(const FileSpec &file_spec);
170 bool ResolveExecutableLocation(FileSpec &file_spec);
[all …]
H A DProcessLaunchInfo.h34 ProcessLaunchInfo(const FileSpec &stdin_file_spec,
35 const FileSpec &stdout_file_spec,
36 const FileSpec &stderr_file_spec,
37 const FileSpec &working_dir, uint32_t launch_flags);
47 bool AppendOpenFileAction(int fd, const FileSpec &file_spec, bool read,
67 const FileSpec &GetWorkingDirectory() const;
69 void SetWorkingDirectory(const FileSpec &working_dir);
75 const FileSpec &GetShell() const;
77 void SetShell(const FileSpec &shell);
134 FileSpec m_working_dir;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFileSpec.h56 class FileSpec {
60 FileSpec();
79 bool DirectoryEquals(const FileSpec &other) const;
81 bool FileEquals(const FileSpec &other) const;
94 bool operator==(const FileSpec &rhs) const;
107 bool operator!=(const FileSpec &rhs) const;
120 bool operator<(const FileSpec &rhs) const;
183 static int Compare(const FileSpec &lhs, const FileSpec &rhs, bool full);
185 static bool Equal(const FileSpec &a, const FileSpec &b, bool full);
191 static bool Match(const FileSpec &pattern, const FileSpec &file);
[all …]
H A DFileSpecList.h34 void Append(const FileSpec &file) { in Append()
41 bool AppendIfUnique(const FileSpec &file);
43 const FileSpec &GetFileSpecAtIndex(size_t idx) const;
45 size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const;
70 size_t FindCompatibleIndex(size_t idx, const FileSpec &file) const;
87 typedef std::vector<FileSpec> collection;
127 void Append(const FileSpec &file);
139 bool AppendIfUnique(const FileSpec &file);
191 const FileSpec &GetFileSpecAtIndex(size_t idx) const;
211 bool Insert(size_t idx, const FileSpec &file) { in Insert()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp55 FileSpec m_lldb_so_dir;
57 FileSpec m_lldb_support_exe_dir;
59 FileSpec m_lldb_headers_dir;
61 FileSpec m_lldb_clang_resource_dir;
63 FileSpec m_lldb_system_plugin_dir;
65 FileSpec m_lldb_user_plugin_dir;
67 FileSpec m_lldb_process_tmp_dir;
69 FileSpec m_lldb_global_tmp_dir;
120 FileSpec HostInfoBase::GetShlibDir() { in GetShlibDir()
269 FileSpec temp_file_spec; in ComputeProcessTempFileDirectory()
[all …]
H A DFileSystem.cpp73 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus()
115 uint32_t FileSystem::GetPermissions(const FileSpec &file_spec, in GetPermissions()
139 bool FileSystem::Exists(const FileSpec &file_spec) const { in Exists()
147 bool FileSystem::Readable(const FileSpec &file_spec) const { in Readable()
158 bool FileSystem::IsDirectory(const FileSpec &file_spec) const { in IsDirectory()
168 bool FileSystem::IsLocal(const FileSpec &file_spec) const { in IsLocal()
214 FileSpec new_file_spec(path, file_spec.GetPathStyle()); in MakeAbsolute()
246 void FileSystem::Resolve(FileSpec &file_spec) { in Resolve()
343 FileSpec result(*error_or_path); in ResolveExecutableLocation()
438 Expected<FileUP> FileSystem::Open(const FileSpec &file_spec, in Open()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h41 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
43 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
45 bool GetFileExists(const FileSpec &file_spec) override;
47 Status Unlink(const FileSpec &file_spec) override;
49 FileSpec GetRemoteWorkingDirectory() override;
51 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
55 Status GetFilePermissions(const FileSpec &file_spec,
58 Status SetFilePermissions(const FileSpec &file_spec,
61 bool CalculateMD5(const FileSpec &file_spec, uint64_t &low,
65 FileSpec &local_file) override;
[all …]
H A DPlatform.h52 FileSpec GetModuleCacheDirectory() const;
53 bool SetModuleCacheDirectory(const FileSpec &dir_spec);
189 FileSpec &sym_file);
505 FileSpec GetWorkingDirectory();
507 bool SetWorkingDirectory(const FileSpec &working_dir);
544 virtual Status GetFile(const FileSpec &source, const FileSpec &destination);
546 virtual Status PutFile(const FileSpec &source, const FileSpec &destination,
575 virtual Status Install(const FileSpec &src, const FileSpec &dst);
581 virtual Status Unlink(const FileSpec &file_spec);
760 virtual FileSpec LocateExecutable(const char *basename) { return FileSpec(); } in LocateExecutable()
[all …]
H A DModuleCache.h50 std::function<Status(const ModuleSpec &, const FileSpec &)>;
52 std::function<Status(const lldb::ModuleSP &, const FileSpec &)>;
54 Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname,
61 Status Put(const FileSpec &root_dir_spec, const char *hostname,
62 const ModuleSpec &module_spec, const FileSpec &tmp_file,
63 const FileSpec &target_file);
65 Status Get(const FileSpec &root_dir_spec, const char *hostname,
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp54 FileSpec m_file_spec;
61 static FileSpec JoinPath(const FileSpec &path1, const char *path2) { in JoinPath()
62 FileSpec result_spec(path1); in JoinPath()
67 static Status MakeDirectory(const FileSpec &dir_path) { in MakeDirectory()
73 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) { in GetModuleDirectory()
78 FileSpec GetSymbolFileSpec(const FileSpec &module_file_spec) { in GetSymbolFileSpec()
79 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
82 void DeleteExistingModule(const FileSpec &root_dir_spec, in DeleteExistingModule()
115 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule()
193 const FileSpec &target_file) { in Put()
[all …]
H A DRemoteAwarePlatform.cpp22 bool RemoteAwarePlatform::GetModuleSpec(const FileSpec &module_file_spec, in GetModuleSpec()
47 FileSpec::Style::native); in ResolveExecutable()
191 Status RemoteAwarePlatform::MakeDirectory(const FileSpec &file_spec, in MakeDirectory()
214 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec, in OpenFile()
250 Status RemoteAwarePlatform::CreateSymlink(const FileSpec &src, in CreateSymlink()
251 const FileSpec &dst) { in CreateSymlink()
257 bool RemoteAwarePlatform::GetFileExists(const FileSpec &file_spec) { in GetFileExists()
263 Status RemoteAwarePlatform::Unlink(const FileSpec &file_spec) { in Unlink()
276 FileSpec RemoteAwarePlatform::GetRemoteWorkingDirectory() { in GetRemoteWorkingDirectory()
283 const FileSpec &working_dir) { in SetRemoteWorkingDirectory()
[all …]
H A DPlatform.cpp412 const FileSpec &dst;
421 FileSpec src(path); in RecurseCopy_Callback()
449 FileSpec recurse_dst; in RecurseCopy_Callback()
468 FileSpec src_resolved; in RecurseCopy_Callback()
506 Status Platform::Install(const FileSpec &src, const FileSpec &dst) { in Install()
512 FileSpec fixed_dst(dst); in Install()
1184 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination, in PutFile()
1244 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) { in GetFile()
1286 const FileSpec & in RunShellCommand()
1302 const FileSpec & in RunShellCommand()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h40 File(const FileSpec &file_spec, lldb::TargetSP target_sp);
41 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
59 const FileSpec &GetFileSpec() { return m_file_spec; } in GetFileSpec()
73 void SetFileSpec(FileSpec file_spec);
113 void AddSourceFile(const FileSpec &file_spec, FileSP file_sp);
116 FileSP FindSourceFile(const FileSpec &file_spec) const;
124 void AddSourceFileImpl(const FileSpec &file_spec, FileSP file_sp);
126 typedef std::map<FileSpec, FileSP> FileCache;
162 bool GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line);
172 FileSP GetFile(const FileSpec &file_spec);
[all …]
H A DModuleSpec.h49 const FileSpec *GetFileSpecPtr() const { in GetFileSpecPtr()
53 FileSpec &GetFileSpec() { return m_file; } in GetFileSpec()
55 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec()
57 FileSpec *GetPlatformFileSpecPtr() { in GetPlatformFileSpecPtr()
61 const FileSpec *GetPlatformFileSpecPtr() const { in GetPlatformFileSpecPtr()
69 FileSpec *GetSymbolFileSpecPtr() { in GetSymbolFileSpecPtr()
73 const FileSpec *GetSymbolFileSpecPtr() const { in GetSymbolFileSpecPtr()
77 FileSpec &GetSymbolFileSpec() { return m_symbol_file; } in GetSymbolFileSpec()
262 FileSpec m_file;
263 FileSpec m_platform_file;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleSaver.cpp70 static Expected<FileSpec>
72 const FileSpec &directory) { in SaveTraceBundleDescription()
73 FileSpec trace_path = directory; in SaveTraceBundleDescription()
102 FileSpec threads_dir = directory; in BuildThreadsSection()
115 FileSpec output_file = threads_dir; in BuildThreadsSection()
137 static Expected<std::optional<FileSpec>>
140 FileSpec output_context_switch_trace = cpus_dir; in WriteContextSwitchTrace()
180 FileSpec output_trace = cpus_dir; in WriteIntelPTTrace()
199 FileSpec cpus_dir = directory; in BuildCpusSection()
215 if (Expected<FileSpec> ipt_trace_path = in BuildCpusSection()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueFileSpec.h24 OptionValueFileSpec(const FileSpec &value, bool resolve = true);
26 OptionValueFileSpec(const FileSpec &current_value,
27 const FileSpec &default_value, bool resolve = true);
58 FileSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
60 const FileSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
62 const FileSpec &GetDefaultValue() const { return m_default_value; } in GetDefaultValue()
64 void SetCurrentValue(const FileSpec &value, bool set_value_was_set) { in SetCurrentValue()
71 void SetDefaultValue(const FileSpec &value) { m_default_value = value; } in SetDefaultValue()
78 FileSpec m_current_value;
79 FileSpec m_default_value;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h49 FileSpec &local_file) override;
86 FileSpec GetRemoteWorkingDirectory() override;
88 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
102 Status MakeDirectory(const FileSpec &file_spec,
105 Status GetFilePermissions(const FileSpec &file_spec,
108 Status SetFilePermissions(const FileSpec &file_spec,
122 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
127 Status PutFile(const FileSpec &source, const FileSpec &destination,
130 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
132 bool GetFileExists(const FileSpec &file_spec) override;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp26 SBFileSpec::SBFileSpec() : m_opaque_up(new lldb_private::FileSpec()) { in SBFileSpec()
36 SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec) in SBFileSpec()
37 : m_opaque_up(new lldb_private::FileSpec(fspec)) {} in SBFileSpec()
40 SBFileSpec::SBFileSpec(const char *path) : m_opaque_up(new FileSpec(path)) { in SBFileSpec()
47 : m_opaque_up(new FileSpec(path)) { in SBFileSpec()
117 FileSpec directory{*m_opaque_up}; in GetDirectory()
150 const lldb_private::FileSpec *SBFileSpec::operator->() const { in operator ->()
154 const lldb_private::FileSpec *SBFileSpec::get() const { in get()
158 const lldb_private::FileSpec &SBFileSpec::operator*() const { in operator *()
162 const lldb_private::FileSpec &SBFileSpec::ref() const { return *m_opaque_up; } in ref()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
51 dst.SetFile(buf, FileSpec::Style::native); in Readlink()
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
70 dst = FileSpec(real_path); in ResolveSymbolicLink()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/API/
H A DSBFileSpec.h82 SBFileSpec(const lldb_private::FileSpec &fspec);
84 void SetFileSpec(const lldb_private::FileSpec &fspec);
86 const lldb_private::FileSpec *operator->() const;
88 const lldb_private::FileSpec *get() const;
90 const lldb_private::FileSpec &operator*() const;
92 const lldb_private::FileSpec &ref() const;
94 std::unique_ptr<lldb_private::FileSpec> m_opaque_up;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp151 FileSpec dsym_filespec(path); in LocateExecutableObjectFile()
233 FileSpec exec_filespec(path); in LocateExecutableObjectFile()
254 FileSpec file_spec(path); in LocateExecutableObjectFile()
345 FileSpec dsym_fspec(Iter->path()); in FindSymbolFileInBundle()
398 FileSpec dsym_directory = exec_fspec; in LookForDsymNextToExecutablePath()
440 FileSpec dsym_yaa_fspec = exec_fspec; in LookForDsymNextToExecutablePath()
484 FileSpec parent_dirs = exec_fspec; in LocateDSYMInVincinityOfExecutable()
593 FileSpec dsym_filespec(path); in LocateMacOSXFilesUsingDebugSymbols()
675 FileSpec exec_filespec(path); in LocateMacOSXFilesUsingDebugSymbols()
696 FileSpec file_spec(path); in LocateMacOSXFilesUsingDebugSymbols()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp71 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
93 std::optional<FileSpec> SymbolLocatorDefault::LocateExecutableSymbolFile( in LocateExecutableSymbolFile()
96 FileSpec symbol_file_spec = module_spec.GetSymbolFileSpec(); in LocateExecutableSymbolFile()
108 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile()
115 FileSpec file_spec(file_dir.AsCString(".")); in LocateExecutableSymbolFile()
124 FileSpec file_spec("."); in LocateExecutableSymbolFile()
133 FileSpec file_spec("/usr/libdata/debug"); in LocateExecutableSymbolFile()
140 FileSpec file_spec("/usr/lib/debug"); in LocateExecutableSymbolFile()
162 FileSpec dirspec = debug_file_search_paths.GetFileSpecAtIndex(idx); in LocateExecutableSymbolFile()
188 FileSpec file_spec(filename); in LocateExecutableSymbolFile()

12345678910>>...12