Lines Matching refs:buffer
33 bool UInt8Parser::GetOption(const uint8_t* buffer, in GetOption() argument
41 *value_uint8 = *buffer; in GetOption()
45 bool UInt16Parser::GetOption(const uint8_t* buffer, in GetOption() argument
53 *value_uint16 = ntohs(*reinterpret_cast<const uint16_t*>(buffer)); in GetOption()
57 bool UInt32Parser::GetOption(const uint8_t* buffer, in GetOption() argument
65 *value_uint32 = ntohl(*reinterpret_cast<const uint32_t*>(buffer)); in GetOption()
69 bool UInt8ListParser::GetOption(const uint8_t* buffer, in GetOption() argument
79 uint8_t content = *reinterpret_cast<const uint8_t*>(buffer); in GetOption()
81 buffer += sizeof(uint8_t); in GetOption()
86 bool UInt16ListParser::GetOption(const uint8_t* buffer, in GetOption() argument
97 uint16_t content = *reinterpret_cast<const uint16_t*>(buffer); in GetOption()
100 buffer += sizeof(uint16_t); in GetOption()
105 bool UInt32ListParser::GetOption(const uint8_t* buffer, in GetOption() argument
116 uint32_t content = *reinterpret_cast<const uint32_t*>(buffer); in GetOption()
119 buffer += sizeof(uint32_t); in GetOption()
124 bool UInt32PairListParser::GetOption(const uint8_t* buffer, in GetOption() argument
135 uint32_t first = *reinterpret_cast<const uint32_t*>(buffer); in GetOption()
137 buffer += sizeof(uint32_t); in GetOption()
138 uint32_t second = *reinterpret_cast<const uint32_t*>(buffer); in GetOption()
141 buffer += sizeof(uint32_t); in GetOption()
146 bool BoolParser::GetOption(const uint8_t* buffer, in GetOption() argument
153 uint8_t content = *buffer; in GetOption()
166 bool StringParser::GetOption(const uint8_t* buffer, in GetOption() argument
174 option_string->assign(reinterpret_cast<const char*>(buffer), length); in GetOption()
178 bool ByteArrayParser::GetOption(const uint8_t* buffer, in GetOption() argument
187 *byte_array = ByteString(buffer, length); in GetOption()