Home
last modified time | relevance | path

Searched refs:lengthDelta (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/deps/npm/node_modules/just-diff/
Dindex.mjs84 var lengthDelta = obj1.length - obj2.length;
111 for (var i = 0; i < lengthDelta; i++) {
120 var obj1Trimmed = obj1.slice(lengthDelta);;
129 pathForRemoves: basePath.concat(i + lengthDelta),
202 var lengthDelta = obj1.length - obj2.length;
203 if (Array.isArray(obj1) && Array.isArray(obj2) && lengthDelta > 0) {
214 if (String(obj1[j + lengthDelta]) === String(obj2[j])) {
Dindex.cjs89 var lengthDelta = obj1.length - obj2.length;
116 for (var i = 0; i < lengthDelta; i++) {
125 var obj1Trimmed = obj1.slice(lengthDelta);;
134 pathForRemoves: basePath.concat(i + lengthDelta),
207 var lengthDelta = obj1.length - obj2.length;
208 if (Array.isArray(obj1) && Array.isArray(obj2) && lengthDelta > 0) {
219 if (String(obj1[j + lengthDelta]) === String(obj2[j])) {
/third_party/node/deps/icu-small/source/common/
Dunistr_case.cpp170 newLength = oldLength + edits.lengthDelta(); in caseMap()
184 newLength = oldLength + edits.lengthDelta(); in caseMap()
Dutext.cpp1943 int32_t lengthDelta = newLength - oldLength; in repTextReplace() local
1953 int32_t newIndexPos = limit32 + lengthDelta; in repTextReplace()
1956 return lengthDelta; in repTextReplace()
2218 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace() local
2219 ut->chunkOffset = limit32 + lengthDelta; in unistrTextReplace()
2221 return lengthDelta; in unistrTextReplace()
/third_party/icu/icu4c/source/common/
Dunistr_case.cpp170 newLength = oldLength + edits.lengthDelta(); in caseMap()
184 newLength = oldLength + edits.lengthDelta(); in caseMap()
Dutext.cpp1940 int32_t lengthDelta = newLength - oldLength; in repTextReplace() local
1950 int32_t newIndexPos = limit32 + lengthDelta; in repTextReplace()
1953 return lengthDelta; in repTextReplace()
2215 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace() local
2216 ut->chunkOffset = limit32 + lengthDelta; in unistrTextReplace()
2218 return lengthDelta; in unistrTextReplace()
/third_party/skia/third_party/externals/icu/source/common/
Dunistr_case.cpp170 newLength = oldLength + edits.lengthDelta(); in caseMap()
184 newLength = oldLength + edits.lengthDelta(); in caseMap()
Dutext.cpp1940 int32_t lengthDelta = newLength - oldLength; in repTextReplace() local
1950 int32_t newIndexPos = limit32 + lengthDelta; in repTextReplace()
1953 return lengthDelta; in repTextReplace()
2215 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace() local
2216 ut->chunkOffset = limit32 + lengthDelta; in unistrTextReplace()
2218 return lengthDelta; in unistrTextReplace()
/third_party/icu/icu4c/source/test/intltest/
Dstrcase.cpp1053 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1060 assertEquals("unchanged 10003", 0, edits.lengthDelta()); in TestEdits()
1071 assertEquals("some edits", -3 + 10 - 100 + 1000, edits.lengthDelta()); in TestEdits()
1106 assertEquals("reset", 0, edits.lengthDelta()); in TestEdits()
1118 assertEquals("a: many edits, length delta", 250, a.lengthDelta()); in TestCopyMoveEdits()
1122 assertEquals("b: copy of many edits, length delta", 250, b.lengthDelta()); in TestCopyMoveEdits()
1123 assertEquals("a remains: many edits, length delta", 250, a.lengthDelta()); in TestCopyMoveEdits()
1131 assertEquals("c: assigned many edits, length delta", 250, c.lengthDelta()); in TestCopyMoveEdits()
1132 assertEquals("b remains: many edits, length delta", 250, b.lengthDelta()); in TestCopyMoveEdits()
1140 assertEquals("d: move-constructed many edits, length delta", 250, d.lengthDelta()); in TestCopyMoveEdits()
[all …]
Dnormconf.cpp516 (int32_t)(out8.length() - s8.length()), edits.lengthDelta()); in checkNorm()
/third_party/icu/icu4c/source/common/unicode/
Dedits.h172 int32_t lengthDelta() const { return delta; } in lengthDelta() function
/third_party/node/deps/icu-small/source/common/unicode/
Dedits.h172 int32_t lengthDelta() const { return delta; } in lengthDelta() function
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dedits.h172 int32_t lengthDelta() const { return delta; } in lengthDelta() function
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterCaseTest.java1042 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1049 assertEquals("unchanged 10003", 0, edits.lengthDelta()); in TestEdits()
1060 assertEquals("some edits", -3 + 10 - 100 + 1000, edits.lengthDelta()); in TestEdits()
1093 assertEquals("reset", 0, edits.lengthDelta()); in TestEdits()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java1125 assertEquals("new Edits", 0, edits.lengthDelta()); in TestEdits()
1132 assertEquals("unchanged 10003", 0, edits.lengthDelta()); in TestEdits()
1143 assertEquals("some edits", -3 + 10 - 100 + 1000, edits.lengthDelta()); in TestEdits()
1176 assertEquals("reset", 0, edits.lengthDelta()); in TestEdits()
/third_party/node/deps/v8/src/builtins/
Darray-splice.tq125 const lengthDelta: Smi = insertCount - actualDeleteCount;
126 const newLength: Smi = originalLength + lengthDelta;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java241 public int lengthDelta() { return delta; } in lengthDelta() method in Edits
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java235 public int lengthDelta() { return delta; } in lengthDelta() method in Edits
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DCaseMapImpl.java415 StringBuilder result = new StringBuilder(src.length() + edits.lengthDelta()); in applyEdits()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java421 StringBuilder result = new StringBuilder(src.length() + edits.lengthDelta()); in applyEdits()
/third_party/icu/icu4j/tools/build/
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j65.api3.gz
Dicu4j66.api3.gz12;ICU4J 66.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j68.api3.gz12;ICU4J 68.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j64.api3.gz

12