Lines Matching refs:bytes

147       scalar = *(const uint8_t *)buffer.bytes;  in GetScalarValue()
150 scalar = *(const uint16_t *)buffer.bytes; in GetScalarValue()
153 scalar = *(const uint32_t *)buffer.bytes; in GetScalarValue()
156 scalar = *(const uint64_t *)buffer.bytes; in GetScalarValue()
165 llvm::ArrayRef<uint64_t>((const uint64_t *)buffer.bytes, in GetScalarValue()
227 memset(buffer.bytes, 0, sizeof(buffer.bytes)); in SetValueFromData()
276 buffer.bytes, // dst buffer in SetValueFromData()
313 std::vector<uint8_t> bytes; in ParseVectorEncoding() local
319 while (!car.getAsInteger(0, byte) && bytes.size() < byte_size) { in ParseVectorEncoding()
320 bytes.push_back(byte); in ParseVectorEncoding()
325 if (bytes.size() != byte_size) in ParseVectorEncoding()
328 reg_value->SetBytes(&(bytes.front()), byte_size, eByteOrderLittle); in ParseVectorEncoding()
496 ::memcpy(buffer.bytes, rhs.buffer.bytes, kMaxRegisterByteSize); in CopyValue()
521 return *(const uint16_t *)buffer.bytes; in GetAsUInt16()
551 return *(const uint32_t *)buffer.bytes; in GetAsUInt32()
580 return *(const uint8_t *)buffer.bytes; in GetAsUInt64()
582 return *(const uint16_t *)buffer.bytes; in GetAsUInt64()
584 return *(const uint32_t *)buffer.bytes; in GetAsUInt64()
586 return *(const uint64_t *)buffer.bytes; in GetAsUInt64()
621 ((const type128 *)buffer.bytes)->x); in GetAsUInt128()
704 return buffer.bytes; in GetBytes()
748 void RegisterValue::SetBytes(const void *bytes, size_t length, in SetBytes() argument
753 if (bytes && length > 0) { in SetBytes()
754 assert(length <= sizeof(buffer.bytes) && in SetBytes()
758 memcpy(buffer.bytes, bytes, length); in SetBytes()
787 return memcmp(buffer.bytes, rhs.buffer.bytes, length) == 0; in operator ==()
830 buffer.bytes[byte_idx] &= ~(1u << byte_bit); in ClearBit()
870 buffer.bytes[byte_idx] |= (1u << byte_bit); in SetBit()