Searched refs:npos (Results 1 - 25 of 109) sorted by relevance

12345

/macosx-10.10/llvmCore-3425.0.34/include/llvm/ADT/
H A DStringRef.h46 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 DSmallString.h148 /// \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.10/bind9-45.101/bind9/unit/atf-src/atf-c++/detail/
H A Dtext.cpp99 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 Dexpand.cpp74 return glob.find_first_of("*?") != std::string::npos;
H A Dexceptions_test.cpp97 std::string::npos);
131 ATF_REQUIRE(msg.find("The message") != std::string::npos);
/macosx-10.10/llvmCore-3425.0.34/utils/TableGen/
H A DEDEmitter.cpp451 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 DX86RecognizableInstr.cpp244 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.10/bind9-45.101/bind9/unit/atf-src/atf-c++/
H A Dcheck_test.cpp338 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.10/llvmCore-3425.0.34/unittests/ADT/
H A DSmallStringTest.cpp120 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 DStringRefTest.cpp266 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.10/ICU-531.30/icuSources/common/unicode/
H A Dstringpiece.h186 static const int32_t npos; // = 0x7fffffff; member in class:StringPiece
196 StringPiece substr(int32_t pos, int32_t len = npos) const {
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DStringExtras.cpp21 /// the offset of s2 in s1 or npos if s2 cannot be found.
25 return StringRef::npos;
29 return StringRef::npos;
H A DStringRef.cpp22 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.10/swig-12/Lib/std/
H A Dstd_basic_string.i37 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.10/text_cmds-88/cut/
H A Dcut.c225 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.10/ICU-531.30/icuSources/common/
H A Dlistformatter.cpp358 int32_t npos = 1; local
360 temp[npos].remove();
365 temp[npos],
369 pos = npos;
370 npos = (pos + 1) & 1;
372 temp[npos].remove();
377 temp[npos],
385 appendTo += temp[npos];
H A Dstringpiece.cpp71 const int32_t StringPiece::npos = 0x7fffffff; member in class:StringPiece
/macosx-10.10/WTF-7600.1.24/icu/unicode/
H A Dstringpiece.h186 static const int32_t npos = 0x7fffffff; member in class:StringPiece
196 StringPiece substr(int32_t pos, int32_t len = npos) const {
/macosx-10.10/WebCore-7600.1.25/icu/unicode/
H A Dstringpiece.h186 static const int32_t npos = 0x7fffffff; member in class:StringPiece
196 StringPiece substr(int32_t pos, int32_t len = npos) const {
/macosx-10.10/llvmCore-3425.0.34/utils/FileCheck/
H A DFileCheck.cpp85 /// 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.10/OpenLDAP-499.27/OpenLDAP/contrib/ldapc++/src/
H A DLDAPControl.cpp73 m_oid.copy(ret->ldctl_oid,string::npos);
81 m_data.copy(ret->ldctl_value.bv_val,string::npos);
H A DLDAPUrl.cpp169 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 DStringList.cpp43 i->copy(ret[j],string::npos);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/Mips/
H A DMipsSubtarget.cpp57 if (TT.find("linux") == std::string::npos)
/macosx-10.10/screen-22/screen/
H A Dsearch.c327 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;

Completed in 163 milliseconds

12345