Searched refs:inline_autocomplete_offset (Results 1 – 5 of 5) sorted by relevance
178 size_t inline_autocomplete_offset = URLPrefix::GetInlineAutocompleteOffset( in BookmarkMatchToACMatch() local191 offsets.push_back(inline_autocomplete_offset); in BookmarkMatchToACMatch()195 inline_autocomplete_offset = offsets.back(); in BookmarkMatchToACMatch()207 if (inline_autocomplete_offset != base::string16::npos) { in BookmarkMatchToACMatch()212 if (inline_autocomplete_offset < match.fill_into_edit.length()) { in BookmarkMatchToACMatch()214 match.fill_into_edit.substr(inline_autocomplete_offset); in BookmarkMatchToACMatch()
1148 size_t inline_autocomplete_offset = in HistoryMatchToACMatch() local1160 &inline_autocomplete_offset), in HistoryMatchToACMatch()1163 (inline_autocomplete_offset != base::string16::npos)) { in HistoryMatchToACMatch()1164 DCHECK(inline_autocomplete_offset <= match.fill_into_edit.length()); in HistoryMatchToACMatch()1166 match.fill_into_edit.substr(inline_autocomplete_offset); in HistoryMatchToACMatch()1171 ((inline_autocomplete_offset != base::string16::npos) && in HistoryMatchToACMatch()1172 (inline_autocomplete_offset >= match.fill_into_edit.length())); in HistoryMatchToACMatch()1178 (inline_autocomplete_offset != base::string16::npos) && in HistoryMatchToACMatch()1179 (inline_autocomplete_offset != match_start)) { in HistoryMatchToACMatch()1180 DCHECK(inline_autocomplete_offset > match_start); in HistoryMatchToACMatch()[all …]
261 size_t inline_autocomplete_offset = new_matches[0].offset + in QuickMatchToACMatch() local267 if (inline_autocomplete_offset < match.fill_into_edit.length()) { in QuickMatchToACMatch()269 match.fill_into_edit.substr(inline_autocomplete_offset); in QuickMatchToACMatch()
229 const size_t inline_autocomplete_offset = in ShortcutToACMatch() local232 if (inline_autocomplete_offset != base::string16::npos) { in ShortcutToACMatch()234 match.fill_into_edit.substr(inline_autocomplete_offset); in ShortcutToACMatch()
1321 size_t inline_autocomplete_offset = (prefix == NULL) ? in NavigationToMatch() local1328 &inline_autocomplete_offset), in NavigationToMatch()1334 if (inline_autocomplete_offset != base::string16::npos) in NavigationToMatch()1335 ++inline_autocomplete_offset; in NavigationToMatch()1337 if (inline_autocomplete_offset != base::string16::npos) { in NavigationToMatch()1338 DCHECK(inline_autocomplete_offset <= match.fill_into_edit.length()); in NavigationToMatch()1340 match.fill_into_edit.substr(inline_autocomplete_offset); in NavigationToMatch()