/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | ObjCRuntime.cpp | 50 if (dash != StringRef::npos && dash + 1 != input.size() && 52 dash = StringRef::npos; 80 if (dash != StringRef::npos) {
|
H A D | Version.cpp | 50 if (Start != StringRef::npos) 68 if (Start != StringRef::npos)
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 49 if (BName.find(Name) != StringRef::npos) 81 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) 85 FName.find(Name) != StringRef::npos)
|
/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 45 static const size_t npos = ~size_t(0); member in class:llvm::StringRef 231 /// \returns The index of the first occurrence of \p C, or npos if not 237 return npos; 242 /// \returns The index of the first occurrence of \p Str, or npos if not 248 /// \returns The index of the last occurrence of \p C, or npos if not 250 size_t rfind(char C, size_t From = npos) const { 258 return npos; 263 /// \returns The index of the last occurrence of \p Str, or npos if not 267 /// Find the first character in the string that is \p C, or npos if not 273 /// Find the first character in the string that is in \p Chars, or npos i [all...] |
H A D | SmallString.h | 148 /// \return - The index of the first occurrence of \p C, or npos if not 156 /// \returns The index of the first occurrence of \p Str, or npos if not 164 /// \returns The index of the last occurrence of \p C, or npos if not 166 size_t rfind(char C, size_t From = StringRef::npos) const { 172 /// \returns The index of the last occurrence of \p Str, or npos if not 178 /// Find the first character in the string that is \p C, or npos if not 184 /// Find the first character in the string that is in \p Chars, or npos if 192 /// Find the first character in the string that is not \p C or npos if not 199 /// \p Chars, or npos if not found. 206 /// Find the last character in the string that is \p C, or npos i [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 47 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { 62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 79 if (Pos != StringRef::npos) { 91 if (Pos != StringRef::npos) { 103 if (Pos != StringRef::npos) { 113 if (Pos != StringRef::npos) { 128 if (Pos == StringRef::npos)
|
H A D | TextDiagnosticBuffer.cpp | 49 if (Pos == StringRef::npos)
|
/freebsd-10.1-release/contrib/llvm/lib/Support/ |
H A D | StringExtras.cpp | 21 /// the offset of s2 in s1 or npos if s2 cannot be found. 25 return StringRef::npos; 29 return StringRef::npos;
|
H A D | StringRef.cpp | 21 const size_t StringRef::npos; member in class:StringRef 141 /// \return - The index of the first occurrence of \arg Str, or npos if not 146 return npos; 153 return npos; 157 return npos; 176 return npos; 181 /// \return - The index of the last occurrence of \arg Str, or npos if not 186 return npos; 192 return npos; 196 /// Chars, or npos i [all...] |
H A D | Path.cpp | 96 if (pos == StringRef::npos) 100 if (pos == StringRef::npos || 120 return StringRef::npos; 134 return StringRef::npos; 151 return StringRef::npos; 421 if (end_pos == StringRef::npos) 429 if (end_pos != StringRef::npos) 440 if (pos != StringRef::npos && pos >= filename_pos(p)) 474 if (pos == StringRef::npos) 487 if (pos == StringRef::npos) [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Target/ |
H A D | CPPLanguageRuntime.cpp | 100 while ( (pos = target.find(pattern)) != std::string::npos ) 253 size_t pos = llvm::StringRef::npos) 256 left_pos = llvm::StringRef::npos; 260 if (pos == llvm::StringRef::npos || s[pos] == left_char) 267 if (pos == llvm::StringRef::npos) 309 size_t context_end = llvm::StringRef::npos; 319 if (context_end == llvm::StringRef::npos) 322 if (context_end == llvm::StringRef::npos)
|
/freebsd-10.1-release/contrib/atf/atf-c++/detail/ |
H A D | text.cpp | 99 while (pos < str.length() && newpos != std::string::npos) { 115 if (pos1 == std::string::npos && pos2 == std::string::npos) 117 else if (pos1 == std::string::npos) 119 else if (pos2 == std::string::npos)
|
H A D | exceptions_test.cpp | 98 std::string::npos); 132 ATF_REQUIRE(msg.find("The message") != std::string::npos);
|
/freebsd-10.1-release/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-10.1-release/contrib/atf/atf-c++/ |
H A D | check_test.cpp | 344 ATF_REQUIRE(out1.find("check.XXXXXX") == std::string::npos); 345 ATF_REQUIRE(out2.find("check.XXXXXX") == std::string::npos); 346 ATF_REQUIRE(err1.find("check.XXXXXX") == std::string::npos); 347 ATF_REQUIRE(err2.find("check.XXXXXX") == std::string::npos); 349 ATF_REQUIRE(out1.find("/check") != std::string::npos); 350 ATF_REQUIRE(out2.find("/check") != std::string::npos); 351 ATF_REQUIRE(err1.find("/check") != std::string::npos); 352 ATF_REQUIRE(err2.find("/check") != std::string::npos); 354 ATF_REQUIRE(out1.find("/stdout") != std::string::npos); 355 ATF_REQUIRE(out2.find("/stdout") != std::string::npos); [all...] |
/freebsd-10.1-release/bin/pax/ |
H A D | tables.h | 164 off_t npos; /* position in file where this dir name starts */ member in struct:dirdata
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 48 return BreakableToken::Split(StringRef::npos, 0); 64 if (SpaceOffset == StringRef::npos || 66 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { 70 if (FirstNonWhitespace == StringRef::npos) 72 return BreakableToken::Split(StringRef::npos, 0); 76 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { 82 return BreakableToken::Split(StringRef::npos, 0); 92 return BreakableToken::Split(StringRef::npos, 0); 94 return BreakableToken::Split(StringRef::npos, 0); 135 return BreakableToken::Split(StringRef::npos, [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | OptionValueFileSpec.cpp | 94 if (prefix_chars_to_trim != std::string::npos && prefix_chars_to_trim > 0) 97 if (suffix_chars_to_trim != std::string::npos && suffix_chars_to_trim < filepath.size())
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | StreamString.cpp | 85 if (last_line_begin_pos == std::string::npos)
|
/freebsd-10.1-release/contrib/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 257 IsSSE = (HasOpSizePrefix && (Name.find("16") == Name.npos)) || 258 (Name.find("CRC32") != Name.npos); 268 if (Predicates[i]->getName().find("32Bit") != Name.npos) { 272 if (Predicates[i]->getName().find("64Bit") != Name.npos) { 285 Rec->getName().find("MOV64") != Name.npos || 286 Rec->getName().find("PUSH64") != Name.npos || 287 Rec->getName().find("POP64") != Name.npos; 497 (IsCodeGenOnly && Name.find("_REV") == Name.npos && 498 Name.find("INC32") == Name.npos && Name.find("DEC32") == Name.npos)) [all...] |
H A D | AsmWriterInst.cpp | 69 if (DollarPos == std::string::npos) DollarPos = AsmString.size(); 124 != std::string::npos) {
|
H A D | CodeGenInstruction.cpp | 163 if (DotIdx != std::string::npos) { 206 if (wpos == std::string::npos) 221 assert(pos != std::string::npos && "Unrecognized constraint"); 227 if (wpos == std::string::npos) 234 if (wpos == std::string::npos) 260 while (bidx != std::string::npos) { 262 if (eidx == std::string::npos)
|
/freebsd-10.1-release/sys/nfs/ |
H A D | nfs_common.c | 176 caddr_t ptr, npos = NULL; local 209 npos = mtod(mp2, caddr_t); 225 npos = mtod(mp2, caddr_t); 231 bcopy(*dposp, npos, mp2->m_len); 232 mp2->m_data = npos; 233 *dposp = npos;
|
/freebsd-10.1-release/contrib/llvm/lib/MC/ |
H A D | MCWin64EH.cpp | 233 if (dollar == StringRef::npos && dot == StringRef::npos) 235 if (dot == StringRef::npos) 237 if (dollar == StringRef::npos || dot < dollar)
|
/freebsd-10.1-release/contrib/libstdc++/include/ext/ |
H A D | vstring.h | 78 static const size_type npos = static_cast<size_type>(-1); member in class:__versa_string 156 size_type __n = npos) 198 __s + npos, __a) { } 885 erase(size_type __pos = 0, size_type __n = npos) argument 1286 * begins. If not found, returns npos. 1299 * found, returns npos. 1313 * found, returns npos. 1330 * returns npos. 1343 * found, returns npos. 1346 rfind(const __versa_string& __str, size_type __pos = npos) cons 155 __versa_string(const __versa_string& __str, size_type __pos, size_type __n = npos) argument [all...] |