Searched refs:classifications (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/components/omnibox/
H A Dautocomplete_match.cc21 bool IsTrivialClassification(const ACMatchClassifications& classifications) { argument
22 return classifications.empty() ||
23 ((classifications.size() == 1) &&
24 (classifications.back().style == ACMatchClassification::NONE));
260 const ACMatchClassifications& classifications) {
262 for (size_t i = 0; i < classifications.size(); ++i) {
265 serialized_classifications += base::IntToString(classifications[i].offset) +
266 ',' + base::IntToString(classifications[i].style);
274 ACMatchClassifications classifications; local
284 return classifications;
259 ClassificationsToString( const ACMatchClassifications& classifications) argument
293 AddLastClassificationIfNecessary( ACMatchClassifications* classifications, size_t offset, int style) argument
[all...]
H A Dautocomplete_match.h115 // Fills in the classifications for |text|, using |style| as the base style
121 ACMatchClassifications* classifications);
131 ACMatchClassifications* classifications);
133 // Returns a new vector of classifications containing the merged contents of
139 // Converts classifications to and from a serialized string representation
142 const ACMatchClassifications& classifications);
146 // Adds a classification to the end of |classifications| iff its style is
148 // than the offset of the last classification in |classifications|.
150 ACMatchClassifications* classifications,
378 // Checks one text/classifications pai
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider.cc321 ACMatchClassifications classifications; local
324 classifications.push_back(ACMatchClassification(0, url_style));
325 return classifications;
335 classifications = AutocompleteMatch::MergeClassifications(
336 classifications, new_class);
338 return classifications;
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_result_view.cc351 const ACMatchClassifications& classifications,
355 for (size_t i = 0; i < classifications.size(); ++i) {
356 const size_t text_start = classifications[i].offset;
360 const size_t text_end = (i < (classifications.size() - 1)) ?
361 std::min(classifications[i + 1].offset, text_length) :
366 if (classifications[i].style & ACMatchClassification::MATCH)
370 if (classifications[i].style & ACMatchClassification::URL) {
385 (classifications[i].style & ACMatchClassification::DIM)) {
349 CreateClassifiedRenderText( const base::string16& text, const ACMatchClassifications& classifications, bool force_dim) const argument
H A Domnibox_result_view.h106 // |classifications| and |force_dim| are used to style the text.
109 const ACMatchClassifications& classifications,
/external/libvorbis/doc/
H A D08-residue.tex26 classifies each chunk, encodes the chunk classifications and finally
207 codebook classifications and the maximum possible number of encoding
305 11) array [classifications] element [j],([i]+[partition_count]) =
324 16) [vqclass] = array [classifications] element [j],[partition_count]
/external/libvorbis/lib/
H A Dmapping0.c670 long **classifications; local
681 classifications=_residue_P[ci->residue_type[resnum]]->
691 couple_bundle,zerobundle,ch_in_bundle,classifications,i);

Completed in 1375 milliseconds