Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 25 of 33) sorted by relevance

12

/external/eigen/doc/examples/
DTutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp12 MatrixXf::Index maxIndex; in main() local
13 float maxNorm = mat.colwise().sum().maxCoeff(&maxIndex); in main()
15 std::cout << "Maximum sum at position " << maxIndex << std::endl; in main()
18 std::cout << mat.col( maxIndex ) << std::endl; in main()
/external/icu/icu4c/source/test/cintltst/
Duenumtst.c39 int32_t maxIndex; member
60 return cont->maxIndex; in chArrayCount()
65 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext()
82 if(cont->currIndex >= cont->maxIndex) { in chArrayNext()
145 int32_t maxIndex; member
161 return ucont->maxIndex; in uchArrayCount()
166 if(ucont->currIndex >= ucont->maxIndex) { in uchArrayUNext()
202 cont->maxIndex = size; in getchArrayEnum()
273 ucont->maxIndex = size; in getuchArrayEnum()
/external/skia/gm/
Dcolorcube.cpp80 const int maxIndex = size - 1; in make_3Dlut() local
82 lut[i] = (i * 255) / maxIndex; in make_3Dlut()
83 invLut[i] = ((maxIndex - i) * 255) / maxIndex; in make_3Dlut()
/external/skia/bench/
DColorCubeBench.cpp81 const int maxIndex = fCubeDimension - 1; in makeCubeData() local
85 lut[i] = ((maxIndex - i) * 255) / maxIndex; in makeCubeData()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DTriStrip.java128 int maxIndex = 0; in generateStrips() local
132 if (in_indices[i] > maxIndex) in generateStrips()
133 maxIndex = in_indices[i]; in generateStrips()
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces); in generateStrips()
DStripifier.java124 int maxIndex) { in buildStripifyInfo() argument
130 for (int i = 0; i < maxIndex + 1; i++) in buildStripifyInfo()
1331 int maxIndex, StripInfoVec outStrips, FaceInfoVec outFaceList) { in stripify() argument
1351 buildStripifyInfo(allFaceInfos, allEdgeInfos, maxIndex); in stripify()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DTextArea.java219 int maxIndex = Math.max(cursor, selectionStart); in drawSelection() local
225 if (!((minIndex < lineStart && minIndex < lineEnd && maxIndex < lineStart && maxIndex < lineEnd) in drawSelection()
226 … || (minIndex > lineStart && minIndex > lineEnd && maxIndex > lineStart && maxIndex > lineEnd))) { in drawSelection()
229 int end = Math.min(linesBreak.get(i + 1), maxIndex); in drawSelection()
DTextField.java259 int maxIndex = Math.max(cursor, selectionStart); in calculateOffsets() local
261 float maxX = Math.min(glyphPositions[maxIndex], visibleWidth - renderOffset); in calculateOffsets()
468 int maxIndex = Math.max(from, to); in delete() local
470 + (maxIndex < text.length() ? text.substring(maxIndex, text.length()) : ""); in delete()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTableWriter.java50 int maxIndex = length(); in dumpTable() local
52 for (int i = 0; i < maxIndex; i += 1) { in dumpTable()
/external/skia/src/codec/
DSkIcoCodec.cpp162 uint32_t maxIndex = 0; in NewFromStream() local
168 maxIndex = i; in NewFromStream()
171 SkImageInfo info = codecs->operator[](maxIndex)->getInfo(); in NewFromStream()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractRealVector.java327 int maxIndex = -1; in getMaxIndex() local
333 maxIndex = entry.getIndex(); in getMaxIndex()
337 return maxIndex; in getMaxIndex()
344 final int maxIndex = getMaxIndex(); in getMaxValue() local
345 return maxIndex < 0 ? Double.NaN : getEntry(maxIndex); in getMaxValue()
/external/clang/utils/ABITest/
DABITestGen.py595 if opts.maxIndex is None:
597 opts.maxIndex = 10000000
599 opts.maxIndex = ftg.cardinality
600 opts.maxIndex = min(opts.maxIndex, ftg.cardinality)
601 opts.minIndex = max(0,min(opts.maxIndex-1, opts.minIndex))
603 opts.count = min(opts.count, opts.maxIndex-opts.minIndex)
663 index = opts.minIndex + int((opts.maxIndex-opts.minIndex) * random.random())
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtVector3.h285 int maxIndex = absVec.maxAxis(); in ATTRIBUTE_ALIGNED16() local
286 if (absVec[maxIndex]>0) in ATTRIBUTE_ALIGNED16()
288 *this /= absVec[maxIndex]; in ATTRIBUTE_ALIGNED16()
1130 int maxIndex = -1; in maxAxis4() local
1134 maxIndex = 0; in maxAxis4()
1139 maxIndex = 1; in maxAxis4()
1144 maxIndex = 2; in maxAxis4()
1149 maxIndex = 3; in maxAxis4()
1153 return maxIndex; in maxAxis4()
/external/icu/icu4c/source/test/letest/
Dcletest.c699 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
704 if (ix > maxIndex) { in GlyphToCharTest()
705 maxIndex = ix; in GlyphToCharTest()
719 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp929 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
934 if (ix > maxIndex) { in GlyphToCharTest()
935 maxIndex = ix; in GlyphToCharTest()
949 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/guava/guava/src/com/google/common/collect/
DDenseImmutableTable.java134 private final int maxIndex = keyToIndex().size(); in createEntrySet() local
138 for (index++; index < maxIndex; index++) { in createEntrySet()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DGroup.java371 int maxIndex = children.size; in swapActor() local
372 if (first < 0 || first >= maxIndex) return false; in swapActor()
373 if (second < 0 || second >= maxIndex) return false; in swapActor()
/external/skia/samplecode/
DSampleFilterFuzz.cpp310 const int maxIndex = size - 1; in make_3Dlut() local
312 lut[i] = (i * 255) / maxIndex; in make_3Dlut()
313 invLut[i] = ((maxIndex - i) * 255) / maxIndex; in make_3Dlut()
/external/deqp/modules/gles2/functional/
Des2fNegativeShaderApiTests.cpp397 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
401 glBindAttribLocation(program, maxIndex, "test"); in init()
406 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
411 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
416 glBindAttribLocation(shader, maxIndex-1, "test"); in init()
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java1114 int maxIndex = -1; in getAndRemoveHighestCount() local
1120 maxIndex = i; in getAndRemoveHighestCount()
1126 count[maxIndex] = 0; in getAndRemoveHighestCount()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y2338 const GLint maxIndex = 1 << INST_INDEX_BITS;
2342 ASSERT(index <= maxIndex);
2343 (void) maxIndex;
2380 const GLint maxIndex = (1 << INST_INDEX_BITS) - 1;
2385 ASSERT(index <= maxIndex);
2386 (void) maxIndex;
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaImpl.java1310 int maxIndex = insert ? arrayNode.getChildrenLength() + 1 : arrayNode.getChildrenLength();
1313 itemIndex = maxIndex;
1316 if (1 <= itemIndex && itemIndex <= maxIndex)
/external/skia/src/core/
DSkPath.cpp2608 int maxIndex = index; in find_min_max_x_at_y() local
2619 maxIndex = i; in find_min_max_x_at_y()
2622 *maxIndexPtr = maxIndex; in find_min_max_x_at_y()
2674 int maxIndex; in CheapComputeFirstDirection() local
2675 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex); in CheapComputeFirstDirection()
2676 if (minIndex == maxIndex) { in CheapComputeFirstDirection()
2680 SkASSERT(pts[maxIndex].fY == pts[index].fY); in CheapComputeFirstDirection()
2681 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX); in CheapComputeFirstDirection()
2684 cross = minIndex - maxIndex; in CheapComputeFirstDirection()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1507 glw::GLint maxIndex = -1; in iterate() local
1510 gl.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxIndex); in iterate()
1513 largeIndex = maxIndex + 1; in iterate()
1516 if (maxIndex == -1 || maxIndex == 0x7FFFFFFF) in iterate()
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp692 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
696 glBindAttribLocation(program, maxIndex, "test"); in init()
701 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
706 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
711 glBindAttribLocation(shader, maxIndex-1, "test"); in init()

12