/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fIndexedStateQueryTests.cpp | 163 for (int ndx = 0; ndx < 2; ++ndx) in testTransformFeedback() 165 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackBuffers[ndx]); in testTransformFeedback() 167 glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackIndex[ndx], feedbackBuffers[ndx]); in testTransformFeedback() 173 for (int ndx = 0; ndx < 2; ++ndx) in testTransformFeedback() 176 glGetIntegeri_v(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING, feedbackIndex[ndx], in testTransformFeedback() [all...] |
H A D | es3fTextureSpecificationTests.cpp | 101 for (int ndx = 0; ndx < Size; ndx++) in randomVector() 102 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]); in randomVector() 202 for (int ndx = 0; ndx < 2; ndx++) in iterate() 204 setContext(ndx in iterate() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fIndexedStateQueryTests.cpp | 125 for (int ndx = 0; ndx < m_maxSampleMaskWords; ++ndx) in iterate() 126 verifyStateIndexedInteger(result, gl, GL_SAMPLE_MASK_VALUE, ndx, -1, m_verifierType); in iterate() 133 for (int ndx = 0; ndx < m_maxSampleMaskWords; ++ndx) in iterate() 135 gl.glSampleMaski(ndx, 0); in iterate() 138 verifyStateIndexedInteger(result, gl, GL_SAMPLE_MASK_VALUE, ndx, 0, m_verifierType); in iterate() 192 for (int ndx in iterate() [all...] |
H A D | es31fProgramInterfaceDefinitionUtil.cpp | 141 for (int ndx = 0; ndx < (int)shader->getDefaultBlock().interfaceBlocks.size(); ++ndx) 143 const glu::Storage storage = shader->getDefaultBlock().interfaceBlocks[ndx].storage; 182 for (int ndx = 0; ndx < structType->getNumMembers(); ++ndx) 183 generateVariableTypeResourceNames(resources, name + "." + structType->getMember(ndx).getName(), structType->getMember(ndx).getType(), childFlags); 203 for (int ndx [all...] |
H A D | es31fTextureSpecificationTests.cpp | 81 for (int ndx = 0; ndx < Size; ndx++) in randomVector() 82 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]); in randomVector() 86 static tcu::CubeFace getCubeFaceFromNdx (int ndx) in getCubeFaceFromNdx() argument 88 switch (ndx) in getCubeFaceFromNdx() 159 for (int ndx = 0; ndx < in iterate() [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgVariableValue.cpp | 40 for (int ndx = 0; ndx < numMembers; ndx++) in compareValueRangesAllTrue() 42 if (!compareValueRangesAllTrue<CompareOp>(a.member(ndx), b.member(ndx))) in compareValueRangesAllTrue() 49 for (int ndx = 0; ndx < numElements; ndx++) in compareValueRangesAllTrue() 51 if (!compareValueRangesAllTrue<CompareOp>(a.arrayElement(ndx), b.arrayElement(ndx))) in compareValueRangesAllTrue() [all...] |
H A D | rsgUtils.cpp | 64 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValue() 67 float minVal = valueRange.component(ndx).getMin().asFloat(); in computeRandomValue() 68 float maxVal = valueRange.component(ndx).getMax().asFloat(); in computeRandomValue() 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); in computeRandomValue() 74 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValue() 76 int minVal = valueRange.component(ndx) in computeRandomValue() [all...] |
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrShaderProgram.cpp | 153 for (size_t ndx = 0; ndx < decl.m_vertexAttributes.size(); ++ndx) in ShaderProgram() 155 this->rr::VertexShader::m_inputs[ndx].type = decl.m_vertexAttributes[ndx].type; in ShaderProgram() 156 m_attributeNames[ndx] = decl.m_vertexAttributes[ndx].name; in ShaderProgram() 161 for (size_t ndx = 0; ndx < decl.m_vertexToGeometryVaryings.size(); ++ndx) in ShaderProgram() [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluRenderConfig.cpp | 58 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorCfgs); ndx++) in parseConfigBitsFromName() 60 if (deStringBeginsWith(cfgName, colorCfgs[ndx].name)) in parseConfigBitsFromName() 62 config->redBits = colorCfgs[ndx].redBits; in parseConfigBitsFromName() 63 config->greenBits = colorCfgs[ndx].greenBits; in parseConfigBitsFromName() 64 config->blueBits = colorCfgs[ndx].blueBits; in parseConfigBitsFromName() 65 config->alphaBits = colorCfgs[ndx].alphaBits; in parseConfigBitsFromName() 67 cfgName += strlen(colorCfgs[ndx].name); in parseConfigBitsFromName() 83 for (int ndx in parseConfigBitsFromName() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/ |
H A D | vktVideoCapabilitiesTests.cpp | 110 for (size_t ndx = 0; ndx < queueFamilyPropertiesCount; ++ndx) in iterate() 112 queueFamilyProperties2[ndx].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2; in iterate() 113 queueFamilyProperties2[ndx].pNext = &videoQueueFamilyProperties2[ndx]; in iterate() 114 videoQueueFamilyProperties2[ndx].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR; in iterate() 115 videoQueueFamilyProperties2[ndx].pNext = DE_NULL; in iterate() 116 videoQueueFamilyProperties2[ndx].videoCodecOperations = 0; in iterate() 124 for (uint32_t ndx in iterate() 570 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 659 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 774 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 861 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local [all...] |
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrPrimitiveAssembler.hpp | 84 for (size_t ndx = 0; ndx + 2 < numVertices; ndx += 3) in exec() 85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset); in exec() 106 size_t ndx = 2; in exec() local 111 if (ndx >= numVertices) in exec() 114 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2)); in exec() 115 vert0 = vertices[ndx]; in exec() [all...] |
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deSha1.c | 62 size_t ndx; in deSha1Stream_flushChunk() local 65 for (ndx = 16; ndx < DE_LENGTH_OF_ARRAY(stream->data); ndx++) in deSha1Stream_flushChunk() 67 stream->data[ndx] = leftRotate(stream->data[ndx - 3] in deSha1Stream_flushChunk() 68 ^ stream->data[ndx - 8] in deSha1Stream_flushChunk() 69 ^ stream->data[ndx - 14] in deSha1Stream_flushChunk() 70 ^ stream->data[ndx - 16], 1); in deSha1Stream_flushChunk() 80 size_t ndx; in deSha1Stream_flushChunk() local 161 size_t ndx; deSha1Stream_finalize() local 386 size_t ndx; deSha1_selfTest() local 402 size_t ndx; deSha1_selfTest() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 116 bool get (size_t ndx) const in get() 118 return (m_data[ndx / BLOCK_BIT_SIZE] & (0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE))) != 0; in get() 121 void set (size_t ndx, bool value) in set() argument 124 m_data[ndx / BLOCK_BIT_SIZE] |= 0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE); in set() 126 m_data[ndx / BLOCK_BIT_SIZE] &= ~(0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE)); in set() 131 size_t ndx = offset; in setRange() local 133 for (; (ndx < offse in setRange() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineCreationFeedbackTests.cpp | 94 std::string getCaseStr (const deUint32 ndx) in getCaseStr() argument 96 switch(ndx) in getCaseStr() 321 " for(int ndx=0; ndx<3; ndx++)\n" in initPrograms() 323 " gl_Position = gl_in[ndx].gl_Position;\n" in initPrograms() 324 " vtxColor = in_vtxColor[ndx];\n" in initPrograms() 448 for (deUint32 ndx = 0; ndx < PIPELINE_CACHE_NDX_COUNT; ndx 931 buildDescriptorSets(deUint32 ndx) buildDescriptorSets() argument 943 buildShader(deUint32 ndx) buildShader() argument 964 buildPipeline(const CacheTestParam* param, deUint32 ndx) buildPipeline() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoCapabilitiesTests.cpp | 111 for (size_t ndx = 0; ndx < queueFamilyPropertiesCount; ++ndx) in iterate() 113 queueFamilyProperties2[ndx].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2; in iterate() 114 queueFamilyProperties2[ndx].pNext = &videoQueueFamilyProperties2[ndx]; in iterate() 115 videoQueueFamilyProperties2[ndx].sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR; in iterate() 116 videoQueueFamilyProperties2[ndx].pNext = DE_NULL; in iterate() 117 videoQueueFamilyProperties2[ndx].videoCodecOperations = 0; in iterate() 125 for (uint32_t ndx in iterate() 577 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 666 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 852 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local 939 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; iterate() local [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fRboStateQueryTests.cpp | 63 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(referenceSizes); ++ndx) in checkRenderbufferComponentSize() 65 if (referenceSizes[ndx] == -1) in checkRenderbufferComponentSize() 69 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramNames[ndx], &state); in checkRenderbufferComponentSize() 74 if (state < referenceSizes[ndx]) in checkRenderbufferComponentSize() 76 testCtx.getLog() << TestLog::Message << "// ERROR: Expected greater or equal to " << referenceSizes[ndx] << "; got " << state << TestLog::EndMessage; in checkRenderbufferComponentSize() 166 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(requiredColorformats); ++ndx) in test() [all...] |
H A D | es2fTextureStateQueryTests.cpp | 244 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(wrapValues); ++ndx) in testTexture() 246 glTexParameteri(m_textureTarget, m_valueName, wrapValues[ndx]); in testTexture() 249 m_verifier->verifyInteger(m_testCtx, m_textureTarget, m_valueName, wrapValues[ndx]); in testTexture() 255 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(wrapValues); ++ndx) in testTexture() 257 glTexParameterf(m_textureTarget, m_valueName, (GLfloat)wrapValues[ndx]); in testTexture() 260 m_verifier->verifyInteger(m_testCtx, m_textureTarget, m_valueName, wrapValues[ndx]); in testTexture() [all...] |
/third_party/elfutils/src/ |
H A D | elfcompress.c | 175 setshdrstrndx (Elf *elf, GElf_Ehdr *ehdr, size_t ndx) in setshdrstrndx() argument 177 if (ndx < SHN_LORESERVE) in setshdrstrndx() 178 ehdr->e_shstrndx = ndx; in setshdrstrndx() 187 zshdr->sh_link = ndx; in setshdrstrndx() 200 const char *newname, size_t ndx, in compress_section() 212 ndx, name, elf_errmsg (-1)); in compress_section() 219 ndx, name); in compress_section() 224 printf ("[%zd] %s %s", ndx, name, in compress_section() 234 error (0, 0, "Couldn't get shdr for section [%zd]", ndx); in compress_section() 248 set_section (unsigned int *sections, size_t ndx) in set_section() argument 199 compress_section(Elf_Scn *scn, size_t orig_size, const char *name, const char *newname, size_t ndx, bool gnu, bool compress, bool report_verbose) compress_section() argument 254 get_section(unsigned int *sections, size_t ndx) get_section() argument 424 size_t ndx = elf_ndxscn (scn); process_file() local 652 size_t ndx = elf_ndxscn (scn); process_file() local 1109 size_t ndx = elf_ndxscn (scn); process_file() local [all...] |
/third_party/NuttX/fs/vfs/ |
H A D | fs_select.c | 105 int ndx; in do_select() local 186 for (fd = 0, ndx = 0; fd < nfds; fd++) in do_select() 199 pollset[ndx].fd = fd; in do_select() 200 pollset[ndx].events |= (POLLIN | POLLRDNORM); in do_select() 210 pollset[ndx].fd = fd; in do_select() 211 pollset[ndx].events |= (POLLOUT | POLLWRNORM); in do_select() 219 pollset[ndx].fd = fd; in do_select() 223 ndx += incr; in do_select() 226 DEBUGASSERT(ndx == npfds); in do_select() 269 for (ndx in do_select() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsm8bitStorageTests.cpp | 169 void addInfo(vector<bool>& info, int& ndx, const int count, const bool isData) in addInfo() argument 172 info[ndx++] = isData; in addInfo() 193 int ndx = 0u; in info8bitStd140() local 198 infoData[ndx++] = true; //i8 in info8bitStd140() 199 infoData[ndx++] = false; //offset in info8bitStd140() 201 infoData[ndx++] = true; //v2i8 in info8bitStd140() 202 infoData[ndx++] = true; //v2i8 in info8bitStd140() 204 addInfo(infoData, ndx, 3, true); //v3i8 in info8bitStd140() 205 infoData[ndx++] = false; //offset in info8bitStd140() 207 addInfo(infoData, ndx, in info8bitStd140() 267 int ndx = 0u; info8bitStd430() local 340 int ndx = 0u; info32bitStd140() local 413 int ndx = 0u; info32bitStd430() local 463 int ndx = 0u; infoMixStd140() local 530 int ndx = 0u; infoMixStd430() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsm8bitStorageTests.cpp | 169 void addInfo(vector<bool>& info, int& ndx, const int count, const bool isData) in addInfo() argument 172 info[ndx++] = isData; in addInfo() 193 int ndx = 0u; in info8bitStd140() local 198 infoData[ndx++] = true; //i8 in info8bitStd140() 199 infoData[ndx++] = false; //offset in info8bitStd140() 201 infoData[ndx++] = true; //v2i8 in info8bitStd140() 202 infoData[ndx++] = true; //v2i8 in info8bitStd140() 204 addInfo(infoData, ndx, 3, true); //v3i8 in info8bitStd140() 205 infoData[ndx++] = false; //offset in info8bitStd140() 207 addInfo(infoData, ndx, in info8bitStd140() 267 int ndx = 0u; info8bitStd430() local 340 int ndx = 0u; info32bitStd140() local 413 int ndx = 0u; info32bitStd430() local 463 int ndx = 0u; infoMixStd140() local 530 int ndx = 0u; infoMixStd430() local [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | dePoolArray.cpp | 275 for (int ndx = 0; ndx < 128; ndx++) in iteratorTest() 276 arr.pushBack(ndx); in iteratorTest() 281 int ndx = 0; in iteratorTest() local 282 for (PoolArray<int>::ConstIterator iter = cRef.begin(); iter != cRef.end(); iter++, ndx++) in iteratorTest() 284 DE_TEST_ASSERT(*iter == ndx); in iteratorTest() 288 ndx = 0; in iteratorTest() 289 for (PoolArray<int>::ConstIterator iter = arr.begin(); iter != arr.end(); iter++, ndx++) in iteratorTest() 291 DE_TEST_ASSERT(*iter == ndx); in iteratorTest() 328 int ndx = 0; iteratorTest() local [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexVerifierUtil.hpp | 44 for (int ndx = 0; ndx < Size; ndx++) in computeFloatingPointError() 45 res[ndx] = computeFloatingPointError(value[ndx], numAccurateBits[ndx]); in computeFloatingPointError() 53 for (int ndx = 0; ndx < Size; ndx++) in computeFixedPointError() 54 res[ndx] in computeFixedPointError() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryEmitGeometryShaderTests.cpp | 249 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(emitTests); ++ndx) in createEmitGeometryShaderTests() 251 emitTests[ndx].name = std::string(emitTests[ndx].name) + "_emit_" + de::toString(emitTests[ndx].emitCountA) + "_end_" + de::toString(emitTests[ndx].endCountA); in createEmitGeometryShaderTests() 252 emitTests[ndx].desc = std::string(emitTests[ndx].name) + " output, emit " + de::toString(emitTests[ndx] in createEmitGeometryShaderTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryEmitGeometryShaderTests.cpp | 249 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(emitTests); ++ndx) in createEmitGeometryShaderTests() 251 emitTests[ndx].name = std::string(emitTests[ndx].name) + "_emit_" + de::toString(emitTests[ndx].emitCountA) + "_end_" + de::toString(emitTests[ndx].endCountA); in createEmitGeometryShaderTests() 252 emitTests[ndx].desc = std::string(emitTests[ndx].name) + " output, emit " + de::toString(emitTests[ndx] in createEmitGeometryShaderTests() [all...] |