Home
last modified time | relevance | path

Searched refs:edits (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/third_party/skia/third_party/externals/icu/source/common/
Ducasemap.cpp141 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 …]
Dbytesinkutil.cpp22 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 …]
Dustrcase.cpp44 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 …]
Dbytesinkutil.h26 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);
Ducasemap_imp.h144 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,
/third_party/node/deps/icu-small/source/common/
Ducasemap.cpp140 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult() argument
146 if(edits!=nullptr) { in appendResult()
147 edits->addUnchanged(cpLength); in appendResult()
155 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
157 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
205 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower() argument
237 sink, options, edits, errorCode); in toLower()
240 if (edits != nullptr) { in toLower()
241 edits->addReplace(1, 1); in toLower()
259 sink, options, edits, errorCode); in toLower()
[all …]
Dustrcase.cpp50 Edits *edits, UErrorCode &errorCode) { in checkOverflowAndEditsError() argument
54 } else if (edits != nullptr) { in checkOverflowAndEditsError()
55 edits->copyErrorTo(errorCode); in checkOverflowAndEditsError()
65 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult() argument
72 if(edits!=nullptr) { in appendResult()
73 edits->addUnchanged(cpLength); in appendResult()
90 if(edits!=nullptr) { in appendResult()
91 edits->addReplace(cpLength, 1); in appendResult()
98 if(edits!=nullptr) { in appendResult()
99 edits->addReplace(cpLength, length); in appendResult()
[all …]
Dbytesinkutil.cpp22 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 …]
Dbytesinkutil.h29 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
34 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
37 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr);
41 ByteSink &sink, Edits *edits = nullptr) {
42 appendCodePoint((int32_t)(nextSrc - src), c, sink, edits);
49 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged() argument
52 if (length > 0) { appendNonEmptyUnchanged(s, length, sink, options, edits); } in appendUnchanged()
57 ByteSink &sink, uint32_t options, Edits *edits,
62 ByteSink &sink, uint32_t options, Edits *edits);
/third_party/icu/icu4c/source/common/
Ducasemap.cpp140 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult() argument
146 if(edits!=NULL) { in appendResult()
147 edits->addUnchanged(cpLength); in appendResult()
155 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
157 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
205 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower() argument
237 sink, options, edits, errorCode); in toLower()
240 if (edits != nullptr) { in toLower()
241 edits->addReplace(1, 1); in toLower()
259 sink, options, edits, errorCode); in toLower()
[all …]
Dustrcase.cpp50 Edits *edits, UErrorCode &errorCode) { in checkOverflowAndEditsError() argument
54 } else if (edits != NULL) { in checkOverflowAndEditsError()
55 edits->copyErrorTo(errorCode); in checkOverflowAndEditsError()
65 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult() argument
72 if(edits!=NULL) { in appendResult()
73 edits->addUnchanged(cpLength); in appendResult()
90 if(edits!=NULL) { in appendResult()
91 edits->addReplace(cpLength, 1); in appendResult()
98 if(edits!=NULL) { in appendResult()
99 edits->addReplace(cpLength, length); in appendResult()
[all …]
Dbytesinkutil.cpp22 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 …]
Dbytesinkutil.h29 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
34 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
37 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr);
41 ByteSink &sink, Edits *edits = nullptr) {
42 appendCodePoint((int32_t)(nextSrc - src), c, sink, edits);
49 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged() argument
52 if (length > 0) { appendNonEmptyUnchanged(s, length, sink, options, edits); } in appendUnchanged()
57 ByteSink &sink, uint32_t options, Edits *edits,
62 ByteSink &sink, uint32_t options, Edits *edits);
Ducasemap_imp.h144 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,
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DCaseMapImpl.java373 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 …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java379 int cpLength, int options, Edits edits) throws IOException { in appendResult() argument
383 if (edits != null) { in appendResult()
384 edits.addUnchanged(cpLength); in appendResult()
392 if (edits != null) { in appendResult()
393 edits.addReplace(cpLength, result); in appendResult()
398 if (edits != null) { in appendResult()
399 edits.addReplace(cpLength, length); in appendResult()
405 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged() argument
407 if (edits != null) { in appendUnchanged()
408 edits.addUnchanged(length); in appendUnchanged()
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dcasemap.h68 char16_t *dest, int32_t destCapacity, Edits *edits,
104 char16_t *dest, int32_t destCapacity, Edits *edits,
155 char16_t *dest, int32_t destCapacity, Edits *edits,
197 char16_t *dest, int32_t destCapacity, Edits *edits,
223 StringPiece src, ByteSink &sink, Edits *edits,
249 StringPiece src, ByteSink &sink, Edits *edits,
289 StringPiece src, ByteSink &sink, Edits *edits,
320 StringPiece src, ByteSink &sink, Edits *edits,
356 char *dest, int32_t destCapacity, Edits *edits,
392 char *dest, int32_t destCapacity, Edits *edits,
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dcasemap.h68 char16_t *dest, int32_t destCapacity, Edits *edits,
104 char16_t *dest, int32_t destCapacity, Edits *edits,
155 char16_t *dest, int32_t destCapacity, Edits *edits,
197 char16_t *dest, int32_t destCapacity, Edits *edits,
223 StringPiece src, ByteSink &sink, Edits *edits,
249 StringPiece src, ByteSink &sink, Edits *edits,
289 StringPiece src, ByteSink &sink, Edits *edits,
320 StringPiece src, ByteSink &sink, Edits *edits,
356 char *dest, int32_t destCapacity, Edits *edits,
392 char *dest, int32_t destCapacity, Edits *edits,
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dcasemap.h68 char16_t *dest, int32_t destCapacity, Edits *edits,
104 char16_t *dest, int32_t destCapacity, Edits *edits,
155 char16_t *dest, int32_t destCapacity, Edits *edits,
197 char16_t *dest, int32_t destCapacity, Edits *edits,
223 StringPiece src, ByteSink &sink, Edits *edits,
249 StringPiece src, ByteSink &sink, Edits *edits,
289 StringPiece src, ByteSink &sink, Edits *edits,
320 StringPiece src, ByteSink &sink, Edits *edits,
356 char *dest, int32_t destCapacity, Edits *edits,
392 char *dest, int32_t destCapacity, Edits *edits,
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dstrcase.cpp1050 Edits edits; in TestEdits() local
1051 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits()
1052 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits()
1053 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1054 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits()
1055 edits.addUnchanged(10000); // too long, and they are split in TestEdits()
1056 edits.addReplace(0, 0); in TestEdits()
1057 edits.addUnchanged(2); in TestEdits()
1058 assertFalse("unchanged 10003 hasChanges", edits.hasChanges()); in TestEdits()
1059 assertEquals("unchanged 10003 numberOfChanges", 0, edits.numberOfChanges()); in TestEdits()
[all …]
/third_party/typescript/src/testRunner/unittests/tsc/
Dincremental.ts20 edits: noChangeOnlyRuns
37 edits: noChangeOnlyRuns
49 edits: [
73 edits: noChangeOnlyRuns
85 edits: [{
107 edits: [
177 edits: [
228 edits: [
296 edits: [
393 edits: [
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterCaseTest.java1039 Edits edits = new Edits(); in TestEdits() local
1040 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits()
1041 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits()
1042 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1043 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits()
1044 edits.addUnchanged(10000); // too long, and they are split in TestEdits()
1045 edits.addReplace(0, 0); in TestEdits()
1046 edits.addUnchanged(2); in TestEdits()
1047 assertFalse("unchanged 10003 hasChanges", edits.hasChanges()); in TestEdits()
1048 assertEquals("unchanged 10003 numberOfChanges", 0, edits.numberOfChanges()); in TestEdits()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java524 Edits edits = new Edits(); in TestDutchTitle() local
525 titleCaseMap.apply(DUTCH_LOCALE_, null, input, resultBuilder, edits); in TestDutchTitle()
1122 Edits edits = new Edits(); in TestEdits() local
1123 assertFalse("new Edits hasChanges", edits.hasChanges()); in TestEdits()
1124 assertEquals("new Edits numberOfChanges", 0, edits.numberOfChanges()); in TestEdits()
1125 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1126 edits.addUnchanged(1); // multiple unchanged ranges are combined in TestEdits()
1127 edits.addUnchanged(10000); // too long, and they are split in TestEdits()
1128 edits.addReplace(0, 0); in TestEdits()
1129 edits.addUnchanged(2); in TestEdits()
[all …]
/third_party/typescript/src/testRunner/unittests/tsbuild/
DoutputPaths.ts8 const edits: TestTscEdit[] = [ constant
44 edits,
58 edits,
72 edits,
87 edits,
103 edits,
Dsample.ts79 edits: noChangeOnlyRuns
113 edits: noChangeOnlyRuns
123 edits: [
146 edits: [
180 edits: [{
228 edits: [{
325 edits: noChangeOnlyRuns
411 edits: coreChanges
418 edits: coreChanges
425 edits: coreChanges
[all …]

12345678910>>...18