Searched refs:word_starts (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/history/
H A Dscored_history_match_unittest.cc44 void PopulateWordStarts(const URLRow& url_row, RowWordStarts* word_starts);
74 const URLRow& url_row, RowWordStarts* word_starts) {
76 &word_starts->url_word_starts_);
77 String16SetFromString16(url_row.title(), &word_starts->title_word_starts_);
104 RowWordStarts word_starts; local
105 String16SetFromString16(url, &word_starts.url_word_starts_);
106 String16SetFromString16(title, &word_starts.title_word_starts_);
107 return scored_match.GetTopicalityScore(1, url, word_starts);
214 RowWordStarts word_starts; local
215 PopulateWordStarts(row, &word_starts);
73 PopulateWordStarts( const URLRow& url_row, RowWordStarts* word_starts) argument
237 RowWordStarts word_starts; local
261 RowWordStarts word_starts; local
286 RowWordStarts word_starts; local
306 RowWordStarts word_starts; local
[all...]
H A Dscored_history_match.h50 const RowWordStarts& word_starts,
74 const WordStarts& word_starts,
99 const RowWordStarts& word_starts);
H A Dscored_history_match.cc54 const RowWordStarts& word_starts,
150 GetTopicalityScore(terms.size(), url, word_starts);
253 const WordStarts& word_starts,
260 WordStarts::const_iterator next_word_starts = word_starts.begin();
261 WordStarts::const_iterator end_word_starts = word_starts.end();
284 const RowWordStarts& word_starts) {
306 word_starts.url_word_starts_.begin();
308 word_starts.url_word_starts_.end();
329 word_starts.url_word_starts_,
336 word_starts
49 ScoredHistoryMatch(const URLRow& row, const VisitInfoVector& visits, const std::string& languages, const base::string16& lower_string, const String16Vector& terms, const RowWordStarts& word_starts, const base::Time now, BookmarkService* bookmark_service) argument
251 FilterTermMatchesByWordStarts( const TermMatches& term_matches, const WordStarts& word_starts, size_t start_pos, size_t end_pos) argument
281 GetTopicalityScore( const int num_terms, const base::string16& url, const RowWordStarts& word_starts) argument
[all...]
H A Din_memory_url_index_types.cc119 WordStarts* word_starts) {
121 String16VectorFromString16(cleaned_uni_string, false, word_starts);
132 WordStarts* word_starts) {
133 if (word_starts)
134 word_starts->clear();
154 if (!word_starts)
158 word_starts->push_back(word_start);
118 String16SetFromString16(const base::string16& cleaned_uni_string, WordStarts* word_starts) argument
129 String16VectorFromString16( const base::string16& cleaned_uni_string, bool break_on_space, WordStarts* word_starts) argument
H A Durl_index_private_data.cc323 RowWordStarts word_starts; local
324 AddRowWordsToIndex(row_to_update, &word_starts, languages);
325 word_starts_map_[row_id] = word_starts;
727 RowWordStarts word_starts; local
728 AddRowWordsToIndex(new_row, &word_starts, languages);
729 word_starts_map_[history_id] = word_starts;
754 RowWordStarts* word_starts,
761 word_starts ? &word_starts->url_word_starts_ : NULL);
764 word_starts
753 AddRowWordsToIndex(const URLRow& row, RowWordStarts* word_starts, const std::string& languages) argument
1220 RowWordStarts word_starts; local
1238 RowWordStarts word_starts; local
[all...]
H A Din_memory_url_index_types.h94 // passing |cleaned_uni_string| to this function. If |word_starts| is
97 // |word_starts|. These offsets are collected only up to the first
100 WordStarts* word_starts);
112 // the comments in base/i18n/break_iterator.h.) If |word_starts| is
113 // not NULL then clears and pushes the word starts onto |word_starts|.
124 WordStarts* word_starts);
H A Durl_index_private_data.h264 // calculate the word starts in each, saving the starts in |word_starts|.
268 RowWordStarts* word_starts,
/external/chromium_org/content/renderer/accessibility/
H A Daccessibility_node_serializer.cc168 std::vector<int32> word_starts; local
170 word_starts.reserve(src_word_starts.size());
173 word_starts.push_back(src_word_starts[i]);
176 dst->AddIntListAttribute(dst->ATTR_WORD_STARTS, word_starts);

Completed in 136 milliseconds