Home | History | Annotate | Download | only in crypto

Lines Matching refs:QuicTag

65 void CryptoHandshakeMessage::SetTaglist(QuicTag tag, ...) {
66 // Warning, if sizeof(QuicTag) > sizeof(int) then this function will break
68 COMPILE_ASSERT(sizeof(QuicTag) <= sizeof(int),
71 vector<QuicTag> tags;
76 QuicTag list_item = va_arg(ap, QuicTag);
91 void CryptoHandshakeMessage::SetStringPiece(QuicTag tag, StringPiece value) {
95 void CryptoHandshakeMessage::Erase(QuicTag tag) {
99 QuicErrorCode CryptoHandshakeMessage::GetTaglist(QuicTag tag,
100 const QuicTag** out_tags,
107 } else if (it->second.size() % sizeof(QuicTag) != 0) {
117 *out_tags = reinterpret_cast<const QuicTag*>(it->second.data());
118 *out_len = it->second.size() / sizeof(QuicTag);
122 bool CryptoHandshakeMessage::GetStringPiece(QuicTag tag,
132 QuicErrorCode CryptoHandshakeMessage::GetNthValue24(QuicTag tag,
168 QuicErrorCode CryptoHandshakeMessage::GetUint16(QuicTag tag,
173 QuicErrorCode CryptoHandshakeMessage::GetUint32(QuicTag tag,
178 QuicErrorCode CryptoHandshakeMessage::GetUint64(QuicTag tag,
184 size_t ret = sizeof(QuicTag) +
187 ret += (sizeof(QuicTag) + sizeof(uint32) /* end offset */) *
214 QuicTag tag, void* out, size_t len) const {
266 if (it->second.size() % sizeof(QuicTag) == 0) {
267 for (size_t j = 0; j < it->second.size(); j += sizeof(QuicTag)) {
268 QuicTag tag;