Home
last modified time | relevance | path

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

1234567891011

/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DFileSpec.cpp69 FileSpec::FileSpec() : m_style(GetNativeStyle()) {} in FileSpec() function in FileSpec
84 FileSpec::FileSpec(const FileSpec &rhs) in FileSpec() function in FileSpec
91 FileSpec::FileSpec(const FileSpec *rhs) : m_directory(), m_filename() { in FileSpec() function in FileSpec
99 FileSpec::~FileSpec() {} in ~FileSpec()
198 const FileSpec &FileSpec::operator=(const FileSpec &rhs) { in operator =()
280 bool FileSpec::FileEquals(const FileSpec &rhs) const { in FileEquals()
288 bool FileSpec::operator==(const FileSpec &rhs) const { in operator ==()
300 bool FileSpec::operator<(const FileSpec &rhs) const { in operator <()
331 int FileSpec::Compare(const FileSpec &a, const FileSpec &b, bool full) { in Compare()
352 bool FileSpec::Equal(const FileSpec &a, const FileSpec &b, bool full) { in Equal()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DFileSpec.h58 class FileSpec {
62 FileSpec();
91 FileSpec(const FileSpec &rhs);
102 FileSpec(const FileSpec *rhs);
107 ~FileSpec();
124 const FileSpec &operator=(const FileSpec &rhs);
139 bool operator==(const FileSpec &rhs) const;
154 bool operator!=(const FileSpec &rhs) const;
169 bool operator<(const FileSpec &rhs) const;
242 static int Compare(const FileSpec &lhs, const FileSpec &rhs, bool full);
[all …]
H A DReproducer.h52 const FileSpec &GetRoot() const { return m_root; } in GetRoot()
69 ProviderBase(const FileSpec &root) : m_root(root) {} in ProviderBase()
75 FileSpec m_root;
96 Generator(const FileSpec &root);
130 const FileSpec &GetRoot() const;
145 FileSpec m_root;
153 Loader(const FileSpec &root);
158 const FileSpec &GetRoot() const { return m_root; } in GetRoot()
162 FileSpec m_root;
183 FileSpec GetReproducerPath() const;
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DHostInfoBase.h25 class FileSpec; variable
68 static FileSpec GetShlibDir();
72 static FileSpec GetSupportExeDir();
76 static FileSpec GetHeaderDir();
80 static FileSpec GetSystemPluginDir();
84 static FileSpec GetUserPluginDir();
89 static FileSpec GetProcessTempDir();
94 static FileSpec GetGlobalTempDir();
105 static bool ComputeSupportExeDirectory(FileSpec &file_spec);
109 static bool ComputeHeaderDirectory(FileSpec &file_spec);
[all …]
H A DFileSystem.h46 Status Symlink(const FileSpec &src, const FileSpec &dst);
47 Status Readlink(const FileSpec &src, FileSpec &dst);
49 Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
82 uint64_t GetByteSize(const FileSpec &file_spec) const;
99 bool Exists(const FileSpec &file_spec) const;
105 bool Readable(const FileSpec &file_spec) const;
111 bool IsDirectory(const FileSpec &file_spec) const;
117 bool IsLocal(const FileSpec &file_spec) const;
124 std::error_code MakeAbsolute(FileSpec &file_spec) const;
130 void Resolve(FileSpec &file_spec);
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DHostInfoBase.cpp58 FileSpec m_lldb_so_dir;
59 FileSpec m_lldb_support_exe_dir;
60 FileSpec m_lldb_headers_dir;
61 FileSpec m_lldb_clang_resource_dir;
62 FileSpec m_lldb_system_plugin_dir;
63 FileSpec m_lldb_user_plugin_dir;
64 FileSpec m_lldb_process_tmp_dir;
65 FileSpec m_lldb_global_tmp_dir;
113 FileSpec HostInfoBase::GetShlibDir() { in GetShlibDir()
243 FileSpec temp_file_spec; in ComputeProcessTempFileDirectory()
[all …]
H A DSymbols.cpp79 FileSpec dsym_directory = exec_fspec; in LookForDsymNextToExecutablePath()
121 FileSpec dsym_yaa_fspec = exec_fspec; in LookForDsymNextToExecutablePath()
162 FileSpec parent_dirs = exec_fspec; in LocateDSYMInVincinityOfExecutable()
214 FileSpec symbol_fspec; in LocateExecutableSymbolFileDsym()
270 FileSpec file_spec(file_dir.AsCString(".")); in LocateExecutableSymbolFile()
279 FileSpec file_spec("."); in LocateExecutableSymbolFile()
288 FileSpec file_spec("/usr/libdata/debug"); in LocateExecutableSymbolFile()
295 FileSpec file_spec("/usr/lib/debug"); in LocateExecutableSymbolFile()
337 FileSpec file_spec(filename); in LocateExecutableSymbolFile()
370 FileSpec Symbols::FindSymbolFileInBundle(const FileSpec &symfile_bundle, in FindSymbolFileInBundle()
[all …]
H A DFileSystem.cpp77 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus()
86 FileSystem::GetModificationTime(const FileSpec &file_spec) const { in GetModificationTime()
97 uint64_t FileSystem::GetByteSize(const FileSpec &file_spec) const { in GetByteSize()
112 uint32_t FileSystem::GetPermissions(const FileSpec &file_spec, in GetPermissions()
134 bool FileSystem::Exists(const FileSpec &file_spec) const { in Exists()
142 bool FileSystem::Readable(const FileSpec &file_spec) const { in Readable()
153 bool FileSystem::IsDirectory(const FileSpec &file_spec) const { in IsDirectory()
163 bool FileSystem::IsLocal(const FileSpec &file_spec) const { in IsLocal()
209 FileSpec new_file_spec(path, file_spec.GetPathStyle()); in MakeAbsolute()
237 void FileSystem::Resolve(FileSpec &file_spec) { in Resolve()
[all …]
/freebsd-12.1/contrib/llvm/tools/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()
116 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule()
190 const FileSpec &target_file) { in Put()
[all …]
H A DPlatform.cpp549 const FileSpec &dst;
558 FileSpec src(path); in RecurseCopy_Callback()
585 FileSpec recurse_dst; in RecurseCopy_Callback()
604 FileSpec src_resolved; in RecurseCopy_Callback()
642 Status Platform::Install(const FileSpec &src, const FileSpec &dst) { in Install()
649 FileSpec fixed_dst(dst); in Install()
735 FileSpec src_resolved; in Install()
1267 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination, in PutFile()
1329 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) { in GetFile()
1367 const FileSpec & in RunShellCommand()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.h29 bool GetModuleSpec(const lldb_private::FileSpec &module_file_spec,
47 lldb::user_id_t OpenFile(const lldb_private::FileSpec &file_spec,
62 CreateSymlink(const lldb_private::FileSpec &src,
63 const lldb_private::FileSpec &dst) override;
66 GetFile(const lldb_private::FileSpec &source,
67 const lldb_private::FileSpec &destination) override;
69 lldb_private::FileSpec GetRemoteWorkingDirectory() override;
105 GetFileWithUUID(const lldb_private::FileSpec &platform_file,
107 lldb_private::FileSpec &local_file) override;
118 GetFilePermissions(const lldb_private::FileSpec &file_spec,
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DPlatform.h45 FileSpec GetModuleCacheDirectory() const;
46 bool SetModuleCacheDirectory(const FileSpec &dir_spec);
207 FileSpec &sym_file);
538 FileSpec GetWorkingDirectory();
540 bool SetWorkingDirectory(const FileSpec &working_dir);
587 virtual Status GetFile(const FileSpec &source, const FileSpec &destination);
589 virtual Status PutFile(const FileSpec &source, const FileSpec &destination,
620 virtual Status Install(const FileSpec &src, const FileSpec &dst);
626 virtual Status Unlink(const FileSpec &file_spec);
784 virtual FileSpec LocateExecutable(const char *basename) { return FileSpec(); } in LocateExecutable()
[all …]
H A DProcessLaunchInfo.h37 ProcessLaunchInfo(const FileSpec &stdin_file_spec,
38 const FileSpec &stdout_file_spec,
39 const FileSpec &stderr_file_spec,
40 const FileSpec &working_dir, uint32_t launch_flags);
50 bool AppendOpenFileAction(int fd, const FileSpec &file_spec, bool read,
70 const FileSpec &GetWorkingDirectory() const;
72 void SetWorkingDirectory(const FileSpec &working_dir);
78 const FileSpec &GetShell() const;
80 void SetShell(const FileSpec &shell);
154 FileSpec m_working_dir;
[all …]
H A DModuleCache.h53 std::function<Status(const ModuleSpec &, const FileSpec &)>;
55 std::function<Status(const lldb::ModuleSP &, const FileSpec &)>;
57 Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname,
64 Status Put(const FileSpec &root_dir_spec, const char *hostname,
65 const ModuleSpec &module_spec, const FileSpec &tmp_file,
66 const FileSpec &target_file);
68 Status Get(const FileSpec &root_dir_spec, const char *hostname,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h59 FileSpec &local_file) override;
96 FileSpec GetRemoteWorkingDirectory() override;
114 Status MakeDirectory(const FileSpec &file_spec,
117 Status GetFilePermissions(const FileSpec &file_spec,
120 Status SetFilePermissions(const FileSpec &file_spec,
123 lldb::user_id_t OpenFile(const FileSpec &file_spec, uint32_t flags,
134 lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
136 Status PutFile(const FileSpec &source, const FileSpec &destination,
139 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
141 bool GetFileExists(const FileSpec &file_spec) override;
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DSourceManager.h49 File(const FileSpec &file_spec, Target *target);
50 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
68 bool FileSpecMatches(const FileSpec &file_spec);
70 const FileSpec &GetFileSpec() { return m_file_spec; } in GetFileSpec()
101 void CommonInitializer(const FileSpec &file_spec, Target *target);
117 FileSP FindSourceFile(const FileSpec &file_spec) const;
120 typedef std::map<FileSpec, FileSP> FileCache;
140 DisplaySourceLinesWithLineNumbers(const FileSpec &file, uint32_t line,
155 bool SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line);
157 bool GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line);
[all …]
H A DModuleSpec.h72 const FileSpec *GetFileSpecPtr() const { in GetFileSpecPtr()
76 FileSpec &GetFileSpec() { return m_file; } in GetFileSpec()
78 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec()
80 FileSpec *GetPlatformFileSpecPtr() { in GetPlatformFileSpecPtr()
84 const FileSpec *GetPlatformFileSpecPtr() const { in GetPlatformFileSpecPtr()
92 FileSpec *GetSymbolFileSpecPtr() { in GetSymbolFileSpecPtr()
96 const FileSpec *GetSymbolFileSpecPtr() const { in GetSymbolFileSpecPtr()
257 if (!FileSpec::Equal(fspec, GetFileSpec(), in Matches()
289 FileSpec m_file;
290 FileSpec m_platform_file;
[all …]
H A DFileSpecList.h77 void Append(const FileSpec &file);
91 bool AppendIfUnique(const FileSpec &file);
125 size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const;
142 const FileSpec &GetFileSpecAtIndex(size_t idx) const;
157 const FileSpec *GetFileSpecPointerAtIndex(size_t idx) const;
183 bool Insert(size_t idx, const FileSpec &file) { in Insert()
194 bool Replace(size_t idx, const FileSpec &file) { in Replace()
214 typedef std::vector<FileSpec>
H A DModule.h152 const FileSpec &file_spec, const ArchSpec &arch,
349 size_t FindCompileUnits(const FileSpec &path, bool append,
436 const FileSpec &file, uint32_t line,
567 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec()
583 const FileSpec &GetPlatformFileSpec() const { in GetPlatformFileSpec()
591 const FileSpec &GetRemoteInstallFileSpec() const { in GetRemoteInstallFileSpec()
595 void SetRemoteInstallFileSpec(const FileSpec &file) { in SetRemoteInstallFileSpec()
603 void SetSymbolFileFileSpec(const FileSpec &file);
902 const FileSpec &file_spec, uint32_t line, bool check_inlines,
905 void SetFileSpecAndObjectName(const FileSpec &file,
[all …]
/freebsd-12.1/contrib/llvm/tools/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);
64 FileSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
66 const FileSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
68 const FileSpec &GetDefaultValue() const { return m_default_value; } in GetDefaultValue()
70 void SetCurrentValue(const FileSpec &value, bool set_value_was_set) { in SetCurrentValue()
77 void SetDefaultValue(const FileSpec &value) { m_default_value = value; } in SetDefaultValue()
84 FileSpec m_current_value;
85 FileSpec m_default_value;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp33 static bool ComputeClangDirectory(FileSpec &file_spec) { return false; } in ComputeClangDirectory()
35 static bool DefaultComputeClangDirectory(FileSpec &file_spec) { in DefaultComputeClangDirectory()
55 bool lldb_private::ComputeClangDirectory(FileSpec &lldb_shlib_spec, in ComputeClangDirectory()
87 file_spec.SetFile(clang_path.c_str(), FileSpec::Style::native); in ComputeClangDirectory()
102 file_spec.SetFile(clang_path.c_str(), FileSpec::Style::native); in ComputeClangDirectory()
115 file_spec.SetFile(raw_path.c_str(), FileSpec::Style::native); in ComputeClangDirectory()
120 static bool ComputeClangDirectory(FileSpec &file_spec) { in ComputeClangDirectory()
121 if (FileSpec lldb_file_spec = HostInfo::GetShlibDir()) in ComputeClangDirectory()
128 static bool ComputeClangDirectory(FileSpec &file_spec) { in ComputeClangDirectory()
134 FileSpec lldb_private::GetClangResourceDir() { in GetClangResourceDir()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBFileSpec.cpp26 SBFileSpec::SBFileSpec() : m_opaque_ap(new lldb_private::FileSpec()) {} in SBFileSpec()
29 : m_opaque_ap(new lldb_private::FileSpec(*rhs.m_opaque_ap)) {} in SBFileSpec()
31 SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec) in SBFileSpec()
32 : m_opaque_ap(new lldb_private::FileSpec(fspec)) {} in SBFileSpec()
35 SBFileSpec::SBFileSpec(const char *path) : m_opaque_ap(new FileSpec(path)) { in SBFileSpec()
40 : m_opaque_ap(new FileSpec(path)) { in SBFileSpec()
97 FileSpec directory{*m_opaque_ap}; in GetDirectory()
142 const lldb_private::FileSpec *SBFileSpec::operator->() const { in operator ->()
146 const lldb_private::FileSpec *SBFileSpec::get() const { in get()
150 const lldb_private::FileSpec &SBFileSpec::operator*() const { in operator *()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DFileSystem.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()
69 dst = FileSpec(real_path); in ResolveSymbolicLink()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.h49 const lldb_private::FileSpec &stdin_file_spec,
50 const lldb_private::FileSpec &stdout_file_spec,
51 const lldb_private::FileSpec &stderr_file_spec,
52 const lldb_private::FileSpec &working_dir,
219 const lldb_private::FileSpec &stdin_file_spec,
220 const lldb_private::FileSpec &stdout_file_spec,
221 const lldb_private::FileSpec &stderr_file_spec,
222 const lldb_private::FileSpec &working_dir);
230 const lldb_private::FileSpec
232 const lldb_private::FileSpec
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h172 int SetSTDIN(const FileSpec &file_spec);
173 int SetSTDOUT(const FileSpec &file_spec);
174 int SetSTDERR(const FileSpec &file_spec);
213 int SetWorkingDir(const FileSpec &working_dir);
225 bool GetWorkingDir(FileSpec &working_dir);
376 Status GetFilePermissions(const FileSpec &file_spec,
379 Status SetFilePermissions(const FileSpec &file_spec,
388 Status CreateSymlink(const FileSpec &src, const FileSpec &dst);
390 Status Unlink(const FileSpec &file_spec);
394 bool GetFileExists(const FileSpec &file_spec);
[all …]

1234567891011