/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersStructsTests.swift | 69 func createVecWrite(x: Float32, y: Float32, z: Float32) -> UnsafeMutableRawPointer{ in createVecWrite() 72 memory.storeBytes(of: x, toByteOffset: 0, as: Float32.self) in createVecWrite() 73 memory.storeBytes(of: y, toByteOffset: 4, as: Float32.self) in createVecWrite() 74 memory.storeBytes(of: z, toByteOffset: 8, as: Float32.self) in createVecWrite() 85 var x: Float32 { return __p.readBuffer(of: Float32.self, at: 0)} 86 var y: Float32 { return __p.readBuffer(of: Float32.self, at: 4)} 87 var z: Float32 { return __p.readBuffer(of: Float32.self, at: 8)} 139 func createVec2(x: Float32 = 0, y: Float32 = 0, z: Float32 = 0, color: Color2) -> UnsafeMutableRawP… in createVec2() 142 memory.storeBytes(of: x, toByteOffset: 0, as: Float32.self) in createVec2() 143 memory.storeBytes(of: y, toByteOffset: 4, as: Float32.self) in createVec2() [all …]
|
D | monster_test_generated.swift | 107 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) } 108 public func mutate(x: Float32) -> Bool { return _accessor.mutate(x, index: 0) } in mutate() 109 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) } 110 public func mutate(y: Float32) -> Bool { return _accessor.mutate(y, index: 4) } in mutate() 111 public var z: Float32 { return _accessor.readBuffer(of: Float32.self, at: 8) } 112 public func mutate(z: Float32) -> Bool { return _accessor.mutate(z, index: 8) } in mutate() 143 public static func createVec3(x: Float32, y: Float32, z: Float32, test1: Double, test2: MyGame.Exam… in createVec3() 146 memory.storeBytes(of: x, toByteOffset: 0, as: Float32.self) in createVec3() 147 memory.storeBytes(of: y, toByteOffset: 4, as: Float32.self) in createVec3() 148 memory.storeBytes(of: z, toByteOffset: 8, as: Float32.self) in createVec3() [all …]
|
D | FlatBuffersVectorsTests.swift | 93 var vArrayFloat: [Float32]? { return __t.getVector(at: 4) } 107 static func createNumbersVector(b: FlatBufferBuilder, array: [Float32]) -> Offset<UOffset> { in createNumbersVector()
|
/external/clang/test/SemaCXX/ |
D | neon-vector-types.cpp | 5 typedef float Float32; typedef 14 int foo (const Float32 *realBufPtr) { in foo() 19 MP4Err autoCorrelation2nd_Neon(Float32 *alphar, Float32 *alphai, in autoCorrelation2nd_Neon() 20 const Float32 *realBufPtr, in autoCorrelation2nd_Neon() 21 const Float32 *imagBufPtr, in autoCorrelation2nd_Neon()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | neon-vector-types.cpp | 5 typedef float Float32; typedef 14 int foo (const Float32 *realBufPtr) { in foo() 19 MP4Err autoCorrelation2nd_Neon(Float32 *alphar, Float32 *alphai, in autoCorrelation2nd_Neon() 20 const Float32 *realBufPtr, in autoCorrelation2nd_Neon() 21 const Float32 *imagBufPtr, in autoCorrelation2nd_Neon()
|
/external/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)
|
/external/tensorflow/tensorflow/lite/swift/Tests/ |
D | InterpreterTests.swift | 107 let expectedResults = [Float32](unsafeData: outputTensor.data) in testOutputTensorAtIndex() 282 static let inputData = Data(copyingBufferOf: [Float32(1.0), Float32(3.0)]) 283 static let outputData = Data(copyingBufferOf: [Float32(3.0), Float32(9.0)]) 284 static let results = [Float32(3.0), Float32(9.0)]
|
/external/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)
|
/external/deqp/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 | 164 std::vector<tcu::Float32> getOtherNormals<tcu::Float32> (de::Random& rnd) in getOtherNormals() 167 return convertVector<tcu::Float16, tcu::Float32>(getRandomNormals<tcu::Float16>(rnd)); in getOtherNormals() 175 auto v2 = convertVector<tcu::Float32, tcu::Float64>(getRandomNormals<tcu::Float32>(rnd)); in getOtherNormals() 225 const std::vector<tcu::Float32>& getInputValues32 () const in getInputValues32() 239 , m_values32(getInputValues<tcu::Float32>(m_rnd)) in InputGenerator() 250 std::vector<tcu::Float32> m_values32; 554 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vector… in iterate() 570 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate() 597 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vector… in iterate() 859 …auto outputValues = unpackFloats<tcu::Float32>(outputMemory, m_params.vectorLength, inputBufferSiz… in iterate()
|
/external/deqp/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 …]
|
/external/deqp/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()
|
/external/deqp/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()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeIndex.h | 53 Float32 = 0x0040, // 32 bit real enumerator 158 static TypeIndex Float32() { return TypeIndex(SimpleTypeKind::Float32); } in Float32() function
|
/external/deqp/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 …]
|
/external/webrtc/modules/audio_device/mac/ |
D | audio_mixer_manager_mac.cc | 226 const Float32 vol = (Float32)(volume / 255.0); in SetSpeakerVolume() 276 Float32 channelVol = 0; in SpeakerVolume() 277 Float32 vol = 0; in SpeakerVolume() 758 const Float32 vol = (Float32)(volume / 255.0); in SetMicrophoneVolume() 808 Float32 channelVol = 0; in MicrophoneVolume() 809 Float32 volFloat32 = 0; in MicrophoneVolume()
|
/external/deqp/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()
|
/external/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
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeIndex.h | 59 Float32 = 0x0040, // 32 bit real enumerator 194 static TypeIndex Float32() { return TypeIndex(SimpleTypeKind::Float32); } in Float32() function
|
/external/flatbuffers/lua/flatbuffers/ |
D | builder.lua | 22 local Float32 = N.Float32 344 function mt:PrependFloat32Slot(...) self:PrependSlot(Float32, ...) end 373 function mt:PrependFloat32(x) self:Prepend(Float32, x) end
|
/external/deqp/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()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 135 tcu::Float32 fp32(val); in isValidFloat() 292 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init() 293 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
|