Home
last modified time | relevance | path

Searched refs:firstHyphen (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberSkeletonImpl.java948 int firstHyphen = 0; in parseMeasureUnitOption() local
949 while (firstHyphen < segment.length() && segment.charAt(firstHyphen) != '-') { in parseMeasureUnitOption()
950 firstHyphen++; in parseMeasureUnitOption()
952 if (firstHyphen == segment.length()) { in parseMeasureUnitOption()
955 String type = segment.subSequence(0, firstHyphen).toString(); in parseMeasureUnitOption()
956 String subType = segment.subSequence(firstHyphen + 1, segment.length()).toString(); in parseMeasureUnitOption()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberSkeletonImpl.java947 int firstHyphen = 0; in parseMeasureUnitOption() local
948 while (firstHyphen < segment.length() && segment.charAt(firstHyphen) != '-') { in parseMeasureUnitOption()
949 firstHyphen++; in parseMeasureUnitOption()
951 if (firstHyphen == segment.length()) { in parseMeasureUnitOption()
954 String type = segment.subSequence(0, firstHyphen).toString(); in parseMeasureUnitOption()
955 String subType = segment.subSequence(firstHyphen + 1, segment.length()).toString(); in parseMeasureUnitOption()
/external/icu/icu4c/source/i18n/
Dnumber_skeletons.cpp901 int firstHyphen = 0; in parseMeasureUnitOption() local
902 while (firstHyphen < stemString.length() && stemString.charAt(firstHyphen) != '-') { in parseMeasureUnitOption()
903 firstHyphen++; in parseMeasureUnitOption()
905 if (firstHyphen == stemString.length()) { in parseMeasureUnitOption()
914 SKELETON_UCHAR_TO_CHAR(type, stemString, 0, firstHyphen, status); in parseMeasureUnitOption()
916 SKELETON_UCHAR_TO_CHAR(subType, stemString, firstHyphen + 1, stemString.length(), status); in parseMeasureUnitOption()