/external/chromium/third_party/libjingle/source/talk/base/ |
basicdefs.h | 35 #define ARRAY_SIZE(x) (static_cast<int>((sizeof(x)/sizeof(x[0]))))
|
common.h | 63 #define ARRAY_SIZE(x) (static_cast<int>((sizeof(x)/sizeof(x[0]))))
|
/system/core/init/ |
util.h | 23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
/device/samsung/tuna/libsensors/ |
sensors.h | 34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/external/icu4c/samples/layout/ |
arraymem.h | 12 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/external/libyuv/files/source/ |
video_common.cc | 18 #define ARRAY_SIZE(x) (static_cast<int>((sizeof(x)/sizeof(x[0])))) 39 for (int i = 0; i < ARRAY_SIZE(kFourCCAliases); ++i) {
|
/hardware/invensense/libsensors/ |
sensors.h | 34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[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)))
|
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
OMXSceneModeTables.h | 31 #ifndef ARRAY_SIZE 32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) 243 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)}, 244 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)},
|
/dalvik/tests/011-array-copy/src/ |
Main.java | 49 static final int ARRAY_SIZE = 8; 52 for (int i = 0; i < ARRAY_SIZE; i++) { 57 for (int i = 0; i < ARRAY_SIZE; i++) { 62 for (int i = 0; i < ARRAY_SIZE; i++) { 67 for (int i = 0; i < ARRAY_SIZE; i++) { 77 byte[] byteArray = new byte[ARRAY_SIZE]; 78 short[] shortArray = new short[ARRAY_SIZE]; 79 int[] intArray = new int[ARRAY_SIZE]; 80 long[] longArray = new long[ARRAY_SIZE]; 92 for (int i = 0; i < ARRAY_SIZE; i++) [all...] |
/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/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/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/libnl-headers/ |
netlink-local.h | 116 #define ARRAY_SIZE(X) (sizeof(X) / sizeof((X)[0]))
|
/external/qemu/ |
osdep.h | 62 #ifndef ARRAY_SIZE 63 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
ArraysCompatUtilsTests.java | 23 private static final int ARRAY_SIZE = 100; 24 private final int[] mIntArray = new int[ARRAY_SIZE]; 29 for (int counter = 0; counter < ARRAY_SIZE; counter++) { 42 final int mid = ARRAY_SIZE / 3; 50 for (int counter = 0; counter < ARRAY_SIZE; counter++) { 51 final int index = ArraysCompatUtils.binarySearch(mIntArray, 0, ARRAY_SIZE, counter); 54 for (int counter = 0; counter < ARRAY_SIZE; counter++) { 56 mIntArray, 0, ARRAY_SIZE, counter); 62 final int offset = ARRAY_SIZE / 2; 63 for (int counter = 0; counter < ARRAY_SIZE; counter++) [all...] |
/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/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));
|
/external/valgrind/main/coregrind/m_demangle/ |
vg_libciface.h | 84 #define ARRAY_SIZE(_arr) \
|
/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));
|