/external/icu/icu4c/source/test/perf/convperf/ |
D | convperf.cpp | 143 …Function* pf = new ICUFromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource… in TestICU_UTF8_FromUnicode() 152 …UPerfFunction* pf = new ICUToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8… in TestICU_UTF8_ToUnicode() 162 …new WinIMultiLanguage2FromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_uniSource… in TestWinIML2_UTF8_FromUnicode() 171 …inIMultiLanguage2ToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource… in TestWinIML2_UTF8_ToUnicode() 180 …UPerfFunction* pf = new WinANSIFromUnicodePerfFunction("utf-8",utf8_uniSource, UPRV_LENGTHOF(utf8_… in TestWinANSI_UTF8_FromUnicode() 189 … pf = new WinANSIToUnicodePerfFunction("utf-8",(char*)utf8_encSource, UPRV_LENGTHOF(utf8_encSource… in TestWinANSI_UTF8_ToUnicode() 200 …n* pf = new ICUFromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSour… in TestICU_Latin1_FromUnicode() 209 … = new ICUToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSour… in TestICU_Latin1_ToUnicode() 219 …IMultiLanguage2FromUnicodePerfFunction("iso-8859-1",latin1_uniSource, UPRV_LENGTHOF(latin1_uniSour… in TestWinIML2_Latin1_FromUnicode() 228 …iLanguage2ToUnicodePerfFunction("iso-8859-1",(char*)latin1_encSource, UPRV_LENGTHOF(latin1_encSour… in TestWinIML2_Latin1_ToUnicode() [all …]
|
/external/icu/icu4c/source/samples/ustring/ |
D | ustring.cpp | 108 printUString("iterate forward through: ", input, UPRV_LENGTHOF(input)); in demo_utf_h_macros() 109 for(i=0; i<UPRV_LENGTHOF(input); /* U16_NEXT post-increments */) { in demo_utf_h_macros() 117 U16_NEXT(input, i, UPRV_LENGTHOF(input), c); in demo_utf_h_macros() 125 U16_APPEND(input, i, UPRV_LENGTHOF(input), 0x0062, isError); in demo_utf_h_macros() 127 printUString("iterate backward through: ", input, UPRV_LENGTHOF(input)); in demo_utf_h_macros() 128 for(i=UPRV_LENGTHOF(input); i>0; /* U16_PREV pre-decrements */) { in demo_utf_h_macros() 215 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 221 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() 226 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 232 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | custrtrn.c | 150 u_strToUTF32(u32Target, 0, &u32DestLen, src16, UPRV_LENGTHOF(src16),&err); in Test_strToUTF32() 151 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != UPRV_LENGTHOF(src32)) { in Test_strToUTF32() 154 (long)u32DestLen, (long)UPRV_LENGTHOF(src32), u_errorName(err)); in Test_strToUTF32() 159 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32)+1, &u32DestLen, src16, UPRV_LENGTHOF(src16),&err); in Test_strToUTF32() 160 if(err != U_ZERO_ERROR || u32DestLen != UPRV_LENGTHOF(src32)) { in Test_strToUTF32() 163 (long)u32DestLen, (long)UPRV_LENGTHOF(src32), u_errorName(err)); in Test_strToUTF32() 172 for(i=0; i< UPRV_LENGTHOF(src32); i++){ in Test_strToUTF32() 184 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != UPRV_LENGTHOF(src32)-1) { in Test_strToUTF32() 187 (long)u32DestLen, (long)UPRV_LENGTHOF(src32)-1, u_errorName(err)); in Test_strToUTF32() 192 u_strToUTF32(u32Target, UPRV_LENGTHOF(src32), &u32DestLen, src16, -1,&err); in Test_strToUTF32() [all …]
|
D | cbiditst.c | 735 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorder() 770 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorder() 804 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorder() 835 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorder() 869 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorder() 997 for(i=0;i<UPRV_LENGTHOF(logicalOrder);i++){ in testReorderArabicMathSymbols() 1289 #define STRING_TEST_CASE(s) { (s), UPRV_LENGTHOF(s) } 1359 UPRV_LENGTHOF(testCases)); in testGetBaseDirection() 1361 for(i=0; i<UPRV_LENGTHOF(testCases); ++i) { in testGetBaseDirection() 2136 ubidi_setPara(pBidi, multiparaTestString, UPRV_LENGTHOF(multiparaTestString), in testMultipleParagraphs() [all …]
|
D | cucdapi.c | 161 num = uscript_getCode("tg", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 164 num = uscript_getCode("xsr", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 169 num = uscript_getCode("ja", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 171 JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, num, err); in TestUScriptCodeAPI() 173 num = uscript_getCode("ko", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 175 KOREAN, UPRV_LENGTHOF(KOREAN), scripts, num, err); in TestUScriptCodeAPI() 177 num = uscript_getCode("zh", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 180 num = uscript_getCode("zh-Hant", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 183 num = uscript_getCode("zh-TW", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() 188 num = uscript_getCode("ro-RO", scripts, UPRV_LENGTHOF(scripts), &err); in TestUScriptCodeAPI() [all …]
|
D | utf8tst.c | 102 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues() 145 for(i=0; i<UPRV_LENGTHOF(codepoint); i=(int16_t)(i+2)){ in TestCharLength() 543 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 550 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 609 for(i=0; i<UPRV_LENGTHOF(Nvalue); i++){ in TestFwdBack() 618 for(i=0; i<UPRV_LENGTHOF(Nvalue); i++){ in TestFwdBack() 627 for(i=0; i<UPRV_LENGTHOF(Nvalue); i++){ in TestFwdBack() 635 for(i=0; i<UPRV_LENGTHOF(Nvalue); i++){ in TestFwdBack() 661 for(i=1, offset=0; offset<UPRV_LENGTHOF(input); ++i) { in TestFwdBackUnsafe() 667 for(i=1, offset=0; offset<UPRV_LENGTHOF(input); ++i) { in TestFwdBackUnsafe() [all …]
|
D | reapits.c | 210 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 262 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 302 u_uastrncpy(testString1, "abcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 303 u_uastrncpy(testString2, "xxxabcccd", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 334 u_uastrncpy(pat, "hello", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 400 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI() 401 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI() 403 u_uastrncpy(pat, "abc*d", UPRV_LENGTHOF(pat)); in TestRegexCAPI() 455 u_uastrncpy(text1, "abcccd", UPRV_LENGTHOF(text1)); in TestRegexCAPI() 456 u_uastrncpy(text2, "abcccxd", UPRV_LENGTHOF(text2)); in TestRegexCAPI() [all …]
|
D | bocu1tst.c | 952 { feff, UPRV_LENGTHOF(feff) }, 953 { ascii, UPRV_LENGTHOF(ascii) }, 954 { crlf, UPRV_LENGTHOF(crlf) }, 955 { nul, UPRV_LENGTHOF(nul) }, 956 { latin, UPRV_LENGTHOF(latin) }, 957 { devanagari, UPRV_LENGTHOF(devanagari) }, 958 { hiragana, UPRV_LENGTHOF(hiragana) }, 959 { unihan, UPRV_LENGTHOF(unihan) }, 960 { hangul, UPRV_LENGTHOF(hangul) }, 961 { surrogates, UPRV_LENGTHOF(surrogates) }, [all …]
|
D | cnormtst.c | 191 …length2=unorm_normalize(source, u_strlen(source), mode, 0, result, UPRV_LENGTHOF(result), &status)… in TestNormCases() 198 length2=unorm_normalize(source, -1, mode, 0, result, UPRV_LENGTHOF(result), &status); in TestNormCases() 210 TestNormCases(UNORM_NFD, canonTests, UPRV_LENGTHOF(canonTests)); in TestDecomp() 214 TestNormCases(UNORM_NFKD, compatTests, UPRV_LENGTHOF(compatTests)); in TestCompatDecomp() 218 TestNormCases(UNORM_NFC, canonTests, UPRV_LENGTHOF(canonTests)); in TestCanonDecompCompose() 222 TestNormCases(UNORM_NFKC, compatTests, UPRV_LENGTHOF(compatTests)); in TestCompatDecompCompose() 226 TestNormCases(UNORM_FCD, fcdTests, UPRV_LENGTHOF(fcdTests)); in TestFCD() 476 for (count = 0; count < UPRV_LENGTHOF(canonTests); count ++) in TestQuickCheckStringResult() 498 for (count = 0; count < UPRV_LENGTHOF(compatTests); count ++) in TestQuickCheckStringResult() 580 for(i=0; i<UPRV_LENGTHOF(notNFC); ++i) { in TestIsNormalized() [all …]
|
D | sorttest.c | 40 …uprv_sortArray(small, UPRV_LENGTHOF(small), sizeof(small[0]), uprv_uint16Comparator, NULL, TRUE, &… in SortTest() 45 for(i=1; i<UPRV_LENGTHOF(small); ++i) { in SortTest() 53 for(i=0; i<UPRV_LENGTHOF(medium); ++i) { in SortTest() 58 …uprv_sortArray(medium, UPRV_LENGTHOF(medium), sizeof(medium[0]), uprv_int32Comparator, NULL, TRUE,… in SortTest() 63 for(i=1; i<UPRV_LENGTHOF(medium); ++i) { in SortTest() 72 …uprv_sortArray(large, UPRV_LENGTHOF(large), sizeof(large[0]), uprv_uint32Comparator, NULL, FALSE, … in SortTest() 77 for(i=1; i<UPRV_LENGTHOF(large); ++i) { in SortTest()
|
/external/icu/icu4c/source/test/intltest/ |
D | simplepatternformattertest.cpp | 169 UPRV_LENGTHOF(params), in TestManyPlaceholders() 172 UPRV_LENGTHOF(offsets), in TestManyPlaceholders() 177 verifyOffsets(expectedOffsets, offsets, UPRV_LENGTHOF(expectedOffsets)); in TestManyPlaceholders() 182 offsets[UPRV_LENGTHOF(offsets) - 1] = 289; in TestManyPlaceholders() 186 UPRV_LENGTHOF(params), in TestManyPlaceholders() 189 UPRV_LENGTHOF(offsets) - 1, in TestManyPlaceholders() 191 assertEquals("Offsets buffer length", 289, offsets[UPRV_LENGTHOF(offsets) - 1]); in TestManyPlaceholders() 202 UPRV_LENGTHOF(params), in TestManyPlaceholders() 216 UPRV_LENGTHOF(params), in TestManyPlaceholders() 260 params, UPRV_LENGTHOF(params), appendTo, NULL, 0, status); in TestTooFewPlaceholderValues() [all …]
|
D | uts46test.cpp | 149 TestCheckedArrayByteSink sink(buffer, UPRV_LENGTHOF(buffer)); in TestAPI() 216 prettify(result).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestNotSTD3() 230 prettify(result).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestNotSTD3() 588 for(i=0; i<UPRV_LENGTHOF(testCases); ++i) { in TestSomeCases() 616 prettify(uN).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() 634 prettify(uT).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() 647 prettify(aN).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() 653 prettify(aT).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() 660 prettify(aN).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() 664 prettify(aT).extract(0, 0x7fffffff, buffer, UPRV_LENGTHOF(buffer)); in TestSomeCases() [all …]
|
D | genderinfotest.cpp | 57 …check(UGENDER_FEMALE, UGENDER_FEMALE, UGENDER_FEMALE, kSingleFemale, UPRV_LENGTHOF(kSingleFemale)); in TestGetListGender() 58 check(UGENDER_MALE, UGENDER_MALE, UGENDER_MALE, kSingleMale, UPRV_LENGTHOF(kSingleMale)); in TestGetListGender() 59 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_OTHER, kSingleOther, UPRV_LENGTHOF(kSingleOther)); in TestGetListGender() 61 check(UGENDER_OTHER, UGENDER_FEMALE, UGENDER_FEMALE, kAllFemale, UPRV_LENGTHOF(kAllFemale)); in TestGetListGender() 62 check(UGENDER_OTHER, UGENDER_MALE, UGENDER_MALE, kAllMale, UPRV_LENGTHOF(kAllMale)); in TestGetListGender() 63 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kAllOther, UPRV_LENGTHOF(kAllOther)); in TestGetListGender() 65 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kFemaleMale, UPRV_LENGTHOF(kFemaleMale)); in TestGetListGender() 66 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kFemaleOther, UPRV_LENGTHOF(kFemaleOther)); in TestGetListGender() 67 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kMaleOther, UPRV_LENGTHOF(kMaleOther)); in TestGetListGender()
|
D | measfmttest.cpp | 733 UPRV_LENGTHOF(feetAndInches), in TestExamplesInDocs() 740 UPRV_LENGTHOF(feetAndInches), in TestExamplesInDocs() 746 UPRV_LENGTHOF(footAndInch), in TestExamplesInDocs() 752 UPRV_LENGTHOF(footAndInch), in TestExamplesInDocs() 758 UPRV_LENGTHOF(inchAndFeet), in TestExamplesInDocs() 846 {t_1m_59_9996s, UPRV_LENGTHOF(t_1m_59_9996s), "1 minute, 59.9996 seconds"}, in TestFormatPeriodEn() 847 {t_19m, UPRV_LENGTHOF(t_19m), "19 minutes"}, in TestFormatPeriodEn() 848 {t_1h_23_5s, UPRV_LENGTHOF(t_1h_23_5s), "1 hour, 23.5 seconds"}, in TestFormatPeriodEn() 849 {t_1h_23_5m, UPRV_LENGTHOF(t_1h_23_5m), "1 hour, 23.5 minutes"}, in TestFormatPeriodEn() 850 {t_1h_0m_23s, UPRV_LENGTHOF(t_1h_0m_23s), "1 hour, 0 minutes, 23 seconds"}, in TestFormatPeriodEn() [all …]
|
D | bytestrietest.cpp | 131 checkData(data, UPRV_LENGTHOF(data)); in TestEmpty() 138 checkData(data, UPRV_LENGTHOF(data)); in Test_a() 146 checkData(data, UPRV_LENGTHOF(data)); in Test_a_ab() 154 checkData(data, UPRV_LENGTHOF(data)); in TestShortestBranch() 174 for(int32_t length=2; length<=UPRV_LENGTHOF(data); ++length) { in TestBranches() 193 checkData(data, UPRV_LENGTHOF(data)); in TestLongSequence() 221 checkData(data, UPRV_LENGTHOF(data)); in TestLongBranch() 235 checkData(data, UPRV_LENGTHOF(data)); in TestValuesForState() 262 checkData(data, UPRV_LENGTHOF(data)); in TestCompact() 302 return buildTrie(data, UPRV_LENGTHOF(data), buildOption); in buildMonthsTrie() [all …]
|
D | ucharstrietest.cpp | 140 checkData(data, UPRV_LENGTHOF(data)); in TestEmpty() 147 checkData(data, UPRV_LENGTHOF(data)); in Test_a() 155 checkData(data, UPRV_LENGTHOF(data)); in Test_a_ab() 163 checkData(data, UPRV_LENGTHOF(data)); in TestShortestBranch() 183 for(int32_t length=2; length<=UPRV_LENGTHOF(data); ++length) { in TestBranches() 202 checkData(data, UPRV_LENGTHOF(data)); in TestLongSequence() 230 checkData(data, UPRV_LENGTHOF(data)); in TestLongBranch() 244 checkData(data, UPRV_LENGTHOF(data)); in TestValuesForState() 271 checkData(data, UPRV_LENGTHOF(data)); in TestCompact() 286 checkData(data, UPRV_LENGTHOF(data)); in TestFirstForCodePoint() [all …]
|
D | ucdtest.cpp | 41 for(int32_t i=0; i<UPRV_LENGTHOF(ignorePropNames); ++i) { in UnicodeTest() 151 static int32_t numErrors[UPRV_LENGTHOF(derivedPropsIndex)]={ 0 }; 171 i=getTokenIndex(derivedPropsNames, UPRV_LENGTHOF(derivedPropsNames), fields[1][0]); in derivedPropsLineFn() 189 if(UPRV_LENGTHOF(derivedProps)<UPRV_LENGTHOF(derivedPropsNames)) { in TestAdditionalProperties() 191 UPRV_LENGTHOF(derivedPropsNames)); in TestAdditionalProperties() 194 if(UPRV_LENGTHOF(derivedPropsIndex)!=UPRV_LENGTHOF(derivedPropsNames)) { in TestAdditionalProperties() 229 for(i=0; i<UPRV_LENGTHOF(derivedPropsNames); ++i) { in TestAdditionalProperties() 247 for(i=0; i<UPRV_LENGTHOF(derivedPropsNames); ++i) { in TestAdditionalProperties() 252 for(i=0; i<UPRV_LENGTHOF(derivedPropsNames); ++i) { in TestAdditionalProperties() 286 for(i=0; i<UPRV_LENGTHOF(falseValues); ++i) { in TestBinaryValues() [all …]
|
D | compactdecimalformattest.cpp | 222 CheckLocale("en", UNUM_SHORT, kEnglishShort, UPRV_LENGTHOF(kEnglishShort)); in TestEnglishShort() 226 CheckLocale("sr", UNUM_SHORT, kSerbianShort, UPRV_LENGTHOF(kSerbianShort)); in TestSerbianShort() 230 CheckLocale("sr", UNUM_LONG, kSerbianLong, UPRV_LENGTHOF(kSerbianLong)); in TestSerbianLong() 234 CheckLocale("sr", UNUM_LONG, kSerbianLongNegative, UPRV_LENGTHOF(kSerbianLongNegative)); in TestSerbianLongNegative() 238 CheckLocale(Locale::getJapan(), UNUM_SHORT, kJapaneseShort, UPRV_LENGTHOF(kJapaneseShort)); in TestJapaneseShort() 242 CheckLocale("sw", UNUM_SHORT, kSwahiliShort, UPRV_LENGTHOF(kSwahiliShort)); in TestSwahiliShort() 263 CheckLocale("cs", UNUM_SHORT, kCsShort, UPRV_LENGTHOF(kCsShort)); in TestCsShort() 272 CheckLocale("sk", UNUM_LONG, kSkLong, UPRV_LENGTHOF(kSkLong)); in TestSkLong() 276 CheckLocale("sw", UNUM_SHORT, kSwahiliShortNegative, UPRV_LENGTHOF(kSwahiliShortNegative)); in TestSwahiliShortNegative() 280 CheckLocale("ar", UNUM_LONG, kArabicLong, UPRV_LENGTHOF(kArabicLong)); in TestArabicLong()
|
D | numberformattesttuple.cpp | 172 int32_t len = uprv_itou(buffer, UPRV_LENGTHOF(buffer), (uint32_t) x, 10, 1); in intToStr() 200 gRoundingEnum, UPRV_LENGTHOF(gRoundingEnum), str, status); in strToERounding() 210 UPRV_LENGTHOF(gRoundingEnum), in eRoundingToStr() 218 gCurrencyUsageEnum, UPRV_LENGTHOF(gCurrencyUsageEnum), str, status); in strToCurrencyUsage() 228 UPRV_LENGTHOF(gCurrencyUsageEnum), in currencyUsageToStr() 236 gPadPositionEnum, UPRV_LENGTHOF(gPadPositionEnum), str, status); in strToEPadPosition() 247 UPRV_LENGTHOF(gPadPositionEnum), in ePadPositionToStr() 255 gFormatStyleEnum, UPRV_LENGTHOF(gFormatStyleEnum), str, status); in strToFormatStyle() 265 UPRV_LENGTHOF(gFormatStyleEnum), in formatStyleToStr() 413 for (int32_t i = 0; i < UPRV_LENGTHOF(gFieldData); ++i) { in getFieldByName()
|
D | citrtest.cpp | 969 textLength=end=UPRV_LENGTHOF(s); in SubCharIter() 978 if(pos<UPRV_LENGTHOF(s)) { in nextPostInc() 986 if(pos<UPRV_LENGTHOF(s)) { in next32PostInc() 988 U16_NEXT(s, pos, UPRV_LENGTHOF(s), c); in next32PostInc() 996 return pos<UPRV_LENGTHOF(s); in hasNext() 1007 U16_NEXT(s, pos, UPRV_LENGTHOF(s), c); in first32() 1013 if(0<=position && position<=UPRV_LENGTHOF(s)) { in setIndex() 1015 if(pos<UPRV_LENGTHOF(s)) { in setIndex() 1023 if(0<=position && position<=UPRV_LENGTHOF(s)) { in setIndex32() 1025 if(pos<UPRV_LENGTHOF(s)) { in setIndex32() [all …]
|
/external/icu/icu4c/source/tools/genrb/ |
D | derb.cpp | 100 argc=u_parseArgs(argc, argv, UPRV_LENGTHOF(options), options); in main() 302 … u_fprintf(out, "%.*s%.*S", (int32_t)(ext - filename), filename, UPRV_LENGTHOF(sp), sp); in main() 404 printString(out, openStr, UPRV_LENGTHOF(openStr)); in printOutAlias() 406 printString(out, closeStr, UPRV_LENGTHOF(closeStr)); in printOutAlias() 410 printString(out, cr, UPRV_LENGTHOF(cr)); in printOutAlias() 446 printString(out, openStr, UPRV_LENGTHOF(openStr)); in printOutBundle() 448 printString(out, closeStr, UPRV_LENGTHOF(closeStr)); in printOutBundle() 453 printString(out, openStr, UPRV_LENGTHOF(openStr)); in printOutBundle() 455 printString(out, closeStr, UPRV_LENGTHOF(closeStr)); in printOutBundle() 461 printString(out, cr, UPRV_LENGTHOF(cr)); in printOutBundle() [all …]
|
/external/icu/icu4c/source/common/ |
D | pluralmap.h | 88 for (int32_t i = 1; i < UPRV_LENGTHOF(fVariants); ++i) { in PluralMap() 98 for (int32_t i = 0; i < UPRV_LENGTHOF(fVariants); ++i) { 114 for (int32_t i = 1; i < UPRV_LENGTHOF(fVariants); ++i) { in ~PluralMap() 124 for (int32_t i = 1; i < UPRV_LENGTHOF(fVariants); ++i) { in clear() 140 for (; idx < UPRV_LENGTHOF(fVariants); ++idx) { in next() 173 if (index < 0 || index >= UPRV_LENGTHOF(fVariants) || fVariants[index] == NULL) { in get() 240 for (int32_t i = 0; i < UPRV_LENGTHOF(fVariants); ++i) { in equals() 266 if (index < 0 || index >= UPRV_LENGTHOF(fVariants)) { in getMutable() 282 for (int32_t i = 1; i < UPRV_LENGTHOF(fVariants); ++i) { in initializeNew()
|
D | uscript.c | 62 /*length = */ uloc_getLanguage(locale, lang, UPRV_LENGTHOF(lang), &internalErrorCode); in getCodesFromLocale() 67 return setCodes(JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, capacity, err); in getCodesFromLocale() 70 return setCodes(KOREAN, UPRV_LENGTHOF(KOREAN), scripts, capacity, err); in getCodesFromLocale() 72 scriptLength = uloc_getScript(locale, script, UPRV_LENGTHOF(script), &internalErrorCode); in getCodesFromLocale() 77 return setCodes(HAN_BOPO, UPRV_LENGTHOF(HAN_BOPO), scripts, capacity, err); in getCodesFromLocale() 127 likely, UPRV_LENGTHOF(likely), &internalErrorCode); in uscript_getCode()
|
/external/icu/icu4c/source/i18n/ |
D | scriptset.cpp | 30 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in ScriptSet() 44 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in operator =() 52 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in operator ==() 105 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in Union() 112 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in intersect() 128 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in intersects() 144 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in setAll() 152 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in resetAll() 162 for (uint32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in countMembers() 174 for (int32_t i=0; i<UPRV_LENGTHOF(bits); i++) { in hashCode()
|
D | quantityformatter.cpp | 30 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter() 36 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in QuantityFormatter() 50 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in operator =() 62 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in ~QuantityFormatter() 68 for (int32_t i = 0; i < UPRV_LENGTHOF(formatters); ++i) { in reset()
|