Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java26 private static final int ARRAY_SIZE = 256; field in UT_script_group2_gatherscatter
37 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals()
39 for (int i = 0; i < ARRAY_SIZE; i++) { in initializeGlobals()
67 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
77 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { in run()
110 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { in run()
112 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)); in run()
DUT_script_group2_pointwise.java26 private static final int ARRAY_SIZE = 256; field in UT_script_group2_pointwise
39 int[] array = new int[ARRAY_SIZE * 4]; in run()
41 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
45 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
52 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
66 int[] a = new int[ARRAY_SIZE * 4]; in run()
78 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_nochain.java26 private static final int ARRAY_SIZE = 256; field in UT_script_group2_nochain
40 int[] array = new int[ARRAY_SIZE * 4]; in run()
42 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
46 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
53 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
73 int[] a = new int[ARRAY_SIZE * 4]; in run()
86 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_float.java26 private static final int ARRAY_SIZE = 8; field in UT_script_group2_float
39 float[] array = new float[ARRAY_SIZE]; in run()
41 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
45 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
55 final Type T = Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE); in run()
74 double[] a = new double[ARRAY_SIZE]; in run()
85 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_script_group2_gatherscatter.java28 private static final int ARRAY_SIZE = 256; field in UT_script_group2_gatherscatter
39 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals()
41 for (int i = 0; i < ARRAY_SIZE; i++) { in initializeGlobals()
69 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
79 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { in run()
112 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { in run()
114 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)); in run()
DUT_script_group2_pointwise.java28 private static final int ARRAY_SIZE = 256; field in UT_script_group2_pointwise
41 int[] array = new int[ARRAY_SIZE * 4]; in run()
43 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
47 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
54 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
68 int[] a = new int[ARRAY_SIZE * 4]; in run()
80 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_float.java28 private static final int ARRAY_SIZE = 8; field in UT_script_group2_float
41 float[] array = new float[ARRAY_SIZE]; in run()
43 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
47 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
57 final Type T = Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE); in run()
76 double[] a = new double[ARRAY_SIZE]; in run()
87 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
DUT_script_group2_nochain.java28 private static final int ARRAY_SIZE = 256; field in UT_script_group2_nochain
42 int[] array = new int[ARRAY_SIZE * 4]; in run()
44 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
55 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
75 int[] a = new int[ARRAY_SIZE * 4]; in run()
88 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java26 private static final int ARRAY_SIZE = 8; field in MainActivity
40 int[] array = new int[ARRAY_SIZE]; in onCreate()
41 for (int i = 0; i < ARRAY_SIZE; i++) { in onCreate()
44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE); in onCreate()
52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound); in onCreate()
55 Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), c0.getReturn()); in onCreate()
59 int[] a = new int[ARRAY_SIZE]; in onCreate()
/frameworks/av/media/libstagefright/bqhelper/tests/
DFrameDropper_test.cpp118 RunTest(testFrames20Fps, ARRAY_SIZE(testFrames20Fps)); in TEST_F()
122 RunTest(testFrames30Fps, ARRAY_SIZE(testFrames30Fps)); in TEST_F()
126 RunTest(testFrames40Fps, ARRAY_SIZE(testFrames40Fps)); in TEST_F()
130 RunTest(testFrames60Fps, ARRAY_SIZE(testFrames60Fps)); in TEST_F()
134 RunTest(testFramesVariableFps, ARRAY_SIZE(testFramesVariableFps)); in TEST_F()
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp326 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
343 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
356 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
369 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
394 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
402 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
422 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
430 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
450 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
458 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
[all …]
Dtest_utils.h29 #ifndef ARRAY_SIZE
30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DABase.h21 #ifndef ARRAY_SIZE
22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp24 #ifndef ARRAY_SIZE
25 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
189 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
236 audio_format_t bestFormat = sPcmFormatCompareTable[ARRAY_SIZE(sPcmFormatCompareTable) - 1]; in pickAudioProfile()
/frameworks/base/startop/apps/test/src/
DCPUIntensiveBenchmarks.java26 public static final int ARRAY_SIZE = 30000; field in CPUIntensiveBenchmarks
50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp42 #define ARRAY_SIZE(array) \ macro
46 buildTagMap(TIFF_EP_TAG_DEFINITIONS, ARRAY_SIZE(TIFF_EP_TAG_DEFINITIONS)),
47 buildTagMap(DNG_TAG_DEFINITIONS, ARRAY_SIZE(DNG_TAG_DEFINITIONS)),
48 buildTagMap(EXIF_2_3_TAG_DEFINITIONS, ARRAY_SIZE(EXIF_2_3_TAG_DEFINITIONS)),
49 buildTagMap(TIFF_6_TAG_DEFINITIONS, ARRAY_SIZE(TIFF_6_TAG_DEFINITIONS))
/frameworks/av/media/libaudioprocessing/
DRecordBufferConverter.cpp28 #ifndef ARRAY_SIZE
29 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
219 mIdxAry, ARRAY_SIZE(mIdxAry), mDstChannelMask, mSrcChannelMask); in updateParameters()
DBufferProviders.cpp34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
358 mIdxAry, ARRAY_SIZE(mIdxAry), outputChannelMask, inputChannelMask); in RemixBufferProvider()
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java50 public static final int ARRAY_SIZE = 4096; field in SparseMappingTable
135 array = new long[ARRAY_SIZE]; in getOrAddKey()
480 mLongs.add(new long[ARRAY_SIZE]); in SparseMappingTable()
489 mLongs.add(new long[ARRAY_SIZE]); in reset()
/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp39 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
49 EXPECT_TRUE(ContainsTag(a, ARRAY_SIZE(a), t))
/frameworks/native/cmds/installd/
Dinstalld_constants.h80 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp61 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
169 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
197 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
223 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
361 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
390 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
421 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
452 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
478 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
492 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVC_MixSoft_1St_2i_D16C31_SAT.cpp35 #define ARRAY_SIZE(a) ((sizeof(a)) / (sizeof(*(a)))) macro
109 const unsigned int idxArrSize = ARRAY_SIZE(mixInstIdx); in LVC_MixSoft_1St_MC_float_SAT()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp37 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
400 for (size_t i = 0; i < ARRAY_SIZE(testValue); i++) { in TEST_F()
442 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
443 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
463 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()
485 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
486 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
513 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp422 kH263ProfileLevels, ARRAY_SIZE(kH263ProfileLevels), in createSoftOMXComponent()
427 kM4VProfileLevels, ARRAY_SIZE(kM4VProfileLevels), in createSoftOMXComponent()

12