Searched defs:firstIndex (Results 1 - 25 of 57) sorted by relevance

123

/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
H A DSetValuesTest.java120 int firstIndex, int length) {
126 packet.setNextValueAsInt(firstIndex);
140 packet.setNextValueAsInt(firstIndex);
119 checkArrayRegion(ArrayRegion valuesRegion, long arrayID, int firstIndex, int length) argument
H A DGetValuesTest.java156 + "; firstIndex = 0; length = " + length);
164 + "; firstIndex = 1; length = " + (length-1));
171 + "; firstIndex = 0; length = " + (length-1));
178 + "; firstIndex = " + (length-1) + " length = 1");
185 private void checkArrayRegion(long arrayID, int error, int firstIndex, int length, argument
192 packet.setNextValueAsInt(firstIndex);
227 value.getIntValue(), i + firstIndex);
233 Integer.parseInt(s), i + firstIndex);
/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/deqp/modules/gles31/stress/
H A Des31sDrawTests.cpp67 deUint32 firstIndex; member in struct:deqp::gles31::Stress::__anon4933::DrawElementsCommand
262 drawCommand.firstIndex = (m_op == INVALID_INDEX_FIRST) ? (overBoundDrawCount) : (0);
271 << "\n\tfirstIndex\t" << drawCommand.firstIndex
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
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...}});
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 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 DTensorRef.h198 EIGEN_STRONG_INLINE const Scalar operator()(Index firstIndex, IndexTypes... otherIndices) const argument
201 const array<Index, num_indices> indices{{firstIndex, otherIndices...}};
205 EIGEN_STRONG_INLINE Scalar& coeffRef(Index firstIndex, IndexTypes... otherIndices) argument
208 const array<Index, num_indices> indices{{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 DTensorConvolution.h490 EIGEN_DEVICE_FUNC void convolve(Index firstIndex, Index firstKernel, int DimIndex, CoeffReturnType& accum) const { argument
492 const Index input = firstIndex + j * m_indexStride[DimIndex];
503 EIGEN_DEVICE_FUNC void convolvePacket(Index firstIndex, Index firstKernel, int DimIndex, Packet& accum) const { argument
505 const Index input = firstIndex + j * m_indexStride[DimIndex];
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
H A DDynamicSymmetry.h55 inline internal::tensor_symmetry_value_setter<Tensor_, DynamicSGroup> operator()(Tensor_& tensor, typename Tensor_::Index firstIndex, IndexTypes... otherIndices) const argument
58 return operator()(tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices>{{firstIndex, otherIndices...}});
H A DStaticSymmetry.h217 inline internal::tensor_symmetry_value_setter<Tensor_, StaticSGroup<Gen...>> operator()(Tensor_& tensor, typename Tensor_::Index firstIndex, IndexTypes... otherIndices) const argument
220 return operator()(tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices>{{firstIndex, otherIndices...}});
/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/icu/icu4c/source/samples/cal/
H A Dcal.c55 int32_t firstIndex,
286 * firstIndex is the index of the symbol to place first in
295 int32_t firstIndex,
311 int32_t idx = (i + firstIndex) % arrayLength;
290 get_symbols(const UDateFormat *fmt, UDateFormatSymbolType type, UChar *array[], int32_t arrayLength, int32_t lowestIndex, int32_t firstIndex, UErrorCode *status) argument
/external/lzma/CPP/Windows/Control/
H A DListView.h113 bool RedrawItems(int firstIndex, int lastIndex) { return BOOLToBool(ListView_RedrawItems(_window, firstIndex, lastIndex)); } argument
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp77 uint16_t firstIndex,
102 idxs[i] = tess.index(i) + firstIndex;
212 int firstIndex; local
213 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
219 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
73 extract_verts(const GrAAConvexTessellator& tess, void* vertices, size_t vertexStride, GrColor color, uint16_t firstIndex, uint16_t* idxs, bool tweakAlphaForCoverage) argument
H A DGrDrawVerticesOp.cpp163 int firstIndex = 0; local
167 indices = target->makeIndexSpace(fIndexCount, &indexBuffer, &firstIndex);
246 mesh.setIndexed(indexBuffer, fIndexCount, firstIndex, 0, fVertexCount - 1);
H A DGrShadowRRectOp.cpp579 int firstIndex = 0; variable
580 uint16_t* indices = target->makeIndexSpace(fIndexCount, &indexBuffer, &firstIndex);
620 mesh.setIndexed(indexBuffer, fIndexCount, firstIndex, 0, fVertCount - 1);
H A DGrAAConvexPathRenderer.cpp806 int firstIndex; local
808 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
818 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1);
891 int firstIndex; variable
893 uint16_t *idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
906 mesh.setIndexed(indexBuffer, draw.fIndexCnt, firstIndex, 0, draw.fVertexCnt - 1);
909 firstIndex += draw.fIndexCnt;
/external/skia/tests/
H A DOnFlushCallbackTest.cpp106 int firstIndex; variable
107 uint16_t* indices = target->makeIndexSpace(6, &indexBuffer, &firstIndex);
150 mesh.setIndexed(indexBuffer, 6, firstIndex, 0, 3);
/external/skia/debugger/QT/
H A DSkDebuggerGUI.cpp786 QModelIndex firstIndex = model->index(0, fFilter.modelColumn(), local
788 QStandardItem* firstItem = model->itemFromIndex(firstIndex);
/external/deqp/modules/gles31/functional/
H A Des31fDrawTests.cpp91 deUint32 firstIndex; member in struct:deqp::gles31::Functional::__anon4781::DrawElementsCommand
891 command.firstIndex = 0;
1217 << " uint firstIndex;\n"
1259 buf << " commands[gl_GlobalInvocationID.x].firstIndex = firstTri*3u;\n";
1379 data.firstIndex = firstTri*3;
2318 drawCommand.firstIndex = 0;
2486 drawCommand.firstIndex = 0;
2664 drawCommand.firstIndex = 0;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DVmMirror.java2493 * @param firstIndex
2498 public final void setArrayValues(long arrayID, int firstIndex, argument
2504 command.setNextValueAsInt(firstIndex);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktBasicDrawTests.cpp151 params.firstIndex = firstIdx;
191 cmd.firstIndex = firstIdx;
704 de::Random rnd (SEED ^ m_data.params.firstIndex ^ m_data.params.indexCount);
705 const deUint32 indexSize = m_data.params.firstIndex + m_data.params.indexCount;
711 // Fill the indexes from firstIndex
717 m_data.indexes[m_data.params.firstIndex + idx] = vertexIdx;
724 for (std::vector<deUint32>::const_iterator indexIt = m_data.indexes.begin() + m_data.params.firstIndex; indexIt != m_data.indexes.end(); ++indexIt)
783 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);
808 for (std::vector<deUint32>::const_iterator it = m_data.indexes.begin() + m_data.params.firstIndex; it != m_data.indexes.end(); ++it)
979 de::Random rnd (SEED ^ m_data.commands[0].firstIndex
1231 deUint32 firstIndex = rnd.getInt(0, OFFSET_LIMIT); local
1253 deUint32 firstIndex = rnd.getInt(vertexCount, OFFSET_LIMIT); local
[all...]

Completed in 925 milliseconds

123