/external/chromium/base/ |
D | string_piece_unittest.cc | 261 ASSERT_EQ(a.find_first_of(b), 0U); in TEST() 262 ASSERT_EQ(a.find_first_of(b, 0), 0U); in TEST() 263 ASSERT_EQ(a.find_first_of(b, 1), 1U); in TEST() 264 ASSERT_EQ(a.find_first_of(b, 2), 2U); in TEST() 265 ASSERT_EQ(a.find_first_of(b, 3), StringPiece::npos); in TEST() 266 ASSERT_EQ(a.find_first_of(c), 23U); in TEST() 267 ASSERT_EQ(a.find_first_of(c, 23), 23U); in TEST() 268 ASSERT_EQ(a.find_first_of(c, 24), 24U); in TEST() 269 ASSERT_EQ(a.find_first_of(c, 25), 25U); in TEST() 270 ASSERT_EQ(a.find_first_of(c, 26), StringPiece::npos); in TEST() [all …]
|
D | sys_info_chromeos.cc | 92 size_t start_index = lsb_release.find_first_of('=', version_key_index); in ParseLsbRelease() 94 size_t length = lsb_release.find_first_of('\n', start_index) - start_index; in ParseLsbRelease()
|
D | string_piece.h | 143 size_type find_first_of(const StringPiece& s, size_type pos = 0) const; 144 size_type find_first_of(char c, size_type pos = 0) const {
|
D | string_piece.cc | 97 size_type StringPiece::find_first_of(const StringPiece& s, in find_first_of() function in base::StringPiece 104 return find_first_of(s.ptr_[0], pos); in find_first_of()
|
/external/stlport/test/unit/ |
D | alg_test.cpp | 230 first = find_first_of(intv.begin(), intv.end(), intsl.begin(), intsl.end()); in find_first_of_test() 242 first = find_first_of(intv.begin(), intv.end(), intsl.begin(), intsl.end()); in find_first_of_test() 260 first = find_first_of(intv.begin(), intv.end(), intl.begin(), intl.end()); in find_first_of_test() 272 first = find_first_of(intv.begin(), intv.end(), intl.begin(), intl.end()); in find_first_of_test() 286 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 300 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 315 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 329 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 359 …map<int, string>::iterator i = find_first_of(m.begin(), m.end(), values.begin(), values.end(), Val… in find_first_of_nsc_test()
|
/external/llvm/include/llvm/ADT/ |
D | SmallString.h | 175 size_t find_first_of(char C, size_t From = 0) const { 176 return str().find_first_of(C, From); 183 size_t find_first_of(StringRef Chars, size_t From = 0) const { 184 return str().find_first_of(Chars, From);
|
/external/chromium/net/tools/flip_server/ |
D | loadtime_measurement.h | 53 size_t b = action.find_first_of('='); in ProcessRequest() 106 size_t e = str.find_first_of(sepa, b); in split_string() 110 e = str.find_first_of(sepa, b); in split_string()
|
/external/valgrind/tsan/ |
D | ts_util.cc | 242 size_t next_brace = fname.find_first_of("<>", read_pointer); in StripTemplatesFromFunctionName() 328 if (fname.find_first_of("(") == fname.npos) in StripParametersFromFunctionName() 339 DCHECK(fname.find_first_of(")") != fname.npos); in StripParametersFromFunctionName() 340 DCHECK(fname.find_first_of(")") > first_parenthesis); in StripParametersFromFunctionName() 356 size_t next_brace = fname.find_first_of("()", read_pointer); in StripParametersFromFunctionName() 404 space_or_tick = ret.find_first_of("` "); in StripParametersFromFunctionName() 423 if (demangled.find_first_of("<>()") == demangled.npos) { in NormalizeFunctionName()
|
/external/chromium/net/http/ |
D | http_util.cc | 34 size_t end = line.find_first_of(set, start + 1); in FindStringEnd() 64 size_t cur_delim_pos = line.find_first_of(delim_str, search_start); in FindDelimiter() 99 size_t type_end = content_type_str.find_first_of(HTTP_LWS ";(", type_val); in ParseContentType() 108 size_t param_start = content_type_str.find_first_of(';', type_end); in ParseContentType() 147 charset_end = std::min(content_type_str.find_first_of(HTTP_LWS ";(", in ParseContentType() 162 content_type_str.find_first_of('/') != string::npos) { in ParseContentType() 497 size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); in FindStatusLineEnd()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | pathutils.cc | 205 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) { in SetBasename() 217 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || in SetExtension() 218 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { in SetExtension()
|
/external/llvm/unittests/ADT/ |
D | SmallStringTest.cpp | 136 EXPECT_EQ(2U, theString.find_first_of('l')); in TEST_F() 137 EXPECT_EQ(1U, theString.find_first_of("el")); in TEST_F() 138 EXPECT_EQ(StringRef::npos, theString.find_first_of("xyz")); in TEST_F()
|
/external/chromium/net/tools/tld_cleanup/ |
D | tld_cleanup.cc | 185 line_end = data.find_first_of("\r\n", line_start); in NormalizeFile() 190 line_end = data.find_first_of("\r\n \t", line_start); in NormalizeFile() 218 line_start = data.find_first_of("\r\n", line_end); in NormalizeFile()
|
/external/chromium/net/tools/dump_cache/ |
D | url_utilities.cc | 19 size_t next_slash = url.find_first_of('/', b); in GetUrlHost() 20 size_t next_colon = url.find_first_of(':', b); in GetUrlHost()
|
/external/chromium/chrome/browser/ |
D | process_singleton_win.cc | 235 const std::wstring::size_type first_null = msg.find_first_of(L'\0'); in OnCopyData() 249 msg.find_first_of(L'\0', first_null + 1); in OnCopyData() 262 msg.find_first_of(L'\0', second_null + 1); in OnCopyData()
|
/external/stlport/stlport/stl/ |
D | _string_sum.h | 199 size_type find_first_of(const _BString& __s, size_type __pos = 0) const 200 { return _M_get_storage().find_first_of(__s, __pos); } 201 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const 202 { return _M_get_storage().find_first_of(__s, __pos); } 203 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const in find_first_of() function 204 { return _M_get_storage().find_first_of(__s, __pos, __n); } in find_first_of() 205 size_type find_first_of(_CharT __c, size_type __pos = 0) const
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 163 std::string::size_type DotIdx = OpName.find_first_of("."); in ParseOperandName() 200 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() 220 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint() 226 wpos = Name.find_first_of(" \t"); in ParseConstraint() 259 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
D | xmlprinter.cc | 154 size_t unsafe = text.find_first_of("<>&\"", safe); in PrintQuotedValue() 176 size_t unsafe = text.find_first_of("<>&", safe); in PrintBodyText()
|
/external/llvm/lib/Target/ |
D | Mangler.cpp | 140 Name.find_first_of("\n\"") == StringRef::npos)) { in getNameWithPrefix() 152 assert(Name.find_first_of("\n\"") != StringRef::npos); in getNameWithPrefix()
|
/external/chromium/chrome/browser/ui/omnibox/ |
D | location_bar_util.cc | 31 const size_t ws_index = description.find_first_of(kWhitespaceWide); in CalculateMinString()
|
/external/stlport/stlport/stl/debug/ |
D | _string.h | 727 size_type find_first_of(const _Self& __s, size_type __pos = 0) const 728 { return _M_non_dbg_impl.find_first_of(__s._M_non_dbg_impl, __pos); } 729 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const { 732 return _M_non_dbg_impl.find_first_of(__s, __pos); 734 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const { in find_first_of() function 737 return _M_non_dbg_impl.find_first_of(__s, __pos, __n); in find_first_of() 739 size_type find_first_of(_CharT __c, size_type __pos = 0) const 740 { return _M_non_dbg_impl.find_first_of(__c, __pos); }
|
/external/protobuf/src/google/protobuf/compiler/ |
D | code_generator.cc | 60 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter()
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | user_image_source.cc | 45 std::string email = path.substr(0, path.find_first_of("?")); in StartDataRequest()
|
/external/astl/tests/ |
D | test_string.cpp | 1002 EXPECT_TRUE(s.find_first_of('a') == string::npos); in testCharSearch() 1004 EXPECT_TRUE(s.find_first_of('a') == 0); in testCharSearch() 1005 EXPECT_TRUE(s.find_first_of('a', 0) == 0); in testCharSearch() 1006 EXPECT_TRUE(s.find_first_of('a', 1) == 3); in testCharSearch() 1007 EXPECT_TRUE(s.find_first_of('a', 8) == 10); in testCharSearch() 1009 EXPECT_TRUE(s.find_first_of('a') == 7); in testCharSearch() 1010 EXPECT_TRUE(s.find_first_of('a', 8) == string::npos); // out of bound in testCharSearch()
|
/external/llvm/lib/Support/ |
D | StringExtras.cpp | 44 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
|
/external/llvm/tools/llvm-mc/ |
D | Disassembler.cpp | 114 Str = Str.substr(Str.find_first_of('\n')); in ByteArrayFromString() 122 size_t Next = Str.find_first_of(" \t\n\r#"); in ByteArrayFromString()
|