Lines Matching refs:ByteString

32 ByteString::ByteString(const ByteString& b) {  in ByteString()  function in shill::ByteString
36 ByteString& ByteString::operator=(const ByteString& b) { in operator =()
41 unsigned char* ByteString::GetData() { in GetData()
45 const unsigned char* ByteString::GetConstData() const { in GetConstData()
49 size_t ByteString::GetLength() const { in GetLength()
53 ByteString ByteString::GetSubstring(size_t offset, size_t length) const { in GetSubstring()
60 return ByteString(GetConstData() + offset, length); in GetSubstring()
64 ByteString ByteString::CreateFromCPUUInt32(uint32_t val) { in CreateFromCPUUInt32()
65 return ByteString(reinterpret_cast<unsigned char*>(&val), sizeof(val)); in CreateFromCPUUInt32()
69 ByteString ByteString::CreateFromNetUInt32(uint32_t val) { in CreateFromNetUInt32()
74 ByteString ByteString::CreateFromHexString(const string& hex_string) { in CreateFromHexString()
77 return ByteString(); in CreateFromHexString()
79 return ByteString(&bytes.front(), bytes.size()); in CreateFromHexString()
82 bool ByteString::ConvertToCPUUInt32(uint32_t* val) const { in ConvertToCPUUInt32()
91 bool ByteString::ConvertToNetUInt32(uint32_t* val) const { in ConvertToNetUInt32()
100 bool ByteString::ConvertByteOrderAsUIntArray(T (*converter)(T)) { in ConvertByteOrderAsUIntArray()
115 bool ByteString::ConvertFromNetToCPUUInt32Array() { in ConvertFromNetToCPUUInt32Array()
119 bool ByteString::ConvertFromCPUToNetUInt32Array() { in ConvertFromCPUToNetUInt32Array()
123 bool ByteString::IsZero() const { in IsZero()
132 bool ByteString::BitwiseAnd(const ByteString& b) { in BitwiseAnd()
143 bool ByteString::BitwiseOr(const ByteString& b) { in BitwiseOr()
154 void ByteString::BitwiseInvert() { in BitwiseInvert()
160 bool ByteString::Equals(const ByteString& b) const { in Equals()
173 void ByteString::Append(const ByteString& b) { in Append()
177 void ByteString::Clear() { in Clear()
181 void ByteString::Resize(int size) { in Resize()
185 string ByteString::HexEncode() const { in HexEncode()
189 bool ByteString::CopyData(size_t size, void* output) const { in CopyData()
198 bool ByteString::IsLessThan(const ByteString& lhs, const ByteString& rhs) { in IsLessThan()