Home
last modified time | relevance | path

Searched refs:worker_ (Results 1 – 17 of 17) sorted by relevance

/external/libvpx/libvpx/test/
Dvp9_thread_test.cc30 virtual void SetUp() { vpx_get_worker_interface()->init(&worker_); } in SetUp()
32 virtual void TearDown() { vpx_get_worker_interface()->end(&worker_); } in TearDown()
43 VPxWorker worker_; member in __anon9d1832d80111::VPxWorkerThreadTest
54 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); in TEST_P()
57 EXPECT_NE(vpx_get_worker_interface()->reset(&worker_), 0); in TEST_P()
61 worker_.hook = ThreadHook; in TEST_P()
62 worker_.data1 = &hook_data; in TEST_P()
63 worker_.data2 = &return_value; in TEST_P()
65 Run(&worker_); in TEST_P()
66 EXPECT_NE(vpx_get_worker_interface()->sync(&worker_), 0); in TEST_P()
[all …]
/external/webrtc/modules/audio_processing/test/
Dfake_recording_device.cc141 worker_ = in FakeRecordingDevice()
145 worker_ = std::make_unique<FakeRecordingDeviceLinear>(initial_mic_level); in FakeRecordingDevice()
148 worker_ = std::make_unique<FakeRecordingDeviceAgc1>(initial_mic_level); in FakeRecordingDevice()
159 RTC_CHECK(worker_); in MicLevel()
160 return worker_->mic_level(); in MicLevel()
164 RTC_CHECK(worker_); in SetMicLevel()
165 if (level != worker_->mic_level()) in SetMicLevel()
167 worker_->set_mic_level(level); in SetMicLevel()
171 RTC_DCHECK(worker_); in SetUndoMicLevel()
176 worker_->set_undo_mic_level(level); in SetUndoMicLevel()
[all …]
Dfake_recording_device.h68 std::unique_ptr<FakeRecordingDeviceWorker> worker_;
/external/webrtc/rtc_base/deprecated/
Dsignal_thread.cc27 : main_(Thread::Current()), worker_(this), state_(kInit), refcount_(1) { in DEPRECATED_SignalThread()
30 worker_.SetName("SignalThread", this); in DEPRECATED_SignalThread()
44 return worker_.SetName(name, obj); in SetName()
54 worker_.Start(); in Start()
73 worker_.Quit(); in Destroy()
78 worker_.Stop(); in Destroy()
104 RTC_DCHECK(worker_.IsCurrent()); in ContinueWork()
105 return worker_.ProcessMessages(0); in ContinueWork()
130 worker_.Stop(); in OnMessage()
Dsignal_thread.h78 Thread* worker() { return &worker_; } in worker()
151 Worker worker_; variable
/external/webrtc/pc/
Dchannel_manager_unittest.cc50 worker_(rtc::Thread::Create()), in ChannelManagerTest()
100 std::unique_ptr<rtc::Thread> worker_; member in cricket::ChannelManagerTest
124 worker_->Start(); in TEST_F()
129 EXPECT_TRUE(cm_->set_worker_thread(worker_.get())); in TEST_F()
130 EXPECT_EQ(worker_.get(), cm_->worker_thread()); in TEST_F()
187 worker_->Start(); in TEST_F()
188 EXPECT_TRUE(cm_->set_worker_thread(worker_.get())); in TEST_F()
/external/libchrome/base/task_scheduler/
Dscheduler_single_thread_task_runner_manager.cc84 DCHECK(!worker_); in set_worker()
85 worker_ = worker; in set_worker()
90 DCHECK(worker_); in OnCanScheduleSequence()
92 worker_->WakeUp(); in OnCanScheduleSequence()
163 SchedulerWorker* worker_ = nullptr; member in base::internal::__anon836862560111::SchedulerWorkerDelegate
287 worker_(worker), in SchedulerSingleThreadTaskRunner()
290 DCHECK(worker_); in SchedulerSingleThreadTaskRunner()
352 outer_->UnregisterSchedulerWorker(worker_); in ~SchedulerSingleThreadTaskRunner()
369 worker_->WakeUp(); in PostTaskNow()
375 return static_cast<SchedulerWorkerDelegate*>(worker_->delegate()); in GetDelegate()
[all …]
Dscheduler_worker_unittest.cc85 worker_ = MakeRefCounted<SchedulerWorker>( in SetUp()
89 ASSERT_TRUE(worker_); in SetUp()
90 worker_->Start(); in SetUp()
98 worker_->JoinForTesting(); in TearDown()
99 worker_ = nullptr; in TearDown()
137 scoped_refptr<SchedulerWorker> worker_; member in base::internal::__anonce7fc1310111::TaskSchedulerWorkerTest
152 EXPECT_EQ(outer_->worker_.get(), worker); in OnMainEntry()
164 EXPECT_EQ(outer_->worker_.get(), worker); in GetWork()
316 worker_->WakeUp(); in TEST_P()
347 worker_->WakeUp(); in TEST_P()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_worker_service.cc104 : worker_(worker), in GrpcWorkerServiceThread()
114 worker_->env()->env->StartThread(ThreadOptions(), "grpc_worker_service", in Start()
174 worker_->env()->compute_pool->Schedule(std::move(f)); in Schedule()
195 Status s = worker_->method(&call->request, &call->response); \
202 worker_->env()->env->SchedClosure(std::move(closure)); \
204 worker_->env()->compute_pool->Schedule(std::move(closure)); \
224 worker_->GetStepSequenceAsync( in GetStepSequenceHandler()
236 worker_->RemoveCacheEntryForId(call->request.request_id()); in MarkRecvFinishedHandler()
249 worker_->RunGraphAsync(call_opts, wrapped_request, wrapped_response, in RunGraphHandler()
272 worker_->GrpcRecvTensorAsync( in RecvTensorHandlerRaw()
[all …]
/external/grpc-grpc/test/cpp/qps/
Dqps_worker.cc102 : acquired_(false), server_port_(server_port), worker_(worker) {} in WorkerServiceImpl()
144 worker_->MarkDone(); in QuitWorker()
268 QpsWorker* worker_; member in grpc::testing::WorkerServiceImpl
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_dns_cache.cc71 DCHECK(!worker_) << "Worker thread already exists!"; in AnnotateRequest()
76 worker_.reset(env_->StartThread({}, "gcs_dns_worker", in AnnotateRequest()
Dgcs_dns_cache.h68 std::unique_ptr<Thread> worker_ TF_GUARDED_BY(mu_); // After mutable vars.
/external/webp/src/dec/
Dvp8_dec.c61 WebPGetWorkerInterface()->Init(&dec->worker_); in VP8New()
663 if (!WebPGetWorkerInterface()->Sync(&dec->worker_)) return 0; in ParseFrame()
713 WebPGetWorkerInterface()->End(&dec->worker_); in VP8Clear()
Dvp8i_dec.h197 WebPWorker worker_; member
Dframe_dec.c514 WebPWorker* const worker = &dec->worker_; in VP8ProcessRow()
604 ok = WebPGetWorkerInterface()->Sync(&dec->worker_); in VP8ExitCritical()
644 WebPWorker* const worker = &dec->worker_; in InitThreadContext()
Didec_dec.c483 if (!WebPGetWorkerInterface()->Sync(&dec->worker_)) { in DecodeRemaining()
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc1062 worker_(worker), in TestSyncMessageFilter()
1078 worker_->Done(); in SendMessageOnHelperThread()
1084 Worker* worker_; member in IPC::__anon7ae8f74a0111::TestSyncMessageFilter