Lines Matching refs:bytes

141     DataExtractor data(buffer.bytes, buffer.length, buffer.byte_order, 1);  in GetScalarValue()
201 memset(buffer.bytes, 0, sizeof(buffer.bytes)); in SetValueFromData()
250 buffer.bytes, // dst buffer in SetValueFromData()
287 std::vector<uint8_t> bytes; in ParseVectorEncoding() local
293 while (!car.getAsInteger(0, byte) && bytes.size() < byte_size) { in ParseVectorEncoding()
294 bytes.push_back(byte); in ParseVectorEncoding()
299 if (bytes.size() != byte_size) in ParseVectorEncoding()
302 reg_value->SetBytes(&(bytes.front()), byte_size, eByteOrderLittle); in ParseVectorEncoding()
499 ::memcpy(buffer.bytes, rhs.buffer.bytes, kMaxRegisterByteSize); in CopyValue()
524 return *reinterpret_cast<const uint16_t *>(buffer.bytes); in GetAsUInt16()
554 return *reinterpret_cast<const uint32_t *>(buffer.bytes); in GetAsUInt32()
583 return *(const uint8_t *)buffer.bytes; in GetAsUInt64()
585 return *reinterpret_cast<const uint16_t *>(buffer.bytes); in GetAsUInt64()
587 return *reinterpret_cast<const uint32_t *>(buffer.bytes); in GetAsUInt64()
589 return *reinterpret_cast<const uint64_t *>(buffer.bytes); in GetAsUInt64()
624 (reinterpret_cast<const type128 *>(buffer.bytes))->x); in GetAsUInt128()
705 m_scalar.GetBytes(buffer.bytes); in GetBytes()
706 return buffer.bytes; in GetBytes()
708 return buffer.bytes; in GetBytes()
752 void RegisterValue::SetBytes(const void *bytes, size_t length, in SetBytes() argument
757 if (bytes && length > 0) { in SetBytes()
758 assert(length <= sizeof(buffer.bytes) && in SetBytes()
762 memcpy(buffer.bytes, bytes, length); in SetBytes()
791 return memcmp(buffer.bytes, rhs.buffer.bytes, length) == 0; in operator ==()
834 buffer.bytes[byte_idx] &= ~(1u << byte_bit); in ClearBit()
874 buffer.bytes[byte_idx] |= (1u << byte_bit); in SetBit()