• Home
  • Raw
  • Download

Lines Matching refs:uvalue

210 size_t Stream::PutNHex8(size_t n, uint8_t uvalue) {  in PutNHex8()  argument
213 _PutHex8(uvalue, false); in PutNHex8()
217 void Stream::_PutHex8(uint8_t uvalue, bool add_prefix) { in _PutHex8() argument
219 Write(&uvalue, 1); in _PutHex8()
228 nibble_chars[0] = g_hex_to_ascii_hex_char[(uvalue >> 4) & 0xf]; in _PutHex8()
229 nibble_chars[1] = g_hex_to_ascii_hex_char[(uvalue >> 0) & 0xf]; in _PutHex8()
234 size_t Stream::PutHex8(uint8_t uvalue) { in PutHex8() argument
236 _PutHex8(uvalue, false); in PutHex8()
240 size_t Stream::PutHex16(uint16_t uvalue, ByteOrder byte_order) { in PutHex16() argument
247 for (size_t byte = 0; byte < sizeof(uvalue); ++byte) in PutHex16()
248 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex16()
250 for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte) in PutHex16()
251 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex16()
256 size_t Stream::PutHex32(uint32_t uvalue, ByteOrder byte_order) { in PutHex32() argument
263 for (size_t byte = 0; byte < sizeof(uvalue); ++byte) in PutHex32()
264 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex32()
266 for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte) in PutHex32()
267 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex32()
272 size_t Stream::PutHex64(uint64_t uvalue, ByteOrder byte_order) { in PutHex64() argument
279 for (size_t byte = 0; byte < sizeof(uvalue); ++byte) in PutHex64()
280 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex64()
282 for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte) in PutHex64()
283 _PutHex8(static_cast<uint8_t>(uvalue >> (byte * 8)), false); in PutHex64()
288 size_t Stream::PutMaxHex64(uint64_t uvalue, size_t byte_size, in PutMaxHex64() argument
292 return PutHex8(static_cast<uint8_t>(uvalue)); in PutMaxHex64()
294 return PutHex16(static_cast<uint16_t>(uvalue), byte_order); in PutMaxHex64()
296 return PutHex32(static_cast<uint32_t>(uvalue), byte_order); in PutMaxHex64()
298 return PutHex64(uvalue, byte_order); in PutMaxHex64()