Lines Matching refs:value
39 // Hexadecimal value formatter.
44 Hex (deUint64 value_) : value(value_) {}
55 << value;
67 deUint64 value;
93 Bitfield (deUint64 value, const BitDesc* begin, const BitDesc* end)
94 : m_value (value)
142 typedef const char* (*GetNameFunc) (T value);
144 Enum (GetNameFunc getName, T value)
146 , m_value (value)
249 template <typename T> inline deUint64 toUint64 (T value) { return (deUint64)value & makeMask64<sizeof(T)*8>(); }
251 /** Format value as hexadecimal number. */
253 inline Format::Hex<NumDigits> toHex (T value)
255 return Format::Hex<NumDigits>(toUint64(value));
258 /** Format value as hexadecimal number. */
260 inline Format::Hex<sizeof(T)*2> toHex (T value)
262 return Format::Hex<sizeof(T)*2>(toUint64(value));
267 inline Format::Bitfield<sizeof(T)*8> formatBitfield (T value, const Format::BitDesc (&desc)[Size])
269 return Format::Bitfield<sizeof(T)*8>((deUint64)value, &desc[0], &desc[Size]);