/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 66 …eCase(testCtx, "vertex", "", type, layoutFlags|DECLARE_VERTEX, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 67 …e(testCtx, "fragment", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 68 …x, "both", "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances, LOAD_FULL_MATR… in createBlockBasicTypeCases() 69 …tCtx, "vertex_comp_access", "", type, layoutFlags|DECLARE_VERTEX, numInstances, LOAD_MATRIX_CO… in createBlockBasicTypeCases() 70 …, "fragment_comp_access", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances, LOAD_MATRIX_CO… in createBlockBasicTypeCases() 71 …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/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 237 const int numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in drawReferenceImage() local 242 DE_ASSERT(DE_LENGTH_OF_ARRAY(perInstanceOffset) >= numInstances); in drawReferenceImage() 243 …DE_ASSERT(DE_LENGTH_OF_ARRAY(allColors) >= numInstances && DE_LENGTH_OF_ARRAY(allColors) >= numInd… in drawReferenceImage() 249 for (int instanceNdx = 0; instanceNdx < numInstances; ++instanceNdx) in drawReferenceImage() 275 const deUint32 numInstances = isInstanced() ? MAX_INSTANCE_COUNT : 1; in iterate() local 284 …{ NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX, (isFirstInstance() ? 2u : 0u) … in iterate() 285 …{ NUM_VERTICES, numInstances, NDX_SECOND_INDEX, OFFSET_SECOND_INDEX, (isFirstInstance() ? 1u : 0u)… in iterate() 286 …{ NUM_VERTICES, numInstances, NDX_FIRST_INDEX, OFFSET_FIRST_INDEX, (isFirstInstance() ? 3u : 0u) … in iterate() 295 { NUM_VERTICES, numInstances, NDX_FIRST_VERTEX, (isFirstInstance() ? 2u : 0u) }, in iterate() 296 { 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 …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_array.c | 407 GLsizei count, GLuint numInstances, GLuint baseInstance) in vbo_draw_arrays() argument 419 prim[0].num_instances = numInstances; in vbo_draw_arrays() 630 GLsizei numInstances) in vbo_exec_DrawArraysInstanced() argument 636 _mesa_enum_to_string(mode), start, count, numInstances); in vbo_exec_DrawArraysInstanced() 639 numInstances)) in vbo_exec_DrawArraysInstanced() 645 vbo_draw_arrays(ctx, mode, start, count, numInstances, 0); in vbo_exec_DrawArraysInstanced() 657 GLsizei count, GLsizei numInstances, in vbo_exec_DrawArraysInstancedBaseInstance() argument 666 numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance() 669 numInstances)) in vbo_exec_DrawArraysInstancedBaseInstance() 675 vbo_draw_arrays(ctx, mode, first, count, numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance() [all …]
|
/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 …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockTests.cpp | 135 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_… in generateBlock() local 138 if (numInstances > 0) in generateBlock() 139 block.setArraySize(numInstances); in generateBlock() 141 if (numInstances > 0 || rnd.getBool()) in generateBlock() 299 const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument 306 if (numInstances > 0) in BlockBasicTypeCase() 308 block.setArraySize(numInstances); in BlockBasicTypeCase() 333 deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument 336 , m_numInstances(numInstances) in BlockSingleStructCase() 368 int numInstances) in BlockSingleStructArrayCase() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 61 deUint32 numInstances); 87 deUint32 numInstances); 131 deUint32 numInstances, 199 deUint32 numInstances); 217 deUint32 numInstances, 238 deUint32 numInstances) in VertexAccessTest() argument 245 , m_numInstances (numInstances) in VertexAccessTest() 348 deUint32 numInstances) in DrawAccessTest() argument 350 …ext, name, description, inputFormat, numVertexValues, numInstanceValues, numVertices, numInstances) in DrawAccessTest() 429 deUint32 numInstances, in VertexAccessInstance() argument [all …]
|
/external/mesa3d/src/mesa/main/ |
D | api_validate.c | 800 GLenum mode, GLsizei count, GLsizei numInstances) in validate_draw_arrays() argument 876 GLsizei count, GLsizei numInstances) in _mesa_validate_DrawArraysInstanced() argument 884 if (numInstances <= 0) { in _mesa_validate_DrawArraysInstanced() 885 if (numInstances < 0) in _mesa_validate_DrawArraysInstanced() 887 "glDrawArraysInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawArraysInstanced() 898 const GLvoid *indices, GLsizei numInstances) in _mesa_validate_DrawElementsInstanced() argument 902 if (numInstances < 0) { in _mesa_validate_DrawElementsInstanced() 904 "glDrawElementsInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawElementsInstanced() 910 && (numInstances > 0); in _mesa_validate_DrawElementsInstanced() 919 GLsizei numInstances) in _mesa_validate_DrawTransformFeedback() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 131 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local 134 if (numInstances > 0) in generateBlock() 135 block.setArraySize(numInstances); in generateBlock() 137 if (numInstances > 0 || rnd.getBool()) in generateBlock() 175 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock() 318 …nst char* description, const VarType& type, deUint32 layoutFlags, int numInstances, MatrixLoadFlag… in BlockBasicTypeCase() argument 325 if (numInstances > 0) in BlockBasicTypeCase() 327 block.setArraySize(numInstances); in BlockBasicTypeCase() 365 …t char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances, MatrixLoadFlag… in BlockSingleStructCase() argument 368 , m_numInstances (numInstances) in BlockSingleStructCase() [all …]
|
/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/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | api.cpp | 1077 uint32_t numInstances = 1, in DrawInstanced() argument 1089 …AR_API_EVENT(DrawInstancedEvent(pDC->drawId, topology, numVertices, startVertex, numInstances, sta… in DrawInstanced() 1132 pDC->FeWork.desc.draw.numInstances = numInstances; in DrawInstanced() 1151 AR_API_END(APIDraw, numVertices * numInstances); in DrawInstanced() 1181 uint32_t numInstances, in SwrDrawInstanced() argument 1186 … DrawInstanced(hContext, topology, numVertsPerInstance, startVertex, numInstances, startInstance); in SwrDrawInstanced() 1204 uint32_t numInstances = 1, in DrawIndexedInstance() argument 1217 …ncedEvent(pDC->drawId, topology, numIndices, indexOffset, baseVertex, numInstances, startInstance)… in DrawIndexedInstance() 1277 pDC->FeWork.desc.draw.numInstances = numInstances; in DrawIndexedInstance() 1297 AR_API_END(APIDrawIndexed, numIndices * numInstances); in DrawIndexedInstance() [all …]
|
D | api.h | 473 uint32_t numInstances, 504 uint32_t numInstances,
|
/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/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/ |
D | events.proto | 114 uint32_t numInstances; 125 uint32_t numInstances;
|