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/ |
D | stringpiece_unittest.cc | 503 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 …]
|
D | stringpiece.cc | 226 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
|
D | stringpiece.h | 384 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/ |
D | datapiece.cc | 333 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/ |
D | javanano_generator.cc | 56 string::size_type end = s.find_last_not_of(" \n\r\t") + 1; in TrimString()
|
/frameworks/rs/script_api/ |
D | Utilities.cpp | 63 const size_t end = s->find_last_not_of(" "); in trimSpaces()
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 41 const size_t end = in.find_last_not_of(XML_SPACES); // inclusive in xmlTrim()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 37 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/ |
D | system_fonts.cpp | 91 const size_t end = in.find_last_not_of(XML_SPACES); // inclusive in xmlTrim()
|