Home
last modified time | relevance | path

Searched refs:alphaCode (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/
DNumericCodeData.java43 String alphaCode = dataEntry.alphabeticCode(); in createInstance() local
45 if (alphaCode == null || numCode == null) { in createInstance()
48 map.put(alphaCode, String.format("%03d", numCode)); in createInstance()
56 String alphaCode = codeMapEntry.getKey(); in merge() local
58 if (!_codeMap.containsKey(alphaCode)) { in merge()
59 _codeMap.put(alphaCode, numCode); in merge()
61 String existingValue = _codeMap.get(alphaCode); in merge()
63 …throw new RuntimeException("Duplicated definition for " + alphaCode + ": value=" + existingValue +… in merge()
108 String alphaCode = mapEntry.getKey(); in writeResource() local
110 pw.println(String.format(" %1$s:int{%2$d}", alphaCode, numericCodeVal)); in writeResource()
/third_party/icu/icu4c/source/test/cintltst/
Dcurrtest.c234 const char* alphaCode; member
254 for (i = 0; NUMCODE_TESTDATA[i].alphaCode; i++) { in TestNumericCode()
255 int32_t length = (int32_t)uprv_strlen(NUMCODE_TESTDATA[i].alphaCode); in TestNumericCode()
256 u_charsToUChars(NUMCODE_TESTDATA[i].alphaCode, code, length + 1); // +1 includes the NUL in TestNumericCode()
260 numCode, NUMCODE_TESTDATA[i].alphaCode, NUMCODE_TESTDATA[i].numericCode); in TestNumericCode()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp99 uint8_t alphaCode = static_cast<uint8_t>((alphaBits >> alphaShift) & 0x7); in UncompressDXTBlock() local
102 switch (alphaCode) in UncompressDXTBlock()
112 alpha = ((8 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 7; in UncompressDXTBlock()
118 switch (alphaCode) in UncompressDXTBlock()
134 alpha = ((6 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 5; in UncompressDXTBlock()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustResourceInitTest.cpp100 uint8_t alphaCode = static_cast<uint8_t>((alphaBits >> alphaShift) & 0x7); in UncompressDXTBlock() local
103 switch (alphaCode) in UncompressDXTBlock()
113 alpha = ((8 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 7; in UncompressDXTBlock()
119 switch (alphaCode) in UncompressDXTBlock()
135 alpha = ((6 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 5; in UncompressDXTBlock()
/third_party/node/deps/icu-small/source/common/
Ducurr.cpp2687 char alphaCode[ISO_CURRENCY_CODE_LENGTH+1]; in ucurr_getNumericCode() local
2688 myUCharsToChars(alphaCode, currency); in ucurr_getNumericCode()
2689 T_CString_toUpperCase(alphaCode); in ucurr_getNumericCode()
2690 ures_getByKey(bundle, alphaCode, bundle, &status); in ucurr_getNumericCode()
/third_party/icu/icu4c/source/common/
Ducurr.cpp2686 char alphaCode[ISO_CURRENCY_CODE_LENGTH+1]; in ucurr_getNumericCode() local
2687 myUCharsToChars(alphaCode, currency); in ucurr_getNumericCode()
2688 T_CString_toUpperCase(alphaCode); in ucurr_getNumericCode()
2689 ures_getByKey(bundle, alphaCode, bundle, &status); in ucurr_getNumericCode()
/third_party/skia/third_party/externals/icu/source/common/
Ducurr.cpp2686 char alphaCode[ISO_CURRENCY_CODE_LENGTH+1]; in ucurr_getNumericCode() local
2687 myUCharsToChars(alphaCode, currency); in ucurr_getNumericCode()
2688 T_CString_toUpperCase(alphaCode); in ucurr_getNumericCode()
2689 ures_getByKey(bundle, alphaCode, bundle, &status); in ucurr_getNumericCode()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducurr.cpp2716 char alphaCode[ISO_CURRENCY_CODE_LENGTH+1]; in ucurr_getNumericCode() local
2717 myUCharsToChars(alphaCode, currency); in ucurr_getNumericCode()
2718 T_CString_toUpperCase(alphaCode); in ucurr_getNumericCode()
2719 ures_getByKey(bundle, alphaCode, bundle, &status); in ucurr_getNumericCode()