Lines Matching refs:in
22 std::tuple<ReadStream, uint32_t> readU32(ReadStream in) { in readU32() argument
23 volatile const uint32_t* pos = reinterpret_cast<volatile const uint32_t*>(in.pos()); in readU32()
24 in += sizeof(uint32_t); in readU32()
25 if (!in) return {in, 0}; in readU32()
26 return {in, *pos}; in readU32()
29 std::tuple<ReadStream, Command> readCommand(ReadStream in) { in readCommand() argument
30 return readCmd<Command>(in); in readCommand()
33 Command peakCommand(ReadStream in) { in peakCommand() argument
34 auto [_, cmd] = readCommand(in); in peakCommand()
38 std::tuple<ReadStream, Protocol> readProtocol(ReadStream in) { in readProtocol() argument
39 return readCmd<Protocol, kProtoInvalid>(in); in readProtocol()
42 Protocol peakProtocol(ReadStream in) { in peakProtocol() argument
43 auto [_, proto] = readProtocol(in); in peakProtocol()