Home | History | Annotate | Download | only in unit

Lines Matching full:npos

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 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 ); */
766 CPPUNIT_ASSERT( s.rfind("two", 0) == string::npos );
812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos );
819 CPPUNIT_CHECK( test.find_last_not_of( 'a', 0 ) == string::npos );