Searched refs:LENGTHOF (Results 101 - 125 of 234) sorted by relevance

12345678910

/external/icu/icu4c/source/i18n/
H A Didentifier_info.cpp21 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
140 int32_t extensionsCount = uscript_getScriptExtensions(cp, extensions, LENGTHOF(extensions), &status);
/external/icu/icu4c/source/samples/uciter8/
H A Duciter8.c27 #define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) macro
323 length=LENGTHOF(text)-1;
/external/icu/icu4c/source/test/cintltst/
H A Dcg7coll.c53 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
145 for (i = 0; i < LENGTHOF(locales); i++)
H A Dutf16tst.c24 #define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) macro
745 for(i=0; i<LENGTHOF(codePoints); ++i) {
753 if(length!=LENGTHOF(expectUnsafe) || 0!=memcmp(buffer, expectUnsafe, length*U_SIZEOF_UCHAR)) {
759 for(i=0; i<LENGTHOF(codePoints); ++i) {
764 U16_APPEND(buffer, length, LENGTHOF(buffer), c, isError);
770 if(length!=LENGTHOF(expectSafe) || 0!=memcmp(buffer, expectSafe, length*U_SIZEOF_UCHAR)) {
H A Dutmstest.c20 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
464 for(i = 0; i < LENGTHOF(dotNetDateTimeTicks); ++i) {
/external/icu/icu4c/source/test/intltest/
H A Dg7coll.cpp18 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
95 for (i = 0; i < LENGTHOF(locales); i++)
H A Dtfsmalls.cpp22 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
258 const int32_t ft_cnt = LENGTHOF(ftarray);
H A Ditspoof.cpp48 #define LENGTHOF(array) ((int32_t)(sizeof(array)/sizeof((array)[0]))) macro
514 for (testNum = 0; testNum < LENGTHOF(tests); testNum++) {
578 for (testNum=0; testNum<LENGTHOF(scriptTests); testNum++) {
694 for (int32_t testNum=0; testNum < LENGTHOF(tests); testNum++) {
703 for (int levelIndex=0; levelIndex<LENGTHOF(restrictionLevels); levelIndex++) {
754 for (int32_t testNum=0; testNum < LENGTHOF(tests); testNum++) {
H A Dcollationtest.cpp51 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
221 for(int32_t i = 0; i < LENGTHOF(sets); ++i) {
301 for(int32_t i = 1; i < LENGTHOF(strings); ++i) {
472 CodePointIterator cpi(cp, LENGTHOF(cp));
489 uiter_setString(&iter, s, LENGTHOF(s) - 1); // -1: without the terminating NUL
1129 if(i == LENGTHOF(attributes)) {
1143 if(i == LENGTHOF(attributeValues)) {
1287 U_ASSERT(partSize <= LENGTHOF(part));
1425 for(int32_t psi = 0; psi < LENGTHOF(partSizes); ++psi) {
H A Dtsmthred.cpp42 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
266 length = u_shapeArabic(src, -1, dst, LENGTHOF(dst),
274 } else if(u_strncmp(dst,dst_old,LENGTHOF(dst))) {
283 length = u_shapeArabic(src, -1, dst, LENGTHOF(dst),
291 } else if(u_strncmp(dst,dst_new,LENGTHOF(dst))) {
H A Dtufmtts.cpp24 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
425 for (int32_t j = 0; j < LENGTHOF(values); ++j) {
426 for (int32_t i = 0; i < LENGTHOF(expected[j]); ++i) {
/external/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp23 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
70 : UPerfTest(argc, argv, options, LENGTHOF(options), utfperf_usage, status) {
/external/icu/icu4c/source/tools/icupkg/
H A Dicupkg.cpp50 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
269 argc=u_parseArgs(argc, argv, LENGTHOF(options), options);
/external/chromium_org/third_party/icu/source/common/
H A Dudata.cpp74 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
125 for (i = 0; i < LENGTHOF(gCommonICUDataArray) && gCommonICUDataArray[i] != NULL; ++i) {
144 for (i = 0; i < LENGTHOF(gCommonICUDataArray); ++i) {
178 for (i = 0; i < LENGTHOF(gCommonICUDataArray); ++i) {
191 if (i == LENGTHOF(gCommonICUDataArray) && warn) {
664 if(commonDataIndex >= LENGTHOF(gCommonICUDataArray)) {
H A Duprops.cpp38 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
385 if(gcb<LENGTHOF(gcbToHst)) {
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dutf16tst.c24 #define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) macro
745 for(i=0; i<LENGTHOF(codePoints); ++i) {
753 if(length!=LENGTHOF(expectUnsafe) || 0!=memcmp(buffer, expectUnsafe, length*U_SIZEOF_UCHAR)) {
759 for(i=0; i<LENGTHOF(codePoints); ++i) {
764 U16_APPEND(buffer, length, LENGTHOF(buffer), c, isError);
770 if(length!=LENGTHOF(expectSafe) || 0!=memcmp(buffer, expectSafe, length*U_SIZEOF_UCHAR)) {
H A Dutmstest.c20 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
464 for(i = 0; i < LENGTHOF(dotNetDateTimeTicks); ++i) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ditspoof.cpp48 #define LENGTHOF(array) ((int32_t)(sizeof(array)/sizeof((array)[0]))) macro
514 for (testNum = 0; testNum < LENGTHOF(tests); testNum++) {
578 for (testNum=0; testNum<LENGTHOF(scriptTests); testNum++) {
693 for (int32_t testNum=0; testNum < LENGTHOF(tests); testNum++) {
702 for (int levelIndex=0; levelIndex<LENGTHOF(restrictionLevels); levelIndex++) {
735 for (int32_t testNum=0; testNum < LENGTHOF(tests); testNum++) {
H A Dtsmthred.cpp42 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
260 length = u_shapeArabic(src, -1, dst, LENGTHOF(dst),
268 } else if(u_strncmp(dst,dst_old,LENGTHOF(dst))) {
277 length = u_shapeArabic(src, -1, dst, LENGTHOF(dst),
285 } else if(u_strncmp(dst,dst_new,LENGTHOF(dst))) {
/external/icu/icu4c/source/common/
H A Dudata.cpp74 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
125 for (i = 0; i < LENGTHOF(gCommonICUDataArray) && gCommonICUDataArray[i] != NULL; ++i) {
144 for (i = 0; i < LENGTHOF(gCommonICUDataArray); ++i) {
178 for (i = 0; i < LENGTHOF(gCommonICUDataArray); ++i) {
191 if (i == LENGTHOF(gCommonICUDataArray) && warn) {
664 if(commonDataIndex >= LENGTHOF(gCommonICUDataArray)) {
H A Duprops.cpp38 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
385 if(gcb<LENGTHOF(gcbToHst)) {
/external/chromium_org/third_party/icu/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp41 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
452 lengths, count, LENGTHOF(lengths));
601 lengths, count, LENGTHOF(lengths));
/external/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp41 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
452 lengths, count, LENGTHOF(lengths));
601 lengths, count, LENGTHOF(lengths));
/external/chromium_org/third_party/icu/source/test/perf/unisetperf/
H A Dunisetperf.cpp23 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
49 : UPerfTest(argc, argv, options, LENGTHOF(options), unisetperf_usage, status),
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dppucd.cpp26 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) macro
301 if(i==LENGTHOF(ppucdProperties)) {

Completed in 332 milliseconds

12345678910