Lines Matching refs:buffer
42 int DHCPOptionsWriter::WriteUInt8Option(ByteString* buffer, in WriteUInt8Option() argument
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() argument
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() argument
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() argument
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() argument
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() argument
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() argument
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() argument
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() argument
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() argument
203 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteByteArrayOption()
205 buffer->Append(ByteString(reinterpret_cast<const char*>(&length), in WriteByteArrayOption()
208 buffer->Append(value); in WriteByteArrayOption()
212 int DHCPOptionsWriter::WriteEndTag(ByteString* buffer) { in WriteEndTag() argument
214 buffer->Append(ByteString(reinterpret_cast<const char*>(&tag), in WriteEndTag()