Lines Matching refs:Primitive
809 union Primitive { union
820 Primitive(uint64_t value) : u64(value) { } in Primitive() function
821 Primitive(int64_t value) : i64(value) { } in Primitive() function
822 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive() function
823 Primitive(uint32_t value) : u32(value) { } in Primitive() function
824 Primitive(int32_t value) : i32(value) { } in Primitive() function
825 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive() function
826 Primitive(uint8_t value) : u32(value) { } in Primitive() function
827 Primitive(char value) : i32(value) { } in Primitive() function
828 Primitive(float value) : fp(value) { } in Primitive() function
832 Primitive(E value) in Primitive() function
833 : Primitive(static_cast<typename std::underlying_type<E>::type>(value)) { } in Primitive()
835 Primitive() : u64(0) { } in Primitive() function
847 static_assert(offsetof(Primitive, u64) == offsetof(Primitive, i64), "");
848 static_assert(offsetof(Primitive, u64) == offsetof(Primitive, c64), "");
849 static_assert(offsetof(Primitive, u32) == offsetof(Primitive, i32), "");
850 static_assert(offsetof(Primitive, u32) == offsetof(Primitive, c32), "");
917 Primitive _mValue;
920 template<> inline const int32_t &C2Value::Primitive::ref<int32_t>() const { return i32; }
921 template<> inline const int64_t &C2Value::Primitive::ref<int64_t>() const { return i64; }
922 template<> inline const uint32_t &C2Value::Primitive::ref<uint32_t>() const { return u32; }
923 template<> inline const uint64_t &C2Value::Primitive::ref<uint64_t>() const { return u64; }
924 template<> inline const c2_cntr32_t &C2Value::Primitive::ref<c2_cntr32_t>() const { return c32; }
925 template<> inline const c2_cntr64_t &C2Value::Primitive::ref<c2_cntr64_t>() const { return c64; }
926 template<> inline const float &C2Value::Primitive::ref<float>() const { return fp; }
974 typedef std::pair<C2String, C2Value::Primitive> NamedValueType;
1525 typedef C2Value::Primitive Primitive;
1541 Primitive min;
1543 Primitive max;
1545 Primitive step;
1547 Primitive num;
1549 Primitive denom;
1564 std::vector<Primitive> values;