Home
last modified time | relevance | path

Searched defs:ValueUnion (Results 1 – 3 of 3) sorted by relevance

/third_party/benchmark/src/
Dsysinfo.cc92 struct ValueUnion { struct
93 union DataT {
99 using DataPtr = std::unique_ptr<DataT, decltype(&std::free)>;
102 size_t Size;
103 DataPtr Buff;
106 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} in ValueUnion() function
108 explicit ValueUnion(size_t BuffSize) in ValueUnion() argument
114 explicit operator bool() const { return bool(Buff); } in operator bool()
116 char* data() const { return Buff->bytes; } in data()
118 std::string GetAsString() const { return std::string(data()); } in GetAsString()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp3560 union ValueUnion { union
3573 ValueUnion (deInt8 v) : i8(v) {} in ValueUnion() function
3574 ValueUnion (deUint8 v) : u8(v) {} in ValueUnion() function
3575 ValueUnion (deInt16 v) : i16(v) {} in ValueUnion() function
3576 ValueUnion (deUint16 v) : u16(v) {} in ValueUnion() function
3577 ValueUnion (deInt32 v) : i32(v) {} in ValueUnion() function
3578 ValueUnion (deUint32 v) : u32(v) {} in ValueUnion() function
3579 ValueUnion (deInt64 v) : i64(v) {} in ValueUnion() function
3580 ValueUnion (deUint64 v) : u64(v) {} in ValueUnion() function
3581 ValueUnion (tcu::Float16 v) : f16(v) {} in ValueUnion() function
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.h290 union ValueUnion union