Home
last modified time | relevance | path

Searched refs:m_indices (Results 1 – 25 of 28) 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()
57 internal::smart_copy(other.m_indices, other.m_indices + m_size, m_indices);
65 std::swap(m_indices, other.m_indices); in swap()
73 delete[] m_indices; in ~CompressedStorage()
106 m_indices[id] = internal::convert_index<StorageIndex>(i); in append()
115 const StorageIndex* indexPtr() const { return m_indices; } in indexPtr()
116 StorageIndex* indexPtr() { return m_indices; } in indexPtr()
121 … inline StorageIndex& index(Index i) { eigen_internal_assert(m_indices!=0); return m_indices[i]; } in index()
[all …]
DSparseCompressedBase.h140 : m_values(0), m_indices(0), m_outer(0), m_id(0), m_end(0)
144 …: m_values(other.m_values), m_indices(other.m_indices), m_outer(other.m_outer), m_id(other.m_id), …
150 m_indices = other.m_indices;
158 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
176 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_id(0), m_end(mat.nonZero…
182 … : m_values(data.valuePtr()), m_indices(data.indexPtr()), m_outer(0), m_id(0), m_end(data.size())
192 inline StorageIndex index() const { return m_indices[m_id]; }
201 const StorageIndex* m_indices;
218 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
236 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_start(0), m_id(mat.nonZe…
[all …]
/external/eigen/Eigen/src/Core/
DTranspositions.h172 : m_indices(other.indices()) {}
177 inline Transpositions(const Transpositions& other) : m_indices(other.indices()) {}
182 explicit inline Transpositions(const MatrixBase<Other>& indices) : m_indices(indices)
198 m_indices = other.m_indices;
205 inline Transpositions(Index size) : m_indices(size)
209 const IndicesType& indices() const { return m_indices; }
211 IndicesType& indices() { return m_indices; }
215 IndicesType m_indices;
242 : m_indices(indicesPtr)
246 : m_indices(indicesPtr,size)
[all …]
DPermutationMatrix.h326 explicit inline PermutationMatrix(Index size) : m_indices(size)
334 : m_indices(other.indices()) {}
339 inline PermutationMatrix(const PermutationMatrix& other) : m_indices(other.indices()) {}
350 explicit inline PermutationMatrix(const MatrixBase<Other>& indices) : m_indices(indices)
356 : m_indices(tr.size())
365 m_indices = other.indices();
382 m_indices = other.m_indices;
388 const IndicesType& indices() const { return m_indices; }
390 IndicesType& indices() { return m_indices; }
398 : m_indices(other.derived().nestedExpression().size())
[all …]
/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.cpp166 std::vector<deUint32> m_indices; member in vkt::pipeline::__anon1587ba190111::InputAssemblyInstance
959 , m_indices (indexBufferData) in InputAssemblyInstance()
1258 m_indices.size() * sizeof(deUint32), // VkDeviceSize size; in InputAssemblyInstance()
1290 … deMemcpy(m_indexBufferAlloc->getHostPtr(), m_indices.data(), m_indices.size() * sizeof(deUint32)); in InputAssemblyInstance()
1294 uploadIndexBufferData8((deUint8*)m_indexBufferAlloc->getHostPtr(), m_indices); in InputAssemblyInstance()
1298 uploadIndexBufferData16((deUint16*)m_indexBufferAlloc->getHostPtr(), m_indices); in InputAssemblyInstance()
1343 vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indices.size(), 1, 0, 0, 0); in InputAssemblyInstance()
1387 for (size_t indexNdx = 0; indexNdx < m_indices.size(); indexNdx++) in verifyImage()
1389 const bool isRestart = InputAssemblyTest::isRestartIndex(m_indexType, m_indices[indexNdx]); in verifyImage()
1392 indicesRange.push_back(m_indices[indexNdx]); in verifyImage()
[all …]
/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/eigen/unsupported/Eigen/src/SparseExtra/
DBlockSparseMatrix.h311 m_nonzerosblocks(0),m_values(0),m_blockPtr(0),m_indices(0),
324 m_values(0),m_blockPtr(0),m_indices(0),
346 std::copy(other.m_indices, other.m_indices+m_nonzerosblocks, m_indices);
360 std::swap(first.m_indices, second.m_indices);
378 delete[] m_indices;
455 while(bi > m_indices[m_outerIndex[bj]+idx]) ++idx; // Not expensive for ordered blocks
525 m_indices[offset] = nzBlockIdx[idx];
615 m_indices = new StorageIndex[m_nonzerosblocks+1];
696 m_indices[block_id(outer)] = inner;
816 while(offset < m_outerIndex[outer+1] && m_indices[offset] != inner)
[all …]
/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/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DSymmetry.h305 : m_tensor(tensor), m_symmetry(symmetry), m_indices(indices) { }
315 std::array<Index, NumIndices> m_indices;
320 …rnal::tensor_symmetry_calculate_flags<Tensor_>, int>(m_indices, m_symmetry.globalFlags(), m_indice…
326 …m_symmetry.template apply<internal::tensor_symmetry_assign_value<Tensor_>, int>(m_indices, 0, m_te…
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicGeometryShaderTests.cpp475 std::vector<deUint16> m_indices; member in vkt::geometry::__anon6cf80cda0111::BuiltinVariableRenderTestInstance
508 m_indices.resize(m_numDrawVertices); in genVertexAttribData()
509 m_indices[0] = 1; in genVertexAttribData()
510 m_indices[1] = 4; in genVertexAttribData()
511 m_indices[2] = 0xFFFF; // restart in genVertexAttribData()
512 m_indices[3] = 2; in genVertexAttribData()
513 m_indices[4] = 1; in genVertexAttribData()
524 const VkDeviceSize indexBufferSize = m_indices.size() * sizeof(deUint16); in createIndicesBuffer()
541 deMemcpy(m_allocation->getHostPtr(), &m_indices[0], (size_t)indexBufferSize); in createIndicesBuffer()
551 vk.cmdDrawIndexed(cmdBuffer, static_cast<deUint32>(m_indices.size()), 1, 0, 0, 0); in drawCommand()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h269 : m_input_xpr(input), m_kernel_xpr(kernel), m_indices(dims) {}
272 const Indices& indices() const { return m_indices; }
286 const Indices m_indices;
773 …rg(op.kernelExpression()), m_kernelImpl(op.kernelExpression(), device), m_indices(op.indices()), m…
864 const int numX = dimensions()[m_indices[0]];
873 if (m_indices[0] == single_stride_dim) {
903 const array<Index, 1> indices(m_indices[0]);
931 const int numX = dimensions()[m_indices[idxX]];
932 const int numY = dimensions()[m_indices[idxY]];
961 const array<Index, 2> indices(m_indices[idxX], m_indices[idxY]);
[all …]
DTensorContraction.h87 : m_lhs_xpr(lhs), m_rhs_xpr(rhs), m_indices(dims) {}
90 const Indices& indices() const { return m_indices; }
104 const Indices m_indices;
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp204 return &m_indices[0]; in getIndices()
230 vector<deUint16> m_indices; member in deqp::QuadGrid
275 m_indices.resize(3 * m_numTriangles); in QuadGrid()
286 m_indices[baseNdx + 0] = static_cast<deUint16>(v10); in QuadGrid()
287 m_indices[baseNdx + 1] = static_cast<deUint16>(v00); in QuadGrid()
288 m_indices[baseNdx + 2] = static_cast<deUint16>(v01); in QuadGrid()
290 m_indices[baseNdx + 3] = static_cast<deUint16>(v10); in QuadGrid()
291 m_indices[baseNdx + 4] = static_cast<deUint16>(v01); in QuadGrid()
292 m_indices[baseNdx + 5] = static_cast<deUint16>(v11); in QuadGrid()
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp199 const deUint16* getIndexPtr (void) const { return &m_indices[0]; } in getIndexPtr()
207 vector<deUint16> m_indices; member in deqp::gles2::Functional::__anon355e5a2a0111::PosTexCoordQuadGrid
237 m_indices.reserve(m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
254 m_indices.push_back(deUint16(firstNdx + 0)); in PosTexCoordQuadGrid()
255 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
256 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
258 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
259 m_indices.push_back(deUint16(firstNdx + 3)); in PosTexCoordQuadGrid()
260 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
267 DE_ASSERT((int)m_indices.size() == m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
/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()
585 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
587 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
689 deUint8* m_indices; member in deqp::gles3::Functional::MultiVertexArrayObjectTest
710 , m_indices (NULL) in MultiVertexArrayObjectTest()
839 m_indices = generateIndices(); in init()
848 delete[] m_indices; in deinit()
[all …]
Des3fVertexTextureTests.cpp248 const deUint16* getIndexPtr (void) const { return &m_indices[0]; } in getIndexPtr()
256 vector<deUint16> m_indices; member in deqp::gles3::Functional::__anonc63cd1cc0111::PosTexCoordQuadGrid
286 m_indices.reserve(m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
303 m_indices.push_back(deUint16(firstNdx + 0)); in PosTexCoordQuadGrid()
304 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
305 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
307 m_indices.push_back(deUint16(firstNdx + 1)); in PosTexCoordQuadGrid()
308 m_indices.push_back(deUint16(firstNdx + 3)); in PosTexCoordQuadGrid()
309 m_indices.push_back(deUint16(firstNdx + 2)); in PosTexCoordQuadGrid()
316 DE_ASSERT((int)m_indices.size() == m_gridSize*m_gridSize*3*2); in PosTexCoordQuadGrid()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp226 const std::vector<deUint32> m_indices; member in vkt::robustness::DrawIndexedAccessInstance
1079 , m_indices (indices) in DrawIndexedAccessInstance()
1087 for (deUint32 i = 0; i < m_indices.size(); i++) in initVertexIds()
1089 DE_ASSERT(m_indices[i] < indexCount); in initVertexIds()
1091 indicesPtr[m_indices[i]] = i; in initVertexIds()
1097 DE_ASSERT(vertexNum < (deUint32)m_indices.size()); in getIndex()
1099 return m_indices[vertexNum]; in getIndex()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp269 std::vector<I> m_indices; // Indices are stored natively. member in vk::RaytracedGeometry
293 , m_indices(indices) in RaytracedGeometry()
334 return static_cast<deUint32>(isTrianglesType() ? m_indices.size() : 0); in getIndexCount()
344 return reinterpret_cast<const deUint8*>(m_indices.data()); in getIndexPointer()
365 …return static_cast<deUint32>(isTrianglesType() ? (usesIndices() ? m_indices.size() / 3 : m_vertexC… in getPrimitiveCount()
418 m_indices.push_back(convertIndexTo<I>(index)); in addIndex()
/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
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp180 const deUint16* getIndices (void) const { return &m_indices[0]; } in getIndices()
203 std::vector<deUint16> m_indices; member in vkt::sr::QuadGrid
253 m_indices.resize(3 * m_numTriangles); in QuadGrid()
264 m_indices[baseNdx + 0] = (deUint16)v10; in QuadGrid()
265 m_indices[baseNdx + 1] = (deUint16)v00; in QuadGrid()
266 m_indices[baseNdx + 2] = (deUint16)v01; in QuadGrid()
268 m_indices[baseNdx + 3] = (deUint16)v10; in QuadGrid()
269 m_indices[baseNdx + 4] = (deUint16)v01; in QuadGrid()
270 m_indices[baseNdx + 5] = (deUint16)v11; in QuadGrid()

12