Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 25 of 41) 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/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/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/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/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/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/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()
DSkBitmap.cpp1200 unsigned char maxIndex = ctable->count() - 1; in ReadRawPixels() local
1202 dst[i] = SkTMin(dst[i], maxIndex); in ReadRawPixels()
/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.cpp906 GLuint maxIndex = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); in bind_attrib_location() local
910 ctx.glBindAttribLocation(program, maxIndex, "test"); in bind_attrib_location()
915 ctx.glBindAttribLocation(program, maxIndex-1, "gl_test"); in bind_attrib_location()
920 ctx.glBindAttribLocation(-1, maxIndex-1, "test"); in bind_attrib_location()
925 ctx.glBindAttribLocation(shader, maxIndex-1, "test"); in bind_attrib_location()
/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()
/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
424 for (i = 0; i < maxIndex[ampRes]; i++) { in mapPanorama()
435 return panTable[ampRes][maxIndex[ampRes]-1] + sign * panTable[ampRes][panIndex]; in mapPanorama()
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.js993 var neededColors = series.length, maxIndex = -1, i;
1002 if (typeof sc == "number" && sc > maxIndex) {
1003 maxIndex = sc;
1011 if (neededColors <= maxIndex) {
1012 neededColors = maxIndex + 1;
Djquery.flot.min.js7maxIndex=-1,i;for(i=0;i<series.length;++i){var sc=series[i].color;if(sc!=null){neededColors--;if(t…

12