/external/icu/icu4c/source/test/intltest/ |
g7coll.cpp | 18 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 95 for (i = 0; i < LENGTHOF(locales); i++)
|
genderinfotest.cpp | 18 #define LENGTHOF(array) (int32_t)(sizeof(array) / sizeof((array)[0])) 58 check(UGENDER_FEMALE, UGENDER_FEMALE, UGENDER_FEMALE, kSingleFemale, LENGTHOF(kSingleFemale)); 59 check(UGENDER_MALE, UGENDER_MALE, UGENDER_MALE, kSingleMale, LENGTHOF(kSingleMale)); 60 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_OTHER, kSingleOther, LENGTHOF(kSingleOther)); 62 check(UGENDER_OTHER, UGENDER_FEMALE, UGENDER_FEMALE, kAllFemale, LENGTHOF(kAllFemale)); 63 check(UGENDER_OTHER, UGENDER_MALE, UGENDER_MALE, kAllMale, LENGTHOF(kAllMale)); 64 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kAllOther, LENGTHOF(kAllOther)); 66 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kFemaleMale, LENGTHOF(kFemaleMale)); 67 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kFemaleOther, LENGTHOF(kFemaleOther)); 68 check(UGENDER_OTHER, UGENDER_OTHER, UGENDER_MALE, kMaleOther, LENGTHOF(kMaleOther)) [all...] |
selfmts.cpp | 16 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 186 for (int32_t i = 0; i < LENGTHOF(keywords); i++ ){
|
/external/icu/icu4c/source/tools/gennorm2/ |
gennorm2.cpp | 41 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 242 int32_t length=u_parseString(delimiter+1, uchars, LENGTHOF(uchars), NULL, errorCode);
|
/external/chromium_org/third_party/icu/source/common/ |
rbbiscan.cpp | 38 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) [all...] |
unormcmp.cpp | 35 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
ustrcase.cpp | 32 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 402 if(destCapacity<=LENGTHOF(buffer)) {
|
/external/chromium_org/third_party/icu/source/samples/ustring/ |
ustring.cpp | 28 #define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) 110 printUString("iterate forward through: ", input, LENGTHOF(input)); 111 for(i=0; i<LENGTHOF(input); /* U16_NEXT post-increments */) { 119 U16_NEXT(input, i, LENGTHOF(input), c); 127 U16_APPEND(input, i, LENGTHOF(input), 0x0062, isError); 129 printUString("iterate backward through: ", input, LENGTHOF(input)); 130 for(i=LENGTHOF(input); i>0; /* U16_PREV pre-decrements */) { 217 for(i=j=0; j<LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { 223 U16_APPEND(buffer, j, LENGTHOF(buffer), c, isError); 228 for(i=j=0; j<LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cucdapi.c | 13 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof(array[0])) 244 for(i=0; i<LENGTHOF(codepoints); ++i){ 355 if(LENGTHOF(expectedLong)!=(USCRIPT_CODE_LIMIT-USCRIPT_BALINESE)) { 369 for(i=0; i<LENGTHOF(expectedLong); i++){ 373 len = uscript_getCode(expectedShort[i], fillIn, LENGTHOF(fillIn), &status); 454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode); 460 length=uscript_getScriptExtensions(0x0640, NULL, LENGTHOF(scripts), &errorCode); 493 length=uscript_getScriptExtensions(-1, scripts, LENGTHOF(scripts), &errorCode); 499 length=uscript_getScriptExtensions(0x110000, scripts, LENGTHOF(scripts), &errorCode); 513 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode) [all...] |
cstrcase.c | 29 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) [all...] |
nfsprep.c | 25 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 198 if((findStringIndex(special_prefixes,LENGTHOF(special_prefixes), *prefix, *prefixLen-1) != -1) && (*suffix != NULL)){
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
selfmts.cpp | 16 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 186 for (int32_t i = 0; i < LENGTHOF(keywords); i++ ){
|
/external/chromium_org/third_party/icu/source/test/perf/utrie2perf/ |
utrie2perf.cpp | 24 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
swapimpl.cpp | 70 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 793 for(i=0; i<LENGTHOF(swapFns); ++i) {
|
/external/icu/icu4c/source/common/ |
rbbiscan.cpp | 38 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) [all...] |
simplepatternformatter.cpp | 12 #define LENGTHOF(array) (int32_t)(sizeof(array) / sizeof((array)[0])) 193 LENGTHOF(params), 208 LENGTHOF(params), 224 LENGTHOF(params),
|
unormcmp.cpp | 35 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
/external/icu/icu4c/source/i18n/ |
collationdatareader.cpp | 33 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 373 tailoring.data, ts, fastLatinPrimaries, LENGTHOF(fastLatinPrimaries)); 412 settings->fastLatinPrimaries, LENGTHOF(settings->fastLatinPrimaries));
|
identifier_info.cpp | 21 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 140 int32_t extensionsCount = uscript_getScriptExtensions(cp, extensions, LENGTHOF(extensions), &status);
|
/external/icu/icu4c/source/samples/ustring/ |
ustring.cpp | 28 #define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) 110 printUString("iterate forward through: ", input, LENGTHOF(input)); 111 for(i=0; i<LENGTHOF(input); /* U16_NEXT post-increments */) { 119 U16_NEXT(input, i, LENGTHOF(input), c); 127 U16_APPEND(input, i, LENGTHOF(input), 0x0062, isError); 129 printUString("iterate backward through: ", input, LENGTHOF(input)); 130 for(i=LENGTHOF(input); i>0; /* U16_PREV pre-decrements */) { 217 for(i=j=0; j<LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { 223 U16_APPEND(buffer, j, LENGTHOF(buffer), c, isError); 228 for(i=j=0; j<LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cucdapi.c | 13 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof(array[0])) 244 for(i=0; i<LENGTHOF(codepoints); ++i){ 355 if(LENGTHOF(expectedLong)!=(USCRIPT_CODE_LIMIT-USCRIPT_BALINESE)) { 369 for(i=0; i<LENGTHOF(expectedLong); i++){ 373 len = uscript_getCode(expectedShort[i], fillIn, LENGTHOF(fillIn), &status); 454 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode); 460 length=uscript_getScriptExtensions(0x0640, NULL, LENGTHOF(scripts), &errorCode); 493 length=uscript_getScriptExtensions(-1, scripts, LENGTHOF(scripts), &errorCode); 499 length=uscript_getScriptExtensions(0x110000, scripts, LENGTHOF(scripts), &errorCode); 513 length=uscript_getScriptExtensions(0x0640, scripts, LENGTHOF(scripts), &errorCode) [all...] |
/external/icu/icu4c/source/test/perf/utrie2perf/ |
utrie2perf.cpp | 24 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
/external/icu/icu4c/source/tools/toolutil/ |
swapimpl.cpp | 70 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 793 for(i=0; i<LENGTHOF(swapFns); ++i) {
|
/external/chromium_org/third_party/icu/source/i18n/ |
identifier_info.cpp | 21 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 145 int32_t extensionsCount = uscript_getScriptExtensions(cp, extensions, LENGTHOF(extensions), &status);
|
scriptset.cpp | 23 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 31 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 45 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 53 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 106 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 113 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 129 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 145 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 153 for (uint32_t i=0; i<LENGTHOF(bits); i++) { 163 for (uint32_t i=0; i<LENGTHOF(bits); i++) [all...] |