Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 25 of 27) sorted by relevance

12

/reactos/sdk/include/c++/stlport/stl/
H A D_string_npos.h21 enum { npos = -1 }; enumerator
24 static const size_t npos; variable
26 static const size_t npos = ~(size_t)0; variable
H A D_string.c428 return npos; in find()
441 return npos; in find()
456 return npos; in rfind()
472 return npos; in rfind()
485 return npos; in find_first_of()
490 return __result != end() ? __result - begin() : npos; in find_first_of()
501 return npos; in find_last_of()
517 return npos; in find_first_not_of()
530 return npos; in find_first_not_of()
545 return npos; in find_last_not_of()
[all …]
H A D_string_sum.h165 …_BString& erase(size_type __pos = 0, size_type __n =_BString::npos) {return _M_get_storage().erase…
194 …size_type rfind(const _BString& __s, size_type __pos = _BString::npos) const { return _M_get_stora…
195 …size_type rfind(const _CharT* __s, size_type __pos = _BString::npos) const { return _M_get_storage…
197 …size_type rfind(_CharT __c, size_type __pos = _BString::npos) const { return _M_get_storage().rfin…
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) const
[all …]
H A D_string.h183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
788 _Self& erase(size_type __pos = 0, size_type __n = npos) {
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
1019 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const;
1022 _Self substr(size_type __pos = 0, size_type __n = npos) const
[all …]
H A D_string_workaround.h58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
455 _Self& erase(size_type __pos = 0, size_type __n = npos) {
582 _Self substr(size_type __pos = 0, size_type __n = npos) const
H A D_string_sum_methods.h30 size_type __pos, size_type __n = npos,
H A D_rope.h1971 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;
H A D_rope.c911 if (__result_pos == size()) __result_pos = npos; in find()
1306 const size_t rope<_CharT, _Alloc>::npos;
H A D_bitset.h427 basic_string<_CharT, _Traits, _Alloc>::npos);
/reactos/modules/rosapps/applications/net/netreg/
H A Dnetreg.cpp48 if( full_input.find( "\r\n\r\n" ) != string::npos ) { in RecvData()
51 if( space_pos == string::npos ) { state = SHOULD_DIE; return; } in RecvData()
60 if( space_pos == string::npos ) { state = SHOULD_DIE; return; } in RecvData()
227 if( ending_slash != string::npos ) in process_valid_request()
349 if( slash == string::npos ) // A root key... in process_request()
371 if( slash != string::npos ) { in process_request()
388 } while( slash != string::npos ); in process_request()
/reactos/sdk/include/c++/stlport/stl/debug/
H A D_string.h101 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
787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const
[all …]
H A D_string_sum_methods.h30 size_type __pos, size_type __n = npos,
/reactos/sdk/tools/txt2nls/
H A Dmain.cpp45 if (comment_pos != std::string::npos) in get_clean_line()
52 if (end_of_line != std::string::npos) in get_clean_line()
66 if (token_start == std::string::npos) in tokenize()
74 if (token_end == std::string::npos) in tokenize()
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dstring_test.cpp648 string::size_type const& npos_local = string::npos; in find()
650 # define npos_local string::npos in find()
653 CPPUNIT_ASSERT( s.find("one", string::npos) == npos_local ); in find()
719 CPPUNIT_CHECK( p == string::npos ); in bogus_edge_find()
766 CPPUNIT_ASSERT( s.rfind("two", 0) == string::npos ); in rfind()
812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); in find_last_not_of()
819 CPPUNIT_CHECK( test.find_last_not_of( 'a', 0 ) == string::npos ); in find_last_not_of()
H A Drope_test.cpp78 CPPUNIT_ASSERT( n == crope::npos ); in find1()
/reactos/base/applications/drwtsn32/
H A Ddrwtsn32.cpp68 if (pos != std::string::npos) in UpdateFromEvent()
/reactos/sdk/tools/hhpcomp/
H A Dhhp_reader.cpp76 if (pos_equals_sign == string::npos) in process_line()
/reactos/modules/rostests/rosautotest/
H A DCWineTest.cpp247 if(UnderscorePosition == m_CurrentFile.npos) in GetNextTestInfo()
/reactos/dll/shellext/shellbtrfs/
H A Dmain.cpp565 if (found == wstring::npos) { in create_subvol()
606 if (found == wstring::npos) { in create_snapshot2()
H A Dcontextmenu.cpp429 if (bs == string::npos) in path_remove_file()
443 if (bs == string::npos) { in path_strip_path()
1676 if (found == wstring::npos) { in ReflinkCopyW()
1697 if (found == wstring::npos) in ReflinkCopyW()
H A Dvolpropsheet.cpp1643 if (pipe == string::npos) in ResetStatsW()
/reactos/modules/rosapps/applications/sysutils/fontsub/
H A Dfontsub.cpp112 if (i == STRING::npos || j == STRING::npos) in trim()
966 if (pos != STRING::npos) in DoParseFile()
973 if (pos != STRING::npos) in DoParseFile()
/reactos/sdk/lib/3rdparty/stlport/src/
H A Dnum_put_float.cpp907 if (__dot_pos != string::npos) {
/reactos/sdk/tools/cabman/
H A Dcabinet.cxx1616 if (sep != std::string::npos) in CreateSimpleCabinet()
/reactos/win32ss/user/ntuser/
H A Dmenu.c639 ITEM *MENU_InsertItem( PMENU menu, UINT pos, UINT flags, PMENU *submenu, UINT *npos ) in MENU_InsertItem() argument
652 if (npos) *npos = pos; in MENU_InsertItem()

12