/external/guava/guava-tests/benchmark/com/google/common/math/ |
LongMathBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 36 private static final int[] exponents = new int[ARRAY_SIZE]; 37 private static final int[] factorialArguments = new int[ARRAY_SIZE]; 38 private static final int[][] binomialArguments = new int[ARRAY_SIZE][2]; 39 private static final long[] positive = new long[ARRAY_SIZE]; 40 private static final long[] nonnegative = new long[ARRAY_SIZE]; 41 private static final long[] longs = new long[ARRAY_SIZE]; 45 for (int i = 0; i < ARRAY_SIZE; i++) {
|
BigIntegerMathRoundingBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 38 private static final BigInteger[] nonzero1 = new BigInteger[ARRAY_SIZE]; 39 private static final BigInteger[] nonzero2 = new BigInteger[ARRAY_SIZE]; 40 private static final BigInteger[] positive = new BigInteger[ARRAY_SIZE]; 47 for (int i = 0; i < ARRAY_SIZE; i++) {
|
DoubleMathBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 34 private static final double[] positiveDoubles = new double[ARRAY_SIZE]; 35 private static final int[] factorials = new int[ARRAY_SIZE]; 36 private static final double [] doubles = new double[ARRAY_SIZE]; 40 for (int i = 0; i < ARRAY_SIZE; i++) {
|
DoubleMathRoundingBenchmark.java | 20 import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; 37 private static final double[] doubleInIntRange = new double[ARRAY_SIZE]; 38 private static final double[] doubleInLongRange = new double[ARRAY_SIZE]; 39 private static final double[] positiveDoubles = new double[ARRAY_SIZE]; 46 for (int i = 0; i < ARRAY_SIZE; i++) {
|
/external/icu/icu4c/source/samples/layout/ |
arraymem.h | 12 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/system/extras/tests/pagingtest/ |
pagingtest.h | 8 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
|
/art/test/303-verification-stress/ |
classes-gen.c | 11 static int createFiles(int count, int array_size) 28 fprintf(fp, " static String[] array = new String[%d];\n", array_size); 30 for (k = 0; k < array_size; k++) {
|
/system/bt/osi/test/ |
list_test.cpp | 74 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) 86 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) 89 EXPECT_EQ(list_back(list), &x[ARRAY_SIZE(x) - 1]); 98 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) 112 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) 126 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) 129 int i = ARRAY_SIZE(x) - 1;
|
/system/core/libmemtrack/ |
memtrack.c | 29 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 166 return memtrack_proc_sum(p, types, ARRAY_SIZE(types), 0); 172 return memtrack_proc_sum(p, types, ARRAY_SIZE(types), 179 return memtrack_proc_sum(p, types, ARRAY_SIZE(types), 0); 185 return memtrack_proc_sum(p, types, ARRAY_SIZE(types), 194 return memtrack_proc_sum(p, types, ARRAY_SIZE(types), 0); 202 return memtrack_proc_sum(p, types, ARRAY_SIZE(types),
|
/external/libdrm/radeon/ |
bof.c | 38 if (bof->array_size < bof->nentry) 68 for (i = 0; i < object->array_size; i += 2) { 89 object->array[object->array_size++] = key; 90 object->array[object->array_size++] = value; 119 array->array[array->array_size++] = value; 127 if (!bof_is_array(bof) || i >= bof->array_size) 136 return bof->array_size; 253 fprintf(stderr, "%p object [%d %d]\n", bof, bof->array_size / 2, bof->size); 256 fprintf(stderr, "%p array [%d %d]\n", bof, bof->array_size, bof->size); 269 for (i = 0; i < bof->array_size; i++) [all...] |
/external/linux-tools-perf/src/tools/perf/tests/ |
hists_link.c | 72 { "perf", perf_syms, ARRAY_SIZE(perf_syms) }, 73 { "bash", bash_syms, ARRAY_SIZE(bash_syms) }, 74 { "libc", libc_syms, ARRAY_SIZE(libc_syms) }, 75 { "[kernel]", kernel_syms, ARRAY_SIZE(kernel_syms) }, 88 for (i = 0; i < ARRAY_SIZE(fake_threads); i++) { 99 for (i = 0; i < ARRAY_SIZE(fake_mmap_info); i++) { 116 for (i = 0; i < ARRAY_SIZE(fake_symbols); i++) { 212 for (k = 0; k < ARRAY_SIZE(fake_common_samples); k++) { 234 for (k = 0; k < ARRAY_SIZE(fake_samples[i]); k++) { 299 ARRAY_SIZE(fake_common_samples) [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...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
HashMultisetAddPresentBenchmark.java | 33 private static final int ARRAY_SIZE = 0x10000; 35 int[] queries = new int[ARRAY_SIZE]; 41 for (int i = 0; i < ARRAY_SIZE; i++) {
|
/system/netd/server/ |
oem_iptables_hook.cpp | 44 runIptablesCmd(ARRAY_SIZE(cmd1), cmd1); 52 runIptablesCmd(ARRAY_SIZE(cmd2), cmd2); 62 runIptablesCmd(ARRAY_SIZE(cmd3), cmd3);
|
/external/libnl/lib/route/ |
rtnl.c | 72 return __type2str(type, buf, size, rtntypes, ARRAY_SIZE(rtntypes)); 77 return __str2type(name, rtntypes, ARRAY_SIZE(rtntypes)); 97 return __type2str(scope, buf, size, scopes, ARRAY_SIZE(scopes)); 102 return __str2type(name, scopes, ARRAY_SIZE(scopes));
|
/external/libunwind/src/x86/ |
regname.c | 23 if (reg < (unw_regnum_t) ARRAY_SIZE (regname))
|
/external/vboot_reference/tests/ |
cgptlib_test.h | 19 #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
|
/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)}
|
/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)},
|
/system/bt/osi/include/ |
osi.h | 7 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
/system/core/libcutils/tests/ |
PropertiesTest.cpp | 31 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) 88 for (size_t i = 0; i < ARRAY_SIZE(mValue); ++i) { 180 for (size_t i = 0; i < ARRAY_SIZE(valuesTrue); ++i) { 190 for (size_t i = 0; i < ARRAY_SIZE(valuesFalse); ++i) { 203 for (size_t i = 0; i < ARRAY_SIZE(valuesNeither); ++i) { 252 ASSERT_EQ(ARRAY_SIZE(setValues), ARRAY_SIZE(getValues)); 254 for (size_t i = 0; i < ARRAY_SIZE(setValues); ++i) { 299 ASSERT_EQ(ARRAY_SIZE(setValues), ARRAY_SIZE(getValues)) [all...] |
/device/lge/hammerhead/libsensors/ |
sensors.h | 40 #ifndef ARRAY_SIZE 41 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
UnsignedLongsBenchmark.java | 30 private static final int ARRAY_SIZE = 0x10000; 33 private static final long[] longs = new long[ARRAY_SIZE]; 34 private static final long[] divisors = new long[ARRAY_SIZE]; 35 private static final String[] decimalStrings = new String[ARRAY_SIZE]; 36 private static final String[] binaryStrings = new String[ARRAY_SIZE]; 37 private static final String[] hexStrings = new String[ARRAY_SIZE]; 38 private static final String[] prefixedHexStrings = new String[ARRAY_SIZE]; 42 for (int i = 0; i < ARRAY_SIZE; i++) {
|
/external/iptables/extensions/ |
dscp_helper.c | 54 for (i = 0; i < ARRAY_SIZE(ds_classes); i++) { 71 for (i = 0; i < ARRAY_SIZE(ds_classes); ++i)
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
video_common.cc | 19 #define ARRAY_SIZE(x) (int)(sizeof(x) / sizeof(x[0])) 51 for (i = 0; i < ARRAY_SIZE(kFourCCAliases); ++i) {
|