Lines Matching refs:Style

39   using llvm::sys::path::Style;
41 inline Style real_style(Style style) { in real_style()
42 if (style != Style::native) in real_style()
45 return Style::posix; in real_style()
46 return LLVM_WINDOWS_PREFER_FORWARD_SLASH ? Style::windows_slash in real_style()
47 : Style::windows_backslash; in real_style()
50 inline const char *separators(Style style) { in separators()
56 inline char preferred_separator(Style style) { in preferred_separator()
57 if (real_style(style) == Style::windows) in preferred_separator()
62 StringRef find_first_component(StringRef path, Style style) { in find_first_component()
98 size_t filename_pos(StringRef str, Style style) { in filename_pos()
117 size_t root_dir_start(StringRef str, Style style) { in root_dir_start()
140 size_t parent_path_end(StringRef path, Style style) { in parent_path_end()
227 const_iterator begin(StringRef path, Style style) { in begin()
298 reverse_iterator rbegin(StringRef Path, Style style) { in rbegin()
349 StringRef root_path(StringRef path, Style style) { in root_path()
374 StringRef root_name(StringRef path, Style style) { in root_name()
391 StringRef root_directory(StringRef path, Style style) { in root_directory()
414 StringRef relative_path(StringRef path, Style style) { in relative_path()
419 void append(SmallVectorImpl<char> &path, Style style, const Twine &a, in append()
459 append(path, Style::native, a, b, c, d); in append()
463 const_iterator end, Style style) { in append()
468 StringRef parent_path(StringRef path, Style style) { in parent_path()
475 void remove_filename(SmallVectorImpl<char> &path, Style style) { in remove_filename()
482 Style style) { in replace_extension()
501 Style style = Style::native) { in starts_with()
520 StringRef NewPrefix, Style style) { in replace_path_prefix()
541 void native(const Twine &path, SmallVectorImpl<char> &result, Style style) { in native()
551 void native(SmallVectorImpl<char> &Path, Style style) { in native()
569 std::string convert_to_slash(StringRef path, Style style) { in convert_to_slash()
578 StringRef filename(StringRef path, Style style) { return *rbegin(path, style); } in filename()
580 StringRef stem(StringRef path, Style style) { in stem()
591 StringRef extension(StringRef path, Style style) { in extension()
602 bool is_separator(char value, Style style) { in is_separator()
610 StringRef get_separator(Style style) { in get_separator()
611 if (real_style(style) == Style::windows) in get_separator()
616 bool has_root_name(const Twine &path, Style style) { in has_root_name()
623 bool has_root_directory(const Twine &path, Style style) { in has_root_directory()
630 bool has_root_path(const Twine &path, Style style) { in has_root_path()
637 bool has_relative_path(const Twine &path, Style style) { in has_relative_path()
644 bool has_filename(const Twine &path, Style style) { in has_filename()
651 bool has_parent_path(const Twine &path, Style style) { in has_parent_path()
658 bool has_stem(const Twine &path, Style style) { in has_stem()
665 bool has_extension(const Twine &path, Style style) { in has_extension()
672 bool is_absolute(const Twine &path, Style style) { in is_absolute()
682 bool is_absolute_gnu(const Twine &path, Style style) { in is_absolute_gnu()
700 bool is_relative(const Twine &path, Style style) { in is_relative()
704 StringRef remove_leading_dotslash(StringRef Path, Style style) { in remove_leading_dotslash()
717 Style style) { in remove_dots()
848 assert(P.find_first_of(separators(Style::native)) == StringRef::npos && in createTemporaryFile()
915 if ((rootName || is_style_posix(Style::native)) && rootDirectory) in make_absolute()