find_first_of 111 base/command_line.cc if (arg.find_first_of(L" \\\"") == std::wstring::npos) { find_first_of 221 base/strings/string_piece.cc std::find_first_of(self.begin() + pos, self.end(), s.begin(), s.end()); find_first_of 94 base/strings/string_piece.h BASE_EXPORT size_t find_first_of(const StringPiece& self, find_first_of 97 base/strings/string_piece.h BASE_EXPORT size_t find_first_of(const StringPiece16& self, find_first_of 300 base/strings/string_piece.h size_type find_first_of(const BasicStringPiece& s, find_first_of 302 base/strings/string_piece.h return internal::find_first_of(*this, s, pos); find_first_of 304 base/strings/string_piece.h size_type find_first_of(value_type c, size_type pos = 0) const { find_first_of 330 base/strings/string_piece_unittest.cc ASSERT_EQ(3U, Piece(one_two_three_four).find_first_of(comma_colon)); find_first_of 331 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(b), 0U); find_first_of 332 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(b, 0), 0U); find_first_of 333 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(b, 1), 1U); find_first_of 334 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(b, 2), 2U); find_first_of 335 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(b, 3), Piece::npos); find_first_of 336 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(c), 23U); find_first_of 337 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(c, 23), 23U); find_first_of 338 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(c, 24), 24U); find_first_of 339 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(c, 25), 25U); find_first_of 340 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(c, 26), Piece::npos); find_first_of 341 base/strings/string_piece_unittest.cc ASSERT_EQ(g.find_first_of(b), 13U); find_first_of 342 base/strings/string_piece_unittest.cc ASSERT_EQ(g.find_first_of(c), 0U); find_first_of 343 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(f), Piece::npos); find_first_of 344 base/strings/string_piece_unittest.cc ASSERT_EQ(f.find_first_of(a), Piece::npos); find_first_of 346 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(d), Piece::npos); find_first_of 347 base/strings/string_piece_unittest.cc ASSERT_EQ(a.find_first_of(e), Piece::npos); find_first_of 348 base/strings/string_piece_unittest.cc ASSERT_EQ(d.find_first_of(b), Piece::npos); find_first_of 349 base/strings/string_piece_unittest.cc ASSERT_EQ(e.find_first_of(b), Piece::npos); find_first_of 350 base/strings/string_piece_unittest.cc ASSERT_EQ(d.find_first_of(d), Piece::npos); find_first_of 351 base/strings/string_piece_unittest.cc ASSERT_EQ(e.find_first_of(d), Piece::npos); find_first_of 352 base/strings/string_piece_unittest.cc ASSERT_EQ(d.find_first_of(e), Piece::npos); find_first_of 353 base/strings/string_piece_unittest.cc ASSERT_EQ(e.find_first_of(e), Piece::npos); find_first_of 46 base/strings/string_split.cc size_t end_key_pos = line.find_first_of(key_value_delimiter); find_first_of 129 base/strings/string_util.cc size_t found = output->find_first_of(replace_chars); find_first_of 133 base/strings/string_util.cc found = output->find_first_of(replace_chars, found + replace_length); find_first_of 558 base/strings/string_util.cc typename STR::size_type end = str.find_first_of(delimiters, start + 1); find_first_of 38 base/vlog.cc std::string::size_type first_slash = pattern.find_first_of("\\/"); find_first_of 1043 chrome/browser/autocomplete/history_url_provider.cc history::HistoryMatches::iterator first(std::find_first_of( find_first_of 1051 chrome/browser/autocomplete/history_url_provider.cc for (history::HistoryMatches::iterator next(std::find_first_of(first + 1, find_first_of 1054 chrome/browser/autocomplete/history_url_provider.cc next != matches->end(); next = std::find_first_of(next, matches->end(), find_first_of 108 chrome/browser/autocomplete/keyword_provider.cc const size_t first_white(input.find_first_of(base::kWhitespaceUTF16)); find_first_of 319 chrome/browser/chromeos/options/vpn_config_view.cc base::string16::size_type n = server.find_first_of(L'.'); find_first_of 98 chrome/browser/chromeos/system/syslogs_provider.cc size_t endl_pos = data->find_first_of(kNewLineChars); find_first_of 198 chrome/browser/drive/drive_api_util.cc size_t end_token = query.find_first_of(kDelimiter, begin_token); find_first_of 350 chrome/browser/enumerate_modules_model_win.cc size_t first_space = module->version.find_first_of(L" "); find_first_of 97 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc if (path.find_first_of("*?") != std::string::npos) { find_first_of 93 chrome/browser/internal_auth.cc domain.find_first_of(kItemSeparator) == std::string::npos; find_first_of 120 chrome/browser/internal_auth.cc value.find_first_of(kItemSeparator) == std::string::npos; find_first_of 44 chrome/browser/local_discovery/device_description.cc size_t equals_pos = i->find_first_of('='); find_first_of 330 chrome/browser/managed_mode/managed_user_settings_service.cc size_t pos = key->find_first_of(kSplitSettingKeySeparator); find_first_of 113 chrome/browser/process_singleton_win.cc const std::wstring::size_type first_null = msg.find_first_of(L'\0'); find_first_of 127 chrome/browser/process_singleton_win.cc msg.find_first_of(L'\0', first_null + 1); find_first_of 140 chrome/browser/process_singleton_win.cc msg.find_first_of(L'\0', second_null + 1); find_first_of 590 chrome/browser/profiles/profile_shortcut_manager_win.cc size_t pos = sanitized.find_first_of(kReservedCharacters); find_first_of 593 chrome/browser/profiles/profile_shortcut_manager_win.cc pos = sanitized.find_first_of(kReservedCharacters, pos + 1); find_first_of 213 chrome/browser/search_engines/template_url_parser.cc size_t index = node_name.find_first_of(":"); find_first_of 664 chrome/browser/search_engines/template_url_prepopulate_data.cc size_t end = locale_str.find_first_of(".@", begin); find_first_of 261 chrome/browser/shell_integration_linux.cc if (arg.find_first_of(" \t\n\"'\\><~|&;$*?#()`") == std::string::npos) find_first_of 82 chrome/browser/sync/glue/session_model_associator.cc if (session_tag.find_first_of(SessionTagPrefix()) == std::string::npos) { find_first_of 26 chrome/browser/ui/browser_window_state.cc size_t num1_size = str.find_first_of(','); find_first_of 1784 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc url = GURL(url_string.substr(0, url_string.find_first_of('\n'))); find_first_of 22 chrome/browser/ui/omnibox/location_bar_util.cc const size_t ws_index = description.find_first_of(base::kWhitespaceUTF16); find_first_of 218 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc path.find_first_of('*', 3) == std::string::npos); find_first_of 403 chrome/common/extensions/extension_file_util.cc if (filename.find_first_of(FILE_PATH_LITERAL("_")) != 0) continue; find_first_of 160 chrome/common/importer/firefox_importer_utils.cc size_t separator_pos = line.find_first_of('='); find_first_of 225 chrome/common/importer/firefox_importer_utils.cc size_t seperator = home_page_list.find_first_of('|'); find_first_of 239 chrome/common/importer/firefox_importer_utils.cc size_t seperator = default_homepages.find_first_of('|'); find_first_of 18 chrome/common/local_discovery/service_discovery_client.cc size_t first_period = service_name.find_first_of('.'); find_first_of 25 chrome/common/local_discovery/service_discovery_client.cc size_t first_period = service_name.find_first_of('.'); find_first_of 252 chrome/utility/importer/bookmark_html_reader.cc size_t end = line.find_first_of('\"', begin); find_first_of 101 components/storage_monitor/storage_info.cc size_t prefix_length = device_id.find_first_of(':'); find_first_of 181 content/browser/speech/google_one_shot_remote_engine.cc size_t separator = accepted_language_list.find_first_of(",;"); find_first_of 554 content/browser/speech/google_streaming_remote_engine.cc size_t separator = accepted_language_list.find_first_of(",;"); find_first_of 234 content/browser/web_contents/web_drag_dest_gtk.cc size_t split = netscape_url.find_first_of('\n'); find_first_of 111 extensions/common/csp_validator.cc return policy.find_first_of(kBadChars, 0, arraysize(kBadChars)) == find_first_of 63 gpu/config/gpu_info_collector.cc size_t begin = version_string.find_first_of("0123456789"); find_first_of 25 gpu/config/gpu_info_collector_android.cc size_t begin = version_string.find_first_of("0123456789"); find_first_of 31 gpu/config/gpu_info_collector_android.cc begin = version_string.find_first_of("0123456789", end); find_first_of 57 gpu/config/gpu_info_collector_x11.cc size_t begin = line.find_first_of("0123456789"); find_first_of 191 ipc/ipc_channel_win.cc size_t index = channel_id.find_first_of('\\'); find_first_of 42 media/cdm/json_web_key.cc if (encoded_text.find_first_of(kBase64Padding) != std::string::npos) find_first_of 63 media/video/capture/file_video_capture_device.cc while ((blank_position = file_header.find_first_of("\n ", index)) != find_first_of 124 native_client_sdk/src/examples/api/audio/audio.cc size_t sep_pos = message.find_first_of(kMessageArgumentSeparator); find_first_of 43 native_client_sdk/src/examples/api/url_loader/url_loader.cc size_t sep_pos = message.find_first_of(kMessageArgumentSeparator); find_first_of 689 net/base/mime_util.cc size_t found = it->find_first_of('.'); find_first_of 135 net/base/sdch_manager.cc size_t end_of_host_index = referrer_url_host.find_first_of('.'); find_first_of 102 net/cookies/parsed_cookie.cc if (value.find_first_of(separators) != std::string::npos) find_first_of 253 net/cookies/parsed_cookie.cc s.find_first_of(std::string(kTerminator, kTerminatorLen)); find_first_of 88 net/dns/dns_hosts.cc pos_ = text_.find_first_of(" \t\n\r#", pos_); find_first_of 41 net/ftp/ftp_network_transaction.cc if (input.find_first_of("\r\n") != std::string::npos) find_first_of 154 net/http/http_content_disposition.cc part.find_first_of("bBqQ") == std::string::npos) { find_first_of 34 net/http/http_util.cc for (size_t end = line.find_first_of(set, start + 1); find_first_of 35 net/http/http_util.cc end != std::string::npos; end = line.find_first_of(set, end + 2)) { find_first_of 53 net/http/http_util.cc size_t cur_delim_pos = line.find_first_of(delim_str, search_start); find_first_of 92 net/http/http_util.cc size_t type_end = content_type_str.find_first_of(HTTP_LWS ";(", type_val); find_first_of 101 net/http/http_util.cc size_t param_start = content_type_str.find_first_of(';', type_end); find_first_of 146 net/http/http_util.cc charset_end = std::min(content_type_str.find_first_of(HTTP_LWS ";(", find_first_of 161 net/http/http_util.cc content_type_str.find_first_of('/') != std::string::npos) { find_first_of 553 net/http/http_util.cc size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n"); find_first_of 45 net/test/embedded_test_server/http_response.cc DCHECK(header_value.find_first_of("\n\r") == std::string::npos) << find_first_of 19 net/tools/dump_cache/url_utilities.cc size_t next_slash = url.find_first_of('/', b); find_first_of 20 net/tools/dump_cache/url_utilities.cc size_t next_colon = url.find_first_of(':', b); find_first_of 54 net/tools/flip_server/loadtime_measurement.h size_t b = action.find_first_of('='); find_first_of 201 net/tools/quic/quic_in_memory_cache.cc int path_start = base.find_first_of('/'); find_first_of 160 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.find_first_of("\r\n", line_start); find_first_of 165 net/tools/tld_cleanup/tld_cleanup_util.cc line_end = data.find_first_of("\r\n \t", line_start); find_first_of 214 net/tools/tld_cleanup/tld_cleanup_util.cc line_start = data.find_first_of("\r\n", line_end); find_first_of 34 net/websockets/websocket_handshake_handler.cc size_t i = base::StringPiece(handshake_message, len).find_first_of("\r\n"); find_first_of 203 net/websockets/websocket_handshake_handler.cc size_t method_end = base::StringPiece(request_line_).find_first_of(" "); find_first_of 94 ppapi/proxy/file_chooser_resource.cc if (type.find_first_of('/') == std::string::npos && type[0] != '.') find_first_of 41 ppapi/tests/test_case.cc size_t delim = full_test_name.find_first_of('_'); find_first_of 238 ppapi/tests/testing_instance.cc std::string case_name = name.substr(0, name.find_first_of('_')); find_first_of 108 rlz/lib/rlz_lib.cc int events_length = events.find_first_of("\r\n "); find_first_of 554 rlz/lib/rlz_lib.cc size_t rlz_length = rlz_value.find_first_of("\r\n "); find_first_of 326 sandbox/win/src/policy_target_test.cc EXPECT_NE(desktop_name.find_first_of(L'\\'), base::string16::npos); find_first_of 329 sandbox/win/src/policy_target_test.cc desktop_name = desktop_name.substr(desktop_name.find_first_of(L'\\') + 1); find_first_of 65 third_party/protobuf/src/google/protobuf/compiler/code_generator.cc string::size_type equals_pos = parts[i].find_first_of('='); find_first_of 552 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc data_.find_first_of('\n', data_pos) + 1 - data_pos; find_first_of 929 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc string::size_type equals_pos = parts[i].find_first_of('='); find_first_of 1047 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc string::size_type equals_pos = value.find_first_of('='); find_first_of 1101 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc string::size_type colon_pos = value.find_first_of(':'); find_first_of 312 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (float_value.find_first_of(".eE") != string::npos) { find_first_of 67 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "def", def.substr(0, def.find_first_of('\n'))); find_first_of 155 third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc string::size_type pos = result.find_first_of('\n'); find_first_of 68 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "def", def.substr(0, def.find_first_of('\n'))); find_first_of 2674 third_party/protobuf/src/google/protobuf/descriptor.cc string::size_type name_dot_pos = name.find_first_of('.'); find_first_of 175 third_party/protobuf/src/google/protobuf/stubs/strutil.cc end_index = full.find_first_of(delim, begin_index); find_first_of 213 third_party/protobuf/src/google/protobuf/stubs/strutil.cc end_index = full.find_first_of(delim, begin_index); find_first_of 106 tools/gn/label.cc size_t path_separator = input.find_first_of(":("); find_first_of 59 tools/win/split_link/split_link.cc argument.find_first_of(L" \t\n\v\"") == argument.npos) { find_first_of 670 ui/base/clipboard/clipboard_win.cc const size_t title_end = bookmark.find_first_of(kDelim); find_first_of 305 ui/gfx/text_elider_unittest.cc size_t index = text.find_first_of(first_char); find_first_of 309 ui/gfx/text_elider_unittest.cc index = text.find_first_of(first_char, index + 1); find_first_of 311 ui/gfx/text_elider_unittest.cc index = text.find_first_of(second_char); find_first_of 315 ui/gfx/text_elider_unittest.cc index = text.find_first_of(second_char, index + 1); find_first_of 80 webkit/browser/database/database_util.cc pos = origin_identifier.find_first_of(forbidden, 0, arraysize(forbidden)); find_first_of 62 webkit/common/database/database_identifier.cc size_t first_underscore = identifier.find_first_of('_'); find_first_of 98 webkit/common/fileapi/file_system_util.cc end = path.value().find_first_of(base::FilePath::kSeparators, begin); find_first_of 324 win8/metro_driver/file_picker.cc (ext.find_first_of(L"*?") != base::string16::npos)) { find_first_of 490 win8/metro_driver/file_picker.cc (ext.find_first_of(L"*?") != base::string16::npos)) find_first_of 262 win8/metro_driver/file_picker_ash.cc (ext.find_first_of(L"*?") != base::string16::npos)) { find_first_of 439 win8/metro_driver/file_picker_ash.cc (ext.find_first_of(L"*?") != base::string16::npos))