Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 46) 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_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()
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()
/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/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp81 GetSessionId(kTestSessionId1, ARRAY_SIZE(kTestSessionId1), &mSessionId1); in DrmSessionManagerTest()
82 GetSessionId(kTestSessionId2, ARRAY_SIZE(kTestSessionId2), &mSessionId2); in DrmSessionManagerTest()
83 GetSessionId(kTestSessionId3, ARRAY_SIZE(kTestSessionId3), &mSessionId3); in DrmSessionManagerTest()
207 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
236 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
/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/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp58 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
169 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
195 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
220 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
249 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
280 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
311 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
341 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
372 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
403 Dumpstate::RunStatus status = options_.Initialize(ARRAY_SIZE(argv), argv); in TEST_F()
[all …]
/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
357 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/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp25 #ifndef ARRAY_SIZE
26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
271 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
318 audio_format_t bestFormat = sPcmFormatCompareTable[ARRAY_SIZE(sPcmFormatCompareTable) - 1]; in pickAudioProfile()
/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.h78 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/native/services/surfaceflinger/Scheduler/
DSchedulerUtils.h31 static constexpr size_t ARRAY_SIZE = 30; variable
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp33 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
395 for (size_t i = 0; i < ARRAY_SIZE(testValue); i++) { in TEST_F()
437 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
438 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
458 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()
480 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
481 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
508 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