Home
last modified time | relevance | path

Searched refs:newDelta (Results 1 – 12 of 12) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java149 int newDelta = newLength - oldLength; in addReplace() local
150 if (newDelta != 0) { in addReplace()
151 if ((newDelta > 0 && delta >= 0 && newDelta > (Integer.MAX_VALUE - delta)) || in addReplace()
152 (newDelta < 0 && delta < 0 && newDelta < (Integer.MIN_VALUE - delta))) { in addReplace()
156 delta += newDelta; in addReplace()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java154 int newDelta = newLength - oldLength; in addReplace() local
155 if (newDelta != 0) { in addReplace()
156 if ((newDelta > 0 && delta >= 0 && newDelta > (Integer.MAX_VALUE - delta)) || in addReplace()
157 (newDelta < 0 && delta < 0 && newDelta < (Integer.MIN_VALUE - delta))) { in addReplace()
161 delta += newDelta; in addReplace()
/third_party/skia/third_party/externals/icu/source/common/
Dedits.cpp152 int32_t newDelta = newLength - oldLength; in addReplace() local
153 if (newDelta != 0) { in addReplace()
154 if ((newDelta > 0 && delta >= 0 && newDelta > (INT32_MAX - delta)) || in addReplace()
155 (newDelta < 0 && delta < 0 && newDelta < (INT32_MIN - delta))) { in addReplace()
160 delta += newDelta; in addReplace()
Ducnvisci.cpp907 uint16_t newDelta=0; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local
917 newDelta=converterData->currentDeltaFromUnicode; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
918 range = (uint16_t)(newDelta/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
983 newDelta =(uint16_t)(range*DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
986 … if (newDelta!= converterData->currentDeltaFromUnicode || converterData->isFirstBuffer) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
987 converterData->currentDeltaFromUnicode = newDelta; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
/third_party/icu/icu4c/source/common/
Dedits.cpp152 int32_t newDelta = newLength - oldLength; in addReplace() local
153 if (newDelta != 0) { in addReplace()
154 if ((newDelta > 0 && delta >= 0 && newDelta > (INT32_MAX - delta)) || in addReplace()
155 (newDelta < 0 && delta < 0 && newDelta < (INT32_MIN - delta))) { in addReplace()
160 delta += newDelta; in addReplace()
Ducnvisci.cpp907 uint16_t newDelta=0; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local
917 newDelta=converterData->currentDeltaFromUnicode; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
918 range = (uint16_t)(newDelta/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
983 newDelta =(uint16_t)(range*DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
986 … if (newDelta!= converterData->currentDeltaFromUnicode || converterData->isFirstBuffer) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
987 converterData->currentDeltaFromUnicode = newDelta; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dedits.cpp151 int32_t newDelta = newLength - oldLength; in addReplace() local
152 if (newDelta != 0) { in addReplace()
153 if ((newDelta > 0 && delta >= 0 && newDelta > (INT32_MAX - delta)) || in addReplace()
154 (newDelta < 0 && delta < 0 && newDelta < (INT32_MIN - delta))) { in addReplace()
159 delta += newDelta; in addReplace()
Ducnvisci.cpp907 uint16_t newDelta=0; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local
917 newDelta=converterData->currentDeltaFromUnicode; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
918 range = (uint16_t)(newDelta/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
983 newDelta =(uint16_t)(range*DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
986 … if (newDelta!= converterData->currentDeltaFromUnicode || converterData->isFirstBuffer) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
987 converterData->currentDeltaFromUnicode = newDelta; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
/third_party/node/deps/icu-small/source/common/
Dedits.cpp152 int32_t newDelta = newLength - oldLength; in addReplace() local
153 if (newDelta != 0) { in addReplace()
154 if ((newDelta > 0 && delta >= 0 && newDelta > (INT32_MAX - delta)) || in addReplace()
155 (newDelta < 0 && delta < 0 && newDelta < (INT32_MIN - delta))) { in addReplace()
160 delta += newDelta; in addReplace()
Ducnvisci.cpp907 uint16_t newDelta=0; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local
917 newDelta=converterData->currentDeltaFromUnicode; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
918 range = (uint16_t)(newDelta/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
983 newDelta =(uint16_t)(range*DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
986 … if (newDelta!= converterData->currentDeltaFromUnicode || converterData->isFirstBuffer) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
987 converterData->currentDeltaFromUnicode = newDelta; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISCII.java1212 short newDelta = 0; in encodeLoop() local
1220 newDelta = converterData.currentDeltaFromUnicode; in encodeLoop()
1221 range = (short)(newDelta / UniLang.DELTA); in encodeLoop()
1292 newDelta = (short)(range * UniLang.DELTA); in encodeLoop()
1295 … if (newDelta != converterData.currentDeltaFromUnicode || converterData.isFirstBuffer) { in encodeLoop()
1296 converterData.currentDeltaFromUnicode = newDelta; in encodeLoop()
/third_party/icu/tools/colprobe/
Dsortedlines.cpp405 Line* newDelta = new Line[allocateSize]; in addContractionsToRepertoire() local
409 Line* newDeltaP = newDelta; in addContractionsToRepertoire()
451 deltaP = newDelta; in addContractionsToRepertoire()
457 newDeltaP = newDelta; in addContractionsToRepertoire()
477 delete[] newDelta; in addContractionsToRepertoire()