Home
last modified time | relevance | path

Searched refs:m_indices (Results 1 – 25 of 29) sorted by relevance

12

/external/eigen/Eigen/src/SparseCore/
DCompressedStorage.h36 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
40 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
46 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0) in CompressedStorage()
55 internal::smart_copy(other.m_indices, other.m_indices + m_size, m_indices);
62 std::swap(m_indices, other.m_indices); in swap()
70 delete[] m_indices; in ~CompressedStorage()
98 m_indices[id] = i; in append()
108 inline Index& index(size_t i) { return m_indices[i]; } in index()
109 inline const Index& index(size_t i) const { return m_indices[i]; } in index()
114 res.m_indices = indices; in Map()
[all …]
DSparseMatrix.h873 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer), m_id(mat.m_outerIndex[…
886 inline Index index() const { return m_indices[m_id]; }
895 const Index* m_indices;
906 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer), m_start(mat.m_outerInd…
919 inline Index index() const { return m_indices[m_id-1]; }
928 const Index* m_indices;
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineUniqueRandomIterator.hpp51 std::vector<deUint32> m_indices; member in vkt::pipeline::UniqueRandomIterator
65 m_indices = std::vector<deUint32>(numItems); in UniqueRandomIterator()
68 m_indices[itemNdx] = itemNdx; in UniqueRandomIterator()
79 m_indices = std::vector<deUint32>(uniqueIndices.begin(), uniqueIndices.end()); in UniqueRandomIterator()
83 rnd.shuffle(m_indices.begin(), m_indices.end()); in UniqueRandomIterator()
91 return m_currentIndex < m_indices.size(); in hasNext()
97 DE_ASSERT(m_currentIndex < m_indices.size()); in next()
99 return getIndexedValue(m_indices[m_currentIndex++]); in next()
DvktPipelineInputAssemblyTests.cpp159 std::vector<deUint32> m_indices; member in vkt::pipeline::__anon7a45f23e0111::InputAssemblyInstance
918 , m_indices (indexBufferData) in InputAssemblyInstance()
1293 m_indices.size() * sizeof(deUint32), // VkDeviceSize size; in InputAssemblyInstance()
1325 … deMemcpy(m_indexBufferAlloc->getHostPtr(), m_indices.data(), m_indices.size() * sizeof(deUint32)); in InputAssemblyInstance()
1329 uploadIndexBufferData16((deUint16*)m_indexBufferAlloc->getHostPtr(), m_indices); in InputAssemblyInstance()
1430 vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indices.size(), 1, 0, 0, 0); in InputAssemblyInstance()
1500 for (size_t indexNdx = 0; indexNdx < m_indices.size(); indexNdx++) in verifyImage()
1502 const bool isRestart = InputAssemblyTest::isRestartIndex(m_indexType, m_indices[indexNdx]); in verifyImage()
1505 indicesRange.push_back(m_indices[indexNdx]); in verifyImage()
1507 if (isRestart || indexNdx == (m_indices.size() - 1)) in verifyImage()
[all …]
/external/eigen/Eigen/src/Core/
DTranspositions.h170 : m_indices(other.indices()) {}
175 inline Transpositions(const Transpositions& other) : m_indices(other.indices()) {}
180 explicit inline Transpositions(const MatrixBase<Other>& a_indices) : m_indices(a_indices)
196 m_indices = other.m_indices;
203 inline Transpositions(Index size) : m_indices(size)
207 const IndicesType& indices() const { return m_indices; }
209 IndicesType& indices() { return m_indices; }
213 IndicesType m_indices;
238 : m_indices(indicesPtr)
242 : m_indices(indicesPtr,size)
[all …]
DPermutationMatrix.h327 inline PermutationMatrix(int size) : m_indices(size)
333 : m_indices(other.indices()) {}
338 inline PermutationMatrix(const PermutationMatrix& other) : m_indices(other.indices()) {}
349 explicit inline PermutationMatrix(const MatrixBase<Other>& a_indices) : m_indices(a_indices)
355 : m_indices(tr.size())
364 m_indices = other.indices();
381 m_indices = other.m_indices;
387 const IndicesType& indices() const { return m_indices; }
389 IndicesType& indices() { return m_indices; }
397 : m_indices(other.nestedPermutation().size())
[all …]
/external/opencv3/modules/flann/include/opencv2/
Dflann.hpp274 ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); in knnSearch()
279 nnIndex->knnSearch(m_query,m_indices,m_dists,knn,searchParams); in knnSearch()
292 ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); in knnSearch()
300 nnIndex->knnSearch(m_queries,m_indices,m_dists,knn, searchParams); in knnSearch()
307 ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); in radiusSearch()
312 return nnIndex->radiusSearch(m_query,m_indices,m_dists,radius,searchParams); in radiusSearch()
324 ::cvflann::Matrix<int> m_indices((int*)indices.ptr<int>(0), indices.rows, indices.cols); in radiusSearch()
332 return nnIndex->radiusSearch(m_query,m_indices,m_dists,radius,searchParams); in radiusSearch()
441 ::cvflann::Matrix<int> m_indices(&indices[0], 1, indices.size()); in knnSearch()
444 if (nnIndex_L1) nnIndex_L1->knnSearch(m_query,m_indices,m_dists,knn,searchParams); in knnSearch()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtConvexPolyhedron.cpp111 int numVertices = m_faces[i].m_indices.size(); in initialize()
116 btInternalVertexPair vp(m_faces[i].m_indices[j],m_faces[i].m_indices[k]); in initialize()
156 int numVertices = m_faces[i].m_indices.size(); in initialize()
162 btInternalVertexPair vp(m_faces[i].m_indices[j],m_faces[i].m_indices[k]); in initialize()
176 int numVertices = m_faces[i].m_indices.size(); in initialize()
179 const btVector3& p0 = m_vertices[m_faces[i].m_indices[0]]; in initialize()
183 const btVector3& p1 = m_vertices[m_faces[i].m_indices[j]]; in initialize()
184 const btVector3& p2 = m_vertices[m_faces[i].m_indices[k]]; in initialize()
DbtPolyhedralConvexShape.cpp124 tmpFaces[i].m_indices.push_back(src); in initializePolyhedralFeatures()
156 for (int v=0;v<tmpFaces[i].m_indices.size();v++) in initializePolyhedralFeatures()
158 btScalar eq = m_polyhedron->m_vertices[tmpFaces[i].m_indices[v]].dot(faceNormals[i]); in initializePolyhedralFeatures()
212 for (int f=0;f<face.m_indices.size();f++) in initializePolyhedralFeatures()
214 int orgIndex = face.m_indices[f]; in initializePolyhedralFeatures()
246 combinedFace.m_indices.push_back(hull[i].m_orgIndex); in initializePolyhedralFeatures()
280 for(int v = 0; v < face.m_indices.size(); v++) { in initializePolyhedralFeatures()
281 if(face.m_indices[v] == orgpoints[i].m_orgIndex) { in initializePolyhedralFeatures()
DbtShapeHull.cpp28 m_indices.clear(); in btShapeHull()
34 m_indices.clear(); in ~btShapeHull()
90 m_indices.resize(static_cast<int>(m_numIndices)); in buildHull()
93 m_indices[i] = hr.m_Indices[i]; in buildHull()
DbtShapeHull.h33 btAlignedObjectArray<unsigned int> m_indices; in ATTRIBUTE_ALIGNED16() local
57 return &m_indices[0]; in ATTRIBUTE_ALIGNED16()
DbtConvexPolyhedron.h31 btAlignedObjectArray<int> m_indices; member
/external/testng/src/main/java/org/testng/internal/
DTarjan.java18 Map<T, Integer> m_indices = Maps.newHashMap(); field in Tarjan
28 m_indices.put(v, m_index); in run()
34 if (! m_indices.containsKey(vprime)) { in run()
40 m_lowlinks.put(v, Math.min(m_lowlinks.get(v), m_indices.get(vprime))); in run()
44 if (Objects.equals(m_lowlinks.get(v), m_indices.get(v))) { in run()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp207 m_indices.resize(numIndices); in init()
213 m_indices[quadNdx*6+0] = (deUint16)(quadX + quadY*(m_gridWidth+1)); in init()
214 m_indices[quadNdx*6+1] = (deUint16)(quadX + (quadY+1)*(m_gridWidth+1)); in init()
215 m_indices[quadNdx*6+2] = (deUint16)(quadX + quadY*(m_gridWidth+1) + 1); in init()
216 m_indices[quadNdx*6+3] = (deUint16)(m_indices[quadNdx*6+2]); in init()
217 m_indices[quadNdx*6+4] = (deUint16)(m_indices[quadNdx*6+1]); in init()
218 m_indices[quadNdx*6+5] = (deUint16)(quadX + (quadY+1)*(m_gridWidth+1) + 1); in init()
365 m_indices.clear(); in deinit()
546 glDrawElements(GL_TRIANGLES, (GLsizei)m_indices.size(), GL_UNSIGNED_SHORT, &m_indices[0]); in iterate()
DglsShaderRenderCase.cpp152 const deUint16* getIndices (void) const { return &m_indices[0]; } in getIndices()
174 vector<deUint16> m_indices; member in deqp::gls::QuadGrid
218 m_indices.resize(3 * m_numTriangles); in QuadGrid()
229 m_indices[baseNdx + 0] = (deUint16)v10; in QuadGrid()
230 m_indices[baseNdx + 1] = (deUint16)v00; in QuadGrid()
231 m_indices[baseNdx + 2] = (deUint16)v01; in QuadGrid()
233 m_indices[baseNdx + 3] = (deUint16)v10; in QuadGrid()
234 m_indices[baseNdx + 4] = (deUint16)v01; in QuadGrid()
235 m_indices[baseNdx + 5] = (deUint16)v11; in QuadGrid()
DglsRandomShaderCase.hpp108 std::vector<deUint16> m_indices; member in deqp::gls::RandomShaderCase
DglsStateChangePerfTestCases.hpp102 std::vector<deUint16> m_indices; member in deqp::gls::StateChangePerformanceCase
DglsStateChangePerfTestCases.cpp229 genIndices(m_indices, m_triangleCount); in init()
481 m_indices.clear(); in deinit()
633 …R_PTR: gl.drawElements(GL_TRIANGLES, m_triangleCount * 3, GL_UNSIGNED_SHORT, &m_indices[0]); break; in callDraw()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DVerticalStack.java48 int[] m_indices = new int[e_rowCount * e_columnCount]; field in VerticalStack
81 m_indices[n] = n; in createWorld()
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp196 const deUint16* getIndexPtr (void) const { return &m_indices[0]; } in getIndexPtr()
204 vector<deUint16> m_indices; member in deqp::gles2::Functional::__anon93d882af0111::PosTexCoordQuadGrid
234 m_indices.reserve(m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
251 m_indices.push_back(deUint16(firstNdx + 0)); in PosTexCoordQuadGrid()
252 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
253 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
255 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
256 m_indices.push_back(deUint16(firstNdx + 3)); in PosTexCoordQuadGrid()
257 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
264 DE_ASSERT((int)m_indices.size() == m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/
DbtPolyhedralContactClipping.cpp443 int numVerticesA = polyA.m_indices.size(); in clipFaceAgainstHull()
446 const btVector3& a = hullA.m_vertices[polyA.m_indices[e0]]; in clipFaceAgainstHull()
447 const btVector3& b = hullA.m_vertices[polyA.m_indices[(e0+1)%numVerticesA]]; in clipFaceAgainstHull()
558 const int numVertices = polyB.m_indices.size(); in clipHullAgainstHull()
561 const btVector3& b = hullB.m_vertices[polyB.m_indices[e0]]; in clipHullAgainstHull()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp162 deUint8* m_indices; member in deqp::gles3::Functional::VertexArrayObjectTest
184 , m_indices (NULL) in VertexArrayObjectTest()
255 m_indices = generateIndices(); in init()
264 delete[] m_indices; in deinit()
577 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
579 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
681 deUint8* m_indices; member in deqp::gles3::Functional::MultiVertexArrayObjectTest
702 , m_indices (NULL) in MultiVertexArrayObjectTest()
831 m_indices = generateIndices(); in init()
840 delete[] m_indices; in deinit()
[all …]
Des3fVertexTextureTests.cpp246 const deUint16* getIndexPtr (void) const { return &m_indices[0]; } in getIndexPtr()
254 vector<deUint16> m_indices; member in deqp::gles3::Functional::__anon24b6fa510111::PosTexCoordQuadGrid
284 m_indices.reserve(m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
301 m_indices.push_back(deUint16(firstNdx + 0)); in PosTexCoordQuadGrid()
302 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
303 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
305 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
306 m_indices.push_back(deUint16(firstNdx + 3)); in PosTexCoordQuadGrid()
307 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
314 DE_ASSERT((int)m_indices.size() == m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp140 const deUint16* getIndices (void) const { return &m_indices[0]; } in getIndices()
163 std::vector<deUint16> m_indices; member in vkt::sr::QuadGrid
213 m_indices.resize(3 * m_numTriangles); in QuadGrid()
224 m_indices[baseNdx + 0] = (deUint16)v10; in QuadGrid()
225 m_indices[baseNdx + 1] = (deUint16)v00; in QuadGrid()
226 m_indices[baseNdx + 2] = (deUint16)v01; in QuadGrid()
228 m_indices[baseNdx + 3] = (deUint16)v10; in QuadGrid()
229 m_indices[baseNdx + 4] = (deUint16)v01; in QuadGrid()
230 m_indices[baseNdx + 5] = (deUint16)v11; in QuadGrid()
/external/deqp/framework/referencerenderer/
DrrRenderer.hpp104 …const void* const m_indices; // !< if indices is NULL, indices is interpreted as [first (== bas… member in rr::PrimitiveList

12