/external/deqp/modules/gles3/functional/ |
D | es3fFboMultisampleTests.cpp | 151 float r = rnd.getFloat(); in render() 152 float g = rnd.getFloat(); in render() 153 float b = rnd.getFloat(); in render() 154 float a = rnd.getFloat(); in render() 155 float x0 = rnd.getFloat(-1.0f, 1.0f); in render() 156 float y0 = rnd.getFloat(-1.0f, 1.0f); in render() 157 float z0 = rnd.getFloat(-1.0f, 1.0f); in render() 158 float x1 = rnd.getFloat(-1.0f, 1.0f); in render() 159 float y1 = rnd.getFloat(-1.0f, 1.0f); in render() 160 float z1 = rnd.getFloat(-1.0f, 1.0f); in render()
|
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 | es3fFloatStateQueryTests.cpp | 867 GLfloat n = rnd.getFloat(0, 1); in test() 868 GLfloat f = rnd.getFloat(0, 1); in test() 902 const GLfloat reference = rnd.getFloat(range[0], range[1]); in test() 943 const GLfloat reference = rnd.getFloat(-64000, 64000); in test() 984 const GLfloat reference = rnd.getFloat(-64000, 64000); in test() 1041 GLfloat reference = rnd.getFloat(0, 1); in test() 1090 const GLfloat r = rnd.getFloat(0, 1); in test() 1091 const GLfloat g = rnd.getFloat(0, 1); in test() 1092 const GLfloat b = rnd.getFloat(0, 1); in test() 1093 const GLfloat a = rnd.getFloat(0, 1); in test() [all …]
|
/external/skia/src/core/ |
D | SkColorSpace.cpp | 97 return color_space_almost_equal(toXYZD50.getFloat(0, 0), standard[0]) && in xyz_almost_equal() 98 color_space_almost_equal(toXYZD50.getFloat(0, 1), standard[1]) && in xyz_almost_equal() 99 color_space_almost_equal(toXYZD50.getFloat(0, 2), standard[2]) && in xyz_almost_equal() 100 color_space_almost_equal(toXYZD50.getFloat(1, 0), standard[3]) && in xyz_almost_equal() 101 color_space_almost_equal(toXYZD50.getFloat(1, 1), standard[4]) && in xyz_almost_equal() 102 color_space_almost_equal(toXYZD50.getFloat(1, 2), standard[5]) && in xyz_almost_equal() 103 color_space_almost_equal(toXYZD50.getFloat(2, 0), standard[6]) && in xyz_almost_equal() 104 color_space_almost_equal(toXYZD50.getFloat(2, 1), standard[7]) && in xyz_almost_equal() 105 color_space_almost_equal(toXYZD50.getFloat(2, 2), standard[8]) && in xyz_almost_equal() 106 color_space_almost_equal(toXYZD50.getFloat(0, 3), 0.0f) && in xyz_almost_equal() [all …]
|
/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/external/vulkancts/modules/vulkan/ubo/ |
D | vktRandomUniformBlockCase.cpp | 100 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() 141 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateUniform() 142 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateUniform() 154 if (typeDepth < m_maxStructDepth && rnd.getFloat() < structWeight) in generateType() 174 flags |= (unusedOk && rnd.getFloat() < unusedVtxWeight) ? UNUSED_VERTEX : 0; in generateType() 175 flags |= (unusedOk && rnd.getFloat() < unusedFragWeight) ? UNUSED_FRAGMENT : 0; in generateType() 182 else if (m_maxArrayLength > 0 && arrayOk && rnd.getFloat() < arrayWeight) in generateType()
|
/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()
|
D | teglRenderTests.cpp | 174 const float cx = rnd.getFloat(-1.0f, 1.0f); in randomizeDrawOp() 175 const float cy = rnd.getFloat(-1.0f, 1.0f); in randomizeDrawOp() 182 position.x() = cx + rnd.getFloat(-maxTriOffset, maxTriOffset); in randomizeDrawOp() 183 position.y() = cy + rnd.getFloat(-maxTriOffset, maxTriOffset); in randomizeDrawOp() 184 position.z() = rnd.getFloat(minDepth, maxDepth); in randomizeDrawOp() 187 color.x() = rnd.getFloat(minRGB, maxRGB); in randomizeDrawOp() 188 color.y() = rnd.getFloat(minRGB, maxRGB); in randomizeDrawOp() 189 color.z() = rnd.getFloat(minRGB, maxRGB); in randomizeDrawOp() 190 color.w() = rnd.getFloat(minAlpha, maxAlpha); in randomizeDrawOp() 203 p1.x() = cx + rnd.getFloat(-maxTriOffset, maxTriOffset); in randomizeDrawOp() [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/vulkancts/modules/vulkan/draw/ |
D | vktBasicDrawTests.cpp | 646 tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0), // Coord in generateDrawData() 647 …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() 739 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 742 …colorAccess = tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rn… in generateDrawData() 866 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 869 …colorAccess = tcu::Vec4(rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rnd.getFloat(0.0, 1.0), rn… in generateDrawData() 1031 positionAccess = tcu::Vec4(rnd.getFloat(-1.0, 1.0), rnd.getFloat(-1.0, 1.0), 1.0, 1.0); in generateDrawData() 1034 …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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
D | TestSharedPreferencesTest.java | 46 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); in commit_shouldStoreValues() 74 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); in commit_shouldRemoveValuesThenSetValues() 95 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); in commit_shouldClearThenSetValues() 117 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(666f)); in shouldReturnDefaultValues()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 182 const float x = rnd.getFloat()*2.5f - 1.25f; in iterate() 183 const float y = rnd.getFloat()*2.5f - 1.25f; in iterate() 190 const float x = rnd.getFloat()*1e6f - 0.5e6f; in iterate() 191 const float y = rnd.getFloat()*1e6f - 0.5e6f; in iterate() 405 const float x = rnd.getFloat()*1.25f; in iterate() 406 const float y = rnd.getFloat()*1.25f; in iterate() 413 const float x = rnd.getFloat()*1e6f - 1e5f; in iterate() 414 const float y = rnd.getFloat()*1e6f - 1e5f; in iterate() 876 const float x = rnd.getFloat()*2.5f - 1.25f; in iterate() 877 const float y = rnd.getFloat()*2.5f - 1.25f; in iterate() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | MatrixCursorTest.java | 41 assertThat(cursor.getFloat(2), equalTo(0.1f)); in shouldAddRows() 89 assertThat(cursor.getFloat(0), equalTo(42.0F)); in shouldAllowTypeFlexibility() 96 assertThat(cursor.getFloat(1), equalTo(3.3F)); in shouldAllowTypeFlexibility() 150 assertThat(singleColumnSingleNullValueMatrixCursor.getFloat(0), is(equalTo(0.0f))); in returnsZeroWhenGettingFloatFromNullColumn()
|
D | SettingsTest.java | 85 assertThat(Settings.System.getFloat(contentResolver, "property", 23.23f), equalTo(23.23f)); in testSystemGetFloat() 87 assertThat(Settings.System.getFloat(contentResolver, "property", 10L), equalTo(42.42f)); in testSystemGetFloat() 102 Settings.System.getFloat(contentResolver, "property"); in testSystemGetFloat_exception()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPObject.java | 131 if (f.getFloat(this) != g.getFloat(that)) in equals() 221 if (f.getFloat(this) != g.getFloat(that)) in match() 337 float floatField = f.getFloat(this); in debugDump()
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | NetObject.java | 129 if (f.getFloat(this) != g.getFloat(that)) in equals() 219 if (f.getFloat(this) != g.getFloat(that)) in match() 330 float floatField = f.getFloat(this); in debugDump()
|
/external/deqp/modules/gles3/stress/ |
D | es3sSyncTests.cpp | 104 dst[i*4 ] = rnd.getFloat(-1.0f, 1.0f); // x in generateVertices() 105 dst[i*4 + 1] = rnd.getFloat(-1.0f, 1.0f); // y in generateVertices() 106 dst[i*4 + 2] = rnd.getFloat( 0.0f, 1.0f); // z in generateVertices()
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | ParametersDelegateTest.java | 65 abstract float getFloat(); in combinedAndNestedDelegates() 93 float getFloat() { in combinedAndNestedDelegates() 110 Assert.assertEquals(p.nestedDelegate2.anonymousDelegate.getFloat(), 1.2f); in combinedAndNestedDelegates()
|