Home
last modified time | relevance | path

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

12

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_script_group2_gatherscatter.java27 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()
70 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
80 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { in run()
109 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { in run()
111 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)); in run()
DUT_script_group2_nochain.java27 private static final int ARRAY_SIZE = 256; field in UT_script_group2_nochain
43 int[] array = new int[ARRAY_SIZE * 4]; in run()
45 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
49 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
58 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
63 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
74 int[] a = new int[ARRAY_SIZE * 4]; in run()
81 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_pointwise.java27 private static final int ARRAY_SIZE = 256; field in UT_script_group2_pointwise
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()
57 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
62 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
67 int[] a = new int[ARRAY_SIZE * 4]; in run()
74 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_float.java27 private static final int ARRAY_SIZE = 8; field in UT_script_group2_float
42 float[] array = new float[ARRAY_SIZE]; in run()
44 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
77 double[] a = new double[ARRAY_SIZE]; in run()
84 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_script_group2_gatherscatter.java29 private static final int ARRAY_SIZE = 256; field in UT_script_group2_gatherscatter
41 mArray = new int[ARRAY_SIZE * 4]; in initializeGlobals()
43 for (int i = 0; i < ARRAY_SIZE; i++) { in initializeGlobals()
72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
82 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { in run()
111 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { in run()
113 (ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE)); in run()
DUT_script_group2_nochain.java29 private static final int ARRAY_SIZE = 256; field in UT_script_group2_nochain
45 int[] array = new int[ARRAY_SIZE * 4]; in run()
47 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
60 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
66 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
74 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
79 int[] a = new int[ARRAY_SIZE * 4]; in run()
86 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_pointwise.java29 private static final int ARRAY_SIZE = 256; field in UT_script_group2_pointwise
44 int[] array = new int[ARRAY_SIZE * 4]; in run()
46 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
59 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
64 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
69 int[] a = new int[ARRAY_SIZE * 4]; in run()
76 for (int i = 0; i < ARRAY_SIZE * 4; i++) { in run()
DUT_script_group2_float.java27 private static final int ARRAY_SIZE = 8; field in UT_script_group2_float
42 float[] array = new float[ARRAY_SIZE]; in run()
44 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
77 double[] a = new double[ARRAY_SIZE]; in run()
84 for (int i = 0; i < ARRAY_SIZE; i++) { in run()
/frameworks/av/media/libstagefright/omx/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/services/audioflinger/tests/
Dresampler_tests.cpp249 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
266 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
279 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
292 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
317 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
325 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
345 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
353 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
373 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
381 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
[all …]
Dtest_utils.h22 #ifndef ARRAY_SIZE
23 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/av/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/services/mediadrm/tests/
DDrmSessionManager_test.cpp77 GetSessionId(kTestSessionId1, ARRAY_SIZE(kTestSessionId1), &mSessionId1); in DrmSessionManagerTest()
78 GetSessionId(kTestSessionId2, ARRAY_SIZE(kTestSessionId2), &mSessionId2); in DrmSessionManagerTest()
79 GetSessionId(kTestSessionId3, ARRAY_SIZE(kTestSessionId3), &mSessionId3); in DrmSessionManagerTest()
203 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
232 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
/frameworks/av/services/radio/
DRadioRegions.h55 #ifndef ARRAY_SIZE
56 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/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/libs/binder/tests/
DbinderLibTest.cpp31 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
331 for (size_t i = 0; i < ARRAY_SIZE(testValue); i++) { in TEST_F()
373 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
374 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
394 EXPECT_EQ(ARRAY_SIZE(serverId), count); in TEST_F()
416 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()
417 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()
444 EXPECT_EQ(ARRAY_SIZE(serverId), count); in TEST_F()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp25 #ifndef ARRAY_SIZE
26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
258 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
310 audio_format_t bestFormat = sPcmFormatCompareTable[ARRAY_SIZE(sPcmFormatCompareTable) - 1]; in pickAudioProfile()
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java49 public static final int ARRAY_SIZE = 4096; field in SparseMappingTable
134 array = new long[ARRAY_SIZE]; in getOrAddKey()
481 mLongs.add(new long[ARRAY_SIZE]); in SparseMappingTable()
490 mLongs.add(new long[ARRAY_SIZE]); in reset()
/frameworks/base/services/tests/servicestests/jni/
Dapf_jni.cpp27 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
179 gMethods, ARRAY_SIZE(gMethods)); in JNI_OnLoad()
/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.h94 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/av/services/audioflinger/
DBufferProviders.cpp31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
295 mIdxAry, ARRAY_SIZE(mIdxAry), outputChannelMask, inputChannelMask); in RemixBufferProvider()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp391 kH263ProfileLevels, ARRAY_SIZE(kH263ProfileLevels), in createSoftOMXComponent()
396 kM4VProfileLevels, ARRAY_SIZE(kM4VProfileLevels), in createSoftOMXComponent()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp365 for (size_t i = 0; i < ARRAY_SIZE(kHevcNalUnitTypes); ++i) { in makeHvcc()
436 for (size_t i = 0; i < ARRAY_SIZE(kHevcNalUnitTypes); ++i) { in makeHvcc()

12