/external/chromium/base/ |
D | string_piece_unittest.cc | 219 ASSERT_EQ(a.rfind(b), 0U); in TEST() 220 ASSERT_EQ(a.rfind(b, 1), 0U); in TEST() 221 ASSERT_EQ(a.rfind(c), 23U); in TEST() 222 ASSERT_EQ(a.rfind(c, 22U), StringPiece::npos); in TEST() 223 ASSERT_EQ(a.rfind(c, 1U), StringPiece::npos); in TEST() 224 ASSERT_EQ(a.rfind(c, 0U), StringPiece::npos); in TEST() 225 ASSERT_EQ(b.rfind(c), StringPiece::npos); in TEST() 226 ASSERT_EQ(b.rfind(c, 0U), StringPiece::npos); in TEST() 227 ASSERT_EQ(a.rfind(d), (size_t) a.as_string().rfind(std::string())); in TEST() 228 ASSERT_EQ(a.rfind(e), a.as_string().rfind(std::string())); in TEST() [all …]
|
D | string_piece.h | 140 size_type rfind(const StringPiece& s, size_type pos = npos) const; 141 size_type rfind(char c, size_type pos = npos) const; 151 return rfind(c, pos);
|
D | string_piece.cc | 55 size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind() function in base::StringPiece 67 size_type StringPiece::rfind(char c, size_type pos) const { in rfind() function in base::StringPiece
|
/external/llvm/unittests/ADT/ |
D | SmallStringTest.cpp | 129 EXPECT_EQ(3U, theString.rfind('l')); in TEST_F() 130 EXPECT_EQ(StringRef::npos, theString.rfind('z')); in TEST_F() 131 EXPECT_EQ(StringRef::npos, theString.rfind("helloworld")); in TEST_F() 132 EXPECT_EQ(0U, theString.rfind("hello")); in TEST_F() 133 EXPECT_EQ(1U, theString.rfind("ello")); in TEST_F() 134 EXPECT_EQ(StringRef::npos, theString.rfind("zz")); in TEST_F()
|
D | StringRefTest.cpp | 256 EXPECT_EQ(3U, Str.rfind('l')); in TEST() 257 EXPECT_EQ(StringRef::npos, Str.rfind('z')); in TEST() 258 EXPECT_EQ(StringRef::npos, Str.rfind("helloworld")); in TEST() 259 EXPECT_EQ(0U, Str.rfind("hello")); in TEST() 260 EXPECT_EQ(1U, Str.rfind("ello")); in TEST() 261 EXPECT_EQ(StringRef::npos, Str.rfind("zz")); in TEST()
|
/external/stlport/test/unit/ |
D | string_test.cpp | 64 CPPUNIT_TEST(rfind); 123 void rfind(); 729 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find() 736 string::size_type p = s.rfind( "", 0, 0 ); in bogus_edge_find() 742 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find() 748 string::size_type p = s.rfind( "", 1, 0 ); in bogus_edge_find() 754 string::size_type p = s.rfind( "", 3, 0 ); in bogus_edge_find() 760 void StringTest::rfind() in rfind() function in StringTest 765 CPPUNIT_ASSERT( s.rfind("two") == 18 ); in rfind() 766 CPPUNIT_ASSERT( s.rfind("two", 0) == string::npos ); in rfind() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | SmallString.h | 161 size_t rfind(char C, size_t From = StringRef::npos) const { 162 return str().rfind(C, From); 169 size_t rfind(StringRef Str) const { in rfind() function 170 return str().rfind(Str); in rfind()
|
D | StringRef.h | 244 size_t rfind(char C, size_t From = npos) const { 259 size_t rfind(StringRef Str) const; 286 return rfind(C, From); 477 size_t Idx = rfind(Separator); in rsplit()
|
/external/bluetooth/bluez/test/ |
D | monitor-bluetooth | 9 iface = interface[interface.rfind(".") + 1:] 14 iface = interface[interface.rfind(".") + 1:]
|
D | list-devices | 14 list = list + val[val.rfind("/") + 1:] + " "
|
/external/chromium/third_party/libjingle/overrides/talk/xmllite/ |
D | qname.cc | 24 size_t i = name.rfind(':'); in QName_LocalPart() 32 size_t i = name.rfind(':'); in QName_Namespace()
|
/external/skia/src/animator/ |
D | SkTDArray_Experimental.h | 50 int rfind(const int32_t& elem) const; 124 int rfind(const T& elem) const { return SkDS32Array::rfind((const int32_t&) elem); } in rfind() function
|
/external/blktrace/btt/ |
D | btt_plot.py | 79 get_base = lambda file: file[file.find('_')+1:file.rfind('_')] 195 prog = args[0][args[0].rfind('/')+1:] 201 type = prog[prog.rfind('_')+1:prog.rfind('.py')]
|
D | bno_plot.py | 105 t = t[t.rfind('/')+1:]
|
/external/stlport/stlport/stl/ |
D | _string_sum.h | 194 …size_type rfind(const _BString& __s, size_type __pos = _BString::npos) const { return _M_get_stora… 195 …size_type rfind(const _CharT* __s, size_type __pos = _BString::npos) const { return _M_get_storage… 196 …size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const { return _M_get_storage()… in rfind() function 197 …size_type rfind(_CharT __c, size_type __pos = _BString::npos) const { return _M_get_storage().rfin… 215 { return _M_get_storage().rfind(__c, __pos); }
|
/external/regex-re2/util/ |
D | stringpiece.cc | 60 int StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind() function in StringPiece 70 int StringPiece::rfind(char c, size_type pos) const { in rfind() function in StringPiece
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
D | qname.cc | 113 size_t i = name.rfind(':'); in QName_LocalPart() 121 size_t i = name.rfind(':'); in QName_Namespace()
|
/external/regex-re2/re2/ |
D | stringpiece.h | 143 int rfind(const StringPiece& s, size_type pos = npos) const; 144 int rfind(char c, size_type pos = npos) const;
|
/external/stlport/stlport/stl/debug/ |
D | _string.h | 711 size_type rfind(const _Self& __s, size_type __pos = npos) const 712 { return _M_non_dbg_impl.rfind(__s._M_non_dbg_impl, __pos); } 713 size_type rfind(const _CharT* __s, size_type __pos = npos) const { 716 return _M_non_dbg_impl.rfind(__s, __pos); 718 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const { in rfind() function 721 return _M_non_dbg_impl.rfind(__s, __pos, __n); in rfind() 723 size_type rfind(_CharT __c, size_type __pos = npos) const 724 { return _M_non_dbg_impl.rfind(__c, __pos); } 756 { return _M_non_dbg_impl.rfind(__c, __pos); }
|
/external/oprofile/libpp/ |
D | parse_filename.cpp | 182 pos = filename_spec.rfind('.'); in parse_filename() 183 pos = filename_spec.rfind('.', pos-1); in parse_filename()
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
D | test.py | 47 self.base = name[(name.rfind("/") + 1):name.rfind(".html")] 194 dirname = test.name[0:test.name.rfind('/')]
|
/external/llvm/lib/Support/Unix/ |
D | Path.inc | 369 std::string::size_type slash = path.rfind('/'); 375 std::string::size_type dot = path.rfind('.'); 385 std::string::size_type slash = path.rfind('/'); 391 std::string::size_type dot = path.rfind('.'); 473 size_t pos = path.rfind('/'); 482 size_t pos2 = path.rfind('/', pos-1); 600 size_t slashpos = path.rfind('/',path.size()); 606 slashpos = path.rfind('/',slashpos-1); 617 size_t dotpos = path.rfind('.',path.size()); 618 size_t slashpos = path.rfind('/',path.size());
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
D | metered_stream.py | 144 last_newline = str.rfind("\n")
|
/external/astl/tests/ |
D | test_string.cpp | 1040 EXPECT_TRUE(s.rfind('a') == string::npos); in testCharSearch() 1041 EXPECT_TRUE(s.rfind('a', 0) == string::npos); in testCharSearch() 1042 EXPECT_TRUE(s.rfind('a', 10) == string::npos); in testCharSearch() 1044 EXPECT_TRUE(s.rfind('a', 10) == 10); in testCharSearch() 1045 EXPECT_TRUE(s.rfind('a', 9) == 7); in testCharSearch() 1046 EXPECT_TRUE(s.rfind('a', 0) == 0); in testCharSearch() 1048 EXPECT_TRUE(s.rfind('a') == 0); in testCharSearch()
|
/external/llvm/lib/Support/Windows/ |
D | Path.inc | 82 pos = path.rfind(':',len); 318 size_t slash = path.rfind('/'); 324 size_t dot = path.rfind('.'); 334 size_t slash = path.rfind('/'); 340 size_t dot = path.rfind('.'); 405 size_t pos = path.rfind('/'); 563 size_t slashpos = path.rfind('/',path.size()); 577 size_t dotpos = path.rfind('.',path.size()); 578 size_t slashpos = path.rfind('/',path.size());
|