/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | UriParser.cpp | 26 if (pos == std::string::npos) 33 if (path_pos != std::string::npos) 40 ((path_pos != std::string::npos) ? path_pos : uri.size()) - host_pos); 46 if (pos == std::string::npos)
|
H A D | StreamString.cpp | 43 if (last_line_begin_pos == std::string::npos) { 56 if (last_line_begin_pos == std::string::npos) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | ObjCRuntime.cpp | 55 if (dash != StringRef::npos && dash + 1 != input.size() && 57 dash = StringRef::npos; 87 if (dash != StringRef::npos) {
|
H A D | Version.cpp | 49 if (Start != StringRef::npos) 67 if (Start != StringRef::npos)
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 46 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { 61 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 63 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 65 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 78 if (Pos != StringRef::npos) { 90 if (Pos != StringRef::npos) { 102 if (Pos != StringRef::npos) { 112 if (Pos != StringRef::npos) { 127 if (Pos == StringRef::npos)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringRef.cpp | 22 const size_t StringRef::npos; member in class:StringRef 131 /// \return - The index of the first occurrence of \arg Str, or npos if not 135 return npos; 145 return npos; 148 return Ptr == nullptr ? npos : Ptr - Data; 160 return npos; 179 return npos; 190 return npos; 201 return npos; 206 /// \return - The index of the last occurrence of \arg Str, or npos i [all...] |
H A D | StringExtras.cpp | 20 /// the offset of s2 in s1 or npos if s2 cannot be found. 24 return StringRef::npos; 28 return StringRef::npos;
|
/freebsd-11-stable/contrib/atf/atf-c++/detail/ |
H A D | text.cpp | 95 while (pos < str.length() && newpos != std::string::npos) { 111 if (pos1 == std::string::npos && pos2 == std::string::npos) 113 else if (pos1 == std::string::npos) 115 else if (pos2 == std::string::npos)
|
H A D | exceptions_test.cpp | 95 std::string::npos); 129 ATF_REQUIRE(msg.find("The message") != std::string::npos);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 56 static const size_t npos = ~size_t(0); member in class:llvm::StringRef 303 /// \returns The index of the first occurrence of \p C, or npos if not 313 return npos; 318 /// \returns The index of the first occurrence of \p C, or npos if not 326 /// \p From, or npos if not found. 335 return npos; 341 /// from \p From, or npos if not found. 349 /// \returns The index of the first occurrence of \p Str, or npos if not 356 /// \returns The index of the first occurrence of \p Str, or npos if not 363 /// \returns The index of the last occurrence of \p C, or npos i [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | BreakableToken.cpp | 74 return BreakableToken::Split(StringRef::npos, 0); 92 while (SpaceOffset != StringRef::npos) { 107 if (SpaceOffset == StringRef::npos || 109 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { 113 if (FirstNonWhitespace == StringRef::npos) 115 return BreakableToken::Split(StringRef::npos, 0); 119 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { 125 return BreakableToken::Split(StringRef::npos, 0); 134 return BreakableToken::Split(StringRef::npos, 0); 142 return BreakableToken::Split(StringRef::npos, [all...] |
/freebsd-11-stable/usr.bin/cut/ |
H A D | cut.c | 219 static size_t npos; local 223 if (n > npos) { 224 oldnpos = npos; 225 if (npos == 0) 226 npos = n; 227 while (n > npos) 228 npos *= 2; 229 if ((positions = realloc(positions, npos)) == NULL) 231 memset((char *)positions + oldnpos, 0, npos - oldnpos);
|
/freebsd-11-stable/contrib/atf/atf-c++/ |
H A D | check_test.cpp | 339 ATF_REQUIRE(out1.find("check.XXXXXX") == std::string::npos); 340 ATF_REQUIRE(out2.find("check.XXXXXX") == std::string::npos); 341 ATF_REQUIRE(err1.find("check.XXXXXX") == std::string::npos); 342 ATF_REQUIRE(err2.find("check.XXXXXX") == std::string::npos); 344 ATF_REQUIRE(out1.find("/check") != std::string::npos); 345 ATF_REQUIRE(out2.find("/check") != std::string::npos); 346 ATF_REQUIRE(err1.find("/check") != std::string::npos); 347 ATF_REQUIRE(err2.find("/check") != std::string::npos); 349 ATF_REQUIRE(out1.find("/stdout") != std::string::npos); 350 ATF_REQUIRE(out2.find("/stdout") != std::string::npos); [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 54 if (BName.find(Name) != StringRef::npos) 82 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) 86 FName.find(Name) != StringRef::npos)
|
/freebsd-11-stable/bin/pax/ |
H A D | tables.h | 164 off_t npos; /* position in file where this dir name starts */ member in struct:dirdata
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TypeName.h | 53 assert(AnglePos != StringRef::npos && "Unable to find the closing '>'!");
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | JsonSupport.h | 38 if (Pos == std::string::npos) 57 if (Pos == std::string::npos)
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ObjCARCAnalysisUtils.h | 236 if (Section.find("__message_refs") != StringRef::npos || 237 Section.find("__objc_classrefs") != StringRef::npos || 238 Section.find("__objc_superrefs") != StringRef::npos || 239 Section.find("__objc_methname") != StringRef::npos || 240 Section.find("__cstring") != StringRef::npos)
|
/freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
H A D | ScriptLexer.cpp | 48 if (pos != StringRef::npos) 105 if (e == StringRef::npos) { 148 if (e == StringRef::npos) { 157 if (e == StringRef::npos) 187 if (e == StringRef::npos) {
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCommand.h | 86 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; 97 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0; 117 return Arg.compare(0, std::string::npos, Other, 0, Arg.length()) == 0;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | StringView.h | 28 static const size_t npos = ~size_t(0); member in class:StringView 51 return npos;
|
/freebsd-11-stable/lib/libdevdctl/ |
H A D | event.cc | 149 if (find_start == string::npos) { 360 if (end == string::npos) 367 if (end == string::npos) 389 if (end == string::npos) 399 if (start == string::npos) 414 if (end == string::npos) 430 if (eventString.find(" timestamp=") == string::npos) { 461 if (start == string::npos) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSectionWasm.cpp | 27 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.npos) {
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | ReplacementsYaml.h | 40 while (lineBreakPos != std::string::npos) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | StringToOffsetTable.h | 84 assert(AggregateString.find(')') == std::string::npos &&
|