Searched defs:ARRAY_SIZE (Results 51 - 75 of 113) sorted by relevance

12345

/external/chromium_org/third_party/icu/source/i18n/
H A Dcsdetect.cpp30 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
121 int32_t rCount = ARRAY_SIZE(tempArray);
H A Dcsrmbcs.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis));
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp));
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr));
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5));
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030));
H A Ducoleitr.cpp34 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
H A Dwindtfmt.cpp48 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
73 return new UnicodeString(defaultPattern, ARRAY_SIZE(defaultPattern));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ddtifmtts.cpp38 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
1037 expect(DATA, ARRAY_SIZE(DATA));
1157 expectUserDII(DATA, ARRAY_SIZE(DATA));
1371 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) {
1375 stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2]), locName);
1448 skeletonIndex < ARRAY_SIZE(skeleton);
H A Dwinnmtst.cpp47 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
H A Dcolldata.cpp33 #define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0])) macro
416 UnicodeString hanString = UnicodeString::fromUTF32(hanRanges, ARRAY_SIZE(hanRanges));
417 UnicodeString jamoString(FALSE, jamoRanges, ARRAY_SIZE(jamoRanges));
/external/chromium_org/third_party/mesa/src/src/gbm/main/
H A Dgbm.c45 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) macro
164 if (device_num < ARRAY_SIZE(devices)-1)
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/
H A Dutils.c491 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) macro
548 for (i = 0; i < ARRAY_SIZE(attribMap); i++)
567 if (index >= 0 && index < ARRAY_SIZE(attribMap)) {
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cc26 # undef ARRAY_SIZE macro
/external/icu/icu4c/source/common/
H A Dusc_impl.c20 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
159 int32_t pairedCharCount = ARRAY_SIZE(pairedChars);
/external/icu/icu4c/source/i18n/
H A Dcsdetect.cpp30 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
121 int32_t rCount = ARRAY_SIZE(tempArray);
H A Dcsrmbcs.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis));
373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp));
395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr));
447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5));
523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030));
/external/icu/icu4c/source/test/intltest/
H A Ddtifmtts.cpp38 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
1037 expect(DATA, ARRAY_SIZE(DATA));
1157 expectUserDII(DATA, ARRAY_SIZE(DATA));
1371 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) {
1375 stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2]), locName);
1448 skeletonIndex < ARRAY_SIZE(skeleton);
H A Dwinnmtst.cpp47 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
/external/iputils/ninfod/
H A Dninfod_core.c115 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
167 if (code >= ARRAY_SIZE(subjinfo_table))
233 if (qtype >= ARRAY_SIZE(qtypeinfo_table))
309 for (i=0; i < ARRAY_SIZE(qtypeinfo_table); i++) {
317 if (w >= ARRAY_SIZE(suptypes)) {
423 for (i=0; i < ARRAY_SIZE(subjinfo_table); i++) {
430 for (i=0; i < ARRAY_SIZE(qtypeinfo_table); i++) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dutil.h26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/external/mesa3d/src/gbm/main/
H A Dgbm.c45 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) macro
164 if (device_num < ARRAY_SIZE(devices)-1)
/external/mesa3d/src/mesa/drivers/dri/common/
H A Dutils.c491 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) macro
548 for (i = 0; i < ARRAY_SIZE(attribMap); i++)
567 if (index >= 0 && index < ARRAY_SIZE(attribMap)) {
/external/qemu/include/qemu/
H A Dosdep.h79 #ifndef ARRAY_SIZE
80 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/external/sqlite/android/
H A DPhoneNumberUtils.cpp61 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) macro
70 ccc_candidate < (int)ARRAY_SIZE(two_length_country_code_map) &&
/external/vixl/test/examples/
H A Dtest-examples.cc38 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) macro
274 simulator.set_xreg(1, ARRAY_SIZE(Array)); \
276 assert(regs.xreg(0) == SumArrayC(Array, ARRAY_SIZE(Array))); \
294 for (unsigned int i = 0; i < ARRAY_SIZE(data3); ++i)
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Ducsdetst.c19 #define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0])) macro
169 int32_t beLength = 0, leLength = 0, cLength = ARRAY_SIZE(chars);
403 for (idx = 0; idx < ARRAY_SIZE(testStrings); idx++) {
473 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
551 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_screen.c705 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) macro
751 for (color = 0; color < ARRAY_SIZE(fb_format); color++) {
757 ARRAY_SIZE(depth_bits),
759 ARRAY_SIZE(back_buffer_modes),
761 ARRAY_SIZE(msaa_samples_array),
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_screen.c705 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) macro
751 for (color = 0; color < ARRAY_SIZE(fb_format); color++) {
757 ARRAY_SIZE(depth_bits),
759 ARRAY_SIZE(back_buffer_modes),
761 ARRAY_SIZE(msaa_samples_array),

Completed in 814 milliseconds

12345