/external/libdrm/tests/util/ |
common.h | 29 #ifndef ARRAY_SIZE 30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
/external/lzma/CPP/Common/ |
Common.h | 11 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[1]))
|
/external/mesa3d/src/egl/main/ |
egldefines.h | 42 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
/external/drm_gralloc/pci_ids/ |
pci_id_driver_map.h | 6 #ifndef ARRAY_SIZE 7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) 69 { 0x8086, "i810", i810_chip_ids, ARRAY_SIZE(i810_chip_ids) }, 71 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) }, 72 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) }, 74 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) }, 75 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) }, 77 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) }, 78 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, 80 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids) } [all...] |
/external/mesa3d/include/pci_ids/ |
pci_id_driver_map.h | 6 #ifndef ARRAY_SIZE 7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) 66 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) }, 67 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) }, 69 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) }, 70 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) }, 72 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) }, 73 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, 74 { 0x1002, "radeonsi", radeonsi_chip_ids, ARRAY_SIZE(radeonsi_chip_ids) }, 76 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids) } [all...] |
/external/iw/ |
reason.c | 47 if (reason < ARRAY_SIZE(reason_table) && reason_table[reason])
|
status.c | 56 if (status < ARRAY_SIZE(status_table) && status_table[status])
|
/external/libunwind/src/arm/ |
regname.c | 86 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/external/libunwind/src/hppa/ |
regname.c | 46 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/external/libunwind/src/mips/ |
regname.c | 42 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/external/libunwind/src/x86/ |
regname.c | 23 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/external/libunwind/src/x86_64/ |
regname.c | 52 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/system/vold/ |
VoldUtil.h | 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/hardware/libhardware/modules/camera/ |
ExampleCamera.cpp | 29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) 52 ARRAY_SIZE(android_control_ae_available_target_fps_ranges), 57 ARRAY_SIZE(android_control_ae_compensation_range), 62 ARRAY_SIZE(android_control_ae_compensation_step), 67 ARRAY_SIZE(android_control_max_regions), 73 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes), 78 ARRAY_SIZE(android_jpeg_max_size), 84 ARRAY_SIZE(android_lens_info_available_focal_lengths), 90 ARRAY_SIZE(android_request_max_num_output_streams), 104 ARRAY_SIZE(android_scaler_available_formats) [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
ABase.h | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_script_group2_gatherscatter.java | 29 private static final int ARRAY_SIZE = 256; 41 mArray = new int[ARRAY_SIZE * 4]; 43 for (int i = 0; i < ARRAY_SIZE; i++) { 53 // The test sums up all elements in the input int4 array of size ARRAY_SIZE. 72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 82 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { 111 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { 113 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)) [all...] |
UT_script_group2_pointwise.java | 29 private static final int ARRAY_SIZE = 256; 44 int[] array = new int[ARRAY_SIZE * 4]; 46 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 59 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 64 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 69 int[] a = new int[ARRAY_SIZE * 4]; 76 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_script_group2_gatherscatter.java | 27 private static final int ARRAY_SIZE = 256; 39 mArray = new int[ARRAY_SIZE * 4]; 41 for (int i = 0; i < ARRAY_SIZE; i++) { 51 // The test sums up all elements in the input int4 array of size ARRAY_SIZE. 70 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 80 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { 109 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { 111 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)) [all...] |
UT_script_group2_pointwise.java | 27 private static final int ARRAY_SIZE = 256; 42 int[] array = new int[ARRAY_SIZE * 4]; 44 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 57 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 62 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 67 int[] a = new int[ARRAY_SIZE * 4]; 74 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
JCAUtil.java | 52 private final static int ARRAY_SIZE = 4096; 60 return Math.min(ARRAY_SIZE, totalSize);
|
/hardware/libhardware/modules/usbcamera/ |
UsbCamera.cpp | 29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) 54 ARRAY_SIZE(android_control_ae_available_target_fps_ranges), 59 ARRAY_SIZE(android_control_ae_compensation_range), 64 ARRAY_SIZE(android_control_ae_compensation_step), 69 ARRAY_SIZE(android_control_max_regions), 75 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes), 80 ARRAY_SIZE(android_jpeg_max_size), 86 ARRAY_SIZE(android_lens_info_available_focal_lengths), 92 ARRAY_SIZE(android_request_max_num_output_streams), 106 ARRAY_SIZE(android_scaler_available_formats) [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stackdepot_test.cc | 22 StackTrace s1(array, ARRAY_SIZE(array)); 26 EXPECT_EQ(ARRAY_SIZE(array), stack.size); 48 StackTrace s1(array, ARRAY_SIZE(array)); 54 EXPECT_EQ(ARRAY_SIZE(array), stack.size); 60 StackTrace s1(array1, ARRAY_SIZE(array1)); 63 StackTrace s2(array2, ARRAY_SIZE(array2)); 74 StackTrace s1(array1, ARRAY_SIZE(array1)); 75 StackTrace s2(array2, ARRAY_SIZE(array2)); 76 StackTrace s3(array3, ARRAY_SIZE(array3)); 77 StackTrace s4(array4, ARRAY_SIZE(array4)) [all...] |
/external/vixl/examples/ |
add2-vectors.cc | 30 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) 119 uint8_t vecC[ARRAY_SIZE(vecA)]; 122 assert(ARRAY_SIZE(vecA) == ARRAY_SIZE(vecB)); 125 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) { 138 simulator.set_xreg(2, ARRAY_SIZE(vecA)); 139 PrintVector(vecA, ARRAY_SIZE(vecA)); 141 PrintVector(vecB, ARRAY_SIZE(vecB)); 146 PrintVector(vecA, ARRAY_SIZE(vecA)); 153 for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) [all...] |
/system/extras/tests/pagingtest/ |
thrashing_test.c | 33 filesize = num_pages * pagesize / (ARRAY_SIZE(fds) - 1); 35 for (size_t i = 0; i < ARRAY_SIZE(fds); i++) { 42 for (size_t i = 0; i < ARRAY_SIZE(fds); i++) { 51 for (size_t j = 0; j < ARRAY_SIZE(fds); j++) { 65 printf("thrashing: %llu MB/s\n", (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) / 71 for (size_t i = 0; i < ARRAY_SIZE(bufs) && bufs[i] != NULL; i++) { 75 for (size_t i = 0; i < ARRAY_SIZE(fds) && fds[i] >= 0; i++) {
|
/art/test/011-array-copy/src/ |
Main.java | 50 static final int ARRAY_SIZE = 8; 53 for (int i = 0; i < ARRAY_SIZE; i++) { 58 for (int i = 0; i < ARRAY_SIZE; i++) { 63 for (int i = 0; i < ARRAY_SIZE; i++) { 68 for (int i = 0; i < ARRAY_SIZE; i++) { 73 for (int i = 0; i < ARRAY_SIZE; i++) { 83 byte[] byteArray = new byte[ARRAY_SIZE]; 84 short[] shortArray = new short[ARRAY_SIZE]; 85 int[] intArray = new int[ARRAY_SIZE]; 86 long[] longArray = new long[ARRAY_SIZE]; [all...] |