Searched refs:addedLength (Results 1 – 4 of 4) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | PatternStringUtils.java | 197 int addedLength; in propertiesToPatternString() local 200 addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, 0); in propertiesToPatternString() 202 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 203 beforeSuffixPos += addedLength + 1; in propertiesToPatternString() 206 … addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, afterPrefixPos); in propertiesToPatternString() 208 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 209 beforeSuffixPos += addedLength + 1; in propertiesToPatternString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | PatternStringUtils.java | 192 int addedLength; in propertiesToPatternString() local 195 addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, 0); in propertiesToPatternString() 197 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 198 beforeSuffixPos += addedLength + 1; in propertiesToPatternString() 201 … addedLength = PatternStringUtils.escapePaddingString(paddingString, sb, afterPrefixPos); in propertiesToPatternString() 203 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 204 beforeSuffixPos += addedLength + 1; in propertiesToPatternString()
|
/external/zstd/lib/dictBuilder/ |
D | zdict.c | 421 U32 const addedLength = table[u].pos - elt.pos; in ZDICT_tryMerge() local 422 table[u].length += addedLength; in ZDICT_tryMerge() 424 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge() 440 int const addedLength = (int)eltEnd - (table[u].pos + table[u].length); in ZDICT_tryMerge() local 442 if (addedLength > 0) { /* otherwise, elt fully included into existing */ in ZDICT_tryMerge() 443 table[u].length += addedLength; in ZDICT_tryMerge() 444 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge() 456 size_t const addedLength = MAX( (int)elt.length - (int)table[u].length , 1 ); in ZDICT_tryMerge() local 458 table[u].savings += (U32)(elt.savings * addedLength / elt.length); in ZDICT_tryMerge()
|
/external/icu/icu4c/source/i18n/ |
D | number_patternstring.cpp | 789 int32_t addedLength; in propertiesToPatternString() local 792 addedLength = escapePaddingString(paddingString, sb, 0, status); in propertiesToPatternString() 794 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 795 beforeSuffixPos += addedLength + 1; in propertiesToPatternString() 798 addedLength = escapePaddingString(paddingString, sb, afterPrefixPos, status); in propertiesToPatternString() 800 afterPrefixPos += addedLength + 1; in propertiesToPatternString() 801 beforeSuffixPos += addedLength + 1; in propertiesToPatternString()
|