/external/deqp/modules/gles31/functional/ |
es31fIndexedStateQueryTests.cpp | 122 for (int ndx = 0; ndx < m_maxSampleMaskWords; ++ndx) 123 verifyStateIndexedInteger(result, gl, GL_SAMPLE_MASK_VALUE, ndx, -1, m_verifierType); 130 for (int ndx = 0; ndx < m_maxSampleMaskWords; ++ndx) 132 gl.glSampleMaski(ndx, 0); 135 verifyStateIndexedInteger(result, gl, GL_SAMPLE_MASK_VALUE, ndx, 0, m_verifierType); 189 for (int ndx = 0; ndx < 3; ++ndx [all...] |
/external/deqp/framework/randomshaders/ |
rsgVariableValue.cpp | 40 for (int ndx = 0; ndx < numMembers; ndx++) 42 if (!compareValueRangesAllTrue<CompareOp>(a.member(ndx), b.member(ndx))) 49 for (int ndx = 0; ndx < numElements; ndx++) 51 if (!compareValueRangesAllTrue<CompareOp>(a.arrayElement(ndx), b.arrayElement(ndx))) [all...] |
rsgUtils.cpp | 64 for (int ndx = 0; ndx < type.getNumElements(); ndx++) 67 float minVal = valueRange.component(ndx).getMin().asFloat(); 68 float maxVal = valueRange.component(ndx).getMax().asFloat(); 69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); 74 for (int ndx = 0; ndx < type.getNumElements(); ndx++) 76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0 [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.cpp | 153 for (size_t ndx = 0; ndx < decl.m_vertexAttributes.size(); ++ndx) 155 this->rr::VertexShader::m_inputs[ndx].type = decl.m_vertexAttributes[ndx].type; 156 m_attributeNames[ndx] = decl.m_vertexAttributes[ndx].name; 161 for (size_t ndx = 0; ndx < decl.m_vertexToGeometryVaryings.size(); ++ndx) [all...] |
/external/elfutils/libebl/ |
ebl_check_special_section.c | 37 ebl_check_special_section (Ebl *ebl, int ndx, const GElf_Shdr *shdr, 40 return ebl != NULL && ebl->check_special_section (ebl, ndx, shdr, sname);
|
/bionic/tools/relocation_packer/src/ |
delta_encoder_unittest.cc | 58 size_t ndx = 0; local 59 EXPECT_EQ(1U, packed[ndx++]); 60 EXPECT_EQ(0xf00d0000, packed[ndx++]); 61 EXPECT_EQ(1U, packed[ndx++]); // group_size 62 EXPECT_EQ(8U, packed[ndx++]); // flags 64 EXPECT_EQ(0U, packed[ndx++]); // offset_delta 65 EXPECT_EQ(11U, packed[ndx++]); // info 66 EXPECT_EQ(10000U, packed[ndx++]); // addend_delta 75 ndx = 0; 78 EXPECT_EQ(2U, packed[ndx++]); // relocs coun [all...] |
packer_unittest.cc | 60 size_t ndx = 0; local 61 EXPECT_EQ('A', packed[ndx++]); 62 EXPECT_EQ('P', packed[ndx++]); 63 EXPECT_EQ('S', packed[ndx++]); 64 EXPECT_EQ('2', packed[ndx++]); 66 EXPECT_EQ(6, packed[ndx++]); 68 EXPECT_EQ(0xfc, packed[ndx++]); 69 EXPECT_EQ(0xff, packed[ndx++]); 70 EXPECT_EQ(0xb7, packed[ndx++]); 71 EXPECT_EQ(0x8e, packed[ndx++]) 126 size_t ndx = 0; local 169 size_t ndx = 0; local 281 size_t ndx = 0; local [all...] |
/external/deqp/framework/opengl/ |
gluRenderConfig.cpp | 58 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorCfgs); ndx++) 60 if (deStringBeginsWith(cfgName, colorCfgs[ndx].name)) 62 config->redBits = colorCfgs[ndx].redBits; 63 config->greenBits = colorCfgs[ndx].greenBits; 64 config->blueBits = colorCfgs[ndx].blueBits; 65 config->alphaBits = colorCfgs[ndx].alphaBits; 67 cfgName += strlen(colorCfgs[ndx].name); 83 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthCfgs); ndx++ [all...] |
gluStrUtil.cpp | 38 for (deUint32 ndx = 0; ndx < fmt.size; ndx++) 40 if (ndx != 0) 42 str << getBooleanStr(fmt.value[ndx]); 57 for (deUint32 ndx = 0; ndx < fmt.size; ndx++) 59 if (ndx != 0) 62 str << tcu::Format::Enum<int, 4>(fmt.getName, fmt.value[ndx]); [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkDeviceUtil.cpp | 70 for (size_t ndx = 0; ndx < enabledLayers.size(); ++ndx) 71 layerNamePtrs[ndx] = enabledLayers[ndx].c_str(); 73 for (size_t ndx = 0; ndx < enabledExtensions.size(); ++ndx) 74 extensionNamePtrs[ndx] = enabledExtensions[ndx].c_str() [all...] |
/external/deqp/framework/common/ |
tcuArray.hpp | 41 inline T operator[] (int ndx) const { return m_data[ndx]; } 42 inline T& operator[] (int ndx) { return m_data[ndx]; }
|
tcuTexVerifierUtil.hpp | 43 for (int ndx = 0; ndx < Size; ndx++) 44 res[ndx] = computeFloatingPointError(value[ndx], numAccurateBits[ndx]); 52 for (int ndx = 0; ndx < Size; ndx++) 53 res[ndx] = computeFixedPointError(numAccurateBits[ndx]) [all...] |
/external/deqp/framework/referencerenderer/ |
rrPrimitiveAssembler.hpp | 84 for (size_t ndx = 0; ndx + 2 < numVertices; ndx += 3) 85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset); 106 size_t ndx = 2; local 111 if (ndx >= numVertices) 114 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2)); 115 vert0 = vertices[ndx]; [all...] |
rrPrimitivePacket.cpp | 54 for (size_t ndx = 0; ndx < m_vpalloc.getNumVertexOutputs(); ++ndx) 55 packet->outputs[ndx] = varyings[ndx];
|
/external/deqp/framework/platform/android/ |
tcuAndroidWindow.cpp | 149 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx) 151 Window* const window = m_windows[ndx]; 158 m_windows[ndx] = m_windows.back(); 173 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx) 175 Window* const window = m_windows[ndx]; 186 for (int ndx = 0; ndx < (int)m_windows.size(); ++ndx [all...] |
/external/elfutils/tests/ |
zstrptr.c | 62 size_t ndx; local 63 if (elf_getshdrstrndx (elf, &ndx) != 0) 69 if (ndx == SHN_UNDEF) 75 Elf_Scn *scn = elf_getscn (elf, ndx); 78 printf ("Couldn't get section %zd: %s\n", ndx, elf_errmsg (-1)); 87 printf ("Strings in section %zd (%s):\n", ndx, 92 const char *str = elf_strptr (elf, ndx, off); 97 str = elf_strptr (elf, ndx, off); 103 printf ("Couldn't compress section %zd: %s\n", ndx, elf_errmsg (-1)); 110 printf ("Couldn't decompress section %zd: %s\n", ndx, elf_errmsg (-1)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryEmitGeometryShaderTests.cpp | 243 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(emitTests); ++ndx) 245 emitTests[ndx].name = std::string(emitTests[ndx].name) + "_emit_" + de::toString(emitTests[ndx].emitCountA) + "_end_" + de::toString(emitTests[ndx].endCountA); 246 emitTests[ndx].desc = std::string(emitTests[ndx].name) + " output, emit " + de::toString(emitTests[ndx].emitCountA) + " vertices, call EndPrimitive " + de::toString(emitTests[ndx].endCountA) + " times" [all...] |
/external/deqp/framework/delibs/debase/ |
deSha1.c | 62 size_t ndx; local 65 for (ndx = 16; ndx < DE_LENGTH_OF_ARRAY(stream->data); ndx++) 67 stream->data[ndx] = leftRotate(stream->data[ndx - 3] 68 ^ stream->data[ndx - 8] 69 ^ stream->data[ndx - 14] 70 ^ stream->data[ndx - 16], 1); 80 size_t ndx; local 161 size_t ndx; local 372 size_t ndx; local 388 size_t ndx; local [all...] |
/external/deqp/framework/delibs/decpp/ |
deRandom.hpp | 109 int ndx; local 110 for (ndx = 0; first != last; ++first, ++ndx) 112 if (ndx < numItems) 113 *(result + ndx) = *first; 116 int r = getInt(0, ndx); 122 DE_ASSERT(ndx >= numItems); 139 int ndx; local 140 for (ndx = 0; (first + ndx) != last; ndx++ [all...] |
deSpinBarrier.cpp | 240 for (int ndx = 0; ndx < numThreads; ndx++) 242 threads[ndx] = new TestThread(barrier, &sharedVar, numThreads, ndx); 243 DE_TEST_ASSERT(threads[ndx]); 244 threads[ndx]->start(); 247 for (int ndx = 0; ndx < numThreads; ndx++ [all...] |
/external/deqp/modules/gles3/functional/ |
es3fIndexedStateQueryTests.cpp | 155 for (int ndx = 0; ndx < 2; ++ndx) 157 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackBuffers[ndx]); 159 glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackIndex[ndx], feedbackBuffers[ndx]); 165 for (int ndx = 0; ndx < 2; ++ndx) 168 glGetIntegeri_v(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING, feedbackIndex[ndx], &boundBuffer) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktRandomUniformBlockCase.cpp | 37 static std::string genName (char first, char last, int ndx) 42 while (ndx > alphabetLen) 44 str.insert(str.begin(), (char)(first + ((ndx - 1) % alphabetLen))); 45 ndx = (ndx - 1) / alphabetLen; 48 str.insert(str.begin(), (char)(first + (ndx % (alphabetLen + 1)) - 1)); 82 for (int ndx = 0; ndx < numShared; ndx++) 85 for (int ndx = 0; ndx < numVtxBlocks; ndx++ [all...] |
/external/deqp/modules/gles2/functional/ |
es2fRboStateQueryTests.cpp | 63 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(referenceSizes); ++ndx) 65 if (referenceSizes[ndx] == -1) 69 gl.glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramNames[ndx], &state); 74 if (state < referenceSizes[ndx]) 76 testCtx.getLog() << TestLog::Message << "// ERROR: Expected greater or equal to " << referenceSizes[ndx] << "; got " << state << TestLog::EndMessage; 170 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(requiredColorformats); ++ndx) [all...] |
/external/deqp/external/glslang/ |
osinclude.cpp | 96 for (int ndx = 0; ndx < numThreads; ndx++) 98 const deThread thread = (deThread)(deUintptr)((void**)threads)[ndx];
|
/external/elfutils/libelf/ |
gelf_update_auxv.c | 40 gelf_update_auxv (Elf_Data *data, int ndx, GElf_auxv_t *src) 49 if (unlikely (ndx < 0)) 79 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size)) 85 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx]; 93 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size)) 99 ((Elf64_auxv_t *) data_scn->d.d_buf)[ndx] = *src;
|