Lines Matching refs:Address
27 class Address final {
33 Address() = default;
34 Address(const uint8_t (&addr)[6]);
36 bool operator<(const Address& rhs) const {
39 bool operator==(const Address& rhs) const {
42 bool operator>(const Address& rhs) const {
45 bool operator<=(const Address& rhs) const {
48 bool operator>=(const Address& rhs) const {
51 bool operator!=(const Address& rhs) const {
64 static bool FromString(const std::string& from, Address& to);
72 static const Address kEmpty; // 00:00:00:00:00:00
73 static const Address kAny; // FF:FF:FF:FF:FF:FF
76 inline std::ostream& operator<<(std::ostream& os, const Address& a) {
86 struct hash<bluetooth::hci::Address> {
87 std::size_t operator()(const bluetooth::hci::Address& val) const {
88 static_assert(sizeof(uint64_t) >= bluetooth::hci::Address::kLength);
90 memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.address, bluetooth::hci::Address::kLength);