Lines Matching refs:edits
141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult() argument
147 if(edits!=NULL) { in appendResult()
148 edits->addUnchanged(cpLength); in appendResult()
156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
206 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower() argument
238 sink, options, edits, errorCode); in toLower()
241 if (edits != nullptr) { in toLower()
242 edits->addReplace(1, 1); in toLower()
260 sink, options, edits, errorCode); in toLower()
262 if (edits != nullptr) { in toLower()
263 edits->addReplace(2, 2); in toLower()
288 sink, options, edits, errorCode); in toLower()
289 ByteSinkUtil::appendCodePoint(srcIndex - cpStart, c + delta, sink, edits); in toLower()
306 sink, options, edits, errorCode); in toLower()
307 appendResult(srcIndex - cpStart, c, s, sink, options, edits, errorCode); in toLower()
312 sink, options, edits, errorCode); in toLower()
317 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toUpper() argument
346 sink, options, edits, errorCode); in toUpper()
349 if (edits != nullptr) { in toUpper()
350 edits->addReplace(1, 1); in toUpper()
368 sink, options, edits, errorCode); in toUpper()
370 if (edits != nullptr) { in toUpper()
371 edits->addReplace(2, 2); in toUpper()
396 sink, options, edits, errorCode); in toUpper()
397 ByteSinkUtil::appendCodePoint(srcIndex - cpStart, c + delta, sink, edits); in toUpper()
410 sink, options, edits, errorCode); in toUpper()
411 appendResult(srcIndex - cpStart, c, s, sink, options, edits, errorCode); in toUpper()
416 sink, options, edits, errorCode); in toUpper()
427 ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToTitle() argument
482 sink, options, edits, errorCode)) { in ucasemap_internalUTF8ToTitle()
495 … if (!appendResult(titleLimit-titleStart, c, s, sink, options, edits, errorCode)) { in ucasemap_internalUTF8ToTitle()
501 sink, options, edits, errorCode)) { in ucasemap_internalUTF8ToTitle()
511 ByteSinkUtil::appendCodePoint(1, 0x004A, sink, edits); in ucasemap_internalUTF8ToTitle()
516 sink, options, edits, errorCode)) { in ucasemap_internalUTF8ToTitle()
529 sink, edits, errorCode); in ucasemap_internalUTF8ToTitle()
536 sink, options, edits, errorCode)) { in ucasemap_internalUTF8ToTitle()
572 ByteSink &sink, Edits *edits, in toUpper() argument
650 if (edits == nullptr && (options & U_OMIT_UNCHANGED_TEXT) == 0) { in toUpper()
675 if (edits != NULL) { in toUpper()
676 edits->addReplace(oldLength, newLength); in toUpper()
679 if (edits != NULL) { in toUpper()
680 edits->addUnchanged(oldLength); in toUpper()
703 if (!appendResult(nextIndex - i, c, s, sink, options, edits, errorCode)) { in toUpper()
709 sink, options, edits, errorCode)) { in toUpper()
724 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToLower() argument
732 sink, edits, errorCode); in ucasemap_internalUTF8ToLower()
738 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToUpper() argument
741 GreekUpper::toUpper(options, src, srcLength, sink, edits, errorCode); in ucasemap_internalUTF8ToUpper()
749 sink, edits, errorCode); in ucasemap_internalUTF8ToUpper()
756 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8Fold() argument
761 sink, edits, errorCode); in ucasemap_internalUTF8Fold()
768 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_mapUTF8() argument
784 if (edits != nullptr && (options & U_EDITS_NO_RESET) == 0) { in ucasemap_mapUTF8()
785 edits->reset(); in ucasemap_mapUTF8()
788 (const uint8_t *)src, srcLength, sink, edits, errorCode); in ucasemap_mapUTF8()
791 if (edits != nullptr) { in ucasemap_mapUTF8()
792 edits->copyErrorTo(errorCode); in ucasemap_mapUTF8()
802 icu::Edits *edits, in ucasemap_mapUTF8() argument
831 if (edits != nullptr && (options & U_EDITS_NO_RESET) == 0) { in ucasemap_mapUTF8()
832 edits->reset(); in ucasemap_mapUTF8()
835 (const uint8_t *)src, srcLength, sink, edits, errorCode); in ucasemap_mapUTF8()
840 } else if (edits != nullptr) { in ucasemap_mapUTF8()
841 edits->copyErrorTo(errorCode); in ucasemap_mapUTF8()
889 StringPiece src, ByteSink &sink, Edits *edits, in utf8ToLower() argument
894 ucasemap_internalUTF8ToLower, sink, edits, errorCode); in utf8ToLower()
899 StringPiece src, ByteSink &sink, Edits *edits, in utf8ToUpper() argument
904 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); in utf8ToUpper()
909 StringPiece src, ByteSink &sink, Edits *edits, in utf8Fold() argument
914 ucasemap_internalUTF8Fold, sink, edits, errorCode); in utf8Fold()
920 char *dest, int32_t destCapacity, Edits *edits, in utf8ToLower() argument
926 ucasemap_internalUTF8ToLower, edits, errorCode); in utf8ToLower()
932 char *dest, int32_t destCapacity, Edits *edits, in utf8ToUpper() argument
938 ucasemap_internalUTF8ToUpper, edits, errorCode); in utf8ToUpper()
944 char *dest, int32_t destCapacity, Edits *edits, in utf8Fold() argument
950 ucasemap_internalUTF8Fold, edits, errorCode); in utf8Fold()