/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/ |
H A D | StringRef.h | 46 static const size_t npos = ~size_t(0); member in class:llvm::StringRef 226 /// \returns The index of the first occurrence of \p C, or npos if not 232 return npos; 237 /// \returns The index of the first occurrence of \p Str, or npos if not 243 /// \returns The index of the last occurrence of \p C, or npos if not 245 size_t rfind(char C, size_t From = npos) const { 253 return npos; 258 /// \returns The index of the last occurrence of \p Str, or npos if not 262 /// Find the first character in the string that is \p C, or npos if not 268 /// 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...] |
/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/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 | expand.cpp | 74 return glob.find_first_of("*?") != std::string::npos;
|
H A D | exceptions_test.cpp | 97 std::string::npos); 131 ATF_REQUIRE(msg.find("The message") != std::string::npos);
|
/macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/ |
H A D | EDEmitter.cpp | 451 if (name.find("MOV") != name.npos) { 452 if (name.find("MOV_V") != name.npos) { 454 } else if (name.find("MASK") != name.npos) { 456 } else if (name.find("r0") != name.npos) { 458 } else if (name.find("PS") != name.npos || 459 name.find("PD") != name.npos) { 461 } else if (name.find("MOVS") != name.npos) { 463 } else if (name.find("_F") != name.npos) { 465 } else if (name.find("a") != name.npos) { 467 } else if (name.find("CMOV") != name.npos) { [all...] |
H A D | X86RecognizableInstr.cpp | 244 IsSSE = (HasOpSizePrefix && (Name.find("16") == Name.npos)) || 245 (Name.find("CRC32") != Name.npos); 255 if (Predicates[i]->getName().find("32Bit") != Name.npos) { 259 if (Predicates[i]->getName().find("64Bit") != Name.npos) { 272 Rec->getName().find("MOV64") != Name.npos || 273 Rec->getName().find("PUSH64") != Name.npos || 274 Rec->getName().find("POP64") != Name.npos; 400 (IsCodeGenOnly && Name.find("_REV") == Name.npos)) 407 if (Name.find("_Int") != Name.npos || 408 Name.find("Int_") != Name.npos) [all...] |
/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c++/ |
H A D | check_test.cpp | 338 ATF_REQUIRE(out1.find("check.XXXXXX") == std::string::npos); 339 ATF_REQUIRE(out2.find("check.XXXXXX") == std::string::npos); 340 ATF_REQUIRE(err1.find("check.XXXXXX") == std::string::npos); 341 ATF_REQUIRE(err2.find("check.XXXXXX") == std::string::npos); 343 ATF_REQUIRE(out1.find("/check") != std::string::npos); 344 ATF_REQUIRE(out2.find("/check") != std::string::npos); 345 ATF_REQUIRE(err1.find("/check") != std::string::npos); 346 ATF_REQUIRE(err2.find("/check") != std::string::npos); 348 ATF_REQUIRE(out1.find("/stdout") != std::string::npos); 349 ATF_REQUIRE(out2.find("/stdout") != std::string::npos); [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/unittests/ADT/ |
H A D | SmallStringTest.cpp | 120 EXPECT_EQ(StringRef::npos, theString.find('z')); 121 EXPECT_EQ(StringRef::npos, theString.find("helloworld")); 124 EXPECT_EQ(StringRef::npos, theString.find("zz")); 126 EXPECT_EQ(StringRef::npos, theString.find("ll", 3)); 130 EXPECT_EQ(StringRef::npos, theString.rfind('z')); 131 EXPECT_EQ(StringRef::npos, theString.rfind("helloworld")); 134 EXPECT_EQ(StringRef::npos, theString.rfind("zz")); 138 EXPECT_EQ(StringRef::npos, theString.find_first_of("xyz")); 142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello"));
|
H A D | StringRefTest.cpp | 266 EXPECT_EQ(StringRef::npos, Str.find('z')); 267 EXPECT_EQ(StringRef::npos, Str.find("helloworld")); 270 EXPECT_EQ(StringRef::npos, Str.find("zz")); 272 EXPECT_EQ(StringRef::npos, Str.find("ll", 3)); 281 EXPECT_EQ(StringRef::npos, Str.rfind('z')); 282 EXPECT_EQ(StringRef::npos, Str.rfind("helloworld")); 285 EXPECT_EQ(StringRef::npos, Str.rfind("zz")); 289 EXPECT_EQ(StringRef::npos, Str.find_first_of("xyz")); 293 EXPECT_EQ(StringRef::npos, Str.find_first_not_of("hello")); 297 EXPECT_EQ(StringRef::npos, St [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/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 | 22 const size_t StringRef::npos; member in class:StringRef 123 /// \return - The index of the first occurrence of \arg Str, or npos if not 128 return npos; 135 return npos; 139 return npos; 158 return npos; 163 /// \return - The index of the last occurrence of \arg Str, or npos if not 168 return npos; 174 return npos; 178 /// Chars, or npos i [all...] |
/macosx-10.9.5/swig-10/Lib/std/ |
H A D | std_basic_string.i | 37 static const size_type npos; 101 erase(size_type __pos = 0, size_type __n = npos); 134 rfind(const basic_string& __str, size_type __pos = npos) const; 140 rfind(_CharT __c, size_type __pos = npos) const; 152 find_last_of(const basic_string& __str, size_type __pos = npos) const; 158 find_last_of(_CharT __c, size_type __pos = npos) const; 171 find_last_not_of(const basic_string& __str, size_type __pos = npos) const; 178 find_last_not_of(_CharT __c, size_type __pos = npos) const; 181 substr(size_type __pos = 0, size_type __n = npos) const;
|
/macosx-10.9.5/text_cmds-87/cut/ |
H A D | cut.c | 225 static size_t npos; local 229 if (n > npos) { 230 oldnpos = npos; 231 if (npos == 0) 232 npos = n; 233 while (n > npos) 234 npos *= 2; 235 if ((positions = realloc(positions, npos)) == NULL) 237 memset((char *)positions + oldnpos, 0, npos - oldnpos);
|
/macosx-10.9.5/ICU-511.35/icuSources/common/unicode/ |
H A D | stringpiece.h | 186 static const int32_t npos = 0x7fffffff; member in class:StringPiece 196 StringPiece substr(int32_t pos, int32_t len = npos) const {
|
/macosx-10.9.5/WebCore-7537.78.1/icu/unicode/ |
H A D | stringpiece.h | 186 static const int32_t npos = 0x7fffffff; member in class:StringPiece 196 StringPiece substr(int32_t pos, int32_t len = npos) const {
|
/macosx-10.9.5/llvmCore-3425.0.33/utils/FileCheck/ |
H A D | FileCheck.cpp | 85 /// returns the position that is matched or npos if there is no match. If 128 (PatternStr.find("{{") == StringRef::npos && 129 PatternStr.find("[[") == StringRef::npos)) { 146 if (End == StringRef::npos) { 176 if (End == StringRef::npos) { 212 if (NameEnd == StringRef::npos) { 283 /// returns the position that is matched or npos if there is no match. If 314 return StringRef::npos; 333 return StringRef::npos; 399 size_t Best = StringRef::npos; [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/ldapc++/src/ |
H A D | LDAPControl.cpp | 73 m_oid.copy(ret->ldctl_oid,string::npos); 81 m_data.copy(ret->ldctl_value.bv_val,string::npos);
|
H A D | LDAPUrl.cpp | 169 if (pos == std::string::npos) { 206 if ( hostend == std::string::npos ){ 212 if ( hostend == std::string::npos || portstart > pos ) { 229 (pos == std::string::npos ? pos : pos-portstart-1) ); 243 while ( pos != std::string::npos ) { 301 while ( pos != std::string::npos ) { 327 while ( comma_pos != std::string::npos ) { 348 if ( m_Host.find( ':', 0 ) != std::string::npos ) {
|
H A D | StringList.cpp | 43 i->copy(ret[j],string::npos);
|
/macosx-10.9.5/ICU-511.35/icuSources/common/ |
H A D | stringpiece.cpp | 79 const int32_t StringPiece::npos; member in class:StringPiece
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/ |
H A D | MipsSubtarget.cpp | 57 if (TT.find("linux") == std::string::npos)
|
/macosx-10.9.5/screen-22/screen/ |
H A D | search.c | 327 int i, pos, npos, dir; local 330 npos = pos = markdata->isstartpos; 344 npos = is_bm(markdata->isstr, markdata->isstrl, pos, flayer->l_width * (markdata->md_window->w_histheight + flayer->l_height), dir); 345 if (npos >= 0) 346 pos = npos; 351 return npos;
|
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/ |
H A D | diskrep.cpp | 257 if ((p = s.rfind('/')) != string::npos) 261 if ((p = s.rfind('.')) != string::npos && !strchr("0123456789", s[p+1]))
|
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/ |
H A D | TrustedApplication.cpp | 205 if (lastSlash != string::npos && bundleCore != string::npos)
|