/external/eigen/doc/examples/ |
D | Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp | 12 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/ |
D | uenumtst.c | 39 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/ |
D | colorcube.cpp | 80 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/ |
D | ColorCubeBench.cpp | 81 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/ |
D | TriStrip.java | 128 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()
|
D | Stripifier.java | 124 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/ |
D | TextArea.java | 219 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()
|
D | TextField.java | 259 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/ |
D | OpenTypeTableWriter.java | 50 int maxIndex = length(); in dumpTable() local 52 for (int i = 0; i < maxIndex; i += 1) { in dumpTable()
|
/external/skia/src/codec/ |
D | SkIcoCodec.cpp | 162 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/ |
D | AbstractRealVector.java | 327 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/ |
D | ABITestGen.py | 595 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/ |
D | btVector3.h | 285 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/ |
D | cletest.c | 699 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()
|
D | letest.cpp | 929 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/ |
D | DenseImmutableTable.java | 134 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/ |
D | Group.java | 371 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/ |
D | SampleFilterFuzz.cpp | 310 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/ |
D | es2fNegativeShaderApiTests.cpp | 397 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/ |
D | FirstFitLocalCombiningAllocator.java | 1114 int maxIndex = -1; in getAndRemoveHighestCount() local 1120 maxIndex = i; in getAndRemoveHighestCount() 1126 count[maxIndex] = 0; in getAndRemoveHighestCount()
|
/external/mesa3d/src/mesa/program/ |
D | program_parse.y | 2338 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/ |
D | XMPMetaImpl.java | 1310 int maxIndex = insert ? arrayNode.getChildrenLength() + 1 : arrayNode.getChildrenLength(); 1313 itemIndex = maxIndex; 1316 if (1 <= itemIndex && itemIndex <= maxIndex)
|
/external/skia/src/core/ |
D | SkPath.cpp | 2608 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/ |
D | es31fVertexAttributeBindingTests.cpp | 1507 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/ |
D | es3fNegativeShaderApiTests.cpp | 692 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()
|