| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | filterednormalizer2.cpp | 91 normalizeUTF8(uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) const normalizeUTF8() argument 104 normalizeUTF8(uint32_t options, const char *src, int32_t length, ByteSink &sink, Edits *edits, USetSpanCondition spanCondition, UErrorCode &errorCode) const normalizeUTF8() argument
|
| H A D | normalizer2.cpp | 50 normalizeUTF8(uint32_t , StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) const normalizeUTF8() argument
|
| H A D | ustr_titlecase_brkiter.cpp | 166 toTitle( const char *locale, uint32_t options, BreakIterator *iter, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toTitle() argument
|
| H A D | ucasemap.cpp | 140 appendResult(int32_t cpLength, int32_t result, const UChar *s, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) appendResult() argument 204 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 315 toUpper(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 424 ucasemap_internalUTF8ToTitle( int32_t caseLocale, uint32_t options, BreakIterator *iter, const uint8_t *src, int32_t srcLength, ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToTitle() argument 570 toUpper(uint32_t options, const uint8_t *src, int32_t srcLength, ByteSink &sink, Edits *edits, UErrorCode &errorCode) toUpper() argument 722 ucasemap_internalUTF8ToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToLower() argument 736 ucasemap_internalUTF8ToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToUpper() argument 754 ucasemap_internalUTF8Fold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8Fold() argument 765 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 798 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 887 utf8ToLower( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 894 ucasemap_internalUTF8ToLower, sink, edits, errorCode); utf8ToLower() local 897 utf8ToUpper( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 904 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); utf8ToUpper() local 907 utf8Fold( uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8Fold() argument 917 utf8ToLower( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 929 utf8ToUpper( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 941 utf8Fold( uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8Fold() argument [all...] |
| H A D | ustrcase.cpp | 43 checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) checkOverflowAndEditsError() argument 57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, int32_t result, const UChar *s, int32_t cpLength, uint32_t options, icu::Edits *edits) appendResult() argument 140 appendNonEmptyUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendNonEmptyUnchanged() argument 158 appendUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendUnchanged() argument 202 toLower(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 300 toUpper(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 400 ustrcase_internalToTitle(int32_t caseLocale, uint32_t options, BreakIterator *iter, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToTitle() argument 1022 toUpper(uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, Edits *edits, UErrorCode &errorCode) toUpper() argument 1171 ustrcase_internalToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToLower() argument 1188 ustrcase_internalToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToUpper() argument 1211 ustrcase_internalFold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalFold() argument 1225 ustrcase_map(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UStringCaseMapper *stringCaseMapper, icu::Edits *edits, UErrorCode &errorCode) ustrcase_map() argument 1349 fold( uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) fold() argument [all...] |
| /third_party/icu/icu4c/source/test/intltest/ |
| H A D | normconf.cpp | 494 Edits edits; in checkNorm() local [all...] |
| H A D | strcase.cpp | 1050 Edits edits; in TestEdits() local 1358 Edits edits; TestCaseMapWithEdits() local 1439 Edits edits; TestCaseMapUTF8WithEdits() local 1676 Edits edits; TestCaseMapEditsIteratorDocs() local [all...] |
| H A D | tstnorm.cpp | 1583 Edits edits; in TestComposeUTF8WithEdits() local 1689 Edits edits; TestDecomposeUTF8WithEdits() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
| H A D | Reactor.cpp | 48 void rr::Config::Edit::apply(const std::vector<std::pair<ListEdit, T>> &edits, std::vector<T> &list) const in apply() argument
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| H A D | CaseMapImpl.java | 378 appendResult(int result, Appendable dest, int cpLength, int options, Edits edits) appendResult() argument 404 appendUnchanged(CharSequence src, int start, int length, Appendable dest, int options, Edits edits) appendUnchanged() argument 417 applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) applyEdits() argument 440 internalToLower(int caseLocale, int options, CharSequence src, int srcStart, int srcLimit, StringContextIterator iter, Appendable dest, Edits edits) internalToLower() argument 523 internalToUpper(int caseLocale, int options, CharSequence src, Appendable dest, Edits edits) internalToUpper() argument 617 toLower(int caseLocale, int options, CharSequence src, A dest, Edits edits) toLower() argument 647 toUpper(int caseLocale, int options, CharSequence src, A dest, Edits edits) toUpper() argument 681 toTitle( int caseLocale, int options, BreakIterator titleIter, CharSequence src, A dest, Edits edits) toTitle() argument 794 maybeTitleDutchIJ( CharSequence src, int c, int start, int segmentLimit, A dest, int options, Edits edits) maybeTitleDutchIJ() argument 878 fold(int options, CharSequence src, A dest, Edits edits) fold() argument 1395 toUpper(int options, CharSequence src, A dest, Edits edits) toUpper() argument [all...] |
| /third_party/icu/icu4c/source/common/ |
| H A D | ucasemap.cpp | 139 appendResult(int32_t cpLength, int32_t result, const UChar *s, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) appendResult() argument 203 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 314 toUpper(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 437 maybeTitleDutchIJ(const uint8_t *src, UChar32 c, int32_t start, int32_t segmentLimit, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) maybeTitleDutchIJ() argument 439 U_ASSERT(start < segmentLimit); int32_t index = start; bool withAcute = false; int32_t unchanged1 = 0; bool doTitleJ = false; int32_t unchanged2 = 0; UChar32 c2; c2 = src[index++]; if (c == u�) { if (c2 == ACUTE_BYTE0 && index < segmentLimit && src[index++] == ACUTE_BYTE1) { withAcute = true; unchanged1 = 2; if (index == segmentLimit) { return start; } c2 = src[index++]; } } else { withAcute = true; } if (c2 == u�) { doTitleJ = true; } else if (c2 == u�) { ++unchanged1; } else { return start; } if (withAcute) { if ((index + 1) >= segmentLimit || src[index++] != ACUTE_BYTE0 || src[index++] != ACUTE_BYTE1) { return start; } if (doTitleJ) { unchanged2 = 2; } else { unchanged1 = unchanged1 + 2; } } if (index < segmentLimit) { int32_t cp; int32_t i = index; U8_NEXT(src, i, segmentLimit, cp); uint32_t typeMask = U_GET_GC_MASK(cp); if ((typeMask & U_GC_M_MASK) != 0) { return start; } } ByteSinkUtil::appendUnchanged(src + start, unchanged1, sink, options, edits, errorCode); start += unchanged1; if (doTitleJ) { ByteSinkUtil::appendCodePoint(1, u�, sink, edits); ++start; } ByteSinkUtil::appendUnchanged(src + start, unchanged2, sink, options, edits, errorCode); U_ASSERT(start + unchanged2 == index); return index; } } U_CFUNC void U_CALLCONV ucasemap_internalUTF8ToTitle( int32_t caseLocale, uint32_t options, BreakIterator *iter, const uint8_t *src, int32_t srcLength, ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { if (!ustrcase_checkTitleAdjustmentOptions(options, errorCode)) { return; } UCaseContext csc=UCASECONTEXT_INITIALIZER; csc.p=(void *)src; csc.limit=srcLength; int32_t prev=0; UBool isFirstIndex=true; while(prev<srcLength) { int32_t index; if(isFirstIndex) { isFirstIndex=false; index=iter->first(); } else { index=iter->next(); } if(index==UBRK_DONE || index>srcLength) maybeTitleDutchIJ() argument 655 toUpper(uint32_t options, const uint8_t *src, int32_t srcLength, ByteSink &sink, Edits *edits, UErrorCode &errorCode) toUpper() argument 807 ucasemap_internalUTF8ToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToLower() argument 821 ucasemap_internalUTF8ToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToUpper() argument 839 ucasemap_internalUTF8Fold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8Fold() argument 850 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 883 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 972 utf8ToLower( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 979 ucasemap_internalUTF8ToLower, sink, edits, errorCode); utf8ToLower() local 982 utf8ToUpper( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 989 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); utf8ToUpper() local 992 utf8Fold( uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8Fold() argument 1002 utf8ToLower( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 1014 utf8ToUpper( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 1026 utf8Fold( uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8Fold() argument [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| H A D | CaseMapImpl.java | 372 appendResult(int result, Appendable dest, int cpLength, int options, Edits edits) appendResult() argument 398 appendUnchanged(CharSequence src, int start, int length, Appendable dest, int options, Edits edits) appendUnchanged() argument 411 applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) applyEdits() argument 434 internalToLower(int caseLocale, int options, CharSequence src, int srcStart, int srcLimit, StringContextIterator iter, Appendable dest, Edits edits) internalToLower() argument 517 internalToUpper(int caseLocale, int options, CharSequence src, Appendable dest, Edits edits) internalToUpper() argument 611 toLower(int caseLocale, int options, CharSequence src, A dest, Edits edits) toLower() argument 641 toUpper(int caseLocale, int options, CharSequence src, A dest, Edits edits) toUpper() argument 675 toTitle( int caseLocale, int options, BreakIterator titleIter, CharSequence src, A dest, Edits edits) toTitle() argument 803 fold(int options, CharSequence src, A dest, Edits edits) fold() argument 1320 toUpper(int options, CharSequence src, A dest, Edits edits) toUpper() argument [all...] |
| /third_party/node/deps/icu-small/source/common/ |
| H A D | ucasemap.cpp | 139 appendResult(int32_t cpLength, int32_t result, const char16_t *s, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) appendResult() argument 203 toLower(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toLower() argument 314 toUpper(int32_t caseLocale, uint32_t options, const uint8_t *src, UCaseContext *csc, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument 437 maybeTitleDutchIJ(const uint8_t *src, UChar32 c, int32_t start, int32_t segmentLimit, ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) maybeTitleDutchIJ() argument 439 U_ASSERT(start < segmentLimit); int32_t index = start; bool withAcute = false; int32_t unchanged1 = 0; bool doTitleJ = false; int32_t unchanged2 = 0; UChar32 c2; c2 = src[index++]; if (c == u�) { if (c2 == ACUTE_BYTE0 && index < segmentLimit && src[index++] == ACUTE_BYTE1) { withAcute = true; unchanged1 = 2; if (index == segmentLimit) { return start; } c2 = src[index++]; } } else { withAcute = true; } if (c2 == u�) { doTitleJ = true; } else if (c2 == u�) { ++unchanged1; } else { return start; } if (withAcute) { if ((index + 1) >= segmentLimit || src[index++] != ACUTE_BYTE0 || src[index++] != ACUTE_BYTE1) { return start; } if (doTitleJ) { unchanged2 = 2; } else { unchanged1 = unchanged1 + 2; } } if (index < segmentLimit) { int32_t cp; int32_t i = index; U8_NEXT(src, i, segmentLimit, cp); uint32_t typeMask = U_GET_GC_MASK(cp); if ((typeMask & U_GC_M_MASK) != 0) { return start; } } ByteSinkUtil::appendUnchanged(src + start, unchanged1, sink, options, edits, errorCode); start += unchanged1; if (doTitleJ) { ByteSinkUtil::appendCodePoint(1, u�, sink, edits); ++start; } ByteSinkUtil::appendUnchanged(src + start, unchanged2, sink, options, edits, errorCode); U_ASSERT(start + unchanged2 == index); return index; } } U_CFUNC void U_CALLCONV ucasemap_internalUTF8ToTitle( int32_t caseLocale, uint32_t options, BreakIterator *iter, const uint8_t *src, int32_t srcLength, ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { if (!ustrcase_checkTitleAdjustmentOptions(options, errorCode)) { return; } UCaseContext csc=UCASECONTEXT_INITIALIZER; csc.p=(void *)src; csc.limit=srcLength; int32_t prev=0; UBool isFirstIndex=true; while(prev<srcLength) { int32_t index; if(isFirstIndex) { isFirstIndex=false; index=iter->first(); } else { index=iter->next(); } if(index==UBRK_DONE || index>srcLength) maybeTitleDutchIJ() argument 655 toUpper(uint32_t options, const uint8_t *src, int32_t srcLength, ByteSink &sink, Edits *edits, UErrorCode &errorCode) toUpper() argument 812 ucasemap_internalUTF8ToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToLower() argument 826 ucasemap_internalUTF8ToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8ToUpper() argument 844 ucasemap_internalUTF8Fold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED const uint8_t *src, int32_t srcLength, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_internalUTF8Fold() argument 855 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 888 ucasemap_mapUTF8(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, icu::Edits *edits, UErrorCode &errorCode) ucasemap_mapUTF8() argument 977 utf8ToLower( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 984 ucasemap_internalUTF8ToLower, sink, edits, errorCode); utf8ToLower() local 987 utf8ToUpper( const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 994 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); utf8ToUpper() local 997 utf8Fold( uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode) utf8Fold() argument 1007 utf8ToLower( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToLower() argument 1019 utf8ToUpper( const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8ToUpper() argument 1031 utf8Fold( uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) utf8Fold() argument [all...] |
| /third_party/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 3473 std::string EditsToString(const std::vector<EditType>& edits) { in EditsToString() argument
|
| /third_party/mesa3d/src/gtest/src/ |
| H A D | gtest.cc | 1213 const std::vector<EditType> edits = CalculateOptimalEdits(left, right); in CreateUnifiedDiff() local [all...] |