Searched refs:fieldLen (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/common/ |
D | locid.cpp | 532 int32_t fieldLen[5] = {0}; in init() local 580 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init() 590 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init() 592 fieldLen[fieldIdx-1] = length - (int32_t)(field[fieldIdx-1] - fullName); in init() 595 if (fieldLen[0] >= (int32_t)(sizeof(language))) in init() 601 if (fieldLen[0] > 0) { in init() 603 uprv_memcpy(language, fullName, fieldLen[0]); in init() 604 language[fieldLen[0]] = 0; in init() 606 if (fieldLen[1] == 4 && ISASCIIALPHA(field[1][0]) && in init() 610 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 | 1832 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument 1834 if (appendLen >= fieldLen) { in appendToBuf() 1835 dest.append(src.substring(0, fieldLen)); in appendToBuf() 1838 while (appendLen < fieldLen) { in appendToBuf() 1847 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument 1854 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf() 1860 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1835 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument 1837 if (appendLen >= fieldLen) { in appendToBuf() 1838 dest.append(src.substring(0, fieldLen)); in appendToBuf() 1841 while (appendLen < fieldLen) { in appendToBuf() 1850 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument 1857 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf() 1863 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
|