Searched defs:ARRAY_SIZE (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/include/media/stagefright/foundation/
H A DABase.h21 #ifndef ARRAY_SIZE
22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_script_group2_gatherscatter.java27 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_gatherscatter
39 mArray = new int[ARRAY_SIZE * 4];
41 for (int i = 0; i < ARRAY_SIZE; i++) {
51 // The test sums up all elements in the input int4 array of size ARRAY_SIZE.
70 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
80 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) {
109 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) {
111 (ARRAY_SIZE * (ARRAY_SIZ
[all...]
H A DUT_script_group2_nochain.java27 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_nochain
43 int[] array = new int[ARRAY_SIZE * 4];
45 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
49 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
58 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
63 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
69 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
74 int[] a = new int[ARRAY_SIZE * 4];
81 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
H A DUT_script_group2_pointwise.java27 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_pointwise
42 int[] array = new int[ARRAY_SIZE * 4];
44 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
57 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
62 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
67 int[] a = new int[ARRAY_SIZE * 4];
74 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DConfigParsingUtils.h44 #ifndef ARRAY_SIZE
45 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/av/services/radio/
H A DRadioRegions.h55 #ifndef ARRAY_SIZE
56 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/av/camera/tests/
H A DVendorTagDescriptorTests.cpp39 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
49 EXPECT_TRUE(ContainsTag(a, ARRAY_SIZE(a), t))
/frameworks/av/services/audioflinger/
H A DBufferProviders.cpp31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
296 mIdxAry, ARRAY_SIZE(mIdxAry), outputChannelMask, inputChannelMask);
H A DAudioMixer.cpp65 #ifndef ARRAY_SIZE
66 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
H A DAudioFlinger.cpp275 #define ARRAY_SIZE(x) (sizeof((x))/sizeof(((x)[0]))) macro
285 for (size_t i = 0; i < ARRAY_SIZE(audio_interfaces); i++) {
H A DThreads.cpp98 #ifndef ARRAY_SIZE
99 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
6675 mIdxAry, ARRAY_SIZE(mIdxAry), mDstChannelMask, mSrcChannelMask);
/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h22 #ifndef ARRAY_SIZE
23 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/native/cmds/installd/
H A Dinstalld.h93 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/av/media/img_utils/src/
H A 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/libeffects/testlibs/
H A DEffectEqualizer.cpp18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
327 ARRAY_SIZE(gEqualizerPresets));
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp47 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(*(a))) macro
488 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf);
536 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp31 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
331 for (size_t i = 0; i < ARRAY_SIZE(testValue); i++) {
373 data.writeInt32(ARRAY_SIZE(serverId));
374 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) {
394 EXPECT_EQ(ARRAY_SIZE(serverId), count);
416 data.writeInt32(ARRAY_SIZE(serverId));
417 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) {
444 EXPECT_EQ(ARRAY_SIZE(serverId), count);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro

Completed in 5423 milliseconds