Home
last modified time | relevance | path

Searched refs:fieldLen (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/common/
Dlocid.cpp497 int32_t fieldLen[5] = {0}; in init() local
541 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init()
551 fieldLen[fieldIdx-1] = (int32_t)(separator - field[fieldIdx-1]); in init()
553 fieldLen[fieldIdx-1] = length - (int32_t)(field[fieldIdx-1] - fullName); in init()
556 if (fieldLen[0] >= (int32_t)(sizeof(language))) in init()
562 if (fieldLen[0] > 0) { in init()
564 uprv_memcpy(language, fullName, fieldLen[0]); in init()
565 language[fieldLen[0]] = 0; in init()
567 if (fieldLen[1] == 4 && ISASCIIALPHA(field[1][0]) && in init()
571 uprv_memcpy(script, field[1], fieldLen[1]); in init()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2909 int[] fieldLen = {0, -1, -1};
2914 if (fieldLen[0] == 0) {
2921 if (fieldLen[fieldIdx] != -1) {
2925 fieldLen[fieldIdx] = 0;
2928 } else if (fieldLen[fieldIdx] == -1) {
2938 fieldLen[fieldIdx]++;
2939 if (fieldLen[fieldIdx] >= 2) {
2950 if (fieldLen[0] == 0) {
2960 parsedLen = fieldLen[0];
2964 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2839 int[] fieldLen = {0, -1, -1};
2844 if (fieldLen[0] == 0) {
2851 if (fieldLen[fieldIdx] != -1) {
2855 fieldLen[fieldIdx] = 0;
2858 } else if (fieldLen[fieldIdx] == -1) {
2868 fieldLen[fieldIdx]++;
2869 if (fieldLen[fieldIdx] >= 2) {
2880 if (fieldLen[0] == 0) {
2890 parsedLen = fieldLen[0];
2894 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
[all …]
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2261 int32_t fieldLen[] = {0, -1, -1}; in parseAsciiOffsetFields() local
2266 if (fieldLen[0] == 0) { in parseAsciiOffsetFields()
2272 if (fieldLen[fieldIdx] != -1) { in parseAsciiOffsetFields()
2276 fieldLen[fieldIdx] = 0; in parseAsciiOffsetFields()
2279 } else if (fieldLen[fieldIdx] == -1) { in parseAsciiOffsetFields()
2289 fieldLen[fieldIdx]++; in parseAsciiOffsetFields()
2290 if (fieldLen[fieldIdx] >= 2) { in parseAsciiOffsetFields()
2301 if (fieldLen[0] == 0) { in parseAsciiOffsetFields()
2311 parsedLen = fieldLen[0]; in parseAsciiOffsetFields()
2315 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/
DRBBITestMonkey.java1612 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument
1614 if (appendLen >= fieldLen) { in appendToBuf()
1615 dest.append(src.substring(0, fieldLen)); in appendToBuf()
1618 while (appendLen < fieldLen) { in appendToBuf()
1627 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument
1634 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf()
1640 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java1616 private static void appendToBuf(StringBuffer dest, String src, int fieldLen) { in appendToBuf() argument
1618 if (appendLen >= fieldLen) { in appendToBuf()
1619 dest.append(src.substring(0, fieldLen)); in appendToBuf()
1622 while (appendLen < fieldLen) { in appendToBuf()
1631 private static void appendCharToBuf(StringBuffer dest, int c, int fieldLen) { in appendCharToBuf() argument
1638 appendToBuf(dest, " ", fieldLen-6); in appendCharToBuf()
1644 appendToBuf(dest, " ", fieldLen-10); in appendCharToBuf()
/external/robolectric/v1/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...