Home | History | Annotate | Download | only in common

Lines Matching refs:FileSpec

1 //===-- FileSpec.cpp --------------------------------------------*- C++ -*-===//
29 #include "lldb/Host/FileSpec.h"
41 GetFileStats (const FileSpec *file_spec, struct stat *stats_ptr)
76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len)
150 FileSpec::ResolvePartialUsername (const char *partial_name, StringList &matches)
185 FileSpec::Resolve (const char *src_path, char *dst_path, size_t dst_len)
222 FileSpec::FileSpec() :
232 FileSpec::FileSpec(const char *pathname, bool resolve_path) :
244 FileSpec::FileSpec(const FileSpec& rhs) :
254 FileSpec::FileSpec(const FileSpec* rhs) :
265 FileSpec::~FileSpec()
272 const FileSpec&
273 FileSpec::operator= (const FileSpec& rhs)
290 FileSpec::SetFile (const char *pathname, bool resolve)
303 path_fit = (FileSpec::Resolve (pathname, resolved_path, sizeof(resolved_path)) < sizeof(resolved_path) - 1);
351 // Convert to pointer operator. This allows code to check any FileSpec
357 FileSpec::operator bool() const
363 // Logical NOT operator. This allows code to check any FileSpec
370 FileSpec::operator!() const
379 FileSpec::operator== (const FileSpec& rhs) const
399 FileSpec resolved_lhs(*this);
415 FileSpec resolved_rhs(rhs);
441 FileSpec::operator!= (const FileSpec& rhs) const
450 FileSpec::operator< (const FileSpec& rhs) const
452 return FileSpec::Compare(*this, rhs, true) < 0;
456 // Dump a FileSpec object to a stream
459 lldb_private::operator << (Stream &s, const FileSpec& f)
470 FileSpec::Clear()
477 // Compare two FileSpec objects. If "full" is true, then both
480 // they are both non-empty. This allows a FileSpec object to only
481 // contain a filename and it can match FileSpec objects that have
488 FileSpec::Compare(const FileSpec& a, const FileSpec& b, bool full)
497 // in one of the FileSpec objects.
509 FileSpec::Equal (const FileSpec& a, const FileSpec& b, bool full)
525 FileSpec::Dump(Stream *s) const
541 FileSpec::Exists () const
548 FileSpec::ResolveExecutableLocation ()
572 FileSpec tmp_file (dir_ref.data(), false);
587 FileSpec::ResolvePath ()
601 FileSpec::GetByteSize() const
609 FileSpec::FileType
610 FileSpec::GetFileType () const
632 FileSpec::GetModificationTime () const
645 FileSpec::GetDirectory()
654 FileSpec::GetDirectory() const
663 FileSpec::GetFilename()
672 FileSpec::GetFilename() const
683 FileSpec::GetPath(char *path, size_t path_max_len) const
707 FileSpec::GetPath (void) const
725 FileSpec::GetFileNameExtension () const
738 FileSpec::GetFileNameStrippingExtension () const
763 FileSpec::MemoryMapFileContents(off_t file_offset, size_t file_size) const
783 FileSpec::MemorySize() const
790 FileSpec::ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const
827 FileSpec::ReadFileContents (off_t file_offset, size_t file_size, Error *error_ptr) const
852 FileSpec::ReadFileContentsAsCString(Error *error_ptr)
879 FileSpec::ReadFileLines (STLStringArray &lines)
897 FileSpec::EnumerateDirectoryResult
898 FileSpec::EnumerateDirectory
936 FileSpec::FileType file_type = eFileTypeUnknown;
961 FileSpec child_path_spec (child_path, false);
974 if (FileSpec::EnumerateDirectory (child_path,
1016 /// Returns true if the filespec represents an implementation source
1021 /// \b true if the filespec represents an implementation source
1025 FileSpec::IsSourceImplementationFile () const
1038 FileSpec::IsRelativeToCurrentWorkingDirectory () const