Lines Matching refs:ByteString

30 using shill::ByteString;
42 int DHCPOptionsWriter::WriteUInt8Option(ByteString* buffer, in WriteUInt8Option()
46 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt8Option()
48 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt8Option()
50 buffer->Append(ByteString(reinterpret_cast<const char*>(&value), in WriteUInt8Option()
55 int DHCPOptionsWriter::WriteUInt16Option(ByteString* buffer, in WriteUInt16Option()
60 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt16Option()
62 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt16Option()
64 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt16Option()
69 int DHCPOptionsWriter::WriteUInt32Option(ByteString* buffer, in WriteUInt32Option()
74 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt32Option()
76 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt32Option()
78 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt32Option()
83 int DHCPOptionsWriter::WriteUInt8ListOption(ByteString* buffer, in WriteUInt8ListOption()
92 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt8ListOption()
94 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt8ListOption()
96 buffer->Append(ByteString(reinterpret_cast<const char*>(&value.front()), in WriteUInt8ListOption()
101 int DHCPOptionsWriter::WriteUInt16ListOption(ByteString* buffer, in WriteUInt16ListOption()
110 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt16ListOption()
112 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt16ListOption()
116 buffer->Append(ByteString(reinterpret_cast<const char *>(&element_net), in WriteUInt16ListOption()
122 int DHCPOptionsWriter::WriteUInt32ListOption(ByteString* buffer, in WriteUInt32ListOption()
131 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt32ListOption()
133 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt32ListOption()
137 buffer->Append(ByteString(reinterpret_cast<const char*>(&element_net), in WriteUInt32ListOption()
143 int DHCPOptionsWriter::WriteUInt32PairListOption(ByteString* buffer, in WriteUInt32PairListOption()
152 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt32PairListOption()
154 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteUInt32PairListOption()
159 buffer->Append(ByteString(reinterpret_cast<const char*>(&first_net), in WriteUInt32PairListOption()
161 buffer->Append(ByteString(reinterpret_cast<const char*>(&second_net), in WriteUInt32PairListOption()
167 int DHCPOptionsWriter::WriteBoolOption(ByteString* buffer, in WriteBoolOption()
172 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteBoolOption()
174 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteBoolOption()
176 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_uint8), in WriteBoolOption()
181 int DHCPOptionsWriter::WriteStringOption(ByteString* buffer, in WriteStringOption()
190 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteStringOption()
192 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteStringOption()
194 buffer->Append(ByteString(reinterpret_cast<const char*>(&value.front()), in WriteStringOption()
199 int DHCPOptionsWriter::WriteByteArrayOption(ByteString* buffer, in WriteByteArrayOption()
201 const ByteString& value) { in WriteByteArrayOption()
203 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteByteArrayOption()
205 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteByteArrayOption()
212 int DHCPOptionsWriter::WriteEndTag(ByteString* buffer) { in WriteEndTag()
214 buffer->Append(ByteString(reinterpret_cast<const char*>(&tag), in WriteEndTag()