Lines Matching refs:ByteString
296 bool NetlinkAttribute::InitFromValue(const ByteString& input) { in InitFromValue()
377 bool NetlinkAttribute::GetRawValue(ByteString* value) const { in GetRawValue()
382 bool NetlinkAttribute::SetRawValue(const ByteString new_value) { in SetRawValue()
424 ByteString NetlinkAttribute::EncodeGeneric(const unsigned char* data, in EncodeGeneric()
426 ByteString result; in EncodeGeneric()
431 result = ByteString(reinterpret_cast<unsigned char*>(&header), in EncodeGeneric()
435 result.Append(ByteString(data, num_bytes)); in EncodeGeneric()
448 bool NetlinkU8Attribute::InitFromValue(const ByteString& input) { in InitFromValue()
490 ByteString NetlinkU8Attribute::Encode() const { in Encode()
501 bool NetlinkU16Attribute::InitFromValue(const ByteString& input) { in InitFromValue()
544 ByteString NetlinkU16Attribute::Encode() const { in Encode()
555 bool NetlinkU32Attribute::InitFromValue(const ByteString& input) { in InitFromValue()
598 ByteString NetlinkU32Attribute::Encode() const { in Encode()
609 bool NetlinkU64Attribute::InitFromValue(const ByteString& input) { in InitFromValue()
651 ByteString NetlinkU64Attribute::Encode() const { in Encode()
662 bool NetlinkFlagAttribute::InitFromValue(const ByteString& input) { in InitFromValue()
695 ByteString NetlinkFlagAttribute::Encode() const { in Encode()
699 return ByteString(); // Encoding of nothing implies 'false'. in Encode()
708 bool NetlinkStringAttribute::InitFromValue(const ByteString& input) { in InitFromValue()
764 ByteString NetlinkStringAttribute::Encode() const { in Encode()
808 ByteString NetlinkNestedAttribute::Encode() const { in Encode()
813 ByteString result(reinterpret_cast<unsigned char*>(&header), sizeof(header)); in Encode()
853 bool NetlinkNestedAttribute::InitFromValue(const ByteString& input) { in InitFromValue()
893 const ByteString& value) { in InitNestedFromValue()
914 const AttributeListRefPtr& list, int id, const ByteString& value) { in AddAttributeToNestedArray()
924 const AttributeListRefPtr& list, int id, const ByteString& value) { in AddAttributeToNestedMap()
939 int id, const ByteString& value) { in AddAttributeToNestedInner()
1029 bool NetlinkRawAttribute::InitFromValue(const ByteString& input) { in InitFromValue()
1037 bool NetlinkRawAttribute::GetRawValue(ByteString* output) const { in GetRawValue()
1049 bool NetlinkRawAttribute::SetRawValue(const ByteString new_value) { in SetRawValue()
1075 ByteString NetlinkRawAttribute::Encode() const { in Encode()