/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemAttachmentLoadTests.cpp | 304 rnd.getFloat(0.0, 1.0f), in createAttachmentLoadTests() 305 rnd.getFloat(0.0, 1.0f), in createAttachmentLoadTests() 306 rnd.getFloat(0.0, 1.0f), in createAttachmentLoadTests() 307 rnd.getFloat(0.0, 1.0f)); in createAttachmentLoadTests() 311 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createAttachmentLoadTests() 312 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentLoadTests() 313 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentLoadTests() 314 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentLoadTests()
|
D | vktProtectedMemClearColorImageTests.cpp | 322 rnd.getFloat(0.0, 1.0f), in createClearColorImageTests() 323 rnd.getFloat(0.0, 1.0f), in createClearColorImageTests() 324 rnd.getFloat(0.0, 1.0f), in createClearColorImageTests() 325 rnd.getFloat(0.0, 1.0f)); in createClearColorImageTests() 330 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createClearColorImageTests() 331 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createClearColorImageTests() 332 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createClearColorImageTests() 333 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createClearColorImageTests()
|
D | vktProtectedMemBlitImageTests.cpp | 429 rnd.getFloat(0.0, 1.0f), in createBlitImageTests() 430 rnd.getFloat(0.0, 1.0f), in createBlitImageTests() 431 rnd.getFloat(0.0, 1.0f), in createBlitImageTests() 432 rnd.getFloat(0.0, 1.0f)); in createBlitImageTests() 437 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createBlitImageTests() 438 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createBlitImageTests() 439 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createBlitImageTests() 440 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createBlitImageTests()
|
D | vktProtectedMemCopyImageTests.cpp | 427 rnd.getFloat(0.0, 1.0f), in createCopyImageTests() 428 rnd.getFloat(0.0, 1.0f), in createCopyImageTests() 429 rnd.getFloat(0.0, 1.0f), in createCopyImageTests() 430 rnd.getFloat(0.0, 1.0f)); in createCopyImageTests() 435 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createCopyImageTests() 436 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyImageTests() 437 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyImageTests() 438 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyImageTests()
|
D | vktProtectedMemAttachmentClearTests.cpp | 360 rnd.getFloat(0.0, 1.0f), in createAttachmentClearTests() 361 rnd.getFloat(0.0, 1.0f), in createAttachmentClearTests() 362 rnd.getFloat(0.0, 1.0f), in createAttachmentClearTests() 363 rnd.getFloat(0.0, 1.0f)); in createAttachmentClearTests() 368 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createAttachmentClearTests() 369 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentClearTests() 370 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentClearTests() 371 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createAttachmentClearTests()
|
D | vktProtectedMemCopyBufferToImageTests.cpp | 387 } fillValue = { rnd.getFloat(0.0, 1.0f) }; in createCopyBufferToImageTests() 392 …{ tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getF… in createCopyBufferToImageTests() 393 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyBufferToImageTests() 394 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyBufferToImageTests() 395 …tcu::Vec4(rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFloat(0.0f, 1.0f), rnd.getFlo… in createCopyBufferToImageTests()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmUboMatrixPaddingTests.cpp | 133 inputData.push_back(tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat())); in addComputeUboMatrixPaddingTest() 161 inputData[numIdx] = tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()); in addGraphicsUboMatrixPaddingTest()
|
D | vktSpvAsmImageSamplerTests.cpp | 761 inputData.push_back(tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat())); in addComputeImageSamplerTest() 1053 inputData[numIdx] = tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()); in addGraphicsImageSamplerTest() 1199 inputDataVec4.push_back(Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat())); in addGraphicsDepthPropertyTest()
|
/external/deqp/modules/gles3/functional/ |
D | es3fPixelBufferObjectTests.cpp | 433 float clearRed = m_colorScale * m_random.getFloat(); in iterate() 434 float clearGreen = m_colorScale * m_random.getFloat(); in iterate() 435 float clearBlue = m_colorScale * m_random.getFloat(); in iterate() 436 float clearAlpha = m_colorScale * (0.5f + 0.5f * m_random.getFloat()); in iterate() 456 float x1 = 2.0f * m_random.getFloat() - 1.0f; in iterate() 457 float y1 = 2.0f * m_random.getFloat() - 1.0f; in iterate() 458 float z1 = 2.0f * m_random.getFloat() - 1.0f; in iterate() 460 float x2 = 2.0f * m_random.getFloat() - 1.0f; in iterate() 461 float y2 = 2.0f * m_random.getFloat() - 1.0f; in iterate() 462 float z2 = 2.0f * m_random.getFloat() - 1.0f; in iterate() [all …]
|
D | es3fFboMultisampleTests.cpp | 152 float r = rnd.getFloat(); in render() 153 float g = rnd.getFloat(); in render() 154 float b = rnd.getFloat(); in render() 155 float a = rnd.getFloat(); in render() 156 float x0 = rnd.getFloat(-1.0f, 1.0f); in render() 157 float y0 = rnd.getFloat(-1.0f, 1.0f); in render() 158 float z0 = rnd.getFloat(-1.0f, 1.0f); in render() 159 float x1 = rnd.getFloat(-1.0f, 1.0f); in render() 160 float y1 = rnd.getFloat(-1.0f, 1.0f); in render() 161 float z1 = rnd.getFloat(-1.0f, 1.0f); in render()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | FloatArrayListTest.java | 124 assertEquals(1F, TERTIARY_LIST.getFloat(0)); in testGetFloat() 125 assertEquals(2F, TERTIARY_LIST.getFloat(1)); in testGetFloat() 126 assertEquals(3F, TERTIARY_LIST.getFloat(2)); in testGetFloat() 166 assertEquals(0F, list.getFloat(0)); in testSet() 169 assertEquals(0F, list.getFloat(1)); in testSet() 191 assertEquals(0F, list.getFloat(0)); in testSetFloat() 194 assertEquals(0F, list.getFloat(1)); in testSetFloat() 258 assertEquals(1F, list.getFloat(0)); in testAddAll()
|
/external/deqp/framework/delibs/decpp/ |
D | deRandom.hpp | 44 float getFloat (void) { return deRandom_getFloat(&m_rnd); } in getFloat() function in de::Random 48 float getFloat (float min, float max); 79 inline float Random::getFloat (float min, float max) in getFloat() function in de::Random 82 return min + (max-min)*getFloat(); in getFloat() 144 float p = getFloat(0.0f, weightSum); in chooseWeighted()
|
/external/deqp/modules/glshared/ |
D | glsRandomUniformBlockCase.cpp | 88 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() 148 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateUniform() 149 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateUniform() 161 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType() 181 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateType() 182 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateType() 189 else if (m_maxArrayLength > 0 && arrayOk && rnd.getFloat() < arrayWeight) in generateType()
|
D | glsInteractionTestUtil.cpp | 149 state.scissorTestEnabled = rnd.getFloat() < scissorTestProbability; in computeRandomRenderState() 150 state.stencilTestEnabled = rnd.getFloat() < stencilTestProbability; in computeRandomRenderState() 151 state.depthTestEnabled = rnd.getFloat() < depthTestProbability; in computeRandomRenderState() 152 state.blendEnabled = rnd.getFloat() < blendProbability; in computeRandomRenderState() 153 state.ditherEnabled = rnd.getFloat() < ditherProbability; in computeRandomRenderState() 187 state.depthWriteMask = rnd.getFloat() < depthWriteProbability; in computeRandomRenderState() 217 state.colorMask[ndx] = rnd.getFloat() < colorWriteProbability; in computeRandomRenderState()
|
D | glsLongStressCase.cpp | 779 val[i] = rnd.getFloat(spec.minValue.f[i], spec.maxValue.f[i]); in setRandomUniforms() 794 val[i] = rnd.getFloat(spec.minValue.f[i], spec.maxValue.f[i]); in setRandomUniforms() 1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData() 1260 const bool useClientMemoryIndexData = m_rnd.getFloat() < m_probabilities.clientMemoryIndexData; in iterate() 1261 const bool useDrawArrays = m_rnd.getFloat() < m_probabilities.useDrawArrays; in iterate() 1262 …const bool separateAttributeBuffers = m_rnd.getFloat() < m_probabilities.separateAttributeBuff… in iterate() 1284 if (!hadProgram || m_rnd.getFloat() < m_probabilities.rebuildProgram) in iterate() 1310 if (!hadTexture || m_rnd.getFloat() < m_probabilities.reuploadTexture) in iterate() 1316 if (!hadTexture || m_rnd.getFloat() < m_probabilities.reuploadWithTexImage) in iterate() 1353 if (!hadIndexBuffer || m_rnd.getFloat() < m_probabilities.reuploadBuffer) in iterate() [all …]
|
/external/deqp/modules/egl/ |
D | teglPreservingSwapTests.cpp | 427 const float clearRed = rnd.getFloat(); in iterate() 428 const float clearGreen = rnd.getFloat(); in iterate() 429 const float clearBlue = rnd.getFloat(); in iterate() 432 const float preSwapX1 = -0.9f * rnd.getFloat(); in iterate() 433 const float preSwapY1 = -0.9f * rnd.getFloat(); in iterate() 434 const float preSwapX2 = 0.9f * rnd.getFloat(); in iterate() 435 const float preSwapY2 = 0.9f * rnd.getFloat(); in iterate() 437 const float postSwapX1 = -0.9f * rnd.getFloat(); in iterate() 438 const float postSwapY1 = -0.9f * rnd.getFloat(); in iterate() 439 const float postSwapX2 = 0.9f * rnd.getFloat(); in iterate() [all …]
|
D | teglMemoryStressTests.cpp | 219 const float red = m_rnd.getFloat(); in allocatePBuffer() 220 const float green = m_rnd.getFloat(); in allocatePBuffer() 221 const float blue = m_rnd.getFloat(); in allocatePBuffer() 222 const float alpha = m_rnd.getFloat(); in allocatePBuffer() 283 const float red = m_rnd.getFloat(); in allocateContext() 284 const float green = m_rnd.getFloat(); in allocateContext() 285 const float blue = m_rnd.getFloat(); in allocateContext() 286 const float alpha = m_rnd.getFloat(); in allocateContext()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixCursorTest.java | 38 assertThat(cursor.getFloat(2)).isEqualTo(0.1f); in shouldAddObjectArraysAsRows() 60 assertThat(cursor.getFloat(2)).isEqualTo(0.1f); in shouldAddIterablesAsRows() 108 assertThat(cursor.getFloat(0)).isEqualTo(42.0F); in shouldAllowTypeFlexibility() 115 assertThat(cursor.getFloat(1)).isEqualTo(3.3F); in shouldAllowTypeFlexibility() 171 assertThat(singleColumnSingleNullValueMatrixCursor.getFloat(0)).isEqualTo(0.0f); in returnsZeroWhenGettingFloatFromNullColumn()
|
D | ShadowBundleTest.java | 65 public void getFloat() { in getFloat() method in ShadowBundleTest 67 assertThat(bundle.getFloat("foo")).isEqualTo(5.0f); in getFloat() 68 assertThat(bundle.getFloat("bar")).isEqualTo(0.0f); in getFloat() 69 assertThat(bundle.getFloat("bar", 7)).isEqualTo(7.0f); in getFloat() 97 assertThat(bundle.getFloat("foo")).isEqualTo(0.0f); in getWrongType()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktRandomUniformBlockCase.cpp | 100 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() 153 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateUniform() 154 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateUniform() 166 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType() 186 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateType() 187 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateType() 194 else if (m_maxArrayLength > 0 && arrayOk && rnd.getFloat() < arrayWeight) in generateType()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktBasicDrawTests.cpp | 635 tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0), // Coord in generateDrawData() 636 …tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0… in generateDrawData() 715 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 718 …colorAccess = tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rn… in generateDrawData() 828 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 831 …colorAccess = tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rn… in generateDrawData() 979 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 982 …colorAccess = tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rn… in generateDrawData()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 180 const float x = rnd.getFloat()*2.5f - 1.25f; in iterate() 181 const float y = rnd.getFloat()*2.5f - 1.25f; in iterate() 188 const float x = rnd.getFloat()*1e6f - 0.5e6f; in iterate() 189 const float y = rnd.getFloat()*1e6f - 0.5e6f; in iterate() 371 const float x = rnd.getFloat()*1.25f; in iterate() 372 const float y = rnd.getFloat()*1.25f; in iterate() 379 const float x = rnd.getFloat()*1e6f - 1e5f; in iterate() 380 const float y = rnd.getFloat()*1e6f - 1e5f; in iterate() 778 const float x = rnd.getFloat()*2.5f - 1.25f; in iterate() 779 const float y = rnd.getFloat()*2.5f - 1.25f; in iterate() [all …]
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Vec3.php | 30 return $this->bb->getFloat($this->bb_pos + 0); 38 return $this->bb->getFloat($this->bb_pos + 4); 46 return $this->bb->getFloat($this->bb_pos + 8);
|
D | Vec3.java | 15 public float x() { return bb.getFloat(bb_pos + 0); } in x() 17 public float y() { return bb.getFloat(bb_pos + 4); } in y() 19 public float z() { return bb.getFloat(bb_pos + 8); } in z()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cShaderBitfieldOperationTests.cpp | 1314 Vec4(rnd.getFloat()))); in init() 1323 Vec4(rnd.getFloat(), -rnd.getFloat()))); in init() 1332 …m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()))… in init() 1342 Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat(), -rnd.getFloat()))); in init() 1355 Vec4(rnd.getFloat()), Ivec4(rnd.getInt(-8, 8)))); in init() 1364 Vec4(rnd.getFloat(), -rnd.getFloat()), in init() 1374 … m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()), in init() 1385 Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat(), -rnd.getFloat()), in init() 1398 Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()))); in init() 1410 Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat(), -rnd.getFloat()))); in init()
|