Home
last modified time | relevance | path

Searched refs:typeIdx (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/i18n/
Dolsontz.h416 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in zoneOffsetAt() local
417 return typeOffsets[typeIdx] + typeOffsets[typeIdx + 1]; in zoneOffsetAt()
422 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in rawOffsetAt() local
423 return typeOffsets[typeIdx]; in rawOffsetAt()
428 int16_t typeIdx = (transIdx >= 0 ? typeMapData[transIdx] : 0) << 1; in dstOffsetAt() local
429 return typeOffsets[typeIdx + 1]; in dstOffsetAt()
Dmeasunit.cpp1153 for (int32_t typeIdx = 0; typeIdx < UPRV_LENGTHOF(gTypes); ++typeIdx) { in getAvailable() local
1154 int32_t len = gOffsets[typeIdx + 1] - gOffsets[typeIdx]; in getAvailable()
1156 dest[idx].setTo(typeIdx, subTypeIdx); in getAvailable()
1172 int32_t typeIdx = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), type); in getAvailable() local
1173 if (typeIdx == -1) { in getAvailable()
1176 int32_t len = gOffsets[typeIdx + 1] - gOffsets[typeIdx]; in getAvailable()
1182 dest[subTypeIdx].setTo(typeIdx, subTypeIdx); in getAvailable()
Dolsontz.cpp732 int16_t transitionIdx, typeIdx; in initTransitionRules() local
754 for (typeIdx = 0; typeIdx < typeCount; typeIdx++) { in initTransitionRules()
758 if (typeIdx == (int16_t)typeMapData[transitionIdx]) { in initTransitionRules()
768 raw = typeOffsets[typeIdx << 1] * U_MILLIS_PER_SECOND; in initTransitionRules()
769 dst = typeOffsets[(typeIdx << 1) + 1] * U_MILLIS_PER_SECOND; in initTransitionRules()
784 … historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
787 if (historicRules[typeIdx] == NULL) { in initTransitionRules()
797 typeIdx = (int16_t)typeMapData[firstTZTransitionIdx]; in initTransitionRules()
799 *initialRule, *historicRules[typeIdx]); in initTransitionRules()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java758 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in zoneOffsetAt() local
759 return typeOffsets[typeIdx] + typeOffsets[typeIdx + 1]; in zoneOffsetAt()
763 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in rawOffsetAt() local
764 return typeOffsets[typeIdx]; in rawOffsetAt()
768 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in dstOffsetAt() local
769 return typeOffsets[typeIdx + 1]; in dstOffsetAt()
1132 int transitionIdx, typeIdx; in initTransitionRules() local
1148 for (typeIdx = 0; typeIdx < typeCount; typeIdx++) { in initTransitionRules()
1152 if (typeIdx == getInt(typeMapData[transitionIdx])) { in initTransitionRules()
1164 raw = typeOffsets[typeIdx*2]*Grego.MILLIS_PER_SECOND; in initTransitionRules()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java760 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in zoneOffsetAt() local
761 return typeOffsets[typeIdx] + typeOffsets[typeIdx + 1]; in zoneOffsetAt()
765 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in rawOffsetAt() local
766 return typeOffsets[typeIdx]; in rawOffsetAt()
770 int typeIdx = transIdx >= 0 ? getInt(typeMapData[transIdx]) * 2 : 0; in dstOffsetAt() local
771 return typeOffsets[typeIdx + 1]; in dstOffsetAt()
1134 int transitionIdx, typeIdx; in initTransitionRules() local
1150 for (typeIdx = 0; typeIdx < typeCount; typeIdx++) { in initTransitionRules()
1154 if (typeIdx == getInt(typeMapData[transitionIdx])) { in initTransitionRules()
1166 raw = typeOffsets[typeIdx*2]*Grego.MILLIS_PER_SECOND; in initTransitionRules()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeSampleVariablesTests.cpp250 for (int typeIdx = 0; typeIdx < MAX_TYPES; typeIdx++) in index_outside_sample_mask_range() local
261 << " highp int invalidValue = " << testConfigs.builtInType[typeIdx] << "[invalidIndex]; \n" in index_outside_sample_mask_range()
265 …s: using constant integral expression outside of " + testConfigs.builtInType[typeIdx] + " bounds"); in index_outside_sample_mask_range()
/external/r8/src/main/java/com/android/tools/r8/dex/
DDexFileReader.java252 int typeIdx = file.getUleb128(); in parseEncodedAnnotation() local
260 return new DexEncodedAnnotation(indexedItems.getType(typeIdx), elements); in parseEncodedAnnotation()
464 int typeIdx = file.getUleb128p1(); in parseDebugInfo() local
468 typeIdx == NO_INDEX ? null : indexedItems.getType(typeIdx), in parseDebugInfo()
475 int typeIdx = file.getUleb128p1(); in parseDebugInfo() local
480 typeIdx == NO_INDEX ? null : indexedItems.getType(typeIdx), in parseDebugInfo()
772 int typeIdx = file.getUleb128();
774 pairs[j] = new TypeAddrPair(indexedItems.getType(typeIdx), addr,
DFileWriter.java444 int typeIdx = mapping.getOffsetFor(field.type); in writeFieldItem() local
445 assert (short) typeIdx == typeIdx; in writeFieldItem()
446 dest.putShort((short) typeIdx); in writeFieldItem()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java962 for (int typeIdx = 0; typeIdx < types.length; ++typeIdx) { in TestTailoredElements()
963 String type = types[typeIdx]; // first: default type in TestTailoredElements()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java961 for (int typeIdx = 0; typeIdx < types.length; ++typeIdx) { in TestTailoredElements()
962 String type = types[typeIdx]; // first: default type in TestTailoredElements()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java2060 int typeIdx = 0; in generateCXXConstants() local
2073 measureUnitToTypeSubType.put(unit, Pair.of(typeIdx, subTypeIdx)); in generateCXXConstants()
2077 typeIdx++; in generateCXXConstants()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java2061 int typeIdx = 0; in generateCXXConstants() local
2074 measureUnitToTypeSubType.put(unit, Pair.of(typeIdx, subTypeIdx)); in generateCXXConstants()
2078 typeIdx++; in generateCXXConstants()