Home
last modified time | relevance | path

Searched refs:getPrefixLength (Results 1 – 25 of 54) sorted by relevance

123

/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFilenameUtilsTest.java516 assertEquals(-1, FilenameUtils.getPrefixLength(null)); in testGetPrefixLength()
517 assertEquals(-1, FilenameUtils.getPrefixLength(":")); in testGetPrefixLength()
518 assertEquals(-1, FilenameUtils.getPrefixLength("1:\\a\\b\\c.txt")); in testGetPrefixLength()
519 assertEquals(-1, FilenameUtils.getPrefixLength("1:")); in testGetPrefixLength()
520 assertEquals(-1, FilenameUtils.getPrefixLength("1:a")); in testGetPrefixLength()
521 assertEquals(-1, FilenameUtils.getPrefixLength("\\\\\\a\\b\\c.txt")); in testGetPrefixLength()
522 assertEquals(-1, FilenameUtils.getPrefixLength("\\\\a")); in testGetPrefixLength()
524 assertEquals(0, FilenameUtils.getPrefixLength("")); in testGetPrefixLength()
525 assertEquals(1, FilenameUtils.getPrefixLength("\\")); in testGetPrefixLength()
528 assertEquals(2, FilenameUtils.getPrefixLength("C:")); in testGetPrefixLength()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dnumrange_impl.cpp398 lengthPrefix += mod.getPrefixLength(); in formatRange()
399 lengthSuffix -= mod.getPrefixLength(); in formatRange()
408 lengthPrefix += mod.getPrefixLength(); in formatRange()
409 lengthSuffix -= mod.getPrefixLength(); in formatRange()
418 lengthPrefix += mod.getPrefixLength(); in formatRange()
419 lengthSuffix -= mod.getPrefixLength(); in formatRange()
Dnumber_modifiers.h34 int32_t getPrefixLength() const U_OVERRIDE;
70 int32_t getPrefixLength() const U_OVERRIDE;
163 int32_t getPrefixLength() const U_OVERRIDE;
246 int32_t getPrefixLength() const U_OVERRIDE { in getPrefixLength() function
Dnumber_scientific.h27 int32_t getPrefixLength() const U_OVERRIDE;
Dnumber_modifiers.cpp80 int32_t ConstantAffixModifier::getPrefixLength() const { in getPrefixLength() function in ConstantAffixModifier
162 int32_t SimpleModifier::getPrefixLength() const { in getPrefixLength() function in SimpleModifier
301 int32_t ConstantMultiFieldModifier::getPrefixLength() const { in getPrefixLength() function in ConstantMultiFieldModifier
/external/icu/icu4c/source/i18n/
Dnumrange_impl.cpp398 lengthPrefix += mod.getPrefixLength(); in formatRange()
399 lengthSuffix -= mod.getPrefixLength(); in formatRange()
408 lengthPrefix += mod.getPrefixLength(); in formatRange()
409 lengthSuffix -= mod.getPrefixLength(); in formatRange()
418 lengthPrefix += mod.getPrefixLength(); in formatRange()
419 lengthSuffix -= mod.getPrefixLength(); in formatRange()
Dnumber_modifiers.h34 int32_t getPrefixLength() const U_OVERRIDE;
70 int32_t getPrefixLength() const U_OVERRIDE;
163 int32_t getPrefixLength() const U_OVERRIDE;
246 int32_t getPrefixLength() const U_OVERRIDE { in getPrefixLength() function
Dnumber_scientific.h27 int32_t getPrefixLength() const U_OVERRIDE;
Dnumber_modifiers.cpp80 int32_t ConstantAffixModifier::getPrefixLength() const { in getPrefixLength() function in ConstantAffixModifier
162 int32_t SimpleModifier::getPrefixLength() const { in getPrefixLength() function in SimpleModifier
301 int32_t ConstantMultiFieldModifier::getPrefixLength() const { in getPrefixLength() function in ConstantMultiFieldModifier
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java377 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
378 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
387 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
388 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
397 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
398 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
DScientificNotation.java224 public int getPrefixLength() { in getPrefixLength() method in ScientificNotation.ScientificHandler
305 public int getPrefixLength() { in getPrefixLength() method in ScientificNotation.ScientificModifier
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatterImpl.java378 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
379 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
388 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
389 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
398 h.lengthPrefix += mod.getPrefixLength(); in formatRange()
399 h.lengthSuffix -= mod.getPrefixLength(); in formatRange()
DScientificNotation.java222 public int getPrefixLength() { in getPrefixLength() method in ScientificNotation.ScientificHandler
303 public int getPrefixLength() { in getPrefixLength() method in ScientificNotation.ScientificModifier
/external/icu/libicu/cts_headers/
Dnumber_modifiers.h34 int32_t getPrefixLength() const U_OVERRIDE;
70 int32_t getPrefixLength() const U_OVERRIDE;
163 int32_t getPrefixLength() const U_OVERRIDE;
246 int32_t getPrefixLength() const U_OVERRIDE { in getPrefixLength() function
Dnumber_scientific.h27 int32_t getPrefixLength() const U_OVERRIDE;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantMultiFieldModifier.java63 public int getPrefixLength() { in getPrefixLength() method in ConstantMultiFieldModifier
116 int prefixLength = getPrefixLength(); in toString()
DSimpleModifier.java47 public int getPrefixLength() { in getPrefixLength() method in SimpleModifier
48 return SimpleFormatterImpl.getPrefixLength(compiledPattern); in getPrefixLength()
DModifier.java50 public int getPrefixLength(); in getPrefixLength() method
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DConstantMultiFieldModifier.java65 public int getPrefixLength() { in getPrefixLength() method in ConstantMultiFieldModifier
118 int prefixLength = getPrefixLength(); in toString()
DSimpleModifier.java49 public int getPrefixLength() { in getPrefixLength() method in SimpleModifier
50 return SimpleFormatterImpl.getPrefixLength(compiledPattern); in getPrefixLength()
DModifier.java52 public int getPrefixLength(); in getPrefixLength() method
DConstantAffixModifier.java67 public int getPrefixLength() { in getPrefixLength() method in ConstantAffixModifier
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFilenameUtils.java202 final int prefix = getPrefixLength(fullFileNameToAdd); in concat()
271 final int prefix = getPrefixLength(fileName); in doGetFullPath()
304 final int prefix = getPrefixLength(fileName); in doGetPath()
336 final int prefix = getPrefixLength(fileName); in doNormalize()
810 final int len = getPrefixLength(fileName); in getPrefix()
864 public static int getPrefixLength(final String fileName) { in getPrefixLength() method in FilenameUtils
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java150 return nsb.subSequence(0, mod.getPrefixLength()).toString(); in getPrefix()
156 return nsb.subSequence(mod.getPrefixLength(), nsb.length()).toString(); in getSuffix()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java147 return nsb.subSequence(0, mod.getPrefixLength()).toString(); in getPrefix()
153 return nsb.subSequence(mod.getPrefixLength(), nsb.length()).toString(); in getSuffix()

123