Home
last modified time | relevance | path

Searched refs:suffixLength (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DSimpleModifier.java22 private final int suffixLength; field in SimpleModifier
50 suffixLength = 0; in SimpleModifier()
61 suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT; in SimpleModifier()
63 suffixLength = 0; in SimpleModifier()
84 if (suffixLength > 0) { in getCodePointCount()
86 … .codePointCount(compiledPattern, 1 + suffixOffset, 1 + suffixOffset + suffixLength); in getCodePointCount()
153 if (suffixLength > 0) { in formatAsPrefixSuffix()
157 1 + suffixOffset + suffixLength, in formatAsPrefixSuffix()
160 return prefixLength + suffixLength; in formatAsPrefixSuffix()
210 int suffixLength; in formatTwoArgPattern() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DSimpleModifier.java20 private final int suffixLength; field in SimpleModifier
48 suffixLength = 0; in SimpleModifier()
59 suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT; in SimpleModifier()
61 suffixLength = 0; in SimpleModifier()
82 if (suffixLength > 0) { in getCodePointCount()
84 … .codePointCount(compiledPattern, 1 + suffixOffset, 1 + suffixOffset + suffixLength); in getCodePointCount()
151 if (suffixLength > 0) { in formatAsPrefixSuffix()
155 1 + suffixOffset + suffixLength, in formatAsPrefixSuffix()
158 return prefixLength + suffixLength; in formatAsPrefixSuffix()
208 int suffixLength; in formatTwoArgPattern() local
[all …]
/external/junit/src/main/java/org/junit/
DComparisonFailure.java119 int suffixLength = 0; in sharedSuffix() local
122 for (; suffixLength <= maxSuffixLength; suffixLength++) { in sharedSuffix()
123 if (expected.charAt(expected.length() - 1 - suffixLength) in sharedSuffix()
124 != actual.charAt(actual.length() - 1 - suffixLength)) { in sharedSuffix()
128 return expected.substring(expected.length() - suffixLength); in sharedSuffix()
/external/fonttools/Lib/fontTools/ufoLib/
Dfilenames.py76 suffixLength = len(suffix)
93 sliceLength = maxFileNameLength - prefixLength - suffixLength
141 suffixLength = len(suffix)
142 if prefixLength + len(userName) + suffixLength + 15 > maxFileNameLength:
143 l = (prefixLength + len(userName) + suffixLength + 15)
/external/fonttools/Lib/fontTools/misc/
Dfilenames.py85 suffixLength = len(suffix)
102 sliceLength = maxFileNameLength - prefixLength - suffixLength
150 suffixLength = len(suffix)
151 if prefixLength + len(userName) + suffixLength + 15 > maxFileNameLength:
152 l = (prefixLength + len(userName) + suffixLength + 15)
/external/proguard/src/proguard/util/
DExtensionMatcher.java59 int suffixLength = suffix.length(); in endsWithIgnoreCase() local
61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
/external/emma/core/java12/com/vladium/util/
DWCMatcher.java206 final int suffixLength = suffixChars.length - 1; in matches() local
209 if (charsLength < suffixLength) return false; in matches()
211 for (int c = 0; c < suffixLength; ++ c) in matches()
213 if (chars [charsLength - 1 - c] != suffixChars [suffixLength - c]) return false; in matches()
/external/proguard/src/proguard/
DClassPathEntry.java210 int suffixLength = suffix.length(); in endsWithIgnoreCase() local
213 suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp271 int32_t suffixLength; in formatTwoArgPattern() local
274 suffixLength = 0; in formatTwoArgPattern()
276 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
278 … result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
279 length += suffixLength; in formatTwoArgPattern()
283 *outSuffixLength = suffixLength; in formatTwoArgPattern()
/external/skia/third_party/gif/
DSkGifImageReader.cpp253 codeLength = suffixLength[code]; in doLZW()
259 codeLength = suffixLength[oldcode] + 1; in doLZW()
282 suffixLength[avail] = suffixLength[oldcode] + 1; in doLZW()
921 suffixLength[i] = 1; in prepareToDecode()
DSkGifImageReader.h132 unsigned short suffixLength[SK_MAX_DICTIONARY_ENTRIES]; variable
/external/skqp/third_party/gif/
DSkGifImageReader.cpp253 codeLength = suffixLength[code]; in doLZW()
259 codeLength = suffixLength[oldcode] + 1; in doLZW()
282 suffixLength[avail] = suffixLength[oldcode] + 1; in doLZW()
921 suffixLength[i] = 1; in prepareToDecode()
DSkGifImageReader.h132 unsigned short suffixLength[SK_MAX_DICTIONARY_ENTRIES]; variable
/external/icu/icu4c/source/tools/toolutil/
Dpkgitems.cpp134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local
149 suffixLength=(int32_t)strlen(suffix); in makeTargetName()
150 targetLength=treeLength+idLength+suffixLength; in makeTargetName()
160 memcpy(target+treeLength+idLength, suffix, suffixLength+1); // +1 includes the terminating NUL in makeTargetName()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp341 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix() argument
342 if(suffixLength<(limit-start)) { in removeSuffix()
343 limit-=suffixLength; in removeSuffix()
344 remainingCapacity+=suffixLength; in removeSuffix()
Dnormalizer2impl.h191 void removeSuffix(int32_t suffixLength);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java304 public void removeSuffix(int suffixLength) { in removeSuffix() argument
306 str.delete(oldLength-suffixLength, oldLength); in removeSuffix()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java298 public void removeSuffix(int suffixLength) { in removeSuffix() argument
300 str.delete(oldLength-suffixLength, oldLength); in removeSuffix()