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()
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.h162 : m_values(0), m_indices(0), m_outer(0), m_id(0), m_end(0)
166 …: m_values(other.m_values), m_indices(other.m_indices), m_outer(other.m_outer), m_id(other.m_id), …
172 m_indices = other.m_indices;
180 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
198 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_id(0), m_end(mat.nonZero…
204 … : m_values(data.valuePtr()), m_indices(data.indexPtr()), m_outer(0), m_id(0), m_end(data.size())
222 inline StorageIndex index() const { return m_indices[m_id]; }
231 const StorageIndex* m_indices;
248 : m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(outer)
266 …: m_values(mat.valuePtr()), m_indices(mat.innerIndexPtr()), m_outer(0), m_start(0), m_id(mat.nonZe…
[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.cpp197 std::vector<deUint32> m_indices; member in vkt::pipeline::__anon336561370111::InputAssemblyInstance
1201 , m_indices (indexBufferData) in InputAssemblyInstance()
1441 m_indices.size() * sizeof(deUint32), // VkDeviceSize size; in InputAssemblyInstance()
1473 … deMemcpy(m_indexBufferAlloc->getHostPtr(), m_indices.data(), m_indices.size() * sizeof(deUint32)); in InputAssemblyInstance()
1477 uploadIndexBufferData8((deUint8*)m_indexBufferAlloc->getHostPtr(), m_indices); in InputAssemblyInstance()
1481 uploadIndexBufferData16((deUint16*)m_indexBufferAlloc->getHostPtr(), m_indices); in InputAssemblyInstance()
1526 vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indices.size(), 1, 0, 0, 0); in InputAssemblyInstance()
1571 for (size_t indexNdx = 0; indexNdx < m_indices.size(); indexNdx++) in verifyImage()
1573 const bool isRestart = InputAssemblyTest::isRestartIndex(m_indexType, m_indices[indexNdx]); in verifyImage()
1576 indicesRange.push_back(m_indices[indexNdx]); in verifyImage()
[all …]
/external/eigen/Eigen/src/Core/
DTranspositions.h169 : m_indices(other.indices()) {}
173 explicit inline Transpositions(const MatrixBase<Other>& indices) : m_indices(indices)
185 inline Transpositions(Index size) : m_indices(size)
190 const IndicesType& indices() const { return m_indices; }
193 IndicesType& indices() { return m_indices; }
197 IndicesType m_indices;
224 : m_indices(indicesPtr)
228 : m_indices(indicesPtr,size)
244 m_indices = other.m_indices;
251 const IndicesType& indices() const { return m_indices; }
[all …]
DPermutationMatrix.h315 explicit inline PermutationMatrix(Index size) : m_indices(size)
323 : m_indices(other.indices()) {}
333 explicit inline PermutationMatrix(const MatrixBase<Other>& indices) : m_indices(indices)
339 : m_indices(tr.size())
348 m_indices = other.indices();
360 const IndicesType& indices() const { return m_indices; }
362 IndicesType& indices() { return m_indices; }
370 : m_indices(other.derived().nestedExpression().size())
372 eigen_internal_assert(m_indices.size() <= NumTraits<StorageIndex>::highest());
373 StorageIndex end = StorageIndex(m_indices.size());
[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/Tensor/
DTensorConvolutionSycl.h312 m_indices(op.indices()),
392 const size_t numX = dimensions()[m_indices[0]];
402 const array<Index, 1> indices{{m_indices[0]}};
421 const size_t numX = dimensions()[m_indices[kernel_index[0]]];
422 const size_t numY = dimensions()[m_indices[kernel_index[1]]];
434 const array<Index, 2> indices{{m_indices[kernel_index[0]], m_indices[kernel_index[1]]}};
456 const size_t numX = dimensions()[m_indices[kernel_index[0]]];
457 const size_t numY = dimensions()[m_indices[kernel_index[1]]];
458 const size_t numZ = dimensions()[m_indices[kernel_index[2]]];
463 {m_indices[kernel_index[0]], m_indices[kernel_index[1]], m_indices[kernel_index[2]]}};
[all …]
DTensorConvolution.h271 : m_input_xpr(input), m_kernel_xpr(kernel), m_indices(dims) {}
274 const Indices& indices() const { return m_indices; }
288 const Indices m_indices;
801 …mpl(op.kernelExpression(), device), m_kernelArg(op.kernelExpression()), m_indices(op.indices()), m…
892 const int numX = dimensions()[m_indices[0]];
901 if (m_indices[0] == single_stride_dim) {
931 const array<Index, 1> indices(m_indices[0]);
959 const int numX = dimensions()[m_indices[idxX]];
960 const int numY = dimensions()[m_indices[idxY]];
989 const array<Index, 2> indices(m_indices[idxX], m_indices[idxY]);
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicGeometryShaderTests.cpp475 std::vector<deUint16> m_indices; member in vkt::geometry::__anonff8a12780111::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/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/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::__anon6cf31b880111::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::__anonfdd1932a0111::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.cpp249 const std::vector<deUint32> m_indices; member in vkt::robustness::DrawIndexedAccessInstance
1148 , m_indices (indices) in DrawIndexedAccessInstance()
1156 for (deUint32 i = 0; i < m_indices.size(); i++) in initVertexIds()
1158 DE_ASSERT(m_indices[i] < indexCount); in initVertexIds()
1160 indicesPtr[m_indices[i]] = i; in initVertexIds()
1166 DE_ASSERT(vertexNum < (deUint32)m_indices.size()); in getIndex()
1168 return m_indices[vertexNum]; in getIndex()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp278 std::vector<I> m_indices; // Indices are stored natively. member in vk::RaytracedGeometry
302 , m_indices(indices) in RaytracedGeometry()
343 return static_cast<deUint32>(isTrianglesType() ? m_indices.size() : 0); in getIndexCount()
353 return reinterpret_cast<const deUint8*>(m_indices.data()); in getIndexPointer()
374 …return static_cast<deUint32>(isTrianglesType() ? (usesIndices() ? m_indices.size() / 3 : m_vertexC… in getPrimitiveCount()
427 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