Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 25 of 31) 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.cpp80 const int maxIndex = fCubeDimension - 1; in makeCubeData() local
84 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/skia/src/codec/
DSkCodec_libico.cpp168 uint32_t maxIndex = 0; in NewFromStream() local
174 maxIndex = i; in NewFromStream()
177 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/skia/samplecode/
DSampleFilterFuzz.cpp221 const int maxIndex = size - 1; in make_3Dlut() local
223 lut[i] = (i * 255) / maxIndex; in make_3Dlut()
224 invLut[i] = ((maxIndex - i) * 255) / maxIndex; in make_3Dlut()
/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/deqp/modules/gles2/functional/
Des2fNegativeShaderApiTests.cpp395 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
399 glBindAttribLocation(program, maxIndex, "test"); in init()
404 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
409 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
414 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/skia/src/core/
DSkPath.cpp2424 int maxIndex = index; in find_min_max_x_at_y() local
2435 maxIndex = i; in find_min_max_x_at_y()
2438 *maxIndexPtr = maxIndex; in find_min_max_x_at_y()
2490 int maxIndex; in cheapComputeDirection() local
2491 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex); in cheapComputeDirection()
2492 if (minIndex == maxIndex) { in cheapComputeDirection()
2496 SkASSERT(pts[maxIndex].fY == pts[index].fY); in cheapComputeDirection()
2497 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX); in cheapComputeDirection()
2500 cross = minIndex - maxIndex; in cheapComputeDirection()
/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/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()
Des31fNegativeShaderApiTests.cpp719 GLuint maxIndex = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); in bind_attrib_location() local
723 ctx.glBindAttribLocation(program, maxIndex, "test"); in bind_attrib_location()
728 ctx.glBindAttribLocation(program, maxIndex-1, "gl_test"); in bind_attrib_location()
733 ctx.glBindAttribLocation(-1, maxIndex-1, "test"); in bind_attrib_location()
738 ctx.glBindAttribLocation(shader, maxIndex-1, "test"); in bind_attrib_location()
Des31fOpaqueTypeIndexingTests.cpp478 const int maxIndex = maxElement(lookupIndices); in iterate() local
493 if (samplerNdx > maxIndex && samplerLoc < 0) in iterate()
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp687 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
691 glBindAttribLocation(program, maxIndex, "test"); in init()
696 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
701 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
706 glBindAttribLocation(shader, maxIndex-1, "test"); in init()
/external/owasp/sanitizer/tools/findbugs/lib/
DjFormatString.jarMETA-INF/ META-INF/MANIFEST.MF edu/ edu/umd/ edu/ ...
/external/aac/libSBRenc/src/
Denv_est.cpp103 static const UCHAR maxIndex[2] = {9, 5}; variable
316 for (i = 0; i < maxIndex[ampRes]; i++) { in mapPanorama()
327 return panTable[ampRes][maxIndex[ampRes]-1] + sign * panTable[ampRes][panIndex]; in mapPanorama()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py969 maxIndex = len(charCodes)
970 for index in range(maxIndex):

12