Home
last modified time | relevance | path

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

12345678910>>...13

/external/eigen/Eigen/src/Core/
DTranspositions.h65 indices() = other.indices();
75 indices() = other.indices();
81 inline Index size() const { return indices().size(); } in size()
84 inline const Index& coeff(Index i) const { return indices().coeff(i); } in coeff()
86 inline Index& coeffRef(Index i) { return indices().coeffRef(i); } in coeffRef()
88 inline const Index& operator()(Index i) const { return indices()(i); } in operator()
90 inline Index& operator()(Index i) { return indices()(i); } in operator()
92 inline const Index& operator[](Index i) const { return indices()(i); }
94 inline Index& operator[](Index i) { return indices()(i); }
97 const IndicesType& indices() const { return derived().indices(); } in indices() function
[all …]
DPermutationMatrix.h82 indices() = other.indices();
102 indices() = other.indices();
108 inline Index rows() const { return indices().size(); } in rows()
111 inline Index cols() const { return indices().size(); } in cols()
114 inline Index size() const { return indices().size(); } in size()
122 other.coeffRef(indices().coeff(i),i) = typename DenseDerived::Scalar(1); in evalTo()
136 const IndicesType& indices() const { return derived().indices(); } in indices() function
138 IndicesType& indices() { return derived().indices(); } in indices() function
144 indices().resize(size); in resize()
151 indices().coeffRef(i) = i; in setIdentity()
[all …]
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DTriStrip.java165 primGroupArray[0].indices = new int[numIndices]; in generateStrips()
174 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v0; in generateStrips()
175 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v1; in generateStrips()
176 primGroupArray[0].indices[indexCtr++] = tempStrips.at(i).m_faces.at(j).m_v2; in generateStrips()
186 primGroupArray[0].indices[indexCtr++] = tempFaces.at(i).m_v0; in generateStrips()
187 primGroupArray[0].indices[indexCtr++] = tempFaces.at(i).m_v1; in generateStrips()
188 primGroupArray[0].indices[indexCtr++] = tempFaces.at(i).m_v2; in generateStrips()
226 primGroupArray[stripCtr].indices = new int[stripLength]; in generateStrips()
231 primGroupArray[stripCtr].indices[indexCtr++] = stripIndices.get(i); in generateStrips()
244 primGroupArray[faceGroupLoc].indices = new int[tempFaces.size() * 3]; in generateStrips()
[all …]
DPrimitiveGroup.java45 public int[] indices; field in PrimitiveGroup
74 if (indices[i] == prev) { in getFullInfo()
79 prev = indices[i]; in getFullInfo()
99 if ( indices.length == numIndices ) in getTrimmedIndices()
100 return indices; in getTrimmedIndices()
102 System.arraycopy(indices,0,nind,0,numIndices); in getTrimmedIndices()
/external/icu4c/layout/
DCanonShaping.cpp15 void CanonShaping::sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, l… in sortMarks() argument
19 le_int32 v = indices[j]; in sortMarks()
23 if (c >= combiningClasses[indices[i]]) { in sortMarks()
27 indices[i + 1] = indices[i]; in sortMarks()
30 indices[i + 1] = v; in sortMarks()
40 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); in reorderMarks() local
46 indices[i] = i; in reorderMarks()
59 sortMarks(indices, combiningClasses, i, mark); in reorderMarks()
71 le_int32 index = indices[i]; in reorderMarks()
77 LE_DELETE_ARRAY(indices); in reorderMarks()
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DPose.java50 private int[] indices; field in Pose
55 public Pose(String name, int targetMeshIndex, Vector3f[] offsets, int[] indices){ in Pose() argument
59 this.indices = indices; in Pose()
74 for (int i = 0; i < indices.length; i++){ in apply()
76 int vertIndex = indices[i]; in apply()
98 result.indices = this.indices.clone(); in clone()
116 out.write(indices, "indices", null); in write()
124 indices = in.readIntArray("indices", null); in read()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DCurve.java99 short[] indices = new short[(spline.getControlPoints().size() - 1) * nbSubSegments * 2]; in createCatmullRomMesh() local
128 indices[i] = (short) k; in createCatmullRomMesh()
131 indices[i] = (short) k; in createCatmullRomMesh()
137 …this.setBuffer(VertexBuffer.Type.Index, 2, indices);//(spline.getControlPoints().size() - 1) * nbS… in createCatmullRomMesh()
179 short[] indices = new short[(centerPointsAmount - 1) * nbSubSegments << 1]; in createBezierMesh() local
182 indices[i++] = (short) k; in createBezierMesh()
184 indices[i++] = (short) k; in createBezierMesh()
189 this.setBuffer(VertexBuffer.Type.Index, 2, indices); in createBezierMesh()
218 short[] indices = new short[nbSubSegments << 1]; in createNurbMesh() local
220 indices[i++] = (short) j; in createNurbMesh()
[all …]
DSurface.java106 int[] indices = new int[uSegments * vSegments * 6]; in buildSurface() local
110 indices[arrayIndex++] = j + i * uVerticesAmount; in buildSurface()
111 indices[arrayIndex++] = j + i * uVerticesAmount + 1; in buildSurface()
112 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount; in buildSurface()
113 indices[arrayIndex++] = j + i * uVerticesAmount + 1; in buildSurface()
114 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount + 1; in buildSurface()
115 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount; in buildSurface()
121 for (int i = 0; i < indices.length; i += 3) { in buildSurface()
122 …Vector3f n = FastMath.computeNormal(vertices[indices[i]], vertices[indices[i + 1]], vertices[indic… in buildSurface()
123 …this.addNormal(n, normalMap, smooth, vertices[indices[i]], vertices[indices[i + 1]], vertices[indi… in buildSurface()
[all …]
/external/proguard/src/proguard/gui/
DListPanel.java228 protected void moveElementsAt(int[] indices, int offset) in moveElementsAt() argument
234 removeElementsAt(indices); in moveElementsAt()
237 for (int index = 0; index < indices.length; index++) in moveElementsAt()
239 indices[index] += offset; in moveElementsAt()
243 insertElementsAt(selectedElements, indices); in moveElementsAt()
247 protected void insertElementsAt(Object[] elements, int[] indices) in insertElementsAt() argument
251 listModel.insertElementAt(elements[index], indices[index]); in insertElementsAt()
255 list.setSelectedIndices(indices); in insertElementsAt()
268 protected void setElementsAt(Object[] elements, int[] indices) in setElementsAt() argument
272 listModel.setElementAt(elements[index], indices[index]); in setElementsAt()
[all …]
/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc726 std::vector<int> indices = GetIndicesForCommand(context_index); in IsContextMenuCommandEnabled() local
727 for (size_t i = 0; i < indices.size(); ++i) { in IsContextMenuCommandEnabled()
728 TabContentsWrapper* tab = GetTabContentsAt(indices[i]); in IsContextMenuCommandEnabled()
742 std::vector<int> indices = GetIndicesForCommand(context_index); in IsContextMenuCommandEnabled() local
743 for (size_t i = 0; i < indices.size(); ++i) { in IsContextMenuCommandEnabled()
744 if (delegate_->CanDuplicateContentsAt(indices[i])) in IsContextMenuCommandEnabled()
754 std::vector<int> indices = GetIndicesForCommand(context_index); in IsContextMenuCommandEnabled() local
755 for (size_t i = 0; i < indices.size(); ++i) { in IsContextMenuCommandEnabled()
756 if (!IsAppTab(indices[i])) in IsContextMenuCommandEnabled()
805 std::vector<int> indices = GetIndicesForCommand(context_index); in ExecuteContextMenuCommand() local
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp70 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) in computeRange() argument
72 *minIndex = indices[0]; in computeRange()
73 *maxIndex = indices[0]; in computeRange()
77 if (*minIndex > indices[i]) *minIndex = indices[i]; in computeRange()
78 if (*maxIndex < indices[i]) *maxIndex = indices[i]; in computeRange()
82 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxInd… in computeRange() argument
86 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); in computeRange()
90 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex); in computeRange()
94 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); in computeRange()
99 …prepareIndexData(GLenum type, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexD… in prepareIndexData() argument
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DLoopBlinnLocalTriangulator.cpp156 int indices[3] = { 0 }; in triangulateHelper() local
160 indices[index++] = k; in triangulateHelper()
161 addTriangle(&m_vertices[indices[0]], in triangulateHelper()
162 &m_vertices[indices[1]], in triangulateHelper()
163 &m_vertices[indices[2]]); in triangulateHelper()
172 int indices[3] = { 0 }; in triangulateHelper() local
176 indices[index++] = j; in triangulateHelper()
178 m_vertices[indices[0]].xyCoordinates(), in triangulateHelper()
179 m_vertices[indices[1]].xyCoordinates(), in triangulateHelper()
180 m_vertices[indices[2]].xyCoordinates())) { in triangulateHelper()
[all …]
/external/clang/utils/
DFindSpecRefs690 indices = secs
697 indices = map(int, secs)
698 return SpecIndex(indices, paragraph)
700 def __init__(self, indices, paragraph=None): argument
701 assert len(indices)>0
702 self.indices = tuple(indices)
706 s = '.'.join(map(str,self.indices))
712 return 'SpecIndex(%s, %s)'%(self.indices, self.paragraph)
715 return cmp((self.indices,self.paragraph),
716 (b.indices,b.paragraph))
[all …]
/external/skia/src/gpu/
DGrGpu.cpp262 static inline void fill_indices(uint16_t* indices, int quadCount) { in fill_indices() argument
264 indices[6 * i + 0] = 4 * i + 0; in fill_indices()
265 indices[6 * i + 1] = 4 * i + 1; in fill_indices()
266 indices[6 * i + 2] = 4 * i + 2; in fill_indices()
267 indices[6 * i + 3] = 4 * i + 0; in fill_indices()
268 indices[6 * i + 4] = 4 * i + 2; in fill_indices()
269 indices[6 * i + 5] = 4 * i + 3; in fill_indices()
279 uint16_t* indices = (uint16_t*)fQuadIndexBuffer->lock(); in getQuadIndexBuffer() local
280 if (NULL != indices) { in getQuadIndexBuffer()
281 fill_indices(indices, MAX_QUADS); in getQuadIndexBuffer()
[all …]
/external/eigen/test/eigen2/
Deigen2_prec_inverse_4x4.cpp33 Vector4i indices(0,1,2,3); in inverse_permutation_4x4() local
37 m(indices(0),0) = 1; in inverse_permutation_4x4()
38 m(indices(1),1) = 1; in inverse_permutation_4x4()
39 m(indices(2),2) = 1; in inverse_permutation_4x4()
40 m(indices(3),3) = 1; in inverse_permutation_4x4()
44 std::next_permutation(indices.data(),indices.data()+4); in inverse_permutation_4x4()
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
DEmitterMeshFaceShape.java38 int[] indices = new int[3]; in setMeshes() local
42 mesh.getTriangle(i, indices); in setMeshes()
43 vertices.add(vertexTable[indices[0]]); in setMeshes()
44 vertices.add(vertexTable[indices[1]]); in setMeshes()
45 vertices.add(vertexTable[indices[2]]); in setMeshes()
46 …normals.add(FastMath.computeNormal(vertexTable[indices[0]], vertexTable[indices[1]], vertexTable[i… in setMeshes()
/external/eigen/demos/opengl/
Dicosphere.cpp42 std::vector<int>& indices = *mIndices.back(); in IcoSphere() local
46 indices.push_back(tindices[i][k]); in IcoSphere()
54 const std::vector<int>& IcoSphere::indices(int level) const in indices() function in IcoSphere
65 const std::vector<int>& indices = *mIndices.back(); in _subdivide() local
68 int end = indices.size(); in _subdivide()
76 int e0 = indices[i+k]; in _subdivide()
77 int e1 = indices[i+k1]; in _subdivide()
/external/icu4c/test/letest/
Dcletest.c43 le_int32 *indices = NULL; in ParamTest() local
61 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
85 le_getCharIndices(engine, indices, &status); in ParamTest()
99 le_getCharIndicesWithBase(engine, indices, 1024, &status); in ParamTest()
120 DELETE_ARRAY(indices); in ParamTest()
216 le_int32 biasedIndices[6], indices[6], glyph; in AccessTest() local
237 le_getCharIndices(engine, indices, &status); in AccessTest()
252 if (biasedIndices[glyph] != (indices[glyph] + 1024)) { in AccessTest()
254 glyph, glyph, biasedIndices[glyph], indices[glyph]); in AccessTest()
304 if (actual->indices[i] != expected->indices[i]) { in compareResults()
[all …]
Dletest.cpp60 le_int32 *indices = NULL; in ParamTest() local
70 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
108 engine->getCharIndices(indices, status); in ParamTest()
122 engine->getCharIndices(indices, 1024, status); in ParamTest()
143 DELETE_ARRAY(indices); in ParamTest()
246 le_int32 biasedIndices[6], indices[6], glyph; in AccessTest() local
267 engine->getCharIndices(indices, status); in AccessTest()
296 if (biasedIndices[glyph] != (indices[glyph] + 1024)) { in AccessTest()
298 glyph, glyph, biasedIndices[glyph], indices[glyph]); in AccessTest()
348 if (actual->indices[i] != expected->indices[i]) { in compareResults()
[all …]
/external/skia/gm/
Dtechtalk1.cpp71 const uint16_t indices[], int count) { in show_mesh() argument
76 drawLine(canvas, pts[indices[i]], pts[indices[i+1]], paint); in show_mesh()
77 drawLine(canvas, pts[indices[i+1]], pts[indices[i+2]], paint); in show_mesh()
78 drawLine(canvas, pts[indices[i+2]], pts[indices[i]], paint); in show_mesh()
99 uint16_t indices[256*6]; in show_mesh_between() local
100 uint16_t* ndx = indices; in show_mesh_between()
107 show_mesh(canvas, pts0, indices, ndx - indices); in show_mesh_between()
171 const uint16_t indices[] = { in draw_rect() local
174 show_mesh(canvas, pts, indices, SK_ARRAY_COUNT(indices)); in draw_rect()
/external/skia/src/utils/
DSkNinePatch.cpp28 static int fillIndices(uint16_t indices[], int xCount, int yCount) { in fillIndices() argument
29 uint16_t* startIndices = indices; in fillIndices()
34 *indices++ = n; in fillIndices()
35 *indices++ = n + xCount + 2; in fillIndices()
36 *indices++ = n + 1; in fillIndices()
38 *indices++ = n; in fillIndices()
39 *indices++ = n + xCount + 1; in fillIndices()
40 *indices++ = n + xCount + 2; in fillIndices()
46 return indices - startIndices; in fillIndices()
195 uint16_t* indices = (uint16_t*)(texs + vCount); in DrawMesh() local
[all …]
/external/skia/legacy/src/utils/
DSkNinePatch.cpp28 static int fillIndices(uint16_t indices[], int xCount, int yCount) { in fillIndices() argument
29 uint16_t* startIndices = indices; in fillIndices()
34 *indices++ = n; in fillIndices()
35 *indices++ = n + xCount + 2; in fillIndices()
36 *indices++ = n + 1; in fillIndices()
38 *indices++ = n; in fillIndices()
39 *indices++ = n + xCount + 1; in fillIndices()
40 *indices++ = n + xCount + 2; in fillIndices()
46 return indices - startIndices; in fillIndices()
195 uint16_t* indices = (uint16_t*)(texs + vCount); in DrawMesh() local
[all …]
/external/ceres-solver/internal/ceres/
Dparameter_block_test.cc44 vector<int> indices; in TEST() local
45 indices.push_back(1); in TEST()
48 SubsetParameterization subset_wrong_size(4, indices); in TEST()
57 SubsetParameterization subset(3, indices); in TEST()
67 SubsetParameterization subset_different(3, indices); in TEST()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestCustomAnim.java83 ByteBuffer indices = ByteBuffer.allocate( box.getVertexCount() * 4 ); in simpleInitApp() local
85 indicesBuf.setupData(Usage.CpuOnly, 4, Format.UnsignedByte, indices); in simpleInitApp()
100 indices.array()[i+0] = 0; in simpleInitApp()
101 indices.array()[i+1] = 0; in simpleInitApp()
102 indices.array()[i+2] = 0; in simpleInitApp()
103 indices.array()[i+3] = 0; in simpleInitApp()
/external/opencv/otherlibs/highgui/
Dutils.h104 uchar* FillColorRow8( uchar* data, uchar* indices, int len, PaletteEntry* palette );
105 uchar* FillGrayRow8( uchar* data, uchar* indices, int len, uchar* palette );
106 uchar* FillColorRow4( uchar* data, uchar* indices, int len, PaletteEntry* palette );
107 uchar* FillGrayRow4( uchar* data, uchar* indices, int len, uchar* palette );
108 uchar* FillColorRow1( uchar* data, uchar* indices, int len, PaletteEntry* palette );
109 uchar* FillGrayRow1( uchar* data, uchar* indices, int len, uchar* palette );

12345678910>>...13