Home
last modified time | relevance | path

Searched refs:find_last_not_of (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc503 EXPECT_EQ(a.find_last_not_of(b), a.size()-1); in TEST()
504 EXPECT_EQ(a.find_last_not_of(c), 22); in TEST()
505 EXPECT_EQ(b.find_last_not_of(a), StringPiece::npos); in TEST()
506 EXPECT_EQ(b.find_last_not_of(b), StringPiece::npos); in TEST()
507 EXPECT_EQ(f.find_last_not_of(i), 4); in TEST()
508 EXPECT_EQ(a.find_last_not_of(c, 24), 22); in TEST()
509 EXPECT_EQ(a.find_last_not_of(b, 3), 3); in TEST()
510 EXPECT_EQ(a.find_last_not_of(b, 2), StringPiece::npos); in TEST()
512 EXPECT_EQ(f.find_last_not_of(d), f.size()-1); in TEST()
513 EXPECT_EQ(f.find_last_not_of(e), f.size()-1); in TEST()
[all …]
Dstringpiece.cc226 stringpiece_ssize_type StringPiece::find_last_not_of(StringPiece s, in find_last_not_of() function in google::protobuf::StringPiece
234 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of()
246 stringpiece_ssize_type StringPiece::find_last_not_of(char c, in find_last_not_of() function in google::protobuf::StringPiece
Dstringpiece.h384 stringpiece_ssize_type find_last_not_of(StringPiece s,
386 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddatapiece.cc333 0, src.ends_with("=") ? src.find_last_not_of('=') + 1 : src.length()); in DecodeBase64()
346 0, src.ends_with("=") ? src.find_last_not_of('=') + 1 : src.length()); in DecodeBase64()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_generator.cc56 string::size_type end = s.find_last_not_of(" \n\r\t") + 1; in TrimString()
/frameworks/rs/script_api/
DUtilities.cpp63 const size_t end = s->find_last_not_of(" "); in trimSpaces()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp41 const size_t end = in.find_last_not_of(XML_SPACES); // inclusive in xmlTrim()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp37 const auto tail = s.find_last_not_of(charset); in trim()
191 const auto tail = line->find_last_not_of(DEFAULT_WHITESPACE); in stripSuffix()
/frameworks/base/native/android/
Dsystem_fonts.cpp91 const size_t end = in.find_last_not_of(XML_SPACES); // inclusive in xmlTrim()