Home
last modified time | relevance | path

Searched refs:indexArray (Results 1 – 16 of 16) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPropsVectors.java379 Integer[] indexArray = new Integer[rows]; in compact() local
381 indexArray[i] = Integer.valueOf(columns * i); in compact()
384 Arrays.sort(indexArray, new Comparator<Integer>() { in compact()
414 int start = v[indexArray[i].intValue()]; in compact()
418 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact()
419 indexArray[i-1].intValue() + 2, valueColumns)) { in compact()
448 int start = v[indexArray[i].intValue()]; in compact()
449 int limit = v[indexArray[i].intValue() + 1]; in compact()
453 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact()
456 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPropsVectors.java377 Integer[] indexArray = new Integer[rows]; in compact() local
379 indexArray[i] = Integer.valueOf(columns * i); in compact()
382 Arrays.sort(indexArray, new Comparator<Integer>() { in compact()
412 int start = v[indexArray[i].intValue()]; in compact()
416 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact()
417 indexArray[i-1].intValue() + 2, valueColumns)) { in compact()
446 int start = v[indexArray[i].intValue()]; in compact()
447 int limit = v[indexArray[i].intValue() + 1]; in compact()
451 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact()
454 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCompactByteArray.java89 public CompactByteArray(char indexArray[], in CompactByteArray() argument
93 if (indexArray.length != INDEXCOUNT) in CompactByteArray()
96 char index = indexArray[i]; in CompactByteArray()
100 indices = indexArray; in CompactByteArray()
117 public CompactByteArray(String indexArray, in CompactByteArray() argument
120 this( Utility.RLEStringToCharArray(indexArray), in CompactByteArray()
DCompactCharArray.java90 public CompactCharArray(char indexArray[], in CompactCharArray() argument
94 if (indexArray.length != INDEXCOUNT) in CompactCharArray()
97 char index = indexArray[i]; in CompactCharArray()
101 indices = indexArray; in CompactCharArray()
118 public CompactCharArray(String indexArray, in CompactCharArray() argument
121 this( Utility.RLEStringToCharArray(indexArray), in CompactCharArray()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCompactByteArray.java91 public CompactByteArray(char indexArray[], in CompactByteArray() argument
95 if (indexArray.length != INDEXCOUNT) in CompactByteArray()
98 char index = indexArray[i]; in CompactByteArray()
102 indices = indexArray; in CompactByteArray()
119 public CompactByteArray(String indexArray, in CompactByteArray() argument
122 this( Utility.RLEStringToCharArray(indexArray), in CompactByteArray()
DCompactCharArray.java92 public CompactCharArray(char indexArray[], in CompactCharArray() argument
96 if (indexArray.length != INDEXCOUNT) in CompactCharArray()
99 char index = indexArray[i]; in CompactCharArray()
103 indices = indexArray; in CompactCharArray()
120 public CompactCharArray(String indexArray, in CompactCharArray() argument
123 this( Utility.RLEStringToCharArray(indexArray), in CompactCharArray()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCollisionWorldImporter.cpp667 int* indexArray = (int*)btAlignedAlloc(sizeof(int)*3*meshPart.m_numTriangles,16); in createMeshInterface() local
668 m_indexArrays.push_back(indexArray); in createMeshInterface()
671 indexArray[j] = meshData.m_meshPartsPtr[i].m_indices32[j].m_value; in createMeshInterface()
673 meshPart.m_triangleIndexBase = (const unsigned char*)indexArray; in createMeshInterface()
681 …short int* indexArray = (short int*)btAlignedAlloc(sizeof(short int)*3*meshPart.m_numTriangles,16); in createMeshInterface() local
682 m_shortIndexArrays.push_back(indexArray); in createMeshInterface()
686 indexArray[3*j] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[0]; in createMeshInterface()
687 indexArray[3*j+1] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[1]; in createMeshInterface()
688 indexArray[3*j+2] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[2]; in createMeshInterface()
691 meshPart.m_triangleIndexBase = (const unsigned char*)indexArray; in createMeshInterface()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_arrays.c201 range.indexArray.surfaceId = SVGA3D_INVALID_ID; in simple_draw_arrays()
202 range.indexArray.offset = 0; in simple_draw_arrays()
203 range.indexArray.stride = 0; in simple_draw_arrays()
Dsvga_draw.c264 &prim[i].indexArray.surfaceId, in svga_hwtnl_flush()
382 assert(range->indexWidth == range->indexArray.stride); in svga_hwtnl_prim()
386 unsigned offset = range->indexArray.offset; in svga_hwtnl_prim()
387 unsigned stride = range->indexArray.stride; in svga_hwtnl_prim()
Dsvga_draw_elements.c145 range.indexArray.offset = index_offset; in svga_hwtnl_simple_draw_range_elements()
146 range.indexArray.stride = index_size; in svga_hwtnl_simple_draw_range_elements()
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtWorldImporter.cpp1433 int* indexArray = (int*)btAlignedAlloc(sizeof(int)*3*meshPart.m_numTriangles,16); in createMeshInterface() local
1434 m_indexArrays.push_back(indexArray); in createMeshInterface()
1437 indexArray[j] = meshData.m_meshPartsPtr[i].m_indices32[j].m_value; in createMeshInterface()
1439 meshPart.m_triangleIndexBase = (const unsigned char*)indexArray; in createMeshInterface()
1447 …short int* indexArray = (short int*)btAlignedAlloc(sizeof(short int)*3*meshPart.m_numTriangles,16); in createMeshInterface() local
1448 m_shortIndexArrays.push_back(indexArray); in createMeshInterface()
1452 indexArray[3*j] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[0]; in createMeshInterface()
1453 indexArray[3*j+1] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[1]; in createMeshInterface()
1454 indexArray[3*j+2] = meshData.m_meshPartsPtr[i].m_3indices16[j].m_values[2]; in createMeshInterface()
1457 meshPart.m_triangleIndexBase = (const unsigned char*)indexArray; in createMeshInterface()
[all …]
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js372 indexArray = [ ];
401 currentGroup = [indexArray.length, 0];
488 indexArray.push(facemap[array[i]]);
507 obj.numIndices = indexArray.length;
510 …obj.ctx.bufferData(obj.ctx.ELEMENT_ARRAY_BUFFER, new Uint16Array(indexArray), obj.ctx.STREAM_DRAW);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DVBOWithVAOPerformanceTest.java106 short[] indexArray = new short[maxIndices]; in create() local
108 indexArray[i] = i; in create()
112 newVBOWithVAOMesh.setIndices(indexArray); in create()
115 oldVBOWithVAOMesh.setIndices(indexArray); in create()
/external/deqp/modules/glshared/
DglsDrawTest.cpp1846 …nt indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray);
1925 …int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray) in render() argument
1943 if (indexArray) in render()
1944 indexArray->bindIndexArray(DrawTestSpec::TARGET_ELEMENT_ARRAY); in render()
3339 …const char* indexArray = RandomArrayGenerator::generateIndices(seed, (int)elementCount, spec.in… in iterate() local
3340 …const char* indexPointerBase = (spec.indexStorage == DrawTestSpec::STORAGE_USER) ? (indexArray) :… in iterate()
3348 …glArray->data(DrawTestSpec::TARGET_ELEMENT_ARRAY, indexArraySize, indexArray, DrawTestSpec::USAGE_… in iterate()
3349 …rrArray->data(DrawTestSpec::TARGET_ELEMENT_ARRAY, indexArraySize, indexArray, DrawTestSpec::USAGE_… in iterate()
3354 delete [] indexArray; in iterate()
3355 indexArray = NULL; in iterate()
[all …]
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1061 _debug_printf("\t\t.indexArray.surfaceId = %u\n", (*cmd).indexArray.surfaceId); in dump_SVGA3dPrimitiveRange()
1062 _debug_printf("\t\t.indexArray.offset = %u\n", (*cmd).indexArray.offset); in dump_SVGA3dPrimitiveRange()
1063 _debug_printf("\t\t.indexArray.stride = %u\n", (*cmd).indexArray.stride); in dump_SVGA3dPrimitiveRange()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_reg.h1509 SVGA3dArray indexArray; member