/external/libyuv/files/source/ |
video_common.cc | 19 #define ARRAY_SIZE(x) (static_cast<int>((sizeof(x) / sizeof(x[0])))) 42 for (int i = 0; i < ARRAY_SIZE(kFourCCAliases); ++i) {
|
/system/bt/test/suite/ |
base.h | 32 #ifndef ARRAY_SIZE 33 # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/system/bt/test/suite/cases/ |
cases.c | 70 const size_t sanity_suite_size = ARRAY_SIZE(sanity_suite); 71 const size_t test_suite_size = ARRAY_SIZE(test_suite);
|
/system/netd/server/ |
NatController.cpp | 104 for (unsigned int cmdNum = 0; cmdNum < ARRAY_SIZE(defaultCommands); cmdNum++) { 105 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) && 127 for (unsigned int cmdNum = 0; cmdNum < ARRAY_SIZE(defaultCommands); cmdNum++) { 128 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) && 168 if (runCmd(ARRAY_SIZE(cmd), cmd)) { 194 runCmd(ARRAY_SIZE(cmd1), cmd1); 203 runCmd(ARRAY_SIZE(cmd2), cmd2); 247 if (runCmd(ARRAY_SIZE(cmd2b), cmd2b) && add) { 273 if (runCmd(ARRAY_SIZE(cmd3b), cmd3b) && add) { 302 if (runCmd(ARRAY_SIZE(cmd1), cmd1) && add) [all...] |
/bionic/linker/tests/ |
linker_memory_allocator_test.cpp | 67 const size_t array_size = 512 / sizeof(uint32_t); local 78 memcpy(array, model, array_size); 85 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size) == 0); 89 memcpy(array, model, 2*array_size); 100 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size * 2) == 0);
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
BigIntegerMathBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 39 private static final int[] factorials = new int[ARRAY_SIZE]; 40 private static final int[] slowFactorials = new int[ARRAY_SIZE]; 41 private static final int[] binomials = new int[ARRAY_SIZE]; 48 for (int i = 0; i < ARRAY_SIZE; i++) {
|
IntMathRoundingBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 38 private static final int[] positive = new int[ARRAY_SIZE]; 39 private static final int[] nonzero = new int[ARRAY_SIZE]; 40 private static final int[] ints = new int[ARRAY_SIZE]; 44 for (int i = 0; i < ARRAY_SIZE; i++) {
|
LongMathRoundingBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 41 private static final long[] positive = new long[ARRAY_SIZE]; 42 private static final long[] nonzero = new long[ARRAY_SIZE]; 43 private static final long[] longs = new long[ARRAY_SIZE]; 47 for (int i = 0; i < ARRAY_SIZE; i++) {
|
ApacheBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 120 private final int[] factorials = new int[ARRAY_SIZE]; 121 private final int[][] binomials = new int[ARRAY_SIZE][2]; 122 private final int[][] nonnegInt = new int[ARRAY_SIZE][2]; 123 private final long[][] nonnegLong = new long[ARRAY_SIZE][2]; 124 private final int[][] intsToAdd = new int[ARRAY_SIZE][2]; 125 private final int[][] intsToMul = new int[ARRAY_SIZE][2]; 126 private final long[][] longsToAdd = new long[ARRAY_SIZE][2]; 127 private final long[][] longsToMul = new long[ARRAY_SIZE][2]; 134 for (int i = 0; i < ARRAY_SIZE; i++) [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
FrameDropper_test.cpp | 118 RunTest(testFrames20Fps, ARRAY_SIZE(testFrames20Fps)); 122 RunTest(testFrames30Fps, ARRAY_SIZE(testFrames30Fps)); 126 RunTest(testFrames40Fps, ARRAY_SIZE(testFrames40Fps)); 130 RunTest(testFrames60Fps, ARRAY_SIZE(testFrames60Fps)); 134 RunTest(testFramesVariableFps, ARRAY_SIZE(testFramesVariableFps));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptGroupTest.java | 38 private static final int ARRAY_SIZE = 256; 323 int[] array = new int[ARRAY_SIZE * 4]; 325 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 329 Allocation input = Allocation.createSized(mRS, Element.I32_4(mRS), ARRAY_SIZE); 336 Type connectType = Type.createX(mRS, Element.I32_4(mRS), ARRAY_SIZE); 350 int[] a = new int[ARRAY_SIZE * 4]; 356 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 372 int[] array = new int[ARRAY_SIZE * 4]; 374 for (int i = 0; i < ARRAY_SIZE; i++) { 381 Allocation input = Allocation.createSized(mRS, Element.I32_4(mRS), ARRAY_SIZE); [all...] |
/external/iptables/extensions/ |
libxt_CT.c | 142 info->ct_events = ct_parse_events(ct_event_tbl, ARRAY_SIZE(ct_event_tbl), cb->arg); 145 info->exp_events = ct_parse_events(exp_event_tbl, ARRAY_SIZE(exp_event_tbl), cb->arg); 161 ARRAY_SIZE(ct_event_tbl), 166 ARRAY_SIZE(exp_event_tbl), 184 ARRAY_SIZE(ct_event_tbl), info->ct_events); 187 ARRAY_SIZE(exp_event_tbl), info->exp_events); 211 ARRAY_SIZE(ct_event_tbl), info->ct_events); 214 ARRAY_SIZE(exp_event_tbl), info->exp_events); 232 ARRAY_SIZE(ct_event_tbl), info->ct_events); 235 ARRAY_SIZE(exp_event_tbl), info->exp_events) [all...] |
libip6t_REJECT.c | 48 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) { 85 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) 104 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) 116 for (i = 0; i < ARRAY_SIZE(reject_table); ++i)
|
/art/compiler/utils/ |
dex_cache_arrays_layout-inl.h | 77 size_t array_size = mirror::ComputeArraySize(num_elements, ComponentSizeShiftWidth(element_size)); local 78 DCHECK_NE(array_size, 0u); // No overflow expected for dex cache arrays. 79 return RoundUp(array_size, kObjectAlignment);
|
/hardware/libhardware/modules/consumerir/ |
consumerir.c | 25 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) 54 return ARRAY_SIZE(consumerir_freqs); 60 size_t to_copy = ARRAY_SIZE(consumerir_freqs);
|
/external/icu/icu4c/source/test/letest/ |
letest.h | 30 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/system/vold/ |
VoldUtil.h | 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 68 __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) 80 __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap))
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_sctp.h | 68 __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) 80 __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap))
|
/external/libnl/lib/route/cls/ |
police.c | 50 ARRAY_SIZE(police_types)); 64 return __str2type(name, police_types, ARRAY_SIZE(police_types));
|
/external/vboot_reference/firmware/lib/ |
vboot_nvstorage_rollback.c | 45 for (i = 0; i < ARRAY_SIZE(backup_params); i++) { 70 for (i = 0; i < ARRAY_SIZE(backup_params); i++) {
|
/frameworks/av/include/media/stagefright/foundation/ |
ABase.h | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/frameworks/av/services/radio/ |
RadioRegions.h | 55 #ifndef ARRAY_SIZE 56 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
/hardware/invensense/65xx/libsensors_iio/ |
sensors.h | 34 #ifndef ARRAY_SIZE 35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/ndk/sources/android/support/tests/ |
wchar_unittest.cc | 22 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) 75 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 101 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 127 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 153 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 179 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 205 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { 231 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) {
|