Lines Matching refs:Address
33 class Address final : public packet::CustomFieldFixedSizeInterface<Address>, public storage::Serial…
39 Address() = default;
40 Address(const uint8_t (&addr)[kLength]);
41 Address(std::initializer_list<uint8_t> l);
53 static std::optional<Address> FromString(const std::string& from);
55 static std::optional<Address> FromLegacyConfigString(const std::string& str);
57 bool operator<(const Address& rhs) const {
60 bool operator==(const Address& rhs) const {
63 bool operator>(const Address& rhs) const {
66 bool operator<=(const Address& rhs) const {
69 bool operator>=(const Address& rhs) const {
72 bool operator!=(const Address& rhs) const {
83 static bool FromString(const std::string& from, Address& to);
91 static const Address kEmpty; // 00:00:00:00:00:00
92 static const Address kAny; // FF:FF:FF:FF:FF:FF
95 inline std::ostream& operator<<(std::ostream& os, const Address& a) {
105 struct hash<bluetooth::hci::Address> {
106 std::size_t operator()(const bluetooth::hci::Address& val) const {
107 static_assert(sizeof(uint64_t) >= bluetooth::hci::Address::kLength);
109 memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.data(), bluetooth::hci::Address::kLength);