Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
DIndexDataManager.cpp81 …atic void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) in computeRange() argument
84 *maxIndex = indices[0]; in computeRange()
89 if (*maxIndex < indices[i]) *maxIndex = indices[i]; in computeRange()
93 …computeRange(GLenum type, const GLvoid *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) in computeRange() argument
97 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); in computeRange()
101 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex); in computeRange()
105 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); in computeRange()
173 &translated->maxIndex, NULL)) in prepareIndexData()
175 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex); in prepareIndexData()
177 translated->maxIndex, offset); in prepareIndexData()
[all …]
DIndexRangeCache.cpp54 if (outMaxIndex) *outMaxIndex = i->second.maxIndex; in findRange()
88 : minIndex(0), maxIndex(0), streamOffset(0) in IndexBounds()
93 : minIndex(minIdx), maxIndex(maxIdx), streamOffset(offset) in IndexBounds()
DIndexRangeCache.h45 unsigned int maxIndex; member
DIndexDataManager.h36 unsigned int maxIndex; member
/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/chromium_org/third_party/icu/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/chromium_org/third_party/skia/src/core/
DSkTileGrid.h106 int maxIndex = 0; in SkTileGridNextDatum() local
115 maxIndex = tile; in SkTileGridNextDatum()
119 maxIndex = tile; in SkTileGridNextDatum()
125 for (int tile = minIndex; tile <= maxIndex; ++tile) { in SkTileGridNextDatum()
DSkPath.cpp2492 int maxIndex = index; in find_min_max_x_at_y() local
2503 maxIndex = i; in find_min_max_x_at_y()
2506 *maxIndexPtr = maxIndex; in find_min_max_x_at_y()
2558 int maxIndex; in cheapComputeDirection() local
2559 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex); in cheapComputeDirection()
2560 if (minIndex == maxIndex) { in cheapComputeDirection()
2564 SkASSERT(pts[maxIndex].fY == pts[index].fY); in cheapComputeDirection()
2565 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX); in cheapComputeDirection()
2568 cross = minIndex - maxIndex; in cheapComputeDirection()
/external/skia/src/core/
DSkTileGrid.h106 int maxIndex = 0; in SkTileGridNextDatum() local
115 maxIndex = tile; in SkTileGridNextDatum()
119 maxIndex = tile; in SkTileGridNextDatum()
125 for (int tile = minIndex; tile <= maxIndex; ++tile) { in SkTileGridNextDatum()
DSkPath.cpp2492 int maxIndex = index; in find_min_max_x_at_y() local
2503 maxIndex = i; in find_min_max_x_at_y()
2506 *maxIndexPtr = maxIndex; in find_min_max_x_at_y()
2558 int maxIndex; in cheapComputeDirection() local
2559 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex); in cheapComputeDirection()
2560 if (minIndex == maxIndex) { in cheapComputeDirection()
2564 SkASSERT(pts[maxIndex].fY == pts[index].fY); in cheapComputeDirection()
2565 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX); in cheapComputeDirection()
2568 cross = minIndex - maxIndex; in cheapComputeDirection()
/external/icu4c/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/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/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCSSMetadata.js900 var maxIndex = this._values.length - 1;
905 var middleIndex = (maxIndex + minIndex) >> 1;
913 maxIndex = middleIndex - 1;
914 } while (minIndex <= maxIndex);
/external/icu4c/i18n/
Dplurrule.cpp538 int32_t maxIndex = 0; in initSamples() local
544 otherIndex = maxIndex; in initSamples()
546 ++maxIndex; in initSamples()
551 ++maxIndex; in initSamples()
555 if (NULL == newSampleInfo.allocateInsteadAndCopy(maxIndex)) { in initSamples()
571 newSampleInfo[maxIndex - 1] = 0; // unlimited in initSamples()
582 for (int i = 0, keywordsRemaining = maxIndex; in initSamples()
603 found = otherIndex == -1 ? maxIndex - 1 : otherIndex; in initSamples()
633 for (int i = 0, j = 0; i < maxIndex; ++i) { in initSamples()
643 for (int i = 0; i < maxIndex; ++i) { in initSamples()
[all …]
/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/chromium_org/third_party/icu/source/test/letest/
Dcletest.c696 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
701 if (ix > maxIndex) { in GlyphToCharTest()
702 maxIndex = ix; in GlyphToCharTest()
716 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp926 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
931 if (ix > maxIndex) { in GlyphToCharTest()
932 maxIndex = ix; in GlyphToCharTest()
946 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/icu4c/test/letest/
Dcletest.c696 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
701 if (ix > maxIndex) { in GlyphToCharTest()
702 maxIndex = ix; in GlyphToCharTest()
716 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp926 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
931 if (ix > maxIndex) { in GlyphToCharTest()
932 maxIndex = ix; in GlyphToCharTest()
946 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dfilter.js110 var maxIndex = 4 * imageData.width * imageData.height;
111 for (var index = 0; index != maxIndex;) {
299 var maxIndex = 4 * width * height;
300 for (var i = 0; i != maxIndex;) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerStackingNode.cpp479 …size_t maxIndex = std::min(posZOrderListAfterPromote->size() + negZOrderListAfterPromote->size(), … in updateDescendantsAreContiguousInStackingOrder() local
485 for (size_t i = 0; i < maxIndex && nodeAfterPromote != this; ++i) { in updateDescendantsAreContiguousInStackingOrder()
498 for (size_t i = 0; i < maxIndex && nodeAfterPromote != this; ++i) { in updateDescendantsAreContiguousInStackingOrder()
/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/chromium_org/third_party/mesa/src/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;

12