Home
last modified time | relevance | path

Searched refs:fieldVal (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java126 int fieldVal = get(field); in getDisplayName() local
127 if (fieldVal < array.length) { in getDisplayName()
128 return array[fieldVal]; in getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java2861 int[] fieldVal = {0, 0, 0};
2890 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2906 if (fieldVal[0] > MAX_OFFSET_HOUR) {
2907 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2912 offset = fieldVal[0] * MILLIS_PER_HOUR;
2917 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
2920 offset += fieldVal[1] * MILLIS_PER_MINUTE;
2925 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
2928 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2931 int[] fieldVal = {0, 0, 0};
2960 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit;
2976 if (fieldVal[0] > MAX_OFFSET_HOUR) {
2977 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR;
2982 offset = fieldVal[0] * MILLIS_PER_HOUR;
2987 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) {
2990 offset += fieldVal[1] * MILLIS_PER_MINUTE;
2995 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) {
2998 offset += fieldVal[2] * MILLIS_PER_SECOND;
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp2289 int32_t fieldVal[] = {0, 0, 0}; in parseAsciiOffsetFields() local
2317 fieldVal[fieldIdx] = fieldVal[fieldIdx] * 10 + digit; in parseAsciiOffsetFields()
2333 if (fieldVal[0] > MAX_OFFSET_HOUR) { in parseAsciiOffsetFields()
2334 offset = (fieldVal[0] / 10) * MILLIS_PER_HOUR; in parseAsciiOffsetFields()
2339 offset = fieldVal[0] * MILLIS_PER_HOUR; in parseAsciiOffsetFields()
2344 if (fieldLen[1] != 2 || fieldVal[1] > MAX_OFFSET_MINUTE) { in parseAsciiOffsetFields()
2347 offset += fieldVal[1] * MILLIS_PER_MINUTE; in parseAsciiOffsetFields()
2352 if (fieldLen[2] != 2 || fieldVal[2] > MAX_OFFSET_SECOND) { in parseAsciiOffsetFields()
2355 offset += fieldVal[2] * MILLIS_PER_SECOND; in parseAsciiOffsetFields()
/external/protobuf/objectivec/
DGPBMessage.m2831 TYPE fieldVal = GPBGetMessage##FUNC_TYPE##Field(self, fieldDescriptor); \
2832 result += GPBCompute##NAME##Size(fieldNumber, fieldVal); \
2837 id fieldVal = GPBGetObjectIvarWithFieldNoAutocreate(self, fieldDescriptor); \
2838 result += GPBCompute##NAME##Size(fieldNumber, fieldVal); \