Home
last modified time | relevance | path

Searched refs:m_cb (Results 1 – 25 of 173) sorted by relevance

1234567

/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/drivers/src/
H A Dnrfx_saadc.c81 static nrfx_saadc_cb_t m_cb; variable
100 if (!m_cb.low_power_mode || m_cb.conversions_end) in nrfx_saadc_irq_handler()
113 m_cb.buffer_size_left = m_cb.secondary_buffer_size; in nrfx_saadc_irq_handler()
114 m_cb.p_buffer = m_cb.p_secondary_buffer; in nrfx_saadc_irq_handler()
115 m_cb.buffer_size = m_cb.secondary_buffer_size; in nrfx_saadc_irq_handler()
131 if (m_cb.buffer_size_left > m_cb.active_channels) in nrfx_saadc_irq_handler()
134 m_cb.buffer_size_left -= m_cb.active_channels; in nrfx_saadc_irq_handler()
139 else if ((m_cb.buffer_size_left == m_cb.active_channels) && in nrfx_saadc_irq_handler()
149 else if (m_cb.buffer_size_left == m_cb.active_channels) in nrfx_saadc_irq_handler()
235 if (m_cb.low_power_mode) in nrfx_saadc_init()
[all …]
H A Dnrfx_pdm.c71 static nrfx_pdm_cb_t m_cb; variable
90 m_cb.error = 0; in nrfx_pdm_irq_handler()
118 m_cb.error = 1; in nrfx_pdm_irq_handler()
139 if (m_cb.buff_address[m_cb.active_buffer]) in nrfx_pdm_irq_handler()
141 evt.buffer_released = m_cb.buff_address[m_cb.active_buffer]; in nrfx_pdm_irq_handler()
142 m_cb.buff_address[m_cb.active_buffer] = 0; in nrfx_pdm_irq_handler()
156 if (m_cb.irq_buff_request) in nrfx_pdm_irq_handler()
196 m_cb.buff_address[0] = 0; in nrfx_pdm_init()
197 m_cb.buff_address[1] = 0; in nrfx_pdm_init()
198 m_cb.active_buffer = 0; in nrfx_pdm_init()
[all …]
H A Dnrfx_i2s.c172 m_cb.handler = handler; in nrfx_i2s_init()
303 if (m_cb.use_tx) in nrfx_i2s_next_buffers_set()
308 if (m_cb.use_rx) in nrfx_i2s_next_buffers_set()
346 if (m_cb.use_tx && m_cb.buffers_needed) in nrfx_i2s_irq_handler()
355 if (m_cb.use_rx && m_cb.buffers_needed) in nrfx_i2s_irq_handler()
369 m_cb.handler(&m_cb.current_buffers, 0); in nrfx_i2s_irq_handler()
370 m_cb.handler(&m_cb.next_buffers, 0); in nrfx_i2s_irq_handler()
379 if ((m_cb.use_tx && m_cb.use_rx && m_cb.tx_ready && m_cb.rx_ready) || in nrfx_i2s_irq_handler()
381 (!m_cb.use_rx && m_cb.tx_ready) || in nrfx_i2s_irq_handler()
383 (!m_cb.use_tx && m_cb.rx_ready)) in nrfx_i2s_irq_handler()
[all …]
H A Dnrfx_adc.c54 static adc_cb_t m_cb; variable
95 m_cb.p_head = NULL; in nrfx_adc_uninit()
105 if (m_cb.p_head == NULL) in nrfx_adc_channel_enable()
125 NRFX_ASSERT(m_cb.p_head); in nrfx_adc_channel_disable()
152 m_cb.p_head = NULL; in nrfx_adc_all_channels_disable()
211 m_cb.p_buffer[m_cb.idx] = (nrf_adc_value_t)nrf_adc_result_get(); in adc_sample_process()
212 m_cb.idx++; in adc_sample_process()
213 if (m_cb.idx < m_cb.size) in adc_sample_process()
222 m_cb.p_current_conv = m_cb.p_head; in adc_sample_process()
226 m_cb.p_current_conv = m_cb.p_current_conv->p_next; in adc_sample_process()
[all …]
H A Dnrfx_qspi.c72 static qspi_control_block_t m_cb; variable
77 if (m_cb.interrupt_driven) in qspi_task_perform()
84 if (m_cb.handler) in qspi_task_perform()
86 m_cb.interrupt_driven = true; in qspi_task_perform()
92 if (m_cb.handler == NULL) in qspi_task_perform()
135 m_cb.interrupt_driven = false; in nrfx_qspi_init()
136 m_cb.handler = handler; in nrfx_qspi_init()
137 m_cb.p_context = p_context; in nrfx_qspi_init()
177 if (m_cb.interrupt_driven) in nrfx_qspi_cinstr_xfer()
322 m_cb.interrupt_driven = false; in nrfx_qspi_irq_handler()
[all …]
H A Dnrfx_timer.c55 static timer_control_block_t m_cb[NRFX_TIMER_ENABLED_COUNT]; variable
61 timer_control_block_t * p_cb = &m_cb[p_instance->instance_id]; in nrfx_timer_init()
128 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_timer_uninit()
136 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_POWERED_ON; in nrfx_timer_enable()
144 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_timer_disable()
151 return (m_cb[p_instance->instance_id].state == NRFX_DRV_STATE_POWERED_ON); in nrfx_timer_is_enabled()
284 irq_handler(NRF_TIMER0, &m_cb[NRFX_TIMER0_INST_IDX], in nrfx_timer_0_irq_handler()
292 irq_handler(NRF_TIMER1, &m_cb[NRFX_TIMER1_INST_IDX], in nrfx_timer_1_irq_handler()
300 irq_handler(NRF_TIMER2, &m_cb[NRFX_TIMER2_INST_IDX], in nrfx_timer_2_irq_handler()
308 irq_handler(NRF_TIMER3, &m_cb[NRFX_TIMER3_INST_IDX], in nrfx_timer_3_irq_handler()
[all …]
H A Dnrfx_gpiote.c98 static gpiote_control_block_t m_cb; variable
114 return (m_cb.pin_assignments[pin] >= 0 && m_cb.pin_assignments[pin] < GPIOTE_CH_NUM) ? in pin_in_use_by_te()
127 return (m_cb.pin_assignments[pin] >= 0); in pin_in_use_by_gpiote()
136 m_cb.pin_assignments[pin] = channel_id; in pin_in_use_by_te_set()
137 m_cb.handlers[channel_id] = handler; in pin_in_use_by_te_set()
147 m_cb.pin_assignments[pin] = PIN_USED; in pin_in_use_set()
153 m_cb.pin_assignments[pin] = PIN_NOT_USED; in pin_in_use_clear()
174 return m_cb.pin_assignments[pin]; in channel_port_get()
180 return m_cb.handlers[channel]; in channel_handler_get()
244 memset(m_cb.configured_pins, 0, sizeof(m_cb.configured_pins)); in nrfx_gpiote_init()
[all …]
H A Dnrfx_rtc.c66 static nrfx_rtc_cb_t m_cb[NRFX_RTC_ENABLED_COUNT]; variable
78 if (m_cb[p_instance->instance_id].state != NRFX_DRV_STATE_UNINITIALIZED) in nrfx_rtc_init()
90 m_cb[p_instance->instance_id].reliable = p_config->reliable; in nrfx_rtc_init()
91 m_cb[p_instance->instance_id].tick_latency = p_config->tick_latency; in nrfx_rtc_init()
92 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_rtc_init()
115 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_UNINITIALIZED; in nrfx_rtc_uninit()
124 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_POWERED_ON; in nrfx_rtc_enable()
133 m_cb[p_instance->instance_id].state = NRFX_DRV_STATE_INITIALIZED; in nrfx_rtc_disable()
182 if (m_cb[p_instance->instance_id].reliable) in nrfx_rtc_cc_set()
191 if (diff < m_cb[p_instance->instance_id].tick_latency) in nrfx_rtc_cc_set()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/port/
H A Dcpl_vsil_plugin.cpp109 m_cb(nullptr) in VSIPluginFilesystemHandler()
116 delete m_cb; in ~VSIPluginFilesystemHandler()
128 void *cbData = m_cb->open(m_cb->pUserData, GetCallbackFilename(pszFilename), pszAccess); in Open()
140 (m_cb->nCacheSize<m_cb->nBufferSize) ? m_cb->nBufferSize : m_cb->nCacheSize); in Open()
177 if (m_cb->seek != nullptr) { in Seek()
185 if (m_cb->tell != nullptr) { in Tell()
277 if (m_cb->eof != nullptr) { in Eof()
321 return m_cb->read_dir(m_cb->pUserData, GetCallbackFilename(pszDirname),nMaxFiles); in ReadDirEx()
330 return m_cb->sibling_files(m_cb->pUserData, GetCallbackFilename(pszFilename)); in SiblingFiles()
348 return m_cb->mkdir(m_cb->pUserData, GetCallbackFilename(pszDirname), nMode); in Mkdir()
[all …]
/dports/graphics/gdal/gdal-3.3.3/port/
H A Dcpl_vsil_plugin.cpp109 m_cb(nullptr) in VSIPluginFilesystemHandler()
116 delete m_cb; in ~VSIPluginFilesystemHandler()
128 void *cbData = m_cb->open(m_cb->pUserData, GetCallbackFilename(pszFilename), pszAccess); in Open()
140 (m_cb->nCacheSize<m_cb->nBufferSize) ? m_cb->nBufferSize : m_cb->nCacheSize); in Open()
177 if (m_cb->seek != nullptr) { in Seek()
185 if (m_cb->tell != nullptr) { in Tell()
277 if (m_cb->eof != nullptr) { in Eof()
321 return m_cb->read_dir(m_cb->pUserData, GetCallbackFilename(pszDirname),nMaxFiles); in ReadDirEx()
330 return m_cb->sibling_files(m_cb->pUserData, GetCallbackFilename(pszFilename)); in SiblingFiles()
348 return m_cb->mkdir(m_cb->pUserData, GetCallbackFilename(pszDirname), nMode); in Mkdir()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/port/
H A Dcpl_vsil_plugin.cpp109 m_cb(nullptr) in VSIPluginFilesystemHandler()
116 delete m_cb; in ~VSIPluginFilesystemHandler()
128 void *cbData = m_cb->open(m_cb->pUserData, GetCallbackFilename(pszFilename), pszAccess); in Open()
140 (m_cb->nCacheSize<m_cb->nBufferSize) ? m_cb->nBufferSize : m_cb->nCacheSize); in Open()
177 if (m_cb->seek != nullptr) { in Seek()
185 if (m_cb->tell != nullptr) { in Tell()
277 if (m_cb->eof != nullptr) { in Eof()
321 return m_cb->read_dir(m_cb->pUserData, GetCallbackFilename(pszDirname),nMaxFiles); in ReadDirEx()
330 return m_cb->sibling_files(m_cb->pUserData, GetCallbackFilename(pszFilename)); in SiblingFiles()
348 return m_cb->mkdir(m_cb->pUserData, GetCallbackFilename(pszDirname), nMode); in Mkdir()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/addons/kodi-dev-kit/include/kodi/
H A DAudioEngine.h309 m_StreamHandle = m_cb->make_stream(m_kodiBase, format, options);
325 m_cb->free_stream(m_kodiBase, m_StreamHandle); in ~CAEStream()
406 void Pause() { return m_cb->aestream_pause(m_kodiBase, m_StreamHandle); } in Pause()
466 return m_cb->aestream_set_volume(m_kodiBase, m_StreamHandle, volume); in SetVolume()
499 return m_cb->aestream_get_frame_size(m_kodiBase, m_StreamHandle); in GetFrameSize()
511 return m_cb->aestream_get_channel_count(m_kodiBase, m_StreamHandle); in GetChannelCount()
525 return m_cb->aestream_get_sample_rate(m_kodiBase, m_StreamHandle); in GetSampleRate()
537 return m_cb->aestream_get_data_format(m_kodiBase, m_StreamHandle); in GetDataFormat()
551 return m_cb->aestream_get_resample_ratio(m_kodiBase, m_StreamHandle); in GetResampleRatio()
567 m_cb->aestream_set_resample_ratio(m_kodiBase, m_StreamHandle, ratio); in SetResampleRatio()
[all …]
/dports/biology/iqtree/IQ-TREE-2.0.6/terraphast/lib/
H A Dsupertree_enumerator.hpp18 Callback m_cb; member in terraces::tree_enumerator
70 m_cb.enter(leaves); in run()
92 m_cb.enter(leaves); in run()
97 return m_cb.exit(m_cb.base_one_leaf(leaves.first_set())); in run()
103 return m_cb.exit(m_cb.base_two_leaves(fst, snd)); in run()
110 return m_cb.exit(m_cb.base_unconstrained(leaves)); in run()
148 if (m_cb.fast_return(bip_it)) { in iterate()
158 m_cb.left_subcall(); in iterate()
161 m_cb.right_subcall(); in iterate()
164 result = m_cb.accumulate(result, m_cb.combine(left_result, right_result)); in iterate()
[all …]
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/tests/controls/
H A Dlabel.cpp53 wxCheckBox *m_cb; member in LabelTestCase
77 CPPUNIT_ASSERT_EQUAL( ORIGINAL_LABEL, m_cb->GetLabel() ); in setUp()
83 wxDELETE(m_cb); in tearDown()
92 m_cb->SetLabel(str);
96 m_cb->SetLabelText(str);
124 CPPUNIT_ASSERT_EQUAL( testLabel, m_cb->GetLabel() ); in GetLabel()
130 CPPUNIT_ASSERT_EQUAL( testLabelText2, m_cb->GetLabel() ); in GetLabel()
135 CPPUNIT_ASSERT_EQUAL( testLabel3, m_cb->GetLabel() ); in GetLabel()
141 CPPUNIT_ASSERT_EQUAL( testLabelText4, m_cb->GetLabel() ); in GetLabel()
151 CPPUNIT_ASSERT_EQUAL( testLabel, m_cb->GetLabelText() ); in GetLabelText()
[all …]
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/tests/controls/
H A Dlabel.cpp53 wxCheckBox *m_cb; member in LabelTestCase
77 CPPUNIT_ASSERT_EQUAL( ORIGINAL_LABEL, m_cb->GetLabel() ); in setUp()
83 wxDELETE(m_cb); in tearDown()
92 m_cb->SetLabel(str);
96 m_cb->SetLabelText(str);
124 CPPUNIT_ASSERT_EQUAL( testLabel, m_cb->GetLabel() ); in GetLabel()
130 CPPUNIT_ASSERT_EQUAL( testLabelText2, m_cb->GetLabel() ); in GetLabel()
135 CPPUNIT_ASSERT_EQUAL( testLabel3, m_cb->GetLabel() ); in GetLabel()
141 CPPUNIT_ASSERT_EQUAL( testLabelText4, m_cb->GetLabel() ); in GetLabel()
151 CPPUNIT_ASSERT_EQUAL( testLabel, m_cb->GetLabelText() ); in GetLabelText()
[all …]
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/osx/carbon/
H A Dcombobox.cpp49 m_cb = cb; in wxComboBoxText()
70 kevt.SetEventObject(m_cb); in OnChar()
107 event.SetEventObject(m_cb); in OnKeyUp()
108 event.SetId(m_cb->GetId()); in OnKeyUp()
115 event.SetEventObject(m_cb); in OnKeyDown()
116 event.SetId(m_cb->GetId()); in OnKeyDown()
134 evt2.SetEventObject(m_cb); in OnFocus()
141 wxComboBox *m_cb; member in wxComboBoxText
161 m_cb = cb; in wxComboBoxChoice()
182 m_cb->DelegateChoice( s ); in OnChoice()
[all …]
H A Dcombobxc.cpp107 m_cb = cb; in wxComboBoxText()
117 if ( m_cb->GetCount() == 0 ) in OnChar()
125 event.SetEventObject( m_cb ); in OnChar()
133 m_cb->Append(value); in OnChar()
167 wxComboBox *m_cb; member in wxComboBoxText
182 m_cb = cb; in wxComboBoxChoice()
190 m_cb->DelegateChoice( s ); in OnChoice()
192 event2.SetInt(m_cb->GetSelection()); in OnChoice()
193 event2.SetEventObject(m_cb); in OnChoice()
195 m_cb->ProcessCommand(event2); in OnChoice()
[all …]
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/osx/carbon/
H A Dcombobox.cpp49 m_cb = cb; in wxComboBoxText()
70 kevt.SetEventObject(m_cb); in OnChar()
107 event.SetEventObject(m_cb); in OnKeyUp()
108 event.SetId(m_cb->GetId()); in OnKeyUp()
115 event.SetEventObject(m_cb); in OnKeyDown()
116 event.SetId(m_cb->GetId()); in OnKeyDown()
134 evt2.SetEventObject(m_cb); in OnFocus()
141 wxComboBox *m_cb; member in wxComboBoxText
161 m_cb = cb; in wxComboBoxChoice()
182 m_cb->DelegateChoice( s ); in OnChoice()
[all …]
H A Dcombobxc.cpp107 m_cb = cb; in wxComboBoxText()
117 if ( m_cb->GetCount() == 0 ) in OnChar()
125 event.SetEventObject( m_cb ); in OnChar()
133 m_cb->Append(value); in OnChar()
167 wxComboBox *m_cb; member in wxComboBoxText
182 m_cb = cb; in wxComboBoxChoice()
190 m_cb->DelegateChoice( s ); in OnChoice()
192 event2.SetInt(m_cb->GetSelection()); in OnChoice()
193 event2.SetEventObject(m_cb); in OnChoice()
195 m_cb->ProcessCommand(event2); in OnChoice()
[all …]
/dports/devel/log4net/log4net-1.2.10/src/Appender/
H A DBufferingAppenderSkeleton.cs308 if (m_cb != null && m_cb.Length > 0) in Flush()
318 LoggingEvent[] bufferedEvents = m_cb.PopAll(); in Flush()
338 m_cb.Clear(); in Flush()
345 SendFromBuffer(null, m_cb); in Flush()
385 m_cb = new CyclicBuffer(m_bufferSize); in ActivateOptions()
389 m_cb = null; in ActivateOptions()
449 if (m_cb == null || m_bufferSize <= 1) in Append()
482 SendFromBuffer(discardedLoggingEvent, m_cb); in Append()
496 SendFromBuffer(discardedLoggingEvent, m_cb); in Append()
512 SendFromBuffer(null, m_cb); in Append()
[all …]
/dports/security/keepass/KeePass-2.49-Source/KeePass/UI/
H A DExpiryControlGroup.cs34 private CheckBox m_cb = null; field in KeePass.UI.ExpiryControlGroup
41 if(m_cb == null) { Debug.Assert(false); return false; }
42 return m_cb.Checked;
45 set { UIUtil.SetChecked(m_cb, value); }
79 Debug.Assert(m_cb == null); // Owner should call Release() in ~ExpiryControlGroup()
88 m_cb = cb; in Attach()
102 if(m_cb == null) return; in Release()
107 m_cb = null; in Release()
114 UIUtil.SetChecked(m_cb, obSetCheck.Value);
/dports/astro/phd2/phd2-2.6.10/
H A Dcircbuf.h53 circular_buffer<T>& m_cb; variable
55 iterator(circular_buffer<T>& cb, unsigned int pos) : m_cb(cb), m_pos(pos) { } in iterator()
59 …bool operator==(const iterator& rhs) const { assert(&m_cb == &rhs.m_cb); return m_pos == rhs.m_pos…
60 …bool operator!=(const iterator& rhs) const { assert(&m_cb == &rhs.m_cb); return m_pos != rhs.m_pos…
61 T& operator*() const { return m_cb.m_ary[m_pos % m_cb.m_capacity]; }
62 T* operator->() const { return &m_cb.m_ary[m_pos % m_cb.m_capacity]; }
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/tools/tracer/tracer/
H A Dfunctions_table.h153 m_cb[key].first = m_storage[0][key][0]; in New()
154 m_cb[key].second = m_storage[0][key][1]; in New()
161 if (m_cb.count(cb)) in Revert()
163 m_storage[0][cb][0] = m_cb[cb].first; in Revert()
164 m_storage[0][cb][1] = m_cb[cb].second; in Revert()
172 while (!m_cb.empty()) in RevertAll()
174 Revert(m_cb.begin()->first); in RevertAll()
175 m_cb.erase(m_cb.begin()->first); in RevertAll()
181 std::map<mfxCallbacks, std::pair<void*,void*> > m_cb; variable
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/perfschema/
H A Dservice_pfs_notification.cc71 m_cb(cb) { in PFS_notification_node()
88 PSI_notification m_cb; member
97 if (m_cb.thread_create != nullptr) { in set_callback_map()
101 if (m_cb.thread_destroy != nullptr) { in set_callback_map()
105 if (m_cb.session_connect != nullptr) { in set_callback_map()
109 if (m_cb.session_disconnect != nullptr) { in set_callback_map()
113 if (m_cb.session_change_user != nullptr) { in set_callback_map()
210 memset(&node->m_cb, 0, sizeof(node->m_cb)); in disable()
352 auto callback = *node->m_cb.thread_create; in pfs_notify_thread_create()
379 auto callback = *node->m_cb.thread_destroy; in pfs_notify_thread_destroy()
[all …]
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/src/
H A Dip_notifier.cpp201 if (!obj->m_cb) return;
203 obj->m_cb = nullptr;
223 m_cb = std::move(cb);
234 m_cb = nullptr;
301 if (!obj->m_cb) return;
303 obj->m_cb = nullptr;
323 m_cb = std::move(cb);
334 m_cb = nullptr;
382 m_cb.emplace_back(std::move(cb));
390 cbs = std::move(m_cb);
[all …]

1234567