Lines Matching refs:value

26 inline uint64_t htonll(uint64_t value)  in htonll()  argument
28 return bswap_64(value); in htonll()
37 inline uint64_t ntohll(uint64_t value) in ntohll() argument
39 return bswap_64(value); in ntohll()
87 Stream& operator>>(uint8_t& value) in operator >>() argument
89 read(&value, 1); in operator >>()
99 Stream& operator>>(char& value) in operator >>() argument
101 read(&value, 1); in operator >>()
111 Stream& operator>>(uint16_t& value) in operator >>() argument
113 read(&value, 2); in operator >>()
114 value = htons(value); in operator >>()
124 Stream& operator>>(uint32_t& value) in operator >>() argument
126 read(&value, 4); in operator >>()
127 value = htonl(value); in operator >>()
137 Stream& operator>>(uint64_t& value) in operator >>() argument
139 read(&value, 8); in operator >>()
140 value = detail::htonll(value); in operator >>()
152 Stream& operator>>(std::vector<uint8_t>& value) in operator >>() argument
154 if (!value.empty()) in operator >>()
156 read(value.data(), value.size()); in operator >>()
169 Stream& operator>>(std::vector<char>& value) in operator >>() argument
171 if (!value.empty()) in operator >>()
173 read(value.data(), value.size()); in operator >>()
184 Stream& operator<<(uint8_t value) in operator <<() argument
186 write(&value, 1); in operator <<()
196 Stream& operator<<(char value) in operator <<() argument
198 write(&value, 1); in operator <<()
208 Stream& operator<<(uint16_t value) in operator <<() argument
210 uint16_t data = ntohs(value); in operator <<()
221 Stream& operator<<(uint32_t value) in operator <<() argument
223 uint32_t data = ntohl(value); in operator <<()
234 Stream& operator<<(uint64_t value) in operator <<() argument
236 uint64_t data = detail::ntohll(value); in operator <<()
249 Stream& operator<<(const std::vector<uint8_t>& value) in operator <<() argument
251 if (!value.empty()) in operator <<()
253 write(value.data(), value.size()); in operator <<()
266 Stream& operator<<(const std::vector<char>& value) in operator <<() argument
268 if (!value.empty()) in operator <<()
270 write(value.data(), value.size()); in operator <<()