Searched refs:firstIndex (Results 1 - 25 of 94) sorted by relevance

1234

/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/
H A DAbbreviator.java45 int firstIndex = filename.indexOf(folderSeparator, invariantPrefixLength);
46 if (firstIndex == -1) {
51 buf.append(filename.substring(0, firstIndex + 1));
53 int nextIndex = computeNextIndex(filename, firstIndex);
70 int computeNextIndex(String filename, int firstIndex) { argument
71 int nextIndex = firstIndex + 1;
74 while (nextIndex < firstIndex + minToRemove) {
/external/proguard/src/proguard/classfile/util/
H A DInternalTypeEnumeration.java37 private int firstIndex; field in class:InternalTypeEnumeration
48 this.firstIndex = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_OPEN);
50 this.index = firstIndex + 1;
64 return firstIndex >= 0;
74 return descriptor.substring(0, firstIndex);
192 if (enumeration.firstIndex >= 0)
/external/eigen/bench/btl/libs/blitz/
H A Dblitz_interface.hh87 firstIndex i;
95 firstIndex i;
103 firstIndex i;
111 firstIndex i;
118 firstIndex i;
125 firstIndex i;
H A Dblitz_LU_solve_interface.hh156 firstIndex indI ;
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListRemoveTester.java43 int firstIndex = getList().indexOf(duplicate);
51 firstIndex == getList().indexOf(duplicate));
/external/skia/src/core/
H A DSkTDynamicHash.h91 int index = this->firstIndex(key);
145 int index = this->firstIndex(key);
209 int index = this->firstIndex(key);
227 const int firstIndex = this->firstIndex(key); local
228 int index = firstIndex;
270 int firstIndex(const Key& key) const { function in class:SkTDynamicHash
/external/skqp/src/core/
H A DSkTDynamicHash.h91 int index = this->firstIndex(key);
145 int index = this->firstIndex(key);
209 int index = this->firstIndex(key);
227 const int firstIndex = this->firstIndex(key); local
228 int index = firstIndex;
270 int firstIndex(const Key& key) const { function in class:SkTDynamicHash
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
H A DSetValuesTest.java113 int firstIndex, int length) {
119 packet.setNextValueAsInt(firstIndex);
133 packet.setNextValueAsInt(firstIndex);
112 checkArrayRegion(ArrayRegion valuesRegion, long arrayID, int firstIndex, int length) argument
H A DGetValuesTest.java149 + "; firstIndex = 0; length = " + length);
157 + "; firstIndex = 1; length = " + (length-1));
164 + "; firstIndex = 0; length = " + (length-1));
171 + "; firstIndex = " + (length-1) + " length = 1");
178 private void checkArrayRegion(long arrayID, int error, int firstIndex, int length, argument
185 packet.setNextValueAsInt(firstIndex);
220 value.getIntValue(), i + firstIndex);
226 Integer.parseInt(s), i + firstIndex);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorFixedSize.h70 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& coeff(Index firstIndex, IndexTypes... otherIndices) const argument
74 return coeff(array<Index, NumIndices>{{firstIndex, otherIndices...}});
102 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(Index firstIndex, IndexTypes... otherIndices) argument
106 return coeffRef(array<Index, NumIndices>{{firstIndex, otherIndices...}});
133 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& operator()(Index firstIndex, IndexTypes... otherIndices) const argument
137 return this->operator()(array<Index, NumIndices>{{firstIndex, otherIndices...}});
218 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& operator()(Index firstIndex, IndexTypes... otherIndices) argument
222 return operator()(array<Index, NumIndices>{{firstIndex, otherIndices...}});
H A DTensorReduction.h131 static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::CoeffReturnType* accum) { argument
134 const typename Self::Index input = firstIndex + j * self.m_reducedStrides[DimIndex];
141 static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::CoeffReturnType* accum) { argument
143 const typename Self::Index input = firstIndex + j * self.m_reducedStrides[0];
157 static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& self, typename Self::Index firstIndex, typename Self::Index numValuesToReduce, Op& reducer) { argument
160 reducer.reduce(self.m_impl.coeff(firstIndex + j), &accum);
168 static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType reduce(const Self& self, typename Self::Index firstIndex, typename Self::Index numValuesToReduce, Op& reducer) { argument
173 reducer.reducePacket(self.m_impl.template packet<Unaligned>(firstIndex + j), &p);
177 reducer.reduce(self.m_impl.coeff(firstIndex + j), &accum);
192 static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const Self& self, typename Self::Index firstIndex, O argument
203 reduce(const Self& self, typename Self::Index firstIndex, Op& reducer, typename Self::PacketReturnType* accum) argument
234 run(const Self& self, typename Self::Index firstIndex, typename Self::Index numValuesToReduce, Op& reducer, typename Self::CoeffReturnType* output) argument
624 const Index firstIndex = firstInput(index); local
631 const Index firstIndex = firstInput(index); local
[all...]
H A DTensorMap.h150 EIGEN_STRONG_INLINE const Scalar& operator()(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) const argument
154 const Index index = m_dimensions.IndexOfRowMajor(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
157 const Index index = m_dimensions.IndexOfColMajor(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
237 EIGEN_STRONG_INLINE Scalar& operator()(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) argument
242 const Index index = m_dimensions.IndexOfRowMajor(array<Index, NumDims>{{firstIndex, secondIndex, otherIndices...}});
245 const Index index = m_dimensions.IndexOfColMajor(array<Index, NumDims>{{firstIndex, secondIndex, otherIndices...}});
H A DTensor.h115 EIGEN_DEVICE_FUNC inline const Scalar& coeff(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) const argument
119 return coeff(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
155 inline Scalar& coeffRef(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) argument
159 return coeffRef(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
195 inline const Scalar& operator()(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) const argument
199 return this->operator()(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
262 inline Scalar& operator()(Index firstIndex, Index secondIndex, IndexTypes... otherIndices) argument
266 return operator()(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cIndirectParametersTests.hpp54 GLuint firstIndex; member in struct:gl4cts::__anon4139
H A Dgl4cShaderDrawParametersTests.hpp53 GLuint firstIndex; member in struct:gl4cts::__anon4143
/external/skqp/src/gpu/ccpr/
H A DGrCCPathParser.cpp209 SkTArray<int32_t, true>& indices, int firstIndex,
218 out++->set(pts[indices[firstIndex]], pts[indices[firstIndex + oneThirdCount]],
219 pts[indices[firstIndex + twoThirdsCount]], atlasOffset);
221 out = emit_recursive_fan(pts, indices, firstIndex, oneThirdCount + 1, atlasOffset, out);
222 out = emit_recursive_fan(pts, indices, firstIndex + oneThirdCount,
225 int endIndex = firstIndex + indexCount;
227 indices[endIndex] = indices[firstIndex];
228 out = emit_recursive_fan(pts, indices, firstIndex + twoThirdsCount,
208 emit_recursive_fan(const SkTArray<SkPoint, true>& pts, SkTArray<int32_t, true>& indices, int firstIndex, int indexCount, const Sk2f& atlasOffset, TriangleInstance out[]) argument
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp84 uint16_t firstIndex,
109 idxs[i] = tess.index(i) + firstIndex;
225 int firstIndex; local
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
80 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t firstIndex, uint16_t* idxs, bool tweakAlphaForCoverage) argument
H A DGrAAConvexPathRenderer.cpp819 int firstIndex; local
821 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
831 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1);
904 int firstIndex; variable
906 uint16_t *idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
919 mesh.setIndexed(indexBuffer, draw.fIndexCnt, firstIndex, 0, draw.fVertexCnt - 1);
922 firstIndex += draw.fIndexCnt;
H A DGrDrawVerticesOp.cpp164 int firstIndex = 0; local
168 indices = target->makeIndexSpace(fIndexCount, &indexBuffer, &firstIndex);
247 mesh.setIndexed(indexBuffer, fIndexCount, firstIndex, 0, fVertexCount - 1);
/external/skqp/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp84 uint16_t firstIndex,
109 idxs[i] = tess.index(i) + firstIndex;
225 int firstIndex; local
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
80 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t firstIndex, uint16_t* idxs, bool tweakAlphaForCoverage) argument
H A DGrAAConvexPathRenderer.cpp819 int firstIndex; local
821 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
831 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1);
904 int firstIndex; variable
906 uint16_t *idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
919 mesh.setIndexed(indexBuffer, draw.fIndexCnt, firstIndex, 0, draw.fVertexCnt - 1);
922 firstIndex += draw.fIndexCnt;
H A DGrDrawVerticesOp.cpp164 int firstIndex = 0; local
168 indices = target->makeIndexSpace(fIndexCount, &indexBuffer, &firstIndex);
247 mesh.setIndexed(indexBuffer, fIndexCount, firstIndex, 0, fVertexCount - 1);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktBasicDrawTests.cpp151 params.firstIndex = firstIdx;
191 cmd.firstIndex = firstIdx;
716 de::Random rnd (SEED ^ m_data.params.firstIndex ^ m_data.params.indexCount);
717 const deUint32 indexSize = m_data.params.firstIndex + m_data.params.indexCount;
723 // Fill the indexes from firstIndex
729 m_data.indexes[m_data.params.firstIndex + idx] = vertexIdx;
736 for (std::vector<deUint32>::const_iterator indexIt = m_data.indexes.begin() + m_data.params.firstIndex; indexIt != m_data.indexes.end(); ++indexIt)
795 m_vk.cmdDrawIndexed(*m_cmdBuffer, m_data.params.indexCount, m_data.params.instanceCount, m_data.params.firstIndex, m_data.params.vertexOffset, m_data.params.firstInstance);
820 for (std::vector<deUint32>::const_iterator it = m_data.indexes.begin() + m_data.params.firstIndex; it != m_data.indexes.end(); ++it)
991 de::Random rnd (SEED ^ m_data.commands[0].firstIndex
1243 deUint32 firstIndex = rnd.getInt(0, OFFSET_LIMIT); local
1265 deUint32 firstIndex = rnd.getInt(vertexCount, OFFSET_LIMIT); local
[all...]
/external/skia/src/gpu/ccpr/
H A DGrCCPathParser.cpp300 SkTArray<int32_t, true>& indices, int firstIndex,
309 out++->set(pts[indices[firstIndex]], pts[indices[firstIndex + oneThirdCount]],
310 pts[indices[firstIndex + twoThirdsCount]], atlasOffset);
312 out = emit_recursive_fan(pts, indices, firstIndex, oneThirdCount + 1, atlasOffset, out);
313 out = emit_recursive_fan(pts, indices, firstIndex + oneThirdCount,
316 int endIndex = firstIndex + indexCount;
318 indices[endIndex] = indices[firstIndex];
319 out = emit_recursive_fan(pts, indices, firstIndex + twoThirdsCount,
299 emit_recursive_fan(const SkTArray<SkPoint, true>& pts, SkTArray<int32_t, true>& indices, int firstIndex, int indexCount, const Sk2f& atlasOffset, TriPointInstance out[]) argument
/external/lzma/CPP/Windows/Control/
H A DListView.h113 bool RedrawItems(int firstIndex, int lastIndex) { return BOOLToBool(ListView_RedrawItems(_window, firstIndex, lastIndex)); } argument

Completed in 1740 milliseconds

1234