/external/gptfdisk/ |
D | parttypes.cc | 21 int PartType::numInstances = 0; member in PartType 35 numInstances++; in PartType() 36 if (numInstances == 1) { in PartType() 42 numInstances++; in PartType() 43 if (numInstances == 1) { // should never happen; just being paranoid in PartType() 49 numInstances++; in PartType() 50 if (numInstances == 1) { in PartType() 58 numInstances--; in ~PartType() 59 if (numInstances == 0) { in ~PartType()
|
D | mbrpart.cc | 37 int MBRPart::numInstances = 0; member in MBRPart 53 if (numInstances == 0) { in MBRPart() 59 numInstances++; in MBRPart() 63 numInstances++; in MBRPart() 68 numInstances--; in ~MBRPart()
|
D | gptcurses.cc | 36 int GPTDataCurses::numInstances = 0; member in GPTDataCurses 39 if (numInstances > 0) { in GPTDataCurses() 49 numInstances++; in GPTDataCurses() 61 numInstances--; in ~GPTDataCurses() 62 if ((numInstances == 0) && !isendwin()) in ~GPTDataCurses()
|
D | parttypes.h | 34 static int numInstances;
|
D | gptcurses.h | 78 static int numInstances;
|
D | mbrpart.h | 69 static int numInstances; variable
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 45 …::string& description, const VarType& type, deUint32 layoutFlags, int numInstances, MatrixLoadFlag… in BlockBasicTypeCase() argument 52 if (numInstances > 0) in BlockBasicTypeCase() 54 block.setArraySize(numInstances); in BlockBasicTypeCase() 62 … testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument 64 …stCtx, name + "_vertex", "", type, layoutFlags|DECLARE_VERTEX, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 65 …x, name + "_fragment", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 66 …+ "_both", "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 67 …me + "_vertex_comp_access", "", type, layoutFlags|DECLARE_VERTEX, numInstances, LOAD_MATRIX_CO… in createBlockBasicTypeCases() 68 … "_fragment_comp_access", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances, LOAD_MATRIX_CO… in createBlockBasicTypeCases() 69 …comp_access", "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances, LOAD_MATRIX_CO… in createBlockBasicTypeCases() [all …]
|
D | vktRandomUniformBlockCase.cpp | 100 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local 103 if (numInstances > 0) in generateBlock() 104 block.setArraySize(numInstances); in generateBlock() 106 if (numInstances > 0 || rnd.getBool()) in generateBlock()
|
/external/mesa3d/src/mesa/main/ |
D | api_validate.c | 522 GLsizei count, GLsizei numInstances) in _mesa_validate_DrawArraysInstanced() argument 544 if (numInstances <= 0) { in _mesa_validate_DrawArraysInstanced() 545 if (numInstances < 0) in _mesa_validate_DrawArraysInstanced() 547 "glDrawArraysInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawArraysInstanced() 566 const GLvoid *indices, GLsizei numInstances, in _mesa_validate_DrawElementsInstanced() argument 586 if (numInstances <= 0) { in _mesa_validate_DrawElementsInstanced() 587 if (numInstances < 0) in _mesa_validate_DrawElementsInstanced() 589 "glDrawElementsInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawElementsInstanced() 626 GLsizei numInstances) in _mesa_validate_DrawTransformFeedback() argument 651 if (numInstances <= 0) { in _mesa_validate_DrawTransformFeedback() [all …]
|
D | api_validate.h | 88 GLsizei numInstances);
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_array.c | 584 GLsizei count, GLuint numInstances, GLuint baseInstance) in vbo_draw_arrays() argument 597 prim[0].num_instances = numInstances; in vbo_draw_arrays() 688 GLsizei numInstances) in vbo_exec_DrawArraysInstanced() argument 694 _mesa_lookup_enum_by_nr(mode), start, count, numInstances); in vbo_exec_DrawArraysInstanced() 696 if (!_mesa_validate_DrawArraysInstanced(ctx, mode, start, count, numInstances)) in vbo_exec_DrawArraysInstanced() 702 vbo_draw_arrays(ctx, mode, start, count, numInstances, 0); in vbo_exec_DrawArraysInstanced() 714 GLsizei numInstances, GLuint baseInstance) in vbo_exec_DrawArraysInstancedBaseInstance() argument 721 numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance() 724 numInstances)) in vbo_exec_DrawArraysInstancedBaseInstance() 730 vbo_draw_arrays(ctx, mode, first, count, numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 211 const int numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in drawReferenceImage() local 216 DE_ASSERT(DE_LENGTH_OF_ARRAY(perInstanceOffset) >= numInstances); in drawReferenceImage() 217 …DE_ASSERT(DE_LENGTH_OF_ARRAY(allColors) >= numInstances && DE_LENGTH_OF_ARRAY(allColors) >= numInd… in drawReferenceImage() 223 for (int instanceNdx = 0; instanceNdx < numInstances; ++instanceNdx) in drawReferenceImage() 249 const deUint32 numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in iterate() local 258 …{ NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX, (isFirstInstance() ? 2u : 0u) … in iterate() 259 …{ NUM_VERTICES, numInstances, NDX_SECOND_INDEX, OFFSET_SECOND_INDEX, (isFirstInstance() ? 1u : 0u)… in iterate() 260 …{ NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX, (isFirstInstance() ? 3u : 0u) … in iterate() 269 { NUM_VERTICES, numInstances, NDX_FIRST_VERTEX, (isFirstInstance() ? 2u : 0u) }, in iterate() 270 { NUM_VERTICES, numInstances, NDX_SECOND_VERTEX, (isFirstInstance() ? 1u : 0u) }, in iterate() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fUniformBlockTests.cpp | 60 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument 67 if (numInstances > 0) in BlockBasicTypeCase() 69 block.setArraySize(numInstances); in BlockBasicTypeCase() 75 …ontext& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument 77 …ext, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances)); in createBlockBasicTypeCases() 78 …, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases() 81 …g(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases() 87 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument 90 , m_numInstances (numInstances) in BlockSingleStructCase() 120 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructArrayCase() argument [all …]
|
D | es3fInstancedRenderingTests.cpp | 107 …DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances); 142 … DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances) in InstancedRenderingCase() argument 147 , m_numInstances (numInstances) in InstancedRenderingCase()
|
/external/deqp/modules/gles31/functional/ |
D | es31fUniformBlockTests.cpp | 62 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument 69 if (numInstances > 0) in BlockBasicTypeCase() 71 block.setArraySize(numInstances); in BlockBasicTypeCase() 77 …ontext& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument 79 …ext, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances)); in createBlockBasicTypeCases() 80 …, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases() 83 …ng(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases() 89 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in Block2LevelStructArrayCase() argument 92 , m_numInstances (numInstances) in Block2LevelStructArrayCase()
|
D | es31fSSBOLayoutTests.cpp | 126 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local 129 if (numInstances > 0) in generateBlock() 130 block.setArraySize(numInstances); in generateBlock() 132 if (numInstances > 0 || rnd.getBool()) in generateBlock() 166 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock() 311 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument 318 if (numInstances > 0) in BlockBasicTypeCase() 320 block.setArraySize(numInstances); in BlockBasicTypeCase() 354 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument 357 , m_numInstances (numInstances) in BlockSingleStructCase() [all …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 715 …void getShaderSpec (ShaderSpec* spec, int numInstances, int numReads, const int* readIndic… 780 void BlockArrayIndexingCase::getShaderSpec (ShaderSpec* spec, int numInstances, int numReads, const… in getShaderSpec() argument 803 "} " << instanceName << "[" << numInstances << "];\n"; in getShaderSpec() 844 const int numInstances = m_numInstances; in iterate() local 847 vector<deUint32> inValues (numInstances); in iterate() 853 readIndices[readNdx] = rnd.getInt(0, numInstances-1); in iterate() 855 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() 858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); in iterate() 864 const BufferVector buffers (renderCtx, numInstances); in iterate() 878 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate()
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 850 int numInstances = 1; in getNumShaderBlocks() local 853 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in getNumShaderBlocks() 855 retVal += numInstances; in getNumShaderBlocks() 914 int numInstances = 1; in accumulateShader() local 917 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in accumulateShader() 920 …retVal += numInstances * accumulateComplexType(shader->getDefaultBlock().interfaceBlocks[ndx].vari… in accumulateShader() 1058 int numInstances = 1; in getMaxBufferBinding() local 1061 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in getMaxBufferBinding() 1063 maxBinding = de::max(maxBinding, binding + numInstances - 1); in getMaxBufferBinding() 1154 …const int numInstances = getNumTypeInstances(shader->getDefaultBlock().variables[ndx].varType, pre… in getUniformMaxBinding() local [all …]
|
D | es31fSSBOLayoutCase.cpp | 707 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() local 710 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() 1179 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() local 1183 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() 1262 const int numInstances = isArray ? block.getArraySize() : 1; in generateWriteSrc() local 1266 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateWriteSrc() 1609 const int numInstances = isArray ? block.getArraySize() : 1; in copyNonWrittenData() local 1613 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in copyNonWrittenData() 1861 const int numInstances = isArray ? block.getArraySize() : 1; in computeBufferSizes() local 1863 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeBufferSizes() [all …]
|
D | es31fTessellationGeometryInteractionTests.cpp | 2135 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel); 2632 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessL… in getGeometryShaderSource() argument 2638 "layout(triangles, invocations=" << numInstances << ") in;\n" in getGeometryShaderSource() 2674 … << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << " * " << numInstances << ");\n" in getGeometryShaderSource() 2707 DE_ASSERT(m_numLayers == numInstances * 2); in getGeometryShaderSource() 2753 …" ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInstances*2) << " + inputTri… in getGeometryShaderSource() 2754 …* srcSliceNdx.y) % ivec2(" << tessLevel << ", " << tessLevel << " * " << (numInstances*2) << ");\n" in getGeometryShaderSource() 2759 …" outputSliceArea.y = float(dstSliceNdx.y) / float(" << (tessLevel * numInstances * 2) << ") * 2.0… in getGeometryShaderSource() 2761 …" outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (tessLevel * numInstances * 2) << ") * 2… in getGeometryShaderSource() 2769 " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInstances << ");\n" in getGeometryShaderSource()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 119 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local 122 if (numInstances > 0) in generateBlock() 123 block.setArraySize(numInstances); in generateBlock() 125 if (numInstances > 0 || rnd.getBool()) in generateBlock() 155 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock() 298 …nst char* description, const VarType& type, deUint32 layoutFlags, int numInstances, MatrixLoadFlag… in BlockBasicTypeCase() argument 305 if (numInstances > 0) in BlockBasicTypeCase() 307 block.setArraySize(numInstances); in BlockBasicTypeCase() 345 …t char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances, MatrixLoadFlag… in BlockSingleStructCase() argument 348 , m_numInstances (numInstances) in BlockSingleStructCase() [all …]
|
D | vktSSBOLayoutCase.cpp | 622 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() local 625 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() 1149 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() local 1153 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() 1232 const int numInstances = isArray ? block.getArraySize() : 1; in generateWriteSrc() local 1236 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateWriteSrc() 1442 const int numInstances = isArray ? block.getArraySize() : 1; in copyNonWrittenData() local 1446 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in copyNonWrittenData() 1694 const int numInstances = isArray ? block.getArraySize() : 1; in computeBufferSizes() local 1696 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeBufferSizes()
|
/external/deqp/modules/glshared/ |
D | glsRandomUniformBlockCase.cpp | 88 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local 91 if (numInstances > 0) in generateBlock() 92 block.setArraySize(numInstances); in generateBlock() 94 if (numInstances > 0 || rnd.getBool()) in generateBlock()
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 85 std::string getGeometryShaderSource (int numPrimitives, int numInstances); 488 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances) in getGeometryShaderSource() argument 494 "layout(triangles, invocations=" << numInstances << ") in;\n" in getGeometryShaderSource() 526 " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInstances << ");\n" in getGeometryShaderSource()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.hpp | 139 void drawInstanced (const DrawCommand& command, int numInstances) const;
|