/system/core/init/ |
util.h | 23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
/external/icu4c/samples/layout/ |
arraymem.h | 12 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/external/chromium/third_party/icu/source/test/letest/ |
letest.h | 25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/external/icu4c/test/letest/ |
letest.h | 25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/frameworks/base/media/libmedia/ |
autodetect.cpp | 24 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x)) 875 if (charMatchesEncoding(ch, kShiftJISRanges, ARRAY_SIZE(kShiftJISRanges))) 877 if (charMatchesEncoding(ch, kGBKRanges, ARRAY_SIZE(kGBKRanges))) 879 if (charMatchesEncoding(ch, kBig5Ranges, ARRAY_SIZE(kBig5Ranges))) 881 if (charMatchesEncoding(ch, kEUCKRRanges, ARRAY_SIZE(kEUCKRRanges)))
|
/external/bluetooth/bluez/audio/ |
ipc.c | 25 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) 121 if (type >= ARRAY_SIZE(strtypes)) 129 if (name >= ARRAY_SIZE(strnames))
|
/external/chromium/third_party/icu/source/i18n/ |
csr2022.cpp | 18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 146 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022JP, ARRAY_SIZE(escapeSequences_2022JP)); 156 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022KR, ARRAY_SIZE(escapeSequences_2022KR)); 166 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022CN, ARRAY_SIZE(escapeSequences_2022CN));
|
inputext.cpp | 23 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
ucsdet.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/external/icu4c/i18n/ |
csr2022.cpp | 18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 146 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022JP, ARRAY_SIZE(escapeSequences_2022JP)); 156 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022KR, ARRAY_SIZE(escapeSequences_2022KR)); 166 return match_2022(textIn->fInputBytes, textIn->fInputLen, escapeSequences_2022CN, ARRAY_SIZE(escapeSequences_2022CN));
|
inputext.cpp | 23 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
ucsdet.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/external/chromium/third_party/icu/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/icu4c/extra/scrptrun/ |
scrptrun.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 43 const int32_t ScriptRun::pairedCharCount = ARRAY_SIZE(pairedChars);
|
/external/icu4c/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/qemu/ |
osdep.h | 60 #ifndef ARRAY_SIZE 61 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/device/htc/passion-common/libsensors/ |
nusensors.h | 38 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/external/chromium/third_party/icu/source/test/intltest/ |
windttst.cpp | 42 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 135 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, ARRAY_SIZE(wdBuffer)); 136 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, ARRAY_SIZE(wtBuffer));
|
/external/icu4c/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 | 145 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/external/iptables/extensions/ |
libip6t_sctp.c | 20 #ifndef ARRAY_SIZE 21 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 27 * ARRAY_SIZE without noticing that this file is used from userserspace, 28 * and userspace doesn't have ARRAY_SIZE */ 31 #define ELEMCOUNT ARRAY_SIZE
|
libipt_sctp.c | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 28 * ARRAY_SIZE without noticing that this file is used from userserspace, 29 * and userspace doesn't have ARRAY_SIZE */ 32 #define ELEMCOUNT ARRAY_SIZE
|
/external/sqlite/android/ |
PhoneNumberUtils.cpp | 61 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) 70 ccc_candidate < (int)ARRAY_SIZE(two_length_country_code_map) &&
|
/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));
|
/ndk/tests/device/test-gnustl-full/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));
|