Searched refs:newDelta (Results 1 – 5 of 5) sorted by relevance
154 int newDelta = newLength - oldLength; in addReplace() local155 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()
148 int newDelta = newLength - oldLength; in addReplace() local149 if (newDelta != 0) { in addReplace()150 if ((newDelta > 0 && delta >= 0 && newDelta > (Integer.MAX_VALUE - delta)) || in addReplace()151 (newDelta < 0 && delta < 0 && newDelta < (Integer.MIN_VALUE - delta))) { in addReplace()155 delta += newDelta; in addReplace()
151 int32_t newDelta = newLength - oldLength; in addReplace() local152 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()
907 uint16_t newDelta=0; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local917 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()
1212 short newDelta = 0; in encodeLoop() local1220 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()