Searched refs:fieldLen (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/common/ |
D | locid.cpp | 1662 int32_t fieldLen[5] = {0}; in init() local 1710 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init() 1720 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init() 1722 fieldLen[fieldIdx-1] = length - (int32_t)(field[fieldIdx-1] - fullName); in init() 1725 if (fieldLen[0] >= (int32_t)(sizeof(language))) in init() 1731 if (fieldLen[0] > 0) { in init() 1733 uprv_memcpy(language, fullName, fieldLen[0]); in init() 1734 language[fieldLen[0]] = 0; in init() 1736 if (fieldLen[1] == 4 && uprv_isASCIILetter(field[1][0]) && in init() 1740 uprv_memcpy(script, field[1], fieldLen[1]); in init() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeZoneFormat.java | 2862 int[] fieldLen = {0, -1, -1}; 2867 if (fieldLen[0] == 0) { 2874 if (fieldLen[fieldIdx] != -1) { 2878 fieldLen[fieldIdx] = 0; 2881 } else if (fieldLen[fieldIdx] == -1) { 2891 fieldLen[fieldIdx]++; 2892 if (fieldLen[fieldIdx] >= 2) { 2903 if (fieldLen[0] == 0) { 2913 parsedLen = fieldLen[0]; 2917 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 2932 int[] fieldLen = {0, -1, -1}; 2937 if (fieldLen[0] == 0) { 2944 if (fieldLen[fieldIdx] != -1) { 2948 fieldLen[fieldIdx] = 0; 2951 } else if (fieldLen[fieldIdx] == -1) { 2961 fieldLen[fieldIdx]++; 2962 if (fieldLen[fieldIdx] >= 2) { 2973 if (fieldLen[0] == 0) { 2983 parsedLen = fieldLen[0]; 2987 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { [all …]
|
/external/icu/icu4c/source/i18n/ |
D | tzfmt.cpp | 2295 int32_t fieldLen[] = {0, -1, -1}; in parseAsciiOffsetFields() local 2300 if (fieldLen[0] == 0) { in parseAsciiOffsetFields() 2306 if (fieldLen[fieldIdx] != -1) { in parseAsciiOffsetFields() 2310 fieldLen[fieldIdx] = 0; in parseAsciiOffsetFields() 2313 } else if (fieldLen[fieldIdx] == -1) { in parseAsciiOffsetFields() 2323 fieldLen[fieldIdx]++; in parseAsciiOffsetFields() 2324 if (fieldLen[fieldIdx] >= 2) { in parseAsciiOffsetFields() 2335 if (fieldLen[0] == 0) { in parseAsciiOffsetFields() 2345 parsedLen = fieldLen[0]; in parseAsciiOffsetFields() 2349 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { in parseAsciiOffsetFields() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1883 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument 1885 if (appendLen >= fieldLen) { in appendToBuf() 1886 dest.append(src.substring(0, fieldLen)); in appendToBuf() 1889 while (appendLen < fieldLen) { in appendToBuf() 1899 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument 1906 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf() 1912 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1886 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument 1888 if (appendLen >= fieldLen) { in appendToBuf() 1889 dest.append(src.substring(0, fieldLen)); in appendToBuf() 1892 while (appendLen < fieldLen) { in appendToBuf() 1902 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument 1909 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf() 1915 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
|