Home
last modified time | relevance | path

Searched refs:num_callbacks (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/ipc/
Ddeferred_unittest.cc36 std::shared_ptr<int> num_callbacks(new int{0}); in TEST() local
37 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
43 (*num_callbacks)++; in TEST()
57 ASSERT_EQ(1, *num_callbacks); in TEST()
63 std::shared_ptr<int> num_callbacks(new int{0}); in TEST() local
64 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
69 (*num_callbacks)++; in TEST()
77 ASSERT_EQ(1, *num_callbacks); in TEST()
82 std::shared_ptr<int> num_callbacks(new int{0}); in TEST() local
85 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
[all …]
/external/libchrome/base/
Dbarrier_closure.cc27 BarrierInfo::BarrierInfo(int num_callbacks, OnceClosure done_closure) in BarrierInfo() argument
28 : num_callbacks_left_(num_callbacks), in BarrierInfo()
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc107 FileAudioStream(size_t num_callbacks, in FileAudioStream() argument
113 EXPECT_GE(file_size_in_callbacks(), num_callbacks) in FileAudioStream()
397 size_t num_callbacks) { in HandleCallbacks() argument
400 num_callbacks_ = num_callbacks; in HandleCallbacks()
762 const int num_callbacks = kFilePlayTimeInSec * kNumCallbacksPerSecond; in TEST_F() local
765 new FileAudioStream(num_callbacks, file_name, playout_sample_rate())); in TEST_F()
767 num_callbacks); in TEST_F()
/external/u-boot/env/
Dcallback.c21 int num_callbacks = ll_entry_count(struct env_clbk_tbl, env_clbk); in find_env_callback() local
28 i < num_callbacks; in find_env_callback()
/external/u-boot/cmd/
Dnvedit.c474 int num_callbacks; in print_active_callback() local
480 num_callbacks = ll_entry_count(struct env_clbk_tbl, env_clbk); in print_active_callback()
482 i < num_callbacks; in print_active_callback()
492 if (i == num_callbacks) in print_active_callback()
508 int num_callbacks; in do_env_callback() local
514 num_callbacks = ll_entry_count(struct env_clbk_tbl, env_clbk); in do_env_callback()
516 i < num_callbacks; in do_env_callback()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc105 size_t num_callbacks, const std::string& file_name, int sample_rate) in FileAudioStream() argument
111 EXPECT_GE(file_size_in_callbacks(), num_callbacks) in FileAudioStream()
407 int num_callbacks) { in HandleCallbacks() argument
410 num_callbacks_ = num_callbacks; in HandleCallbacks()
936 const int num_callbacks = kFilePlayTimeInSec * kNumCallbacksPerSecond; in TEST_F() local
939 new FileAudioStream(num_callbacks, file_name, playout_sample_rate())); in TEST_F()
942 num_callbacks); in TEST_F()
/external/vulkan-validation-layers/layers/
Dvk_layer_logging.h724 static inline VkResult layer_copy_tmp_report_callbacks(const void *pChain, uint32_t *num_callbacks, in layer_copy_tmp_report_callbacks() argument
727 uint32_t n = *num_callbacks = 0; in layer_copy_tmp_report_callbacks()
765 *num_callbacks = n; in layer_copy_tmp_report_callbacks()
777 …e VkResult layer_enable_tmp_report_callbacks(debug_report_data *debug_data, uint32_t num_callbacks, in layer_enable_tmp_report_callbacks() argument
781 for (uint32_t i = 0; i < num_callbacks; i++) { in layer_enable_tmp_report_callbacks()
795 …line void layer_disable_tmp_report_callbacks(debug_report_data *debug_data, uint32_t num_callbacks, in layer_disable_tmp_report_callbacks() argument
797 for (uint32_t i = 0; i < num_callbacks; i++) { in layer_disable_tmp_report_callbacks()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc2504 const int num_callbacks = has_send_ops + batch->recv_initial_metadata + in add_subchannel_batches_for_pending_batches() local
2508 elem, num_callbacks, has_send_ops /* set_on_complete */); in add_subchannel_batches_for_pending_batches()