Home
last modified time | relevance | path

Searched refs:find_first_of (Results 1 – 25 of 200) sorted by relevance

12345678

/external/chromium/base/
Dstring_piece_unittest.cc261 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 …]
Dsys_info_chromeos.cc92 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()
/external/stlport/test/unit/
Dalg_test.cpp230 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/chromium_org/base/strings/
Dstring_piece_unittest.cc321 StringPiece("one,two:three;four").find_first_of(StringPiece(",:"), 1), in TEST()
323 ASSERT_EQ(a.find_first_of(b), 0U); in TEST()
324 ASSERT_EQ(a.find_first_of(b, 0), 0U); in TEST()
325 ASSERT_EQ(a.find_first_of(b, 1), 1U); in TEST()
326 ASSERT_EQ(a.find_first_of(b, 2), 2U); in TEST()
327 ASSERT_EQ(a.find_first_of(b, 3), StringPiece::npos); in TEST()
328 ASSERT_EQ(a.find_first_of(c), 23U); in TEST()
329 ASSERT_EQ(a.find_first_of(c, 23), 23U); in TEST()
330 ASSERT_EQ(a.find_first_of(c, 24), 24U); in TEST()
331 ASSERT_EQ(a.find_first_of(c, 25), 25U); in TEST()
[all …]
/external/chromium_org/chrome/common/local_discovery/
Dservice_discovery_client.cc18 size_t first_period = service_name.find_first_of('.'); in instance_name()
25 size_t first_period = service_name.find_first_of('.'); in service_type()
/external/llvm/include/llvm/ADT/
DSmallString.h180 size_t find_first_of(char C, size_t From = 0) const {
181 return str().find_first_of(C, From);
188 size_t find_first_of(StringRef Chars, size_t From = 0) const {
189 return str().find_first_of(Chars, From);
/external/chromium/net/tools/flip_server/
Dloadtime_measurement.h53 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/chromium_org/net/tools/flip_server/
Dloadtime_measurement.h52 size_t b = action.find_first_of('='); in ProcessRequest()
107 size_t e = str.find_first_of(sepa, b); in split_string()
111 e = str.find_first_of(sepa, b); in split_string()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DBidiTestHarness.h126 size_t pos = str.find_first_of(separators, lastPos); // find next space in parseStringList()
131 pos = str.find_first_of(separators, lastPos); in parseStringList()
233 size_t commentStart = line.find_first_of('#'); in parse()
250 size_t seperatorIndex = line.find_first_of(';'); in parse()
/external/chromium/net/http/
Dhttp_util.cc34 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()
504 size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); in FindStatusLineEnd()
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc86 size_t end = hex_csv.find_first_of(","); in StringToGlyphId()
91 end = hex_csv.find_first_of(",", start); in StringToGlyphId()
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc86 size_t end = hex_csv.find_first_of(","); in StringToGlyphId()
91 end = hex_csv.find_first_of(",", start); in StringToGlyphId()
/external/llvm/unittests/ADT/
DSmallStringTest.cpp136 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/third_party/libjingle/source/talk/base/
Dpathutils.cc205 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/chromium_org/third_party/libjingle/source/talk/base/
Dpathutils.cc205 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/chromium_org/gpu/config/
Dgpu_info_collector_android.cc25 size_t begin = version_string.find_first_of("0123456789"); in GetDriverVersionFromString()
31 begin = version_string.find_first_of("0123456789", end); in GetDriverVersionFromString()
/external/chromium_org/net/tools/tld_cleanup/
Dtld_cleanup_util.cc160 line_end = data.find_first_of("\r\n", line_start); in NormalizeDataToRuleMap()
165 line_end = data.find_first_of("\r\n \t", line_start); in NormalizeDataToRuleMap()
214 line_start = data.find_first_of("\r\n", line_end); in NormalizeDataToRuleMap()
/external/chromium/net/tools/tld_cleanup/
Dtld_cleanup.cc185 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_org/net/tools/dump_cache/
Durl_utilities.cc19 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/net/tools/dump_cache/
Durl_utilities.cc19 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/
Dprocess_singleton_win.cc235 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/chromium_org/net/http/
Dhttp_util.cc37 size_t end = line.find_first_of(set, start + 1); in FindStringEnd()
67 size_t cur_delim_pos = line.find_first_of(delim_str, search_start); in FindDelimiter()
106 size_t type_end = content_type_str.find_first_of(HTTP_LWS ";(", type_val); in ParseContentType()
115 size_t param_start = content_type_str.find_first_of(';', type_end); in ParseContentType()
160 charset_end = std::min(content_type_str.find_first_of(HTTP_LWS ";(", in ParseContentType()
175 content_type_str.find_first_of('/') != string::npos) { in ParseContentType()
567 size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); in FindStatusLineEnd()
/external/stlport/stlport/stl/
D_string_sum.h199 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/tools/llvm-mc/
DDisassembler.cpp112 Str = Str.substr(Str.find_first_of('\n')); in SkipToToken()
133 size_t Next = Str.find_first_of(" \t\n\r,#[]"); in ByteArrayFromString()
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
Dxmlprinter.cc149 size_t unsafe = text.find_first_of("<>&\"", safe); in PrintQuotedValue()
170 size_t unsafe = text.find_first_of("<>&", safe); in PrintBodyText()

12345678