Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp155 std::vector<C2Param::Index> indices; in TEST_F() local
156 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
157 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
159 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F()
161 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
163 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
165 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
201 std::vector<C2Param::Index> indices; in TEST_F() local
202 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
203 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F()
[all …]
/frameworks/av/media/codecs/amrwb/enc/src/
Ddtx.c39 Word16 indices[],
45 Word16 indices[],
381 Word16 indices[], in aver_isf_history() argument
393 if ((indices[k] + 1) != 0) in aver_isf_history()
397 isf_tmp[k * M + i] = isf_old[indices[k] * M + i]; in aver_isf_history()
398 isf_old[indices[k] * M + i] = isf_old[indices[2] * M + i]; in aver_isf_history()
418 if ((indices[k] + 1) != 0) in aver_isf_history()
422 isf_old[indices[k] * M + i] = isf_tmp[k * M + i]; in aver_isf_history()
432 Word16 indices[], in find_frame_indices() argument
507 indices[0] = 0; in find_frame_indices()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglDrawElementsInstanced.cpp8 GLvoid *indices = (GLvoid *) 0; in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I() local
10 indices = (GLvoid *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
11 if (indices == NULL) { in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
13 indices = (GLvoid *) (_indicesBase + _bufferOffset); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
19 (GLvoid *)indices, in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
23 releasePointer(_env, _array, indices, JNI_FALSE); in android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I()
DglDrawElementsInstancedBaseVertex.cpp11 void *indices = (void *) 0; in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II() local
13 indices = (void *)getPointer(_env, indices_buf, &_array, &_remaining, &_bufferOffset); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
20 if (indices == NULL) { in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
22 indices = (void *) (_indicesBase + _bufferOffset); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
28 (void *)indices, in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
35 releasePointer(_env, _array, indices, JNI_FALSE); in android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamDoubleTest.java295 int[] indices = new int[9]; in testRepeated() local
300 results[0][indices[0]++] = pi.readDouble(fieldId1); in testRepeated()
303 results[1][indices[1]++] = pi.readDouble(fieldId2); in testRepeated()
306 results[2][indices[2]++] = pi.readDouble(fieldId3); in testRepeated()
309 results[3][indices[3]++] = pi.readDouble(fieldId4); in testRepeated()
312 results[4][indices[4]++] = pi.readDouble(fieldId5); in testRepeated()
315 results[5][indices[5]++] = pi.readDouble(fieldId6); in testRepeated()
318 results[6][indices[6]++] = pi.readDouble(fieldId7); in testRepeated()
321 results[7][indices[7]++] = pi.readDouble(fieldId8); in testRepeated()
324 results[8][indices[8]++] = pi.readDouble(fieldId9); in testRepeated()
[all …]
DProtoInputStreamFloatTest.java268 int[] indices = new int[9]; in testRepeated() local
273 results[0][indices[0]++] = pi.readFloat(fieldId1); in testRepeated()
276 results[1][indices[1]++] = pi.readFloat(fieldId2); in testRepeated()
279 results[2][indices[2]++] = pi.readFloat(fieldId3); in testRepeated()
282 results[3][indices[3]++] = pi.readFloat(fieldId4); in testRepeated()
285 results[4][indices[4]++] = pi.readFloat(fieldId5); in testRepeated()
288 results[5][indices[5]++] = pi.readFloat(fieldId6); in testRepeated()
291 results[6][indices[6]++] = pi.readFloat(fieldId7); in testRepeated()
294 results[7][indices[7]++] = pi.readFloat(fieldId8); in testRepeated()
297 results[8][indices[8]++] = pi.readFloat(fieldId9); in testRepeated()
[all …]
DProtoInputStreamUInt64Test.java247 int[] indices = new int[7]; in testRepeated() local
252 results[0][indices[0]++] = pi.readLong(fieldId1); in testRepeated()
255 results[1][indices[1]++] = pi.readLong(fieldId2); in testRepeated()
258 results[2][indices[2]++] = pi.readLong(fieldId3); in testRepeated()
261 results[3][indices[3]++] = pi.readLong(fieldId4); in testRepeated()
264 results[4][indices[4]++] = pi.readLong(fieldId5); in testRepeated()
267 results[5][indices[5]++] = pi.readLong(fieldId6); in testRepeated()
270 results[6][indices[6]++] = pi.readLong(fieldId7); in testRepeated()
422 int[] indices = new int[7]; in testPacked() local
427 results[0][indices[0]++] = pi.readLong(fieldId1); in testPacked()
[all …]
DProtoInputStreamSFixed64Test.java257 int[] indices = new int[7]; in testRepeated() local
262 results[0][indices[0]++] = pi.readLong(fieldId1); in testRepeated()
265 results[1][indices[1]++] = pi.readLong(fieldId2); in testRepeated()
268 results[2][indices[2]++] = pi.readLong(fieldId3); in testRepeated()
271 results[3][indices[3]++] = pi.readLong(fieldId4); in testRepeated()
274 results[4][indices[4]++] = pi.readLong(fieldId5); in testRepeated()
277 results[5][indices[5]++] = pi.readLong(fieldId6); in testRepeated()
280 results[6][indices[6]++] = pi.readLong(fieldId7); in testRepeated()
428 int[] indices = new int[7]; in testPacked() local
433 results[0][indices[0]++] = pi.readLong(fieldId1); in testPacked()
[all …]
DProtoInputStreamSInt64Test.java242 int[] indices = new int[7]; in testRepeated() local
247 results[0][indices[0]++] = pi.readLong(fieldId1); in testRepeated()
250 results[1][indices[1]++] = pi.readLong(fieldId2); in testRepeated()
253 results[2][indices[2]++] = pi.readLong(fieldId3); in testRepeated()
256 results[3][indices[3]++] = pi.readLong(fieldId4); in testRepeated()
259 results[4][indices[4]++] = pi.readLong(fieldId5); in testRepeated()
262 results[5][indices[5]++] = pi.readLong(fieldId6); in testRepeated()
265 results[6][indices[6]++] = pi.readLong(fieldId7); in testRepeated()
403 int[] indices = new int[7]; in testPacked() local
408 results[0][indices[0]++] = pi.readLong(fieldId1); in testPacked()
[all …]
DProtoInputStreamInt64Test.java249 int[] indices = new int[7]; in testRepeated() local
254 results[0][indices[0]++] = pi.readLong(fieldId1); in testRepeated()
257 results[1][indices[1]++] = pi.readLong(fieldId2); in testRepeated()
260 results[2][indices[2]++] = pi.readLong(fieldId3); in testRepeated()
263 results[3][indices[3]++] = pi.readLong(fieldId4); in testRepeated()
266 results[4][indices[4]++] = pi.readLong(fieldId5); in testRepeated()
269 results[5][indices[5]++] = pi.readLong(fieldId6); in testRepeated()
272 results[6][indices[6]++] = pi.readLong(fieldId7); in testRepeated()
426 int[] indices = new int[7]; in testPacked() local
431 results[0][indices[0]++] = pi.readLong(fieldId1); in testPacked()
[all …]
DProtoInputStreamFixed64Test.java257 int[] indices = new int[7]; in testRepeated() local
262 results[0][indices[0]++] = pi.readLong(fieldId1); in testRepeated()
265 results[1][indices[1]++] = pi.readLong(fieldId2); in testRepeated()
268 results[2][indices[2]++] = pi.readLong(fieldId3); in testRepeated()
271 results[3][indices[3]++] = pi.readLong(fieldId4); in testRepeated()
274 results[4][indices[4]++] = pi.readLong(fieldId5); in testRepeated()
277 results[5][indices[5]++] = pi.readLong(fieldId6); in testRepeated()
280 results[6][indices[6]++] = pi.readLong(fieldId7); in testRepeated()
428 int[] indices = new int[7]; in testPacked() local
433 results[0][indices[0]++] = pi.readLong(fieldId1); in testPacked()
[all …]
DProtoInputStreamEnumTest.java209 int[] indices = new int[5]; in testRepeated() local
214 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
217 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
220 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
223 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
226 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
356 int[] indices = new int[5]; in testPacked() local
361 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
364 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
367 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamSInt32Test.java203 int[] indices = new int[5]; in testRepeated() local
208 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
211 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
214 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
217 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
220 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
337 int[] indices = new int[5]; in testPacked() local
342 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
345 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
348 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamUInt32Test.java208 int[] indices = new int[5]; in testRepeated() local
213 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
216 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
219 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
222 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
225 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
354 int[] indices = new int[5]; in testPacked() local
359 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
362 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
365 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamSFixed32Test.java203 int[] indices = new int[5]; in testRepeated() local
208 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
211 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
214 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
217 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
220 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
337 int[] indices = new int[5]; in testPacked() local
342 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
345 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
348 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamFixed32Test.java203 int[] indices = new int[5]; in testRepeated() local
208 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
211 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
214 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
217 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
220 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
337 int[] indices = new int[5]; in testPacked() local
342 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
345 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
348 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamInt32Test.java209 int[] indices = new int[5]; in testRepeated() local
214 results[0][indices[0]++] = pi.readInt(fieldId1); in testRepeated()
217 results[1][indices[1]++] = pi.readInt(fieldId2); in testRepeated()
220 results[2][indices[2]++] = pi.readInt(fieldId3); in testRepeated()
223 results[3][indices[3]++] = pi.readInt(fieldId4); in testRepeated()
226 results[4][indices[4]++] = pi.readInt(fieldId5); in testRepeated()
355 int[] indices = new int[5]; in testPacked() local
360 results[0][indices[0]++] = pi.readInt(fieldId1); in testPacked()
363 results[1][indices[1]++] = pi.readInt(fieldId2); in testPacked()
366 results[2][indices[2]++] = pi.readInt(fieldId3); in testPacked()
[all …]
DProtoInputStreamBoolTest.java179 int[] indices = new int[3]; in testRepeated() local
184 results[0][indices[0]++] = pi.readBoolean(fieldId1); in testRepeated()
187 results[1][indices[1]++] = pi.readBoolean(fieldId2); in testRepeated()
190 results[2][indices[2]++] = pi.readBoolean(fieldId3); in testRepeated()
299 int[] indices = new int[3]; in testPacked() local
305 results[0][indices[0]++] = pi.readBoolean(fieldId1); in testPacked()
308 results[1][indices[1]++] = pi.readBoolean(fieldId2); in testPacked()
311 results[2][indices[2]++] = pi.readBoolean(fieldId3); in testPacked()
/frameworks/av/media/codecs/amrwb/dec/src/
Ddtx_decoder_amr_wb.cpp669 int16 indices[], in aver_isf_history() argument
682 if (indices[k] + 1 != 0) in aver_isf_history()
686 isf_tmp[k * M + i] = isf_old[indices[k] * M + i]; in aver_isf_history()
687 isf_old[indices[k] * M + i] = isf_old[indices[2] * M + i]; in aver_isf_history()
708 if (indices[k] + 1 != 0) in aver_isf_history()
712 isf_old[indices[k] * M + i] = isf_tmp[k * M + i]; in aver_isf_history()
727 int16 indices[], in find_frame_indices() argument
803 indices[0] = 0; in find_frame_indices()
804 indices[2] = 0; in find_frame_indices()
810 indices[0] = i; in find_frame_indices()
[all …]
/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp69 std::vector<int> indices = { 3, 10 }; in TEST() local
71 result = parseRecordByColumns("12345", indices); in TEST()
75 result = parseRecordByColumns("abc \t2345 6789 ", indices); in TEST()
84 result = parseRecordByColumns(extraColumn1, indices); in TEST()
89 result = parseRecordByColumns(emptyMidColm, indices); in TEST()
93 result = parseRecordByColumns(longFirstClm, indices); in TEST()
97 result = parseRecordByColumns(lngFrstEmpty, indices); in TEST()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLShadowVertexGenerator.cpp84 void GLShadowVertexGenerator::fillIndices(uint16_t* indices) const { in fillIndices()
87 0 /* starting vertex offset */, indices); in fillIndices()
92 &(indices[mAmbientShadowIndexCount])); in fillIndices()
/frameworks/native/libs/renderengine/gl/
DGLShadowVertexGenerator.cpp84 void GLShadowVertexGenerator::fillIndices(uint16_t* indices) const { in fillIndices()
87 0 /* starting vertex offset */, indices); in fillIndices()
92 &(indices[mAmbientShadowIndexCount])); in fillIndices()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java55 byte indices[] = { in Cube()
84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube()
85 mIndexBuffer.put(indices); in Cube()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp246 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); in render() local
248 … memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices)); in render()
268 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices); in render()
272 free(indices); in render()
/frameworks/av/services/mediacodec/registrant/
DCodecServiceRegistrant.cpp145 hidl_vec<ParamIndex> indices( in query_sm() local
153 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in query_sm()
157 indices[numIndices++] = in query_sm()
160 indices.resize(numIndices); in query_sm()
166 indices, in query_sm()
332 hidl_vec<ParamIndex> indices(1); in getParamReflector() local
333 indices[0] = static_cast<ParamIndex>(coreIndex.coreIndex()); in getParamReflector()
336 indices, in getParamReflector()

123456