Searched refs:fieldVal (Results 1 – 4 of 4) sorted by relevance
124 int fieldVal = get(field); in getDisplayName() local125 if (fieldVal < array.length) { in getDisplayName()126 return array[fieldVal]; in getDisplayName()
2838 int[] fieldVal = {0, 0, 0};2867 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;2883 if (fieldVal[0] > MAX_OFFSET_HOUR) {2884 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;2889 offset = fieldVal[0] * MILLIS_PER_HOUR;2894 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {2897 offset += fieldVal[1] * MILLIS_PER_MINUTE;2902 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {2905 offset += fieldVal[2] * MILLIS_PER_SECOND;
2908 int[] fieldVal = {0, 0, 0};2937 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;2953 if (fieldVal[0] > MAX_OFFSET_HOUR) {2954 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;2959 offset = fieldVal[0] * MILLIS_PER_HOUR;2964 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {2967 offset += fieldVal[1] * MILLIS_PER_MINUTE;2972 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {2975 offset += fieldVal[2] * MILLIS_PER_SECOND;
2260 int32_t fieldVal[] = {0, 0, 0}; in parseAsciiOffsetFields() local2288 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit; in parseAsciiOffsetFields()2304 if (fieldVal[0] > MAX_OFFSET_HOUR) { in parseAsciiOffsetFields()2305 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR; in parseAsciiOffsetFields()2310 offset = fieldVal[0] * MILLIS_PER_HOUR; in parseAsciiOffsetFields()2315 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { in parseAsciiOffsetFields()2318 offset += fieldVal[1] * MILLIS_PER_MINUTE; in parseAsciiOffsetFields()2323 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) { in parseAsciiOffsetFields()2326 offset += fieldVal[2] * MILLIS_PER_SECOND; in parseAsciiOffsetFields()