Home
last modified time | relevance | path

Searched refs:is_separator (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp37 using llvm::sys::path::is_separator;
79 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
80 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
87 if (is_separator(path[0], style)) in find_first_component()
98 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
108 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
119 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
124 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
125 !is_separator(str[2], style)) { in root_dir_start()
130 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
[all …]
H A DVirtualFileSystem.cpp2000 sys::path::is_separator(Trimmed.back(), path_style)) in parseEntry()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTildeExpressionResolver.cpp36 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolveExact()
46 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolvePartial()
85 Expr.take_until([](char c) { return path::is_separator(c); }); in ResolveFullPath()
H A DRealpathPrefixes.cpp44 llvm::sys::path::is_separator(a[0], style); in ResolveSymlinks()
/freebsd/crypto/heimdal/lib/wind/
H A Didn-lookup.c56 is_separator(uint32_t u) in is_separator() function
94 for (j = i; j < norm_len && !is_separator(norm[j]); ++j) in lookup()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DLocateToolCompilationDatabase.cpp52 [](char C) { return llvm::sys::path::is_separator(C); })) in addLocation()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp284 llvm::sys::path::is_separator(m_spelled_path.back()) && in ModuleCompleter()
290 return llvm::sys::path::is_separator(c); in ModuleCompleter()
364 Buffer.find_if([](char c) { return path::is_separator(c); }); in DiskFilesOrDirectories()
424 path::is_separator(CompletionBuffer.back())) in DiskFilesOrDirectories()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp101 path::is_separator(NI->front()) && path::is_separator(DI->front())) in getRelativeIncludeName()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp72 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) in getDirectoryFromFile()
143 llvm::sys::path::is_separator(DirName.back())) in getDirectoryRef()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPath.h415 LLVM_ABI bool is_separator(char value, Style style = Style::native);
/freebsd/contrib/bmake/
H A Dcond.c364 is_separator(char ch) in is_separator() function
401 if (outsideQuotes && is_separator(par->p[0])) in CondParser_StringExpr()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugUtils.cpp311 sys::path::is_separator(this->DumpDir.back())) in DumpObjects()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPathMappingList.cpp219 llvm::sys::path::is_separator(*component->data(), style)) in AppendPathComponents()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DInitHeaderSearch.cpp98 return !Path.empty() && llvm::sys::path::is_separator(Path[0]); in CanPrefixSysroot()
H A DPPDirectives.cpp245 else if (::llvm::sys::path::is_separator(Ch)) in warnByDefaultOnWrongCase()
1121 !llvm::sys::path::is_separator(LookupPath.back())) { in LookupEmbedFile()
1972 llvm::sys::path::is_separator(Component[0], Separator); in trySimplifyPath()
2578 return llvm::sys::path::is_separator(c, BackslashStyle); in HandleHeaderIncludeOrImport()
H A DHeaderSearch.cpp2112 path::is_separator(NI->front()) && path::is_separator(DI->front())) in suggestPathToFileForDiagnostics()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp405 if (sys::path::is_separator(*Pos)) { in printSourceLine()
H A Dllvm-objdump.cpp3788 while (!Prefix.empty() && sys::path::is_separator(Prefix.back())) in llvm_objdump_main()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc51 static bool is_separator(const wchar_t value) {
1035 if (PathUTF16Len > 0 && !is_separator(PathUTF16[PathUTF16Len - 1]) &&
1435 PathStr.take_until([](char c) { return path::is_separator(c); });
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp1064 if (llvm::sys::path::is_separator(FileName.front())) in setGenDwarfRootFile()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp885 if (sys::path::is_separator(si.displayName[0])) in print()
H A DInstrProf.cpp334 if (llvm::sys::path::is_separator(CI)) { in stripDirPrefix()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp507 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp4250 !llvm::sys::path::is_separator(V.back())) { in handleArguments()
4262 !llvm::sys::path::is_separator(V.back())) { in handleArguments()
6127 } else if (llvm::sys::path::is_separator(Filename.back())) { in MakeCLOutputFilename()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc660 PathStr.take_until([](char c) { return path::is_separator(c); });

12