/external/libcxx/test/std/experimental/string.view/string.view.find/ |
rfind_char_size.pass.cpp | 11 // constexpr size_type rfind(charT c, size_type pos = npos) const; 24 assert(s.rfind(c, pos) == x); 33 assert(s.rfind(c) == x); 75 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 76 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" ); 77 static_assert (sv2.rfind( 'b', 0 ) == SV::npos, "" ); 78 static_assert (sv2.rfind( 'b', 1 ) == 1, "" ); 79 static_assert (sv2.rfind( 'b', 2 ) == 1, "" ); 80 static_assert (sv2.rfind( 'b', 3 ) == 1, "" ); 81 static_assert (sv2.rfind( 'b', 4 ) == 1, "" ) [all...] |
rfind_pointer_size.pass.cpp | 11 // constexpr size_type rfind(const charT* s, size_type pos = npos) const; 24 assert(s.rfind(str, pos) == x); 36 assert(s.rfind(str) == x); 165 static_assert (sv1.rfind( "") == 0, "" ); 166 static_assert (sv1.rfind( "abcde") == SV::npos, "" ); 167 static_assert (sv2.rfind( "") == 5, "" ); 168 static_assert (sv2.rfind( "abcde") == 0, "" ); 169 static_assert (sv2.rfind( "abcde", 1) == 0, "" );
|
rfind_string_view_size.pass.cpp | 12 // constexpr size_type rfind(const basic_string& str, size_type pos = npos) const; 24 assert(s.rfind(str, pos) == x); 33 assert(s.rfind(str) == x); 158 static_assert (sv1.rfind(sv1) == 0, "" ); 159 static_assert (sv1.rfind(sv2) == SV::npos, "" ); 160 static_assert (sv2.rfind(sv1) == 5, "" ); 161 static_assert (sv2.rfind(sv2) == 0, "" ); 162 static_assert (sv2.rfind(sv2, 1) == 0, "" );
|
/external/libcxx/test/std/strings/string.view/string.view.find/ |
rfind_char_size.pass.cpp | 11 // constexpr size_type rfind(charT c, size_type pos = npos) const; 24 assert(s.rfind(c, pos) == x); 33 assert(s.rfind(c) == x); 75 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 76 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" ); 77 static_assert (sv2.rfind( 'b', 0 ) == SV::npos, "" ); 78 static_assert (sv2.rfind( 'b', 1 ) == 1, "" ); 79 static_assert (sv2.rfind( 'b', 2 ) == 1, "" ); 80 static_assert (sv2.rfind( 'b', 3 ) == 1, "" ); 81 static_assert (sv2.rfind( 'b', 4 ) == 1, "" ) [all...] |
rfind_pointer_size.pass.cpp | 11 // constexpr size_type rfind(const charT* s, size_type pos = npos) const; 24 assert(s.rfind(str, pos) == x); 36 assert(s.rfind(str) == x); 165 static_assert (sv1.rfind( "") == 0, "" ); 166 static_assert (sv1.rfind( "abcde") == SV::npos, "" ); 167 static_assert (sv2.rfind( "") == 5, "" ); 168 static_assert (sv2.rfind( "abcde") == 0, "" ); 169 static_assert (sv2.rfind( "abcde", 1) == 0, "" );
|
rfind_string_view_size.pass.cpp | 12 // constexpr size_type rfind(const basic_string& str, size_type pos = npos) const; 24 assert(s.rfind(str, pos) == x); 33 assert(s.rfind(str) == x); 158 static_assert (sv1.rfind(sv1) == 0, "" ); 159 static_assert (sv1.rfind(sv2) == SV::npos, "" ); 160 static_assert (sv2.rfind(sv1) == 5, "" ); 161 static_assert (sv2.rfind(sv2) == 0, "" ); 162 static_assert (sv2.rfind(sv2, 1) == 0, "" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/ |
rfind_char_size.pass.cpp | 11 // constexpr size_type rfind(charT c, size_type pos = npos) const; 23 assert(s.rfind(c, pos) == x); 32 assert(s.rfind(c) == x); 74 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 75 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" ); 76 static_assert (sv2.rfind( 'b', 0 ) == SV::npos, "" ); 77 static_assert (sv2.rfind( 'b', 1 ) == 1, "" ); 78 static_assert (sv2.rfind( 'b', 2 ) == 1, "" ); 79 static_assert (sv2.rfind( 'b', 3 ) == 1, "" ); 80 static_assert (sv2.rfind( 'b', 4 ) == 1, "" ) [all...] |
rfind_pointer_size.pass.cpp | 11 // constexpr size_type rfind(const charT* s, size_type pos = npos) const; 23 assert(s.rfind(str, pos) == x); 35 assert(s.rfind(str) == x); 164 static_assert (sv1.rfind( "") == 0, "" ); 165 static_assert (sv1.rfind( "abcde") == SV::npos, "" ); 166 static_assert (sv2.rfind( "") == 5, "" ); 167 static_assert (sv2.rfind( "abcde") == 0, "" ); 168 static_assert (sv2.rfind( "abcde", 1) == 0, "" );
|
rfind_string_view_size.pass.cpp | 12 // constexpr size_type rfind(const basic_string& str, size_type pos = npos) const; 23 assert(s.rfind(str, pos) == x); 32 assert(s.rfind(str) == x); 157 static_assert (sv1.rfind(sv1) == 0, "" ); 158 static_assert (sv1.rfind(sv2) == SV::npos, "" ); 159 static_assert (sv2.rfind(sv1) == 5, "" ); 160 static_assert (sv2.rfind(sv2) == 0, "" ); 161 static_assert (sv2.rfind(sv2, 1) == 0, "" );
|
/external/google-breakpad/src/processor/ |
pathname_stripper.cc | 42 string::size_type slash = path.rfind('/'); 43 string::size_type backslash = path.rfind('\\');
|
/external/parameter-framework/upstream/utility/ |
DynamicLibrary.cpp | 35 if (path.rfind(_osLibrarySuffix) == (path.length() - _osLibrarySuffix.length())) {
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer_unittest_utils.cc | 54 size_t pos = helper_path.rfind('/');
|
/system/tools/aidl/ |
io_delegate_unittest.cpp | 40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4);
|
/external/protobuf/src/google/protobuf/stubs/ |
stringpiece_unittest.cc | 371 EXPECT_EQ(a.rfind(b), 0); 372 EXPECT_EQ(a.rfind(b, 1), 0); 373 EXPECT_EQ(a.rfind(c), 23); 374 EXPECT_EQ(a.rfind(c, 22), StringPiece::npos); 375 EXPECT_EQ(a.rfind(c, 1), StringPiece::npos); 376 EXPECT_EQ(a.rfind(c, 0), StringPiece::npos); 377 EXPECT_EQ(b.rfind(c), StringPiece::npos); 378 EXPECT_EQ(b.rfind(c, 0), StringPiece::npos); 379 EXPECT_EQ(a.rfind(d), a.as_string().rfind(string())) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
genericpath.py | 99 sepIndex = p.rfind(sep)
101 altsepIndex = p.rfind(altsep)
104 dotIndex = p.rfind(extsep)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
genericpath.py | 91 sepIndex = p.rfind(sep)
93 altsepIndex = p.rfind(altsep)
96 dotIndex = p.rfind(extsep)
|
/external/libchrome/base/strings/ |
string_piece_unittest.cc | 288 ASSERT_EQ(a.rfind(b), 0U); 289 ASSERT_EQ(a.rfind(b, 1), 0U); 290 ASSERT_EQ(a.rfind(c), 23U); 291 ASSERT_EQ(a.rfind(c, 22U), Piece::npos); 292 ASSERT_EQ(a.rfind(c, 1U), Piece::npos); 293 ASSERT_EQ(a.rfind(c, 0U), Piece::npos); 294 ASSERT_EQ(b.rfind(c), Piece::npos); 295 ASSERT_EQ(b.rfind(c, 0U), Piece::npos); 296 ASSERT_EQ(a.rfind(d), static_cast<size_t>(a.as_string().rfind(TypeParam()))) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
genericpath.py | 91 sepIndex = p.rfind(sep) 93 altsepIndex = p.rfind(altsep) 96 dotIndex = p.rfind(extsep)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
genericpath.py | 91 sepIndex = p.rfind(sep) 93 altsepIndex = p.rfind(altsep) 96 dotIndex = p.rfind(extsep)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
genericpath.py | 91 sepIndex = p.rfind(sep) 93 altsepIndex = p.rfind(altsep) 96 dotIndex = p.rfind(extsep)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
genericpath.py | 91 sepIndex = p.rfind(sep) 93 altsepIndex = p.rfind(altsep) 96 dotIndex = p.rfind(extsep)
|
/test/vts/drivers/hal/common/utils/ |
StringUtil.cpp | 27 return s.size() >= suffix.size() && s.rfind(suffix) == (s.size() - suffix.size());
|
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
rubystdautodoc.swg | 24 AUTODOC(rfind, "Find an element in reverse usually starting from the end of the $class");
|
/system/core/base/ |
parsenetaddress.cpp | 38 if (address.rfind("]:") == std::string::npos) { 43 port_str = address.substr(address.rfind("]:") + 2);
|
/external/llvm/include/llvm/ADT/ |
SmallString.h | 163 size_t rfind(char C, size_t From = StringRef::npos) const { function in class:llvm::SmallString 164 return str().rfind(C, From); 171 size_t rfind(StringRef Str) const { function in class:llvm::SmallString 172 return str().rfind(Str);
|