HomeSort by relevance Sort by last modified time
    Searched full:npos (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/stlport/stlport/stl/
_string_npos.h 15 /* This header contains npos definition used in basic_string and rope
21 enum { npos = -1 }; enumerator in enum:__anon5988
24 static const size_t npos; variable
26 static const size_t npos = ~(size_t)0; variable
_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...]
_string_sum.h 165 _BString& erase(size_type __pos = 0, size_type __n =_BString::npos) {return _M_get_storage().erase(__pos, __n);}
194 size_type rfind(const _BString& __s, size_type __pos = _BString::npos) const { return _M_get_storage().rfind(__s, __pos); }
195 size_type rfind(const _CharT* __s, size_type __pos = _BString::npos) const { return _M_get_storage().rfind(__s, __pos); }
197 size_type rfind(_CharT __c, size_type __pos = _BString::npos) const { return _M_get_storage().rfind(__c, __pos); }
208 size_type find_last_of(const _BString& __s, size_type __pos = _BString::npos) const
210 size_type find_last_of(const _CharT* __s, size_type __pos = _BString::npos) const
214 size_type find_last_of(_CharT __c, size_type __pos = _BString::npos) const
226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const
228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const
232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) cons
    [all...]
_string.h 183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
788 _Self& erase(size_type __pos = 0, size_type __n = npos) {
1089 const size_t basic_string<_CharT, _Traits, _Alloc>::npos = ~(size_t) 0; member in class:basic_string
    [all...]
  /external/icu4c/samples/layout/
clayout.c 179 vertPos = si.nPos;
184 si.nPos = si.nMin;
188 si.nPos = si.nMax;
192 si.nPos -= 1;
196 si.nPos += 1;
200 si.nPos -= si.nPage;
204 si.nPos += si.nPage;
208 si.nPos = si.nTrackPos;
221 if (context->paragraph != NULL && si.nPos != vertPos) {
222 ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL)
    [all...]
layout.cpp 177 vertPos = si.nPos;
182 si.nPos = si.nMin;
186 si.nPos = si.nMax;
190 si.nPos -= 1;
194 si.nPos += 1;
198 si.nPos -= si.nPage;
202 si.nPos += si.nPage;
206 si.nPos = si.nTrackPos;
219 if (context->paragraph != NULL && si.nPos != vertPos) {
220 ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL)
    [all...]
  /frameworks/base/media/libstagefright/include/
stagefright_string.h 28 static size_type npos; member in class:android::string
33 string(const string &from, size_type start, size_type length = npos);
  /external/astl/tests/
test_string.cpp 770 EXPECT_TRUE(haystack.find((char*)NULL) == string::npos);
771 EXPECT_TRUE(haystack.find((char*)NULL, 10) == string::npos);
777 EXPECT_TRUE(haystack.find("four") == string::npos);
778 EXPECT_TRUE(haystack.find("one", string::npos) == string::npos);
783 EXPECT_TRUE(haystack.find("one", 15) == string::npos);
785 EXPECT_TRUE(haystack.find("e", haystack.size()) == string::npos);
786 EXPECT_TRUE(haystack.find("one", string::npos) == string::npos);
792 EXPECT_TRUE(haystack.find(string("four")) == string::npos);
    [all...]
  /frameworks/base/media/libstagefright/
string.cpp 24 string::size_type string::npos = (string::size_type)-1; member in class:android::string
35 if (length == npos) {
67 return index < 0 ? npos : (size_type)index;
  /external/quake/quake/src/WinQuake/
sys_sun.cpp 53 int nPos;
102 sys_handles[i].nPos = 0;
127 sys_handles[i].nPos = 0;
147 sys_handles[handle].nPos = position;
156 int nPos = sys_handles[handle].nPos;
158 if (nPos + count > sys_handles[handle].nLen)
159 count = sys_handles[handle].nLen - nPos;
160 memcpy( dest, &sys_handles[handle].pMap[nPos], count );
161 sys_handles[handle].nPos = nPos + count
    [all...]
  /frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
ustring.cpp 24 const uoff_t string::npos; member in class:ustl::string
269 return (found < end() ? distance(begin(),found) : npos);
276 return (npos);
286 return (npos);
295 return (npos);
308 return (d > sp ? distance (begin(), d + 2 - s.size()) : npos);
315 if (s.find (at(i)) != npos)
317 return (npos);
324 if (s.find (at(i)) == npos)
326 return (npos);
    [all...]
ustring.h 53 static const uoff_t npos = static_cast<uoff_t>(-1); ///< Value that means the end of string. member in class:ustl::string
157 uoff_t rfind (const_reference c, uoff_t pos = npos) const;
158 uoff_t rfind (const string& s, uoff_t pos = npos) const;
161 uoff_t find_last_of (const string& s, uoff_t pos = npos) const;
162 uoff_t find_last_not_of (const string& s, uoff_t pos = npos) const;
  /external/astl/include/
string 72 static const size_type npos = static_cast<size_type>(-1);
82 // @param n The number of characters to copy. Use string::npos for the
140 string& erase(size_type pos = 0, size_type n = npos);
255 // string. string::npos if no occurrence of str was found from the
267 // string. string::npos if no occurrence of str was found from the
274 // @return xpos if it exists, npos otherwise.
282 // @return xpos if it exists, npos otherwise.
283 size_type rfind(const value_type c, size_type pos = npos) const {
295 string substr(size_type pos = 0, size_type n = npos) const;
297 // Find char methods. Return the position or npos if the char was not found
    [all...]
  /external/astl/src/
string.cpp 572 return string::npos;
580 return pos > mLength ? string::npos : pos;
585 return string::npos;
592 return string::npos;
606 return npos;
611 return res != NULL ? res - mData : npos;
616 return npos;
625 return res != NULL ? res - mData : npos;
635 return npos;
640 return npos;
    [all...]
  /external/icu4c/common/
stringpiece.cpp 51 const int32_t StringPiece::npos; member in class:StringPiece
  /external/tinyxml/
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;
tinystr.cpp 35 const TiXmlString::size_type TiXmlString::npos = static_cast< size_type >(-1); member in class:TiXmlString
  /external/stlport/stlport/stl/debug/
_string.h 101 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
491 _Self& erase(size_type __pos = 0, size_type __n = npos) {
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...]
  /frameworks/base/media/libdrm/mobile2/src/dcf/
DrmDcfCommon.cpp 174 if (loc1 != string::npos)
181 if (loc2 != string::npos)
  /external/icu4c/common/unicode/
stringpiece.h 171 static const int32_t npos = 0x7fffffff; member in class:StringPiece
181 StringPiece substr(int32_t pos, int32_t len = npos) const {
  /frameworks/base/tools/localize/
Perforce.cpp 224 if (index == text.npos) {
228 if (index == text.npos) {
  /external/icu4c/test/intltest/
strtest.cpp 316 // static const npos
317 const int32_t *ptr_npos=&StringPiece::npos;
318 if(StringPiece::npos!=0x7fffffff || *ptr_npos!=0x7fffffff) {
319 errln("StringPiece::npos!=0x7fffffff");
321 // substr() method with pos, using len=npos.
  /external/stlport/test/unit/
string_test.cpp 644 //We are trying to get a const reference to the npos string static member to
646 //a bug of STLport which was simply declaring npos without instanciating it.
648 string::size_type const& npos_local = string::npos;
650 # define npos_local string::npos
653 CPPUNIT_ASSERT( s.find("one", string::npos) == npos_local );
674 * returns npos.
688 * if ( p != string::npos ) { // normal
700 /* CPPUNIT_CHECK( p == string::npos ); */
719 CPPUNIT_CHECK( p == string::npos );
731 /* CPPUNIT_CHECK( p == string::npos ); */
    [all...]
rope_test.cpp 78 CPPUNIT_ASSERT( n == crope::npos );
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
compat.cpp 54 if (pos != string::npos) {

Completed in 98 milliseconds

1 2 3