Home
last modified time | relevance | path

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

/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DSimpleModifier.java131 int suffixLength; in formatTwoArgPattern() local
134 suffixLength = 0; in formatTwoArgPattern()
136 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
138 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field); in formatTwoArgPattern()
139 length += suffixLength; in formatTwoArgPattern()
144 h.lengthSuffix = suffixLength; in formatTwoArgPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DSimpleModifier.java133 int suffixLength; in formatTwoArgPattern() local
136 suffixLength = 0; in formatTwoArgPattern()
138 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
140 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field); in formatTwoArgPattern()
141 length += suffixLength; in formatTwoArgPattern()
146 h.lengthSuffix = suffixLength; in formatTwoArgPattern()
/external/fonttools/Lib/fontTools/ufoLib/
Dfilenames.py149 suffixLength = len(suffix)
166 sliceLength = maxFileNameLength - prefixLength - suffixLength
214 suffixLength = len(suffix)
215 if prefixLength + len(userName) + suffixLength + 15 > maxFileNameLength:
216 l = (prefixLength + len(userName) + suffixLength + 15)
/external/fonttools/Lib/fontTools/misc/
Dfilenames.py103 suffixLength = len(suffix)
120 sliceLength = maxFileNameLength - prefixLength - suffixLength
168 suffixLength = len(suffix)
169 if prefixLength + len(userName) + suffixLength + 15 > maxFileNameLength:
170 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/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonPointer.java506 int suffixLength = last._asString.length(); in _constructHead() local
508 …return new JsonPointer(_asString.substring(0, _asString.length() - suffixLength), _matchingPropert… in _constructHead()
509 _matchingElementIndex, next._constructHead(suffixLength, last)); in _constructHead()
512 protected JsonPointer _constructHead(int suffixLength, JsonPointer last) in _constructHead() argument
519 return new JsonPointer(str.substring(0, str.length() - suffixLength), _matchingPropertyName, in _constructHead()
520 _matchingElementIndex, next._constructHead(suffixLength, last)); in _constructHead()
/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/cronet/third_party/icu/source/i18n/
Dnumber_modifiers.cpp269 int32_t suffixLength; in formatTwoArgPattern() local
272 suffixLength = 0; in formatTwoArgPattern()
274 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
276 … result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
277 length += suffixLength; in formatTwoArgPattern()
281 *outSuffixLength = suffixLength; in formatTwoArgPattern()
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp269 int32_t suffixLength; in formatTwoArgPattern() local
272 suffixLength = 0; in formatTwoArgPattern()
274 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
276 … result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
277 length += suffixLength; in formatTwoArgPattern()
281 *outSuffixLength = suffixLength; in formatTwoArgPattern()
/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/cronet/third_party/icu/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/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java393 int suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT; in formatPrefixSuffix() local
395 1 + suffixOffset + suffixLength, field); in formatPrefixSuffix()
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/
DSimpleFormatterImpl.java391 int suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT; in formatPrefixSuffix() local
393 1 + suffixOffset + suffixLength, field); in formatPrefixSuffix()
DNormalizer2Impl.java298 public void removeSuffix(int suffixLength) { in removeSuffix() argument
300 str.delete(oldLength-suffixLength, oldLength); in removeSuffix()
/external/cronet/third_party/icu/source/common/
Dnormalizer2impl.cpp340 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix() argument
341 if(suffixLength<(limit-start)) { in removeSuffix()
342 limit-=suffixLength; in removeSuffix()
343 remainingCapacity+=suffixLength; in removeSuffix()
Dnormalizer2impl.h191 void removeSuffix(int32_t suffixLength);
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp340 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix() argument
341 if(suffixLength<(limit-start)) { in removeSuffix()
342 limit-=suffixLength; in removeSuffix()
343 remainingCapacity+=suffixLength; in removeSuffix()
Dnormalizer2impl.h191 void removeSuffix(int32_t suffixLength);
/external/icu/libicu/cts_headers/
Dnormalizer2impl.h191 void removeSuffix(int32_t suffixLength);