Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp196 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std:… in computeRange() argument
198 *maxIndex = 0; in computeRange()
209 if(*maxIndex < indices[i]) *maxIndex = indices[i]; in computeRange()
213 …num type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsi… in computeRange() argument
217 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange()
221 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange()
225 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange()
293 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex, restartIndices); in prepareIndexData()
354 if(translated->minIndex < start || translated->maxIndex > end) in prepareIndexData()
356 …ded: [%d -> %d]. Range used: [%d -> %d].", start, end, translated->minIndex, translated->maxIndex); in prepareIndexData()
DIndexDataManager.h33 unsigned int maxIndex; member
/third_party/icu/icu4c/source/test/cintltst/
Duenumtst.c41 int32_t maxIndex; member
63 return cont->maxIndex; in chArrayCount()
69 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext()
87 if(cont->currIndex >= cont->maxIndex) { in chArrayNext()
151 int32_t maxIndex; member
168 return ucont->maxIndex; in uchArrayCount()
174 if(ucont->currIndex >= ucont->maxIndex) { in uchArrayUNext()
211 cont->maxIndex = size; in getchArrayEnum()
282 ucont->maxIndex = size; in getuchArrayEnum()
/third_party/astc-encoder/Test/
Dastc_test_result_plot.py359 maxIndex = 0
362 maxIndex = max(maxIndex, len(chart))
366 if len(chart) != maxIndex:
373 if maxIndex != expectedLength:
/third_party/skia/third_party/externals/angle2/src/common/
Dutilities.cpp36 IndexType maxIndex = 0; in ComputeTypedIndexRange() local
48 maxIndex = indices[i]; in ComputeTypedIndexRange()
63 if (maxIndex < indices[i]) in ComputeTypedIndexRange()
65 maxIndex = indices[i]; in ComputeTypedIndexRange()
74 maxIndex = indices[0]; in ComputeTypedIndexRange()
83 if (maxIndex < indices[i]) in ComputeTypedIndexRange()
85 maxIndex = indices[i]; in ComputeTypedIndexRange()
90 return gl::IndexRange(static_cast<size_t>(minIndex), static_cast<size_t>(maxIndex), in ComputeTypedIndexRange()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTableWriter.java52 int maxIndex = length(); in dumpTable() local
54 for (int i = 0; i < maxIndex; i += 1) { in dumpTable()
/third_party/node/deps/v8/tools/system-analyzer/
Dtimeline.mjs198 let maxIndex = array.length - 1;
199 while (minIndex < maxIndex) {
200 const midIndex = minIndex + (((maxIndex - minIndex) / 2) | 0);
204 maxIndex = midIndex;
/third_party/icu/icu4c/source/test/letest/
Dcletest.c701 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
706 if (ix > maxIndex) { in GlyphToCharTest()
707 maxIndex = ix; in GlyphToCharTest()
721 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp931 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
936 if (ix > maxIndex) { in GlyphToCharTest()
937 maxIndex = ix; in GlyphToCharTest()
951 charIndex = maxIndex + 1; in GlyphToCharTest()
/third_party/skia/src/codec/
DSkIcoCodec.cpp214 int maxIndex = 0; in MakeFromStream() local
221 maxIndex = i; in MakeFromStream()
225 auto maxInfo = codecs->operator[](maxIndex)->getEncodedInfo().copy(); in MakeFromStream()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertIndex.comp55 uint maxIndex;
69 uint maxIndex;
105 uint endIndex = firstIndex + maxIndex;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.h55 uint32_t maxIndex = 0; member
63 uint32_t maxIndex = 0; member
316 uint32_t maxIndex = 0; member
325 uint32_t maxIndex = 0; member
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DConvertIndex.comp.00000000.inc83 // uint maxIndex;
109 // uint endIndex = firstIndex + maxIndex;
DConvertIndex.comp.00000001.inc86 // uint maxIndex;
115 // uint endIndex = firstIndex + maxIndex;
/third_party/mesa3d/src/mesa/program/
Dprogram_parse.y2166 const GLint maxIndex = 1 << INST_INDEX_BITS;
2170 assert(index <= maxIndex);
2171 (void) maxIndex;
2206 const GLint maxIndex = (1 << INST_INDEX_BITS) - 1;
2211 assert(index <= maxIndex);
2212 (void) maxIndex;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
DLSTMBreakEngine.java292 static private int maxIndex(float [] data) {
402 int current = maxIndex(logp);
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp680 const int maxIndex = findIndexOfMaxComponent(size); in getReducedImageSize() local
681 const int reducedSize = size[maxIndex] >> 1; in getReducedImageSize()
687 if (maxIndex < 2) in getReducedImageSize()
689 else if (maxIndex == 3 && reducedSize >= NUM_CUBE_FACES) in getReducedImageSize()
696 size[maxIndex] = reducedSize; in getReducedImageSize()
DvktPipelineMultisampleImageTests.cpp664 const int maxIndex = 3; // 4 components max in getColorStr() local
672 << (i < maxIndex ? ", " : ""); in getColorStr()
675 for (int i = numComponents; i < maxIndex + 1; ++i) in getColorStr()
677 str << (i == maxIndex ? 1 : 0) in getColorStr()
678 << (i < maxIndex ? ", " : ""); in getColorStr()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp680 const int maxIndex = findIndexOfMaxComponent(size); in getReducedImageSize() local
681 const int reducedSize = size[maxIndex] >> 1; in getReducedImageSize()
687 if (maxIndex < 2) in getReducedImageSize()
689 else if (maxIndex == 3 && reducedSize >= NUM_CUBE_FACES) in getReducedImageSize()
696 size[maxIndex] = reducedSize; in getReducedImageSize()
DvktPipelineMultisampleImageTests.cpp664 const int maxIndex = 3; // 4 components max in getColorStr() local
672 << (i < maxIndex ? ", " : ""); in getColorStr()
675 for (int i = numComponents; i < maxIndex + 1; ++i) in getColorStr()
677 str << (i == maxIndex ? 1 : 0) in getColorStr()
678 << (i < maxIndex ? ", " : ""); in getColorStr()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.cpp79 size_t maxIndex = 0; in GetMaxOutputIndex() local
84 maxIndex = std::max(maxIndex, outputVar.outputIndex); in GetMaxOutputIndex()
87 return maxIndex; in GetMaxOutputIndex()
99 size_t maxIndex = GetMaxOutputIndex(shaderOutputVars, location); in GetDefaultOutputLayoutFromShader() local
100 outputLayoutOut->assign(maxIndex + 1, in GetDefaultOutputLayoutFromShader()
3136 size_t maxIndex = binding != GL_NONE ? GetMaxOutputIndex(mPixelShaderKey, in updateCachedOutputLayout() local
3139 mPixelShaderOutputLayoutCache.insert(mPixelShaderOutputLayoutCache.end(), maxIndex + 1, in updateCachedOutputLayout()
/third_party/skia/src/core/
DSkPath.cpp2501 int maxIndex = index; in find_min_max_x_at_y() local
2512 maxIndex = i; in find_min_max_x_at_y()
2515 *maxIndexPtr = maxIndex; in find_min_max_x_at_y()
2566 int maxIndex; in ComputeFirstDirection() local
2567 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex); in ComputeFirstDirection()
2568 if (minIndex == maxIndex) { in ComputeFirstDirection()
2572 SkASSERT(pts[maxIndex].fY == pts[index].fY); in ComputeFirstDirection()
2573 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX); in ComputeFirstDirection()
2576 cross = minIndex - maxIndex; in ComputeFirstDirection()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp697 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
701 glBindAttribLocation(program, maxIndex, "test"); in init()
706 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
711 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
716 glBindAttribLocation(shader, maxIndex-1, "test"); in init()

12