/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABase.h | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | ABase.h | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | ABase.h | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/ |
H A D | MainActivity.java | 26 private static final int ARRAY_SIZE = 8; field in class:MainActivity 40 int[] array = new int[ARRAY_SIZE]; 41 for (int i = 0; i < ARRAY_SIZE; i++) { 44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE); 52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound); 55 Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), c0.getReturn()); 59 int[] a = new int[ARRAY_SIZE];
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_script_group2_gatherscatter.java | 29 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_gatherscatter 41 mArray = new int[ARRAY_SIZE * 4]; 43 for (int i = 0; i < ARRAY_SIZE; i++) { 53 // The test sums up all elements in the input int4 array of size ARRAY_SIZE. 72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 82 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { 111 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { 113 (ARRAY_SIZE * (ARRAY_SIZ [all...] |
H A D | UT_script_group2_pointwise.java | 29 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_pointwise 44 int[] array = new int[ARRAY_SIZE * 4]; 46 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 59 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 64 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 69 int[] a = new int[ARRAY_SIZE * 4]; 76 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
H A D | UT_script_group2_nochain.java | 29 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_nochain 45 int[] array = new int[ARRAY_SIZE * 4]; 47 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 60 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 66 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 74 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 79 int[] a = new int[ARRAY_SIZE * 4]; 86 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
H A D | UT_script_group2_float.java | 27 private static final int ARRAY_SIZE = 8; field in class:UT_script_group2_float 42 float[] array = new float[ARRAY_SIZE]; 44 for (int i = 0; i < ARRAY_SIZE; i++) { 48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); 60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), 69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), 77 double[] a = new double[ARRAY_SIZE]; 84 for (int i = 0; i < ARRAY_SIZE; i++) {
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_script_group2_gatherscatter.java | 26 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_gatherscatter 37 mArray = new int[ARRAY_SIZE * 4]; 39 for (int i = 0; i < ARRAY_SIZE; i++) { 49 // The test sums up all elements in the input int4 array of size ARRAY_SIZE. 68 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 78 for (stride = ARRAY_SIZE / 2; stride >= 1; stride >>= 1) { 111 a[i] != ARRAY_SIZE * (ARRAY_SIZE - 1) * 7 / 2 + i * ARRAY_SIZE) { 113 (ARRAY_SIZE * (ARRAY_SIZ [all...] |
H A D | UT_script_group2_pointwise.java | 26 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_pointwise 40 int[] array = new int[ARRAY_SIZE * 4]; 42 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 46 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 53 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); 67 int[] a = new int[ARRAY_SIZE * 4]; 79 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
H A D | UT_script_group2_float.java | 26 private static final int ARRAY_SIZE = 8; field in class:UT_script_group2_float 40 float[] array = new float[ARRAY_SIZE]; 42 for (int i = 0; i < ARRAY_SIZE; i++) { 46 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); 56 final Type T = Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE); 75 double[] a = new double[ARRAY_SIZE]; 86 for (int i = 0; i < ARRAY_SIZE; i++) {
|
H A D | UT_script_group2_nochain.java | 26 private static final int ARRAY_SIZE = 256; field in class:UT_script_group2_nochain 41 int[] array = new int[ARRAY_SIZE * 4]; 43 for (int i = 0; i < ARRAY_SIZE * 4; i++) { 47 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 54 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); 74 int[] a = new int[ARRAY_SIZE * 4]; 87 for (int i = 0; i < ARRAY_SIZE * 4; i++) {
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | FrameDropper_test.cpp | 118 RunTest(testFrames20Fps, ARRAY_SIZE(testFrames20Fps)); 122 RunTest(testFrames30Fps, ARRAY_SIZE(testFrames30Fps)); 126 RunTest(testFrames40Fps, ARRAY_SIZE(testFrames40Fps)); 130 RunTest(testFrames60Fps, ARRAY_SIZE(testFrames60Fps)); 134 RunTest(testFramesVariableFps, ARRAY_SIZE(testFramesVariableFps));
|
/frameworks/av/media/libaudioprocessing/tests/ |
H A D | resampler_tests.cpp | 265 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 282 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 295 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 308 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 333 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 341 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 361 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 369 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 389 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { 397 for (size_t i = 0; i < ARRAY_SIZE(kQualityArra [all...] |
H A D | test_utils.h | 28 #ifndef ARRAY_SIZE 29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
|
/frameworks/native/cmds/installd/ |
H A D | installd_constants.h | 68 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/frameworks/av/services/radio/ |
H A D | RadioRegions.h | 55 #ifndef ARRAY_SIZE 56 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
|
/frameworks/av/media/libmediaplayerservice/tests/ |
H A D | DrmSessionManager_test.cpp | 81 GetSessionId(kTestSessionId1, ARRAY_SIZE(kTestSessionId1), &mSessionId1); 82 GetSessionId(kTestSessionId2, ARRAY_SIZE(kTestSessionId2), &mSessionId2); 83 GetSessionId(kTestSessionId3, ARRAY_SIZE(kTestSessionId3), &mSessionId3); 207 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); 236 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
|
/frameworks/av/services/mediadrm/tests/ |
H A D | DrmSessionManager_test.cpp | 77 GetSessionId(kTestSessionId1, ARRAY_SIZE(kTestSessionId1), &mSessionId1); 78 GetSessionId(kTestSessionId2, ARRAY_SIZE(kTestSessionId2), &mSessionId2); 79 GetSessionId(kTestSessionId3, ARRAY_SIZE(kTestSessionId3), &mSessionId3); 203 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); 232 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
|
/frameworks/base/tests/net/jni/ |
H A D | apf_jni.cpp | 27 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro 179 gMethods, ARRAY_SIZE(gMethods));
|
/frameworks/av/media/libaudioprocessing/ |
H A D | RecordBufferConverter.cpp | 28 #ifndef ARRAY_SIZE 29 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro 214 mIdxAry, ARRAY_SIZE(mIdxAry), mDstChannelMask, mSrcChannelMask);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 42 #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/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPort.cpp | 26 #ifndef ARRAY_SIZE 27 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 259 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); 311 audio_format_t bestFormat = sPcmFormatCompareTable[ARRAY_SIZE(sPcmFormatCompareTable) - 1];
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SparseMappingTable.java | 49 public static final int ARRAY_SIZE = 4096; field in class:SparseMappingTable 112 * SparseMappingTable.ARRAY_SIZE. 134 array = new long[ARRAY_SIZE]; 481 mLongs.add(new long[ARRAY_SIZE]); 490 mLongs.add(new long[ARRAY_SIZE]);
|
/frameworks/av/camera/tests/ |
H A D | VendorTagDescriptorTests.cpp | 39 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 49 EXPECT_TRUE(ContainsTag(a, ARRAY_SIZE(a), t))
|