Home | History | Annotate | Download | only in strings

Lines Matching full:c_str

47     ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op            \
48 BasicStringPiece<TypeParam>((rhs.c_str())))); \
49 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \
50 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \
57 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \
58 BasicStringPiece<TypeParam>((rhs.c_str())))); \
59 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \
60 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \
507 c.set(foobar.c_str());
509 c.set(foobar.c_str(), 6);
511 c.set(foobar.c_str(), 0);
513 c.set(foobar.c_str(), 7); // Note, has an embedded NULL
517 TypeParam s3(a.as_string().c_str(), 7); // Note, has an embedded NULL
632 ASSERT_TRUE(TestFixture::as_string("hello").c_str() ==
634 ASSERT_TRUE(TestFixture::as_string("hello").c_str() <
642 ASSERT_TRUE(hello.c_str() == BasicStringPiece<TypeParam>(hello));
676 ASSERT_TRUE(str == BasicStringPiece<TypeParam>(str.c_str()));
678 BasicStringPiece<TypeParam>(str.c_str(), 5));
679 ASSERT_TRUE(empty == BasicStringPiece<TypeParam>(str.c_str(),