/external/chromium_org/third_party/libjingle/source/talk/base/ |
common.h | 80 #define ARRAY_SIZE(x) (static_cast<int>(sizeof(x) / sizeof(x[0])))
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
stub.c | 39 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) 89 ARRAY_SIZE(public_stubs), sizeof(public_stubs[0]), stub_compare); 182 stub < public_stubs + ARRAY_SIZE(public_stubs))
|
/external/chromium_org/third_party/webrtc/base/ |
common.h | 62 #define ARRAY_SIZE(x) (static_cast<int>(sizeof(x) / sizeof(x[0])))
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_libbacktrace.cc | 26 # undef ARRAY_SIZE
|
/external/icu/icu4c/source/extra/scrptrun/ |
scrptrun.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 43 const int32_t ScriptRun::pairedCharCount = ARRAY_SIZE(pairedChars);
|
/external/icu/icu4c/source/i18n/ |
csr2022.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 150 ARRAY_SIZE(escapeSequences_2022JP)); 165 ARRAY_SIZE(escapeSequences_2022KR)); 180 ARRAY_SIZE(escapeSequences_2022CN));
|
/external/icu/icu4c/source/test/cintltst/ |
stdnmtst.c | 21 #define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0]) 292 doTestNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); 293 doTestNames("US-ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); 294 doTestNames("ASCII", "MIME", asciiMIME, ARRAY_SIZE(asciiMIME)); 295 doTestNames("ascii", "mime", asciiMIME, ARRAY_SIZE(asciiMIME)); 302 doTestNames("ISO_2022,locale=ko,version=0", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); 303 doTestNames("csiso2022kr", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); 306 doTestUCharNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA));
|
/external/libnl/include/ |
netlink-local.h | 116 #define ARRAY_SIZE(X) (sizeof(X) / sizeof((X)[0]))
|
/external/mesa3d/src/mapi/mapi/ |
stub.c | 39 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) 89 ARRAY_SIZE(public_stubs), sizeof(public_stubs[0]), stub_compare); 182 stub < public_stubs + ARRAY_SIZE(public_stubs))
|
/external/qemu/android/base/files/ |
PathUtils_unittest.cpp | 19 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 38 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 64 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 104 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 134 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 202 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 245 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 300 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) {
|
/hardware/akm/AK8975_FS/libsensors/ |
sensors.h | 34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/hardware/qcom/display/msm8226/libmemtrack/ |
kgsl.c | 27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 58 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/ |
OMXSceneModeTables.h | 31 #ifndef ARRAY_SIZE 32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) 741 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)}, 742 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)}, 743 { "IMX060", IMX060_SceneModesLUT, ARRAY_SIZE(IMX060_SceneModesLUT)}, 744 { "OV5640", OV5640_SceneModesLUT, ARRAY_SIZE(OV5640_SceneModesLUT)}, 745 { "OV5650", OV5650_SceneModesLUT, ARRAY_SIZE(OV5650_SceneModesLUT)}, 746 { "OV8830", OV8830_SceneModesLUT, ARRAY_SIZE(OV8830_SceneModesLUT)}, 747 { "OV2722", OV2722_SceneModesLUT, ARRAY_SIZE(OV2722_SceneModesLUT)}
|
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_eng.c | 32 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 203 for (j = 0; j < ARRAY_SIZE(p_clcb->dis_value.data_string); j++) {
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
windttst.cpp | 42 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 134 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer)); 135 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
gbm.c | 45 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) 164 if (device_num < ARRAY_SIZE(devices)-1)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/ |
utils.c | 491 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) 548 for (i = 0; i < ARRAY_SIZE(attribMap); i++) 567 if (index >= 0 && index < ARRAY_SIZE(attribMap)) {
|
/external/icu/icu4c/source/test/intltest/ |
windttst.cpp | 42 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 134 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer)); 135 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
|
/external/iproute2/include/ |
utils.h | 147 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/external/libselinux/src/ |
stringrep.c | 20 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/external/mesa3d/src/gbm/main/ |
gbm.c | 45 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) 164 if (device_num < ARRAY_SIZE(devices)-1)
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
utils.c | 491 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) 548 for (i = 0; i < ARRAY_SIZE(attribMap); i++) 567 if (index >= 0 && index < ARRAY_SIZE(attribMap)) {
|
/external/qemu/distrib/libselinux/src/ |
stringrep.c | 20 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/external/qemu/include/qemu/ |
osdep.h | 79 #ifndef ARRAY_SIZE 80 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/external/stlport/test/unit/ |
alg_test.cpp | 119 #define ARRAY_SIZE(arr) sizeof(arr) / sizeof(arr[0]) 129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); 139 list<int> lint(ints, ints + ARRAY_SIZE(ints)); 149 deque<int> dint(ints, ints + ARRAY_SIZE(ints)); 162 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); 172 list<int> lint(ints, ints + ARRAY_SIZE(ints)); 182 deque<int> dint(ints, ints + ARRAY_SIZE(ints));
|