/external/stlport/stlport/stl/ |
H A D | _string_npos.h | 15 /* This header contains npos definition used in basic_string and rope 21 enum { npos = -1 }; enumerator in enum:__anon13169 24 static const size_t npos; variable 26 static const size_t npos = ~(size_t)0; variable
|
H A D | _string_sum_methods.h | 30 size_type __pos, size_type __n = npos, 29 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n = npos, const allocator_type& __a = allocator_type()) argument
|
H A D | _string.c | 428 return npos; 434 return __result != this->_M_Finish() ? __result - this->_M_Start() : npos; 441 return npos; 447 return __result != this->_M_Finish() ? __result - this->_M_Start() : npos; 456 return npos; 464 return __result != __last ? __result - this->_M_Start() : npos; 472 return npos; 478 return __rresult != rend() ? (__rresult.base() - 1) - begin() : npos; 485 return npos; 490 return __result != end() ? __result - begin() : npos; 658 const size_t basic_string<_CharT, _Traits, _Alloc>::npos; member in class:_Alloc [all...] |
H A D | _string_workaround.h | 58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, argument 455 _Self& erase(size_type __pos = 0, size_type __n = npos) { argument 582 _Self substr(size_type __pos = 0, size_type __n = npos) const
|
H A D | _rope.c | 911 if (__result_pos == size()) __result_pos = npos; 1306 const size_t rope<_CharT, _Alloc>::npos; member in class:_Alloc
|
H A D | _string.h | 183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, argument 788 _Self& erase(size_type __pos = 0, size_type __n = npos) { argument 966 size_type rfind(const _Self& __s, size_type __pos = npos) const 969 size_type rfind(const _CharT* __s, size_type __pos = npos) const 973 size_type rfind(_CharT __c, size_type __pos = npos) const; 988 size_type find_last_of(const _Self& __s, size_type __pos = npos) const 991 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const 996 size_type find_last_of(_CharT __c, size_type __pos = npos) const 1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const 1014 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) cons 1089 const size_t basic_string<_CharT, _Traits, _Alloc>::npos = ~(size_t) 0; member in class:basic_string [all...] |
H A D | _rope.h | 1971 return npos; 1980 if (__result_pos == size()) __result_pos = npos; 1991 if (__result_pos == size()) __result_pos = npos; 2064 const size_t rope<_CharT, _Alloc>::npos = ~(size_t) 0; member in class:rope
|
/external/chromium/base/i18n/ |
H A D | break_iterator.cc | 14 const size_t npos = -1; member in namespace:base 20 prev_(npos), 65 pos_ = npos; 80 pos_ = npos; 97 DCHECK(prev_ != npos && pos_ != npos);
|
/external/icu4c/common/ |
H A D | stringpiece.cpp | 79 const int32_t StringPiece::npos; member in class:StringPiece
|
/external/llvm/lib/Support/ |
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...] |
/external/tinyxml/ |
H A D | tinystr.cpp | 35 const TiXmlString::size_type TiXmlString::npos = static_cast< size_type >(-1); member in class:TiXmlString
|
H A D | tinystr.h | 59 static const size_type npos; // = -1; member in class:TiXmlString 159 // find a char in a string. Return TiXmlString::npos if not found 165 // find a char in a string from an offset. Return TiXmlString::npos if not found 168 if (offset >= length()) return npos; 174 return npos;
|
/external/stlport/stlport/stl/debug/ |
H A D | _string_sum_methods.h | 30 size_type __pos, size_type __n = npos, 29 basic_string(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n = npos, const allocator_type& __a = allocator_type()) argument
|
H A D | _string.h | 101 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, argument 491 _Self& erase(size_type __pos = 0, size_type __n = npos) { argument 511 _Self substr(size_type __pos = 0, size_type __n = npos) const 711 size_type rfind(const _Self& __s, size_type __pos = npos) const 713 size_type rfind(const _CharT* __s, size_type __pos = npos) const { 723 size_type rfind(_CharT __c, size_type __pos = npos) const 743 size_type find_last_of(const _Self& __s, size_type __pos = npos) const 745 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const { 755 size_type find_last_of(_CharT __c, size_type __pos = npos) const 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) cons 814 const size_t basic_string<_CharT, _Traits, _Alloc>::npos = ~(size_t) 0; member in class:basic_string [all...] |
/external/icu4c/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 {
|
/external/regex-re2/util/ |
H A D | stringpiece.cc | 44 return npos; 49 return xpos + s.length_ <= length_ ? xpos : npos; 54 return npos; 57 return result != ptr_ + length_ ? result - ptr_ : npos; 61 if (length_ < s.length_) return npos; 67 return result != last ? result - ptr_ : npos; 71 if (length_ <= 0) return npos; 78 return npos; 87 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:StringPiece
|
/external/chromium/base/ |
H A D | string_piece.cc | 39 return npos; 44 return xpos + s.length_ <= length_ ? xpos : npos; 49 return npos; 52 return result != ptr_ + length_ ? static_cast<size_t>(result - ptr_) : npos; 57 return npos; 64 return result != last ? static_cast<size_t>(result - ptr_) : npos; 69 return npos; 77 return npos; 100 return npos; 113 return npos; 212 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:base::StringPiece [all...] |
H A D | string_piece.h | 43 static const size_type npos; member in class:base::StringPiece 140 size_type rfind(const StringPiece& s, size_type pos = npos) const; 141 size_type rfind(char c, size_type pos = npos) const; 149 size_type find_last_of(const StringPiece& s, size_type pos = npos) const; 150 size_type find_last_of(char c, size_type pos = npos) const { 153 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const; 154 size_type find_last_not_of(char c, size_type pos = npos) const; 156 StringPiece substr(size_type pos, size_type n = npos) const;
|
/external/clang/test/FixIt/ |
H A D | typo.cpp | 11 static const int npos = -1; // expected-note{{'npos' declared here}} member in class:std::basic_string 48 == std::string::pos; // expected-error{{no member named 'pos' in 'std::basic_string<char>'; did you mean 'npos'?}}
|
/external/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 46 static const size_t npos = ~size_t(0); member in class:llvm::StringRef 226 /// \return - The index of the first occurrence of \arg C, or npos if not 232 return npos; 237 /// \return - The index of the first occurrence of \arg Str, or npos if not 243 /// \return - The index of the last occurrence of \arg C, or npos if not 245 size_t rfind(char C, size_t From = npos) const { 253 return npos; 258 /// \return - The index of the last occurrence of \arg Str, or npos if not 263 /// or npos if not found. Same as find. 269 /// Chars, or npos i [all...] |
/external/chromium/chrome/common/extensions/ |
H A D | extension_unpacker.cc | 68 const size_t npos = FilePath::StringType::npos; local 73 if (i != npos) { 74 if ((i == 0 || kSeparators.find(value[i-1]) == npos) && 75 (i+1 < value.length() || kSeparators.find(value[i+1]) == npos)) {
|
/external/regex-re2/re2/ |
H A D | stringpiece.h | 122 static const size_type npos; member in class:re2::StringPiece 143 int rfind(const StringPiece& s, size_type pos = npos) const; 144 int rfind(char c, size_type pos = npos) const; 146 StringPiece substr(size_type pos, size_type n = npos) const;
|
/external/clang/test/Index/ |
H A D | recursive-cxx-member-calls.cpp | 41 static const size_t npos = ~size_t(0); member in class:llvm::StringRef 60 StringRef substr(size_t Start, size_t N = npos) const { 439 // CHECK-tokens: Identifier: "npos" [41:23 - 41:27] VarDecl=npos:41:23 440 // CHECK-tokens: Punctuation: "=" [41:28 - 41:29] VarDecl=npos:41:23 636 // CHECK-tokens: Identifier: "npos" [60:45 - 60:49] DeclRefExpr=npos:41:23 1630 // CHECK: 41:23: VarDecl=npos:41:23 Extent=[41:3 - 41:40] 1749 // CHECK: 60:45: DeclRefExpr=npos:41:23 Extent=[60:45 - 60:49]
|