/third_party/flatbuffers/samples/ |
D | monster_generated.swift | 36 private var _x: Float32 37 private var _y: Float32 38 private var _z: Float32 40 public init(x: Float32, y: Float32, z: Float32) { 52 public var x: Float32 { _x } 53 public var y: Float32 { _y } 54 public var z: Float32 { _z } 65 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) } 66 @discardableResult public func mutate(x: Float32) -> Bool { return _accessor.mutate(x, index: 0) } in mutate() 67 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) } [all …]
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersStructsTests.swift | 41 var x: Float32 42 var y: Float32 43 var z: Float32
|
D | optional_scalars_generated.swift | 97 …public var justF32: Float32 { let o = _accessor.offset(VTOFFSET.justF32.v); return o == 0 ? 0.0 : … 98 …ublic var maybeF32: Float32? { let o = _accessor.offset(VTOFFSET.maybeF32.v); return o == 0 ? nil … 99 …ic var defaultF32: Float32 { let o = _accessor.offset(VTOFFSET.defaultF32.v); return o == 0 ? 42.0… 134 …public static func add(justF32: Float32, _ fbb: inout FlatBufferBuilder) { fbb.add(element: justF3… in add() 135 …public static func add(maybeF32: Float32?, _ fbb: inout FlatBufferBuilder) { fbb.add(element: mayb… in add() 136 …public static func add(defaultF32: Float32, _ fbb: inout FlatBufferBuilder) { fbb.add(element: def… in add() 175 justF32: Float32 = 0.0, 176 maybeF32: Float32? = nil, 177 defaultF32: Float32 = 42.0,
|
D | monster_test_generated.swift | 204 private var _x: Float32 205 private var _y: Float32 206 private var _z: Float32 214 …public init(x: Float32, y: Float32, z: Float32, test1: Double, test2: MyGame_Example_Color, test3:… 242 public var x: Float32 { _x } 243 public var y: Float32 { _y } 244 public var z: Float32 { _z } 258 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) } 259 @discardableResult public func mutate(x: Float32) -> Bool { return _accessor.mutate(x, index: 0) } in mutate() 260 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) } [all …]
|
D | more_defaults_generated.swift | 46 …ts(at index: Int32) -> Float32 { let o = _accessor.offset(VTOFFSET.floats.v); return o == 0 ? 0 : … in floats() 47 public var floats: [Float32] { return _accessor.getVector(at: VTOFFSET.floats.v) ?? [] } 126 public var floats: [Float32]
|
D | FlatBuffersVectorsTests.swift | 110 var vArrayFloat: [Float32]? { __t.getVector(at: 4) } 124 static func createNumbersVector(b: inout FlatBufferBuilder, array: [Float32]) -> Offset { in createNumbersVector()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | VertexStateValidationTests.cpp | 286 state.cAttributes[0].offset = kMaxVertexBufferArrayStride - sizeof(wgpu::VertexFormat::Float32); in TEST_F() 302 state.cAttributes[0].format = wgpu::VertexFormat::Float32; in TEST_F() 371 DoTest(wgpu::VertexFormat::Float32, "f32", true); in TEST_F() 372 DoTest(wgpu::VertexFormat::Float32, "i32", false); in TEST_F() 373 DoTest(wgpu::VertexFormat::Float32, "u32", false); in TEST_F() 396 DoTest(wgpu::VertexFormat::Float32, "f32", true); in TEST_F() 397 DoTest(wgpu::VertexFormat::Float32, "vec2<f32>", true); in TEST_F() 398 DoTest(wgpu::VertexFormat::Float32, "vec3<f32>", true); in TEST_F() 399 DoTest(wgpu::VertexFormat::Float32, "vec4<f32>", true); in TEST_F() 423 DoTest(wgpu::VertexFormat::Float32); in TEST_F()
|
/third_party/flatbuffers/samples/lua/MyGame/Sample/ |
D | Vec3.lua | 19 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 0) 22 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 4) 25 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 8)
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Vec3.lua | 19 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 0) 22 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 4) 25 return self.view:Get(flatbuffers.N.Float32, self.view.pos + 8)
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 91 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp() 92 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp() 99 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 100 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 106 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign() 107 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 108 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign() 109 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 123 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff() 124 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 98 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 99 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 105 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign() 106 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 107 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign() 108 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 139 tcu::Float32::MANTISSA_BITS, // highp in getMinMantissaBits() 149 …return (glu::isDataTypeFloatOrVec(type) ? static_cast<int>(tcu::Float32::EXPONENT_BITS) : static_c… in getExponentBits() 265 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 646 …_cast<deUint64>(tcu::Float64::EXPONENT_BIAS) : static_cast<deUint64>(tcu::Float32::EXPONENT_BIAS)); in infNanRandomFloats() [all …]
|
D | vktShaderFConvertTests.cpp | 165 std::vector<tcu::Float32> getOtherNormals<tcu::Float32> (de::Random& rnd) in getOtherNormals() 168 return convertVector<tcu::Float16, tcu::Float32>(getRandomNormals<tcu::Float16>(rnd)); in getOtherNormals() 176 auto v2 = convertVector<tcu::Float32, tcu::Float64>(getRandomNormals<tcu::Float32>(rnd)); in getOtherNormals() 226 const std::vector<tcu::Float32>& getInputValues32 () const in getInputValues32() 240 , m_values32(getInputValues<tcu::Float32>(m_rnd)) in InputGenerator() 251 std::vector<tcu::Float32> m_values32; 556 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate() 572 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputBufferSizeInfo.numValues, m_pa… in iterate() 829 …auto outputValues = unpackFloats<tcu::Float32>(outputMemory, m_params.vectorLength, inputBufferSiz… in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 87 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp() 88 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp() 95 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 96 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 102 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign() 103 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 104 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign() 105 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 119 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff() 120 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff() [all …]
|
D | es3fShaderDerivateTests.cpp | 207 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits() 208 tcu::Float32(v[1]).exponentBits(), in getCompExpBits() 209 tcu::Float32(v[2]).exponentBits(), in getCompExpBits() 210 tcu::Float32(v[3]).exponentBits()); in getCompExpBits() 217 const int exp = (tcu::Float32(value).exponent() < -3) ? -3 : tcu::Float32(value).exponent(); in computeFloatingPointError() 219 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError() 255 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent() 260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 266 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue() 278 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn() [all …]
|
D | es3fShaderPrecisionTests.cpp | 299 const int in0Exp = tcu::Float32(in0).exponent(); in compare() 300 const int in1Exp = tcu::Float32(in1).exponent(); in compare() 301 const int resExp = tcu::Float32(result).exponent(); in compare() 371 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits()) in iterate() 372 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits()) in iterate() 374 …<< TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) … in iterate() 384 …log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0… in iterate() 393 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits(); in iterate() 400 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits(); in iterate() 838 float minF32 = tcu::Float32((1u<<31) | (0xfdu<<23) | 0x0u).asFloat(); in init() [all …]
|
D | es3fShaderPackingFunctionTests.cpp | 49 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff() 50 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff() 62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 542 …v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloa… in iterate() 682 const deUint32 refBits0 = tcu::Float32(ref0).bits(); in iterate() 683 const deUint32 refBits1 = tcu::Float32(ref1).bits(); in iterate() 684 const deUint32 resBits0 = tcu::Float32(res0).bits(); in iterate() 685 const deUint32 resBits1 = tcu::Float32(res1).bits(); in iterate()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexVerifierUtil.cpp | 39 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError() 41 …return Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - Float32::construct(+1, exp, 1u<<23… in computeFloatingPointError()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 177 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits() 178 tcu::Float32(v[1]).exponentBits(), in getCompExpBits() 179 tcu::Float32(v[2]).exponentBits(), in getCompExpBits() 180 tcu::Float32(v[3]).exponentBits()); in getCompExpBits() 187 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError() 189 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError() 225 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent() 230 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent() 236 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue() 248 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloatFlushToZeroRtn() [all …]
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditSRGB8ConversionTest.cpp | 38 const deUint32 au = tcu::Float32(a).bits(); in calculateDiscreteFloatDistance() 39 const deUint32 bu = tcu::Float32(b).bits(); in calculateDiscreteFloatDistance()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | VertexStateTests.cpp | 57 case VertexFormat::Float32: in ShouldComponentBeDefault() 295 MakeVertexState({{0, VertexStepMode::Vertex, {{0, 0, VertexFormat::Float32}}}}, in TEST_P() 298 MakeTestPipeline(vertexState, 0, {{0, VertexFormat::Float32, VertexStepMode::Vertex}}); in TEST_P() 418 {{0, 0, VertexFormat::Float32}, {1, 6 * sizeof(float), VertexFormat::Float32x2}}}, in TEST_P() 425 {{0, VertexFormat::Float32, VertexStepMode::Vertex}, in TEST_P() 571 {3, 0 /* offset */, VertexFormat::Float32}, // |****| in TEST_P()
|
D | VertexFormatTests.cpp | 100 case wgpu::VertexFormat::Float32: in IsFloatFormat() 142 case wgpu::VertexFormat::Float32: in BytesPerComponents() 162 case wgpu::VertexFormat::Float32: in ComponentCount() 711 TEST_P(VertexFormatTest, Float32) { in TEST_P() argument 714 DoVertexFormatTest(wgpu::VertexFormat::Float32, vertexData, vertexData); in TEST_P() 718 DoVertexFormatTest(wgpu::VertexFormat::Float32, vertexData, vertexData); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeIndex.h | 59 Float32 = 0x0040, // 32 bit real enumerator 185 static TypeIndex Float32() { return TypeIndex(SimpleTypeKind::Float32); } in Float32() function
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | ComboRenderPipelineDescriptor.cpp | 28 vertexAttribute.format = wgpu::VertexFormat::Float32; in ComboVertexState() 60 cAttributes[i].format = wgpu::VertexFormat::Float32; in ComboRenderPipelineDescriptor()
|
/third_party/flatbuffers/lua/flatbuffers/ |
D | builder.lua | 23 local Float32 = N.Float32 345 function mt:PrependFloat32Slot(...) self:PrependSlot(Float32, ...) end 374 function mt:PrependFloat32(x) self:Prepend(Float32, x) end
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 137 tcu::Float32 fp32(val); in isValidFloat() 298 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 299 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
|