Lines Matching refs:t

81     static int op(Payload& p, const T& t)  in op()
88 PackBytesUnaligned<T>(p, t); in op()
95 PackBytes<T>(out, t); in op()
118 static int op(Payload& p, const std::string& t) in op()
122 if (t.length() > std::numeric_limits<decltype(len)>::max()) in op()
127 len = static_cast<uint8_t>(t.length()); in op()
129 p.append(t.c_str(), t.c_str() + t.length()); in op()
139 static int op(Payload& p, const fixed_uint_t<N>& t) in op()
145 uint64_t bits = static_cast<uint64_t>(t); in op()
172 static int op(Payload& p, const std::bitset<N>& t) in op()
176 unsigned long long bits = t.to_ullong(); in op()
192 static int op(Payload& p, const std::optional<T>& t) in op()
195 if (t) in op()
197 ret = PackSingle<T>::op(p, *t); in op()
207 static int op(Payload& p, const std::array<T, N>& t) in op()
210 for (const auto& v : t) in op()
226 static int op(Payload& p, const std::vector<T>& t) in op()
229 for (const auto& v : t) in op()
245 static int op(Payload& p, const std::vector<uint8_t>& t) in op()
251 p.raw.reserve(p.raw.size() + t.size()); in op()
252 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op()
261 static int op(Payload& p, const SecureBuffer& t) in op()
267 p.raw.reserve(p.raw.size() + t.size()); in op()
268 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op()
277 static int op(Payload& p, const std::span<const uint8_t>& t) in op()
283 p.raw.reserve(p.raw.size() + t.size()); in op()
284 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op()
293 static int op(Payload& p, const std::string_view& t) in op()
299 p.raw.reserve(p.raw.size() + t.size()); in op()
300 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op()
323 static int op(Payload& p, const Payload& t) in op()
325 if (p.bitCount != 0 || t.bitCount != 0) in op()
329 p.raw.reserve(p.raw.size() + t.raw.size()); in op()
330 p.raw.insert(p.raw.end(), t.raw.begin(), t.raw.end()); in op()