Lines Matching refs:t
77 static int op(Payload& p, T& t) in op()
81 t = 0; in op()
84 if (p.fillBits(CHAR_BIT * sizeof(t))) in op()
88 UnpackBytesUnaligned<T>(p, t); in op()
93 if (p.raw.size() < (p.rawIndex + sizeof(t))) in op()
98 t = 0; in op()
99 UnpackBytes<T>(iter, t); in op()
100 p.rawIndex += sizeof(t); in op()
111 int ret = p.unpack(t); in op()
114 t = T(); in op()
140 static int op(Payload& p, std::string& t) in op()
154 t.reserve(last - first); in op()
155 t.insert(0, first, (last - first)); in op()
165 static int op(Payload& p, fixed_uint_t<N>& t) in op()
175 t = (p.bitStream & bitmask).convert_to<fixed_uint_t<N>>(); in op()
206 static int op(Payload& p, std::bitset<N>& t) in op()
218 t |= (p.bitStream & bitmask).convert_to<unsigned long long>(); in op()
229 static int op(Payload& p, std::optional<T>& t) in op()
240 t.reset(); in op()
248 t.emplace(std::move(value)); in op()
258 static int op(Payload& p, std::array<T, N>& t) in op()
262 for (auto& v : t) in op()
268 t = std::array<T, N>(); in op()
280 static int op(Payload& p, std::array<uint8_t, N>& t) in op()
284 t.fill(0); in op()
289 t.begin()); in op()
299 static int op(Payload& p, std::vector<T>& t) in op()
303 t.emplace_back(); in op()
304 if (UnpackSingle<T>::op(p, t.back())) in op()
306 t.pop_back(); in op()
323 static int op(Payload& p, std::vector<uint8_t>& t) in op()
326 t.reserve(p.raw.size() - p.rawIndex); in op()
327 t.insert(t.begin(), p.raw.begin() + p.rawIndex, p.raw.end()); in op()
337 static int op(Payload& p, SecureBuffer& t) in op()
340 t.reserve(p.raw.size() - p.rawIndex); in op()
341 t.insert(t.begin(), p.raw.begin() + p.rawIndex, p.raw.end()); in op()
351 static int op(Payload& p, std::span<const uint8_t>& t) in op()
354 t = std::span<const uint8_t>(p.raw.begin() + p.rawIndex, p.raw.end()); in op()
364 static int op(Payload& p, Payload& t) in op()
366 t = p; in op()