Home
last modified time | relevance | path

Searched refs:replacementLength (Results 1 – 10 of 10) sorted by relevance

/external/webkit/Source/WebCore/platform/text/
DTextCodecUserDefined.cpp80 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement); in encodeComplexUserDefined() local
81 result.grow(resultLength + replacementLength + length - i); in encodeComplexUserDefined()
83 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexUserDefined()
84 resultLength += replacementLength; in encodeComplexUserDefined()
DTextCodecLatin1.cpp178 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement); in encodeComplexWindowsLatin1() local
179 result.grow(resultLength + replacementLength + length - i); in encodeComplexWindowsLatin1()
181 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexWindowsLatin1()
182 resultLength += replacementLength; in encodeComplexWindowsLatin1()
/external/icu4c/i18n/
Duregex.cpp1157 int32_t replacementLength, in uregex_replaceAll() argument
1165 if (replacementText == NULL || replacementLength < -1 || in uregex_replaceAll()
1183 len += uregex_appendReplacement(regexp2, replacementText, replacementLength, in uregex_replaceAll()
1231 int32_t replacementLength, in uregex_replaceFirst() argument
1239 if (replacementText == NULL || replacementLength < -1 || in uregex_replaceFirst()
1251 len = uregex_appendReplacement(regexp2, replacementText, replacementLength, in uregex_replaceFirst()
1299 int32_t replacementLength,
1343 int32_t replacementLength, in appendReplacement() argument
1363 if (replacementText == NULL || replacementLength < -1 || in appendReplacement()
1385 if (replacementLength == -1) { in appendReplacement()
[all …]
/external/webkit/Source/WebCore/platform/text/gtk/
DTextCodecGtk.cpp555 … int replacementLength = TextCodec::getUnencodableReplacement(codePoint, handling, replacement); in encode() local
562 result.grow(size + replacementLength); in encode()
563 memcpy(result.data() + size, replacement, replacementLength); in encode()
564 size += replacementLength; in encode()
/external/icu4c/i18n/unicode/
Duregex.h939 int32_t replacementLength,
998 int32_t replacementLength,
1080 int32_t replacementLength,
/external/icu4c/common/unicode/
Dutext.h988 const UChar *replacementText, int32_t replacementLength,
/external/webkit/Source/WebCore/editing/
DEditor.cpp2221 int replacementLength = result->replacement.length(); in markAllMisspellingsAndBadGrammarInRanges() local
2227 bool doReplacement = replacementLength > 0 && !resultEndsAtAmbiguousBoundary; in markAllMisspellingsAndBadGrammarInRanges()
2288 offsetDueToReplacement += replacementLength - resultLength; in markAllMisspellingsAndBadGrammarInRanges()
2290 selectionOffset += replacementLength - resultLength; in markAllMisspellingsAndBadGrammarInRanges()
2297 …orrector->markCorrection(spellingParagraph.subrange(resultLocation, replacementLength), replacedSt… in markAllMisspellingsAndBadGrammarInRanges()
/external/icu4c/common/
Dutext.cpp830 const UChar *replacementText, int32_t replacementLength, in utext_replace() argument
840 … i = ut->pFuncs->replace(ut, nativeStart, nativeLimit, replacementText, replacementLength, status); in utext_replace()
/external/webkit/Source/WebKit/qt/Api/
Dqwebpage.cpp1109 if (node && ev->replacementLength() > 0) { in inputMethodEvent()
1112 setSelectionRange(node, start, start + ev->replacementLength()); in inputMethodEvent()
/external/webkit/Source/WebKit/qt/
DChangeLog-2011-02-161733 Fixed handling of QInputMethodEvents with nonzero replacementLength.
1736 WebKit did not check for replacementLength at all.
1961 Fixed handling of QInputMethodEvents with nonzero replacementLength.
1964 WebKit did not check for replacementLength at all.