Lines Matching refs:bytes

120     DataExtractor data(buffer.bytes.data(), buffer.bytes.size(),  in GetScalarValue()
122 if (scalar.SetValueFromData(data, lldb::eEncodingUint, buffer.bytes.size()) in GetScalarValue()
223 buffer.bytes.resize(reg_info.byte_size); in SetValueFromData()
228 buffer.bytes.data(), // dst buffer in SetValueFromData()
229 buffer.bytes.size(), // dst length in SetValueFromData()
265 std::vector<uint8_t> bytes; in ParseVectorEncoding() local
271 while (!car.getAsInteger(0, byte) && bytes.size() < byte_size) { in ParseVectorEncoding()
272 bytes.push_back(byte); in ParseVectorEncoding()
277 if (bytes.size() != byte_size) in ParseVectorEncoding()
280 reg_value->SetBytes(&(bytes.front()), byte_size, eByteOrderLittle); in ParseVectorEncoding()
474 buffer.bytes = rhs.buffer.bytes; in CopyValue()
493 switch (buffer.bytes.size()) { in GetAsUInt16()
498 return *reinterpret_cast<const uint16_t *>(buffer.bytes.data()); in GetAsUInt16()
522 switch (buffer.bytes.size()) { in GetAsUInt32()
528 return *reinterpret_cast<const uint32_t *>(buffer.bytes.data()); in GetAsUInt32()
553 switch (buffer.bytes.size()) { in GetAsUInt64()
557 return *(const uint8_t *)buffer.bytes.data(); in GetAsUInt64()
559 return *reinterpret_cast<const uint16_t *>(buffer.bytes.data()); in GetAsUInt64()
561 return *reinterpret_cast<const uint32_t *>(buffer.bytes.data()); in GetAsUInt64()
563 return *reinterpret_cast<const uint64_t *>(buffer.bytes.data()); in GetAsUInt64()
589 switch (buffer.bytes.size()) { in GetAsUInt128()
599 (reinterpret_cast<const type128 *>(buffer.bytes.data()))->x); in GetAsUInt128()
680 m_scalar.GetBytes(buffer.bytes); in GetBytes()
681 return buffer.bytes.data(); in GetBytes()
683 return buffer.bytes.data(); in GetBytes()
704 return buffer.bytes.size(); in GetByteSize()
727 void RegisterValue::SetBytes(const void *bytes, size_t length, in SetBytes() argument
729 if (bytes && length > 0) { in SetBytes()
731 buffer.bytes.resize(length); in SetBytes()
732 memcpy(buffer.bytes.data(), bytes, length); in SetBytes()
736 buffer.bytes.resize(0); in SetBytes()
755 return buffer.bytes == rhs.buffer.bytes; in operator ==()
790 byte_idx = buffer.bytes.size() - (bit / 8) - 1; in ClearBit()
795 if (byte_idx < buffer.bytes.size()) { in ClearBit()
796 buffer.bytes[byte_idx] &= ~(1u << byte_bit); in ClearBit()
830 byte_idx = buffer.bytes.size() - (bit / 8) - 1; in SetBit()
835 if (byte_idx < buffer.bytes.size()) { in SetBit()
836 buffer.bytes[byte_idx] |= (1u << byte_bit); in SetBit()