Home
last modified time | relevance | path

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

12345678

/external/libcxx/test/algorithms/alg.nonmodifying/alg.find.first.of/
Dfind_first_of.pass.cpp28 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
34 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
39 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
44 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
Dfind_first_of_pred.pass.cpp30 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
37 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
43 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
49 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
DAndroid.mk23 test_name := algorithms/alg.nonmodifying/alg.find.first.of/find_first_of
24 test_src := find_first_of.pass.cpp
/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.cc330 ASSERT_EQ(3U, Piece(one_two_three_four).find_first_of(comma_colon)); in TYPED_TEST()
331 ASSERT_EQ(a.find_first_of(b), 0U); in TYPED_TEST()
332 ASSERT_EQ(a.find_first_of(b, 0), 0U); in TYPED_TEST()
333 ASSERT_EQ(a.find_first_of(b, 1), 1U); in TYPED_TEST()
334 ASSERT_EQ(a.find_first_of(b, 2), 2U); in TYPED_TEST()
335 ASSERT_EQ(a.find_first_of(b, 3), Piece::npos); in TYPED_TEST()
336 ASSERT_EQ(a.find_first_of(c), 23U); in TYPED_TEST()
337 ASSERT_EQ(a.find_first_of(c, 23), 23U); in TYPED_TEST()
338 ASSERT_EQ(a.find_first_of(c, 24), 24U); in TYPED_TEST()
339 ASSERT_EQ(a.find_first_of(c, 25), 25U); in TYPED_TEST()
[all …]
Dstring_piece.h99 BASE_EXPORT size_t find_first_of(const StringPiece& self,
102 BASE_EXPORT size_t find_first_of(const StringPiece16& self,
305 size_type find_first_of(const BasicStringPiece& s,
307 return internal::find_first_of(*this, s, pos);
309 size_type find_first_of(value_type c, size_type pos = 0) const {
/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/chromium_org/third_party/cython/src/Cython/Includes/libcpp/
Dstring.pxd70 size_t find_first_of(string&, size_t) nogil
71 size_t find_first_of(char* s, size_t, size_t) nogil
72 size_t find_first_of(char*, size_t pos) nogil
73 size_t find_first_of(char c, size_t) nogil
74 size_t find_first_of(char c) nogil
/external/llvm/include/llvm/ADT/
DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
/external/llvm/tools/opt/
DPasses.cpp146 size_t End = PipelineText.find_first_of(",)"); in parseFunctionPassPipeline()
196 size_t End = PipelineText.find_first_of(",)"); in parseCGSCCPassPipeline()
259 size_t End = PipelineText.find_first_of(",)"); in parseModulePassPipeline()
304 PipelineText.substr(0, PipelineText.find_first_of(",)")); in parsePassPipeline()
/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/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/chromium_org/net/http/
Dhttp_util.cc34 for (size_t end = line.find_first_of(set, start + 1); in FindStringEnd()
35 end != std::string::npos; end = line.find_first_of(set, end + 2)) { in FindStringEnd()
53 size_t cur_delim_pos = line.find_first_of(delim_str, search_start); in FindDelimiter()
92 size_t type_end = content_type_str.find_first_of(HTTP_LWS ";(", type_val); in ParseContentType()
101 size_t param_start = content_type_str.find_first_of(';', type_end); in ParseContentType()
146 charset_end = std::min(content_type_str.find_first_of(HTTP_LWS ";(", in ParseContentType()
161 content_type_str.find_first_of('/') != std::string::npos) { in ParseContentType()
566 size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); in FindStatusLineEnd()
/external/chromium_org/third_party/webrtc/base/
Dpathutils.cc188 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) { in SetBasename()
200 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || in SetExtension()
201 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { in SetExtension()
/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_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/libcxx/test/strings/basic.string/string.ops/string_find.first.of/
Dchar_size.pass.cpp24 assert(s.find_first_of(c, pos) == x); in test()
33 assert(s.find_first_of(c) == x); in test()
/external/chromium_org/storage/common/database/
Ddatabase_identifier.cc64 if (identifier.find_first_of(forbidden, 0, arraysize(forbidden)) != in Parse()
69 size_t first_underscore = identifier.find_first_of('_'); in Parse()
/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_org/net/dns/
Ddns_hosts.cc98 pos_ = text_.find_first_of(" \t\n\r#", pos_); in SkipToken()
101 pos_ = text_.find_first_of(" ,\t\n\r#", pos_); in SkipToken()
/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/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()
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
Dxmlprinter.cc132 size_t unsafe = text.find_first_of("<>&\"", safe); in PrintQuotedValue()
153 size_t unsafe = text.find_first_of("<>&", safe); in PrintBodyText()

12345678