/external/icu/icu4c/source/common/ |
D | ucasemap.cpp | 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() [all …]
|
D | bytesinkutil.cpp | 22 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange() argument 52 if (edits != nullptr) { in appendChange() 53 edits->addReplace(length, s8Length); in appendChange() 61 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange() argument 67 return appendChange((int32_t)(limit - s), s16, s16Length, sink, edits, errorCode); in appendChange() 71 ByteSinkUtil::appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits) { in appendCodePoint() argument 75 if (edits != nullptr) { in appendCodePoint() 76 edits->addReplace(length, s8Length); in appendCodePoint() 98 ByteSink &sink, uint32_t options, Edits *edits) { in appendNonEmptyUnchanged() argument 100 if (edits != nullptr) { in appendNonEmptyUnchanged() [all …]
|
D | ustrcase.cpp | 44 Edits *edits, UErrorCode &errorCode) { in checkOverflowAndEditsError() argument 48 } else if (edits != NULL) { in checkOverflowAndEditsError() 49 edits->copyErrorTo(errorCode); in checkOverflowAndEditsError() 59 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult() argument 66 if(edits!=NULL) { in appendResult() 67 edits->addUnchanged(cpLength); in appendResult() 84 if(edits!=NULL) { in appendResult() 85 edits->addReplace(cpLength, 1); in appendResult() 92 if(edits!=NULL) { in appendResult() 93 edits->addReplace(cpLength, length); in appendResult() [all …]
|
D | bytesinkutil.h | 26 ByteSink &sink, Edits *edits, UErrorCode &errorCode); 31 ByteSink &sink, Edits *edits, UErrorCode &errorCode); 34 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr); 38 ByteSink &sink, Edits *edits = nullptr) { 39 appendCodePoint((int32_t)(nextSrc - src), c, sink, edits); 46 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged() argument 49 if (length > 0) { appendNonEmptyUnchanged(s, length, sink, options, edits); } in appendUnchanged() 54 ByteSink &sink, uint32_t options, Edits *edits, 59 ByteSink &sink, uint32_t options, Edits *edits);
|
D | ucasemap_imp.h | 144 icu::Edits *edits, 152 icu::Edits *edits, 163 icu::Edits *edits, 173 icu::Edits *edits, 185 icu::Edits *edits, 212 icu::ByteSink &sink, icu::Edits *edits, 222 icu::ByteSink &sink, icu::Edits *edits, 231 icu::ByteSink &sink, icu::Edits *edits, 243 icu::Edits *edits,
|
D | ustrcase_locale.cpp | 73 UChar *dest, int32_t destCapacity, Edits *edits, in toLower() argument 79 ustrcase_internalToLower, edits, errorCode); in toLower() 85 UChar *dest, int32_t destCapacity, Edits *edits, in toUpper() argument 91 ustrcase_internalToUpper, edits, errorCode); in toUpper()
|
D | filterednormalizer2.cpp | 92 Edits *edits, UErrorCode &errorCode) const { in normalizeUTF8() argument 96 if (edits != nullptr && (options & U_EDITS_NO_RESET) == 0) { in normalizeUTF8() 97 edits->reset(); in normalizeUTF8() 100 normalizeUTF8(options, src.data(), src.length(), sink, edits, USET_SPAN_SIMPLE, errorCode); in normalizeUTF8() 105 ByteSink &sink, Edits *edits, in normalizeUTF8() argument 112 if (edits != nullptr) { in normalizeUTF8() 113 edits->addUnchanged(spanLength); in normalizeUTF8() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8()
|
D | unistr_case.cpp | 157 Edits edits; in caseMap() local 167 oldArray, oldLength, &edits, errorCode); in caseMap() 170 newLength = oldLength + edits.lengthDelta(); in caseMap() 174 for (Edits::Iterator ei = edits.getCoarseChangesIterator(); ei.next(errorCode);) { in caseMap() 184 newLength = oldLength + edits.lengthDelta(); in caseMap()
|
D | ucasemap_titlecase_brkiter.cpp | 36 StringPiece src, ByteSink &sink, Edits *edits, in utf8ToTitle() argument 53 ucasemap_internalUTF8ToTitle, sink, edits, errorCode); in utf8ToTitle() 60 char *dest, int32_t destCapacity, Edits *edits, in utf8ToTitle() argument 78 ucasemap_internalUTF8ToTitle, edits, errorCode); in utf8ToTitle()
|
D | normalizer2.cpp | 51 Edits *edits, UErrorCode &errorCode) const { in normalizeUTF8() argument 55 if (edits != nullptr) { in normalizeUTF8() 102 Edits *edits, UErrorCode &errorCode) const U_OVERRIDE { in normalizeUTF8() argument 104 if (edits != nullptr) { in normalizeUTF8() 106 edits->reset(); in normalizeUTF8() 108 edits->addUnchanged(src.length()); in normalizeUTF8()
|
D | normalizer2impl.cpp | 139 ByteSink &sink, Edits *edits) { in appendCodePointDelta() argument 162 if (edits != nullptr) { in appendCodePointDelta() 163 edits->addReplace(cpLength, length); in appendCodePointDelta() 1736 ByteSink *sink, Edits *edits, UErrorCode &errorCode) const { in composeUTF8() argument 1751 *sink, options, edits, errorCode); in composeUTF8() 1785 *sink, options, edits, errorCode)) { in composeUTF8() 1788 appendCodePointDelta(prevSrc, src, getAlgorithmicDelta(norm16), *sink, edits); in composeUTF8() 1798 *sink, options, edits, errorCode)) { in composeUTF8() 1804 *sink, edits, errorCode)) { in composeUTF8() 1818 *sink, options, edits, errorCode)) { in composeUTF8() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CaseMapImpl.java | 373 int cpLength, int options, Edits edits) throws IOException { in appendResult() argument 377 if (edits != null) { in appendResult() 378 edits.addUnchanged(cpLength); in appendResult() 386 if (edits != null) { in appendResult() 387 edits.addReplace(cpLength, result); in appendResult() 392 if (edits != null) { in appendResult() 393 edits.addReplace(cpLength, length); in appendResult() 399 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged() argument 401 if (edits != null) { in appendUnchanged() 402 edits.addUnchanged(length); in appendUnchanged() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CaseMapImpl.java | 368 int cpLength, int options, Edits edits) throws IOException { in appendResult() argument 372 if (edits != null) { in appendResult() 373 edits.addUnchanged(cpLength); in appendResult() 381 if (edits != null) { in appendResult() 382 edits.addReplace(cpLength, result); in appendResult() 387 if (edits != null) { in appendResult() 388 edits.addReplace(cpLength, length); in appendResult() 394 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged() argument 396 if (edits != null) { in appendUnchanged() 397 edits.addUnchanged(length); in appendUnchanged() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | casemap.h | 65 char16_t *dest, int32_t destCapacity, Edits *edits, 101 char16_t *dest, int32_t destCapacity, Edits *edits, 152 char16_t *dest, int32_t destCapacity, Edits *edits, 194 char16_t *dest, int32_t destCapacity, Edits *edits, 220 StringPiece src, ByteSink &sink, Edits *edits, 246 StringPiece src, ByteSink &sink, Edits *edits, 286 StringPiece src, ByteSink &sink, Edits *edits, 317 StringPiece src, ByteSink &sink, Edits *edits, 353 char *dest, int32_t destCapacity, Edits *edits, 389 char *dest, int32_t destCapacity, Edits *edits, [all …]
|
D | normalizer2.h | 248 Edits *edits, UErrorCode &errorCode) const; 566 Edits *edits, UErrorCode &errorCode) const U_OVERRIDE; 757 ByteSink &sink, Edits *edits,
|
/external/icu/icu4c/source/test/intltest/ |
D | strcase.cpp | 925 Edits edits; in TestEdits() local 926 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits() 927 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() 928 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits() 929 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits() 930 edits.addUnchanged(10000); // too long, and they are split in TestEdits() 931 edits.addReplace(0, 0); in TestEdits() 932 edits.addUnchanged(2); in TestEdits() 933 assertFalse("unchanged 10003 hasChanges", edits.hasChanges()); in TestEdits() 934 assertEquals("unchanged 10003 numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() [all …]
|
D | tstnorm.cpp | 1581 Edits edits; in TestNormalizeUTF8WithEdits() local 1582 nfkc_cf->normalizeUTF8(0, src, sink, &edits, errorCode); in TestNormalizeUTF8WithEdits() 1599 assertTrue("normalizeUTF8 with Edits hasChanges", edits.hasChanges()); in TestNormalizeUTF8WithEdits() 1600 assertEquals("normalizeUTF8 with Edits numberOfChanges", 9, edits.numberOfChanges()); in TestNormalizeUTF8WithEdits() 1602 edits.getFineIterator(), edits.getFineIterator(), in TestNormalizeUTF8WithEdits() 1612 edits.reset(); in TestNormalizeUTF8WithEdits() 1613 nfkc_cf->normalizeUTF8(U_OMIT_UNCHANGED_TEXT, src, sink, &edits, errorCode); in TestNormalizeUTF8WithEdits() 1616 assertTrue("normalizeUTF8 omit unchanged hasChanges", edits.hasChanges()); in TestNormalizeUTF8WithEdits() 1617 assertEquals("normalizeUTF8 omit unchanged numberOfChanges", 9, edits.numberOfChanges()); in TestNormalizeUTF8WithEdits() 1619 edits.getFineIterator(), edits.getFineIterator(), in TestNormalizeUTF8WithEdits() [all …]
|
/external/v8/tools/clang/scripts/ |
D | apply_edits.py | 87 edits = collections.defaultdict(list) 95 edits[path].append(Edit(edit_type, int(offset), int(length), replacement)) 98 return edits 101 def _ApplyEditsToSingleFile(filename, edits): argument 108 edits.sort() 112 for edit in reversed(edits): 135 def _ApplyEdits(edits): argument 144 for k, v in edits.iteritems(): 149 percentage = (float(done_files) / len(edits)) * 100 215 edits = _ParseEditsFromStdin(args.p) [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 1023 Edits edits = new Edits(); in TestEdits() local 1024 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits() 1025 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() 1026 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits() 1027 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits() 1028 edits.addUnchanged(10000); // too long, and they are split in TestEdits() 1029 edits.addReplace(0, 0); in TestEdits() 1030 edits.addUnchanged(2); in TestEdits() 1031 assertFalse("unchanged 10003 hasChanges", edits.hasChanges()); in TestEdits() 1032 assertEquals("unchanged 10003 numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 1026 Edits edits = new Edits(); in TestEdits() local 1027 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits() 1028 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() 1029 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits() 1030 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits() 1031 edits.addUnchanged(10000); // too long, and they are split in TestEdits() 1032 edits.addReplace(0, 0); in TestEdits() 1033 edits.addUnchanged(2); in TestEdits() 1034 assertFalse("unchanged 10003 hasChanges", edits.hasChanges()); in TestEdits() 1035 assertEquals("unchanged 10003 numberOfChanges", 0, edits.numberOfChanges()); in TestEdits() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CaseMap.java | 113 Locale locale, CharSequence src, A dest, Edits edits) { in apply() argument 114 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src, dest, edits); in apply() 169 Locale locale, CharSequence src, A dest, Edits edits) { in apply() argument 170 return CaseMapImpl.toUpper(getCaseLocale(locale), internalOptions, src, dest, edits); in apply() 342 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply() argument 349 getCaseLocale(locale), internalOptions, iter, src, dest, edits); in apply() 425 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply() argument 426 return CaseMapImpl.fold(internalOptions, src, dest, edits); in apply()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CaseMap.java | 122 Locale locale, CharSequence src, A dest, Edits edits) { in apply() argument 123 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src, dest, edits); in apply() 182 Locale locale, CharSequence src, A dest, Edits edits) { in apply() argument 183 return CaseMapImpl.toUpper(getCaseLocale(locale), internalOptions, src, dest, edits); in apply() 364 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply() argument 371 getCaseLocale(locale), internalOptions, iter, src, dest, edits); in apply() 452 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply() argument 453 return CaseMapImpl.fold(internalOptions, src, dest, edits); in apply()
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | Edits.java.patch | 5 …* The "fine changes" and "coarse changes" iterators will step through only the change edits when t… 17 - * The iterator can be moved between edits using the {@link #next()}, {@link #findSourceIndex(… 19 + * The iterator can be moved between edits using the {@link #next()} and
|
/external/v8/benchmarks/ |
D | deltablue.js | 814 var edits = new OrderedCollection(); 815 edits.add(edit); 816 var plan = planner.extractPlanFromConstraints(edits); 864 var edits = new OrderedCollection(); 865 edits.add(edit); 866 var plan = planner.extractPlanFromConstraints(edits);
|
/external/google-breakpad/src/tools/windows/ |
D | refresh_binaries.bat | 9 REM Then run this batch file. It performs an SVN update, edits the 12 REM commit the pending edits to the repository.
|