Home
last modified time | relevance | path

Searched refs:normalizedText (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/icu/source/common/
Ddictbe.cpp566 UText normalizedText = UTEXT_INITIALIZER; in divideUpDictionaryRange() local
576 utext_openUnicodeString(&normalizedText, &inputString, &status); in divideUpDictionaryRange()
590 utext_openUnicodeString(&normalizedText, &normalizedString, &status); in divideUpDictionaryRange()
622 utext_setNativeIndex(&normalizedText, i); in divideUpDictionaryRange()
630 …fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, va… in divideUpDictionaryRange()
638 !fHangulWordSet.contains(utext_current32(&normalizedText))){ in divideUpDictionaryRange()
658 utext_setNativeIndex(&normalizedText, i); in divideUpDictionaryRange()
659 bool is_katakana = isKatakana(utext_current32(&normalizedText)); in divideUpDictionaryRange()
662 utext_next32(&normalizedText); in divideUpDictionaryRange()
665 isKatakana(utext_current32(&normalizedText))) { in divideUpDictionaryRange()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp990 UText normalizedText = UTEXT_INITIALIZER; in divideUpDictionaryRange() local
1000 utext_openUnicodeString(&normalizedText, &inputString, &status); in divideUpDictionaryRange()
1015 utext_openUnicodeString(&normalizedText, &normalizedString, &status); in divideUpDictionaryRange()
1051 utext_setNativeIndex(&normalizedText, i); in divideUpDictionaryRange()
1059 …fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, va… in divideUpDictionaryRange()
1067 !fHangulWordSet.contains(utext_current32(&normalizedText))) { in divideUpDictionaryRange()
1086 utext_setNativeIndex(&normalizedText, i); in divideUpDictionaryRange()
1087 bool is_katakana = isKatakana(utext_current32(&normalizedText)); in divideUpDictionaryRange()
1090 utext_next32(&normalizedText); in divideUpDictionaryRange()
1093 isKatakana(utext_current32(&normalizedText))) { in divideUpDictionaryRange()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp2076 String normalizedText = normalizeSpaces(text); in measureText() local
2077 const TextRun textRun(normalizedText); in measureText()
2141 String normalizedText = normalizeSpaces(text); in drawTextInternal() local
2150 …TextRun textRun(normalizedText, 0, 0, TextRun::AllowTrailingExpansion, direction, override, true, … in drawTextInternal()
2154 …float fontWidth = font.width(TextRun(normalizedText, 0, 0, TextRun::AllowTrailingExpansion, direct… in drawTextInternal()
/external/chromium_org/third_party/icu/patches/
Dsegmentation.patch186 + // Normalize the input string and put it in normalizedText.
202 + UText normalizedText = UTEXT_INITIALIZER;
203 + // Needs to be declared here because normalizedText holds onto its buffer.
212 + utext_openUnicodeString(&normalizedText, &inputString, &status);
226 + utext_openUnicodeString(&normalizedText, &normalizedString, &status);
258 + utext_setNativeIndex(&normalizedText, i);
266 + fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLe…
274 + !fHangulWordSet.contains(utext_current32(&normalizedText))){
294 + utext_setNativeIndex(&normalizedText, i);
295 + bool is_katakana = isKatakana(utext_current32(&normalizedText));
[all …]