/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Broadcaster.h | 214 uint32_t event_mask) { in AddListener() argument 215 return m_broadcaster_sp->AddListener(listener_sp, event_mask); in AddListener() 232 bool GetEventNames(Stream &s, const uint32_t event_mask, in GetEventNames() argument 234 return m_broadcaster_sp->GetEventNames(s, event_mask, in GetEventNames() 243 void SetEventName(uint32_t event_mask, const char *name) { in SetEventName() argument 244 m_broadcaster_sp->SetEventName(event_mask, name); in SetEventName() 247 const char *GetEventName(uint32_t event_mask) const { in GetEventName() argument 248 return m_broadcaster_sp->GetEventName(event_mask); in GetEventName() 272 uint32_t event_mask = UINT32_MAX) { 273 return m_broadcaster_sp->RemoveListener(listener_sp, event_mask); [all …]
|
H A D | Listener.h | 68 uint32_t event_mask); 71 uint32_t event_mask, 75 bool StopListeningForEvents(Broadcaster *broadcaster, uint32_t event_mask); 102 : event_mask(mask), callback(cb), callback_user_data(ud) {} in event_mask() function 104 uint32_t event_mask; member
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 138 bit_set(filter.event_mask, NG_HCI_EVENT_COMMAND_COMPL - 1); in socket_open() 139 bit_set(filter.event_mask, NG_HCI_EVENT_COMMAND_STATUS - 1); in socket_open() 140 bit_set(filter.event_mask, NG_HCI_EVENT_INQUIRY_COMPL - 1); in socket_open() 141 bit_set(filter.event_mask, NG_HCI_EVENT_INQUIRY_RESULT - 1); in socket_open() 142 bit_set(filter.event_mask, NG_HCI_EVENT_CON_COMPL - 1); in socket_open() 143 bit_set(filter.event_mask, NG_HCI_EVENT_DISCON_COMPL - 1); in socket_open() 144 bit_set(filter.event_mask, NG_HCI_EVENT_REMOTE_NAME_REQ_COMPL - 1); in socket_open() 145 bit_set(filter.event_mask, NG_HCI_EVENT_READ_REMOTE_FEATURES_COMPL - 1); in socket_open() 146 bit_set(filter.event_mask, NG_HCI_EVENT_READ_REMOTE_VER_INFO_COMPL - 1); in socket_open() 147 bit_set(filter.event_mask, NG_HCI_EVENT_RETURN_LINK_KEY in socket_open() [all...] |
H A D | le.c | 330 semc.event_mask[i] = mask&0xff; in set_le_event_mask() 357 semc.event_mask[i] = mask&0xff; in set_event_mask()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Broadcaster.cpp | 53 Broadcaster::BroadcasterImpl::GetListeners(uint32_t event_mask, in GetListeners() argument 64 if (it->second & event_mask) in GetListeners() 77 bool Broadcaster::BroadcasterImpl::HasListeners(uint32_t event_mask) { in HasListeners() argument 83 if (curr_listener_sp && (it->second & event_mask)) in HasListeners() 106 Stream &s, uint32_t event_mask, bool prefix_with_broadcaster_name) const { in GetEventNames() argument 108 if (event_mask && !m_event_names.empty()) { in GetEventNames() 110 for (uint32_t bit = 1u, mask = event_mask; mask != 0 && bit != 0; in GetEventNames() 136 uint32_t event_mask) { in AddListener() argument 148 return event_mask; in AddListener() 153 pair.second |= event_mask; in AddListener() [all …]
|
H A D | Listener.cpp | 40 broadcaster_sp->RemoveListener(this, pos->second.event_mask); in Clear() 59 uint32_t event_mask) { in StartListeningForEvents() argument 67 std::make_pair(impl_wp, BroadcasterInfo(event_mask))); in StartListeningForEvents() 71 broadcaster->AddListener(this->shared_from_this(), event_mask); in StartListeningForEvents() 79 event_mask, acquired_mask, m_name.c_str()); in StartListeningForEvents() 87 uint32_t event_mask, in StartListeningForEvents() argument 97 impl_wp, BroadcasterInfo(event_mask, callback, callback_user_data))); in StartListeningForEvents() 101 broadcaster->AddListener(this->shared_from_this(), event_mask); in StartListeningForEvents() 111 event_mask, *pointer, static_cast<void *>(callback_user_data), in StartListeningForEvents() 121 uint32_t event_mask) { in StopListeningForEvents() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBListener.cpp | 76 uint32_t event_mask) { in StartListeningForEventClass() argument 77 LLDB_INSTRUMENT_VA(this, debugger, broadcaster_class, event_mask); in StartListeningForEventClass() 83 BroadcastEventSpec event_spec(ConstString(broadcaster_class), event_mask); in StartListeningForEventClass() 92 uint32_t event_mask) { in StopListeningForEventClass() argument 93 LLDB_INSTRUMENT_VA(this, debugger, broadcaster_class, event_mask); in StopListeningForEventClass() 99 BroadcastEventSpec event_spec(ConstString(broadcaster_class), event_mask); in StopListeningForEventClass() 107 uint32_t event_mask) { in StartListeningForEvents() argument 108 LLDB_INSTRUMENT_VA(this, broadcaster, event_mask); in StartListeningForEvents() 113 m_opaque_sp->StartListeningForEvents(broadcaster.get(), event_mask); in StartListeningForEvents() 120 uint32_t event_mask) { in StopListeningForEvents() argument [all …]
|
H A D | SBBroadcaster.cpp | 83 uint32_t event_mask) { in AddListener() argument 84 LLDB_INSTRUMENT_VA(this, listener, event_mask); in AddListener() 87 return m_opaque_ptr->AddListener(listener.m_opaque_sp, event_mask); in AddListener() 108 uint32_t event_mask) { in RemoveListener() argument 109 LLDB_INSTRUMENT_VA(this, listener, event_mask); in RemoveListener() 112 return m_opaque_ptr->RemoveListener(listener.m_opaque_sp, event_mask); in RemoveListener()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBListener.h | 38 uint32_t event_mask); 42 uint32_t event_mask); 45 uint32_t event_mask); 48 uint32_t event_mask);
|
H A D | SBBroadcaster.h | 41 uint32_t AddListener(const lldb::SBListener &listener, uint32_t event_mask); 48 uint32_t event_mask = UINT32_MAX);
|
/freebsd/lib/libbluetooth/ |
H A D | hci.c | 351 memcpy(old->event_mask, &f.event_mask, in bt_devfilter() 352 MIN(sizeof(old->event_mask), sizeof(f.packet_mask))); in bt_devfilter() 358 MIN(sizeof(f.packet_mask), sizeof(new->event_mask))); in bt_devfilter() 359 memcpy(&f.event_mask, new->event_mask, in bt_devfilter() 360 MIN(sizeof(f.event_mask), sizeof(new->event_mask))); in bt_devfilter() 391 bit_set(filter->event_mask, event - 1); in bt_devfilter_evt_set() 397 bit_clear(filter->event_mask, event - 1); in bt_devfilter_evt_clr() 403 return (bit_test(filter->event_mask, event - 1)); in bt_devfilter_evt_tst()
|
H A D | bluetooth.h | 154 bitstr_t bit_decl(event_mask, 256);
|
/freebsd/usr.sbin/bluetooth/hcsecd/ |
H A D | hcsecd.c | 125 bit_set(filter.event_mask, NG_HCI_EVENT_PIN_CODE_REQ - 1); in main() 126 bit_set(filter.event_mask, NG_HCI_EVENT_LINK_KEY_REQ - 1); in main() 127 bit_set(filter.event_mask, NG_HCI_EVENT_LINK_KEY_NOTIFICATION - 1); in main()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_symbols.c | 49 int _thread_off_event_mask = offsetof(struct pthread, event_mask);
|
H A D | thr_private.h | 541 int event_mask; member 711 (((curthr)->event_mask | _thread_event_mask ) & e) != 0)
|
/freebsd/contrib/libpcap/ |
H A D | pcap-bt-linux.c | 268 memset((void *) &flt.event_mask, 0xff, sizeof(flt.event_mask)); in bt_activate()
|
/freebsd/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket.h | 73 bitstr_t bit_decl(event_mask, (NG_HCI_EVENT_MASK_SIZE * 8));
|
H A D | ng_hci.h | 971 u_int8_t event_mask[NG_HCI_EVENT_MASK_SIZE]; /* event_mask */ member 1530 u_int8_t event_mask[NG_HCI_LE_EVENT_MASK_SIZE]; /* event_mask*/ member
|
/freebsd/sys/dev/pst/ |
H A D | pst-iop.h | 557 u_int32_t event_mask; member 569 u_int32_t event_mask; member
|
H A D | pst-iop.c | 187 event->event_mask, event->event_data[0]); in iop_intr()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_cmd.h | 290 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
|
H A D | mthca_cmd.c | 1632 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, in mthca_MAP_EQ() argument 1637 (unsigned long long) event_mask, eq_num); in mthca_MAP_EQ() 1638 return mthca_cmd(dev, event_mask, (unmap << 31) | eq_num, in mthca_MAP_EQ()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_hci_raw.c | 715 if (!bit_test(pcb->filter.event_mask, event)) in ng_btsocket_hci_raw_filter() 944 bit_set(pcb->filter.event_mask, NG_HCI_EVENT_COMMAND_COMPL - 1); in ng_btsocket_hci_raw_attach() 945 bit_set(pcb->filter.event_mask, NG_HCI_EVENT_COMMAND_STATUS - 1); in ng_btsocket_hci_raw_attach()
|
/freebsd/sys/dev/mpr/ |
H A D | mpr.c | 2760 memset(sc->event_mask, 0xff, 16); in mpr_update_events() 2764 sc->event_mask[i] &= ~eh->mask[i]; in mpr_update_events() 2780 bcopy(sc->event_mask, (uint8_t *)&evtreq->EventMasks, sizeof(sc->event_mask)); in mpr_update_events() 2816 memset(sc->event_mask, 0xff, 16); in mpr_reregister_events() 2820 sc->event_mask[i] &= ~eh->mask[i]; in mpr_reregister_events() 2836 bcopy(sc->event_mask, (uint8_t *)&evtreq->EventMasks, sizeof(sc->event_mask)); in mpr_reregister_events()
|
/freebsd/sys/dev/mps/ |
H A D | mps.c | 2615 sc->event_mask[i] = -1; in mps_update_events() 2618 sc->event_mask[i] &= ~handle->mask[i]; in mps_update_events() 2636 htole32(sc->event_mask[i]); in mps_update_events() 2671 sc->event_mask[i] = -1; in mps_reregister_events() 2675 sc->event_mask[i] &= ~eh->mask[i]; in mps_reregister_events() 2694 htole32(sc->event_mask[i]); in mps_reregister_events()
|