Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DPath.cpp36 using llvm::sys::path::is_separator;
77 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
78 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
85 if (is_separator(path[0], style)) in find_first_component()
96 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
106 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
117 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
122 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
123 !is_separator(str[2], style)) { in root_dir_start()
128 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
[all …]
H A DVirtualFileSystem.cpp1609 sys::path::is_separator(Trimmed.back(), path_style)) in parseEntry()
/netbsd-src/external/apache2/llvm/dist/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp63 while (Dir.size() > 1 && llvm::sys::path::is_separator(Dir.back())) in tryStoreDirPath()
74 llvm::sys::path::is_separator(Dir[SysRoot.size()])) { in tryStoreDirPath()
78 llvm::sys::path::is_separator(Dir[WorkDir.size()])) { in tryStoreDirPath()
84 while (!Dir.empty() && llvm::sys::path::is_separator(Dir.front())) in tryStoreDirPath()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/wind/
H A Didn-lookup.c58 is_separator(uint32_t u) in is_separator() function
96 for (j = i; j < norm_len && !is_separator(norm[j]); ++j) in lookup()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dlist_read.c60 #define is_separator(c) (c == '/' || c == ',' || c == '\n' || c == ' ' \ macro
823 if (!is_separator(c) && c != EOF) in read_logical()
833 if (!is_separator(c) && c != EOF) in read_logical()
878 while (c != EOF && !is_separator (c)); in read_logical()
892 if (is_separator(c)) in read_logical()
1261 if (is_separator (c) || c == EOF) in read_character()
1451 if (is_separator (c) || (c == EOF)) in parse_real()
1463 if (is_separator (c) || (c == EOF)) in parse_real()
1473 if (is_separator (c)) in parse_real()
1477 if (is_separator (c) || (c == EOF)) in parse_real()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dlist_read.c59 #define is_separator(c) (c == '/' || c == ',' || c == '\n' || c == ' ' \ macro
822 if (!is_separator(c) && c != EOF) in read_logical()
832 if (!is_separator(c) && c != EOF) in read_logical()
877 while (c != EOF && !is_separator (c)); in read_logical()
891 if (is_separator(c)) in read_logical()
1260 if (is_separator (c) || c == EOF) in read_character()
1450 if (is_separator (c) || (c == EOF)) in parse_real()
1462 if (is_separator (c) || (c == EOF)) in parse_real()
1472 if (is_separator (c)) in parse_real()
1476 if (is_separator (c) || (c == EOF)) in parse_real()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DPath.h350 bool is_separator(char value, Style style = Style::native);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DFileManager.cpp79 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) in getDirectoryFromFile()
124 llvm::sys::path::is_separator(DirName.back())) in getDirectoryRef()
/netbsd-src/usr.bin/make/
H A Dcond.c372 is_separator(char ch) in TryParseNumber()
410 if (atStart && is_separator(par->p[0])) in CondParser_StringExpr()
457 case ')': /* see is_separator */ in CondParser_Leaf()
376 is_separator(char ch) is_separator() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DDebugUtils.cpp306 sys::path::is_separator(this->DumpDir.back())) in DumpObjects()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp399 if (sys::path::is_separator(*Pos)) { in printSourceLine()
H A Dllvm-objdump.cpp2584 while (!Prefix.empty() && sys::path::is_separator(Prefix.back())) in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitHeaderSearch.cpp109 return !Path.empty() && llvm::sys::path::is_separator(Path[0]); in CanPrefixSysroot()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp1827 path::is_separator(NI->front()) && path::is_separator(DI->front())) in suggestPathToFileForDiagnostics()
H A DPPDirectives.cpp210 else if (::llvm::sys::path::is_separator(Ch)) in warnByDefaultOnWrongCase()
2163 return llvm::sys::path::is_separator(c, BackslashStyle); in HandleHeaderIncludeOrImport()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DPath.inc51 static bool is_separator(const wchar_t value) {
976 if (PathUTF16Len > 0 && !is_separator(PathUTF16[PathUTF16Len - 1]) &&
1358 StringRef Expr = PathStr.take_until([](char c) { return path::is_separator(c); });
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-2015283 (is_separator): Add condition for '!'.
H A DChangeLog-20161506 (is_separator): Add namelist mode as condition with '!'.
1512 the is_separator macro. (parse_real): Reject '!' unless in namelist mode.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCContext.cpp852 if (llvm::sys::path::is_separator(FileName.front())) in setGenDwarfRootFile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DGCOV.cpp828 if (sys::path::is_separator(si.displayName[0])) in print()
H A DInstrProf.cpp239 if (llvm::sys::path::is_separator(CI)) { in stripDirPrefix()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp479 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DDriver.cpp3660 !llvm::sys::path::is_separator(V.back())) { in BuildActions()
3672 !llvm::sys::path::is_separator(V.back())) { in BuildActions()
4818 } else if (llvm::sys::path::is_separator(Filename.back())) { in MakeCLOutputFilename()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DPath.inc648 PathStr.take_until([](char c) { return path::is_separator(c); });
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp1014 if (!llvm::sys::path::is_separator(Filename[Pos])) { in adjustFilenameForRelocatableAST()
1015 if (!llvm::sys::path::is_separator(BaseDir.back())) in adjustFilenameForRelocatableAST()