Home
last modified time | relevance | path

Searched refs:thread_options (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/dbus/
Dbus_unittest.cc136 base::Thread::Options thread_options; in TEST() local
137 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in TEST()
139 dbus_thread.StartWithOptions(thread_options); in TEST()
214 base::Thread::Options thread_options; in TEST() local
215 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in TEST()
217 dbus_thread.StartWithOptions(thread_options); in TEST()
264 base::Thread::Options thread_options; in TEST() local
265 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in TEST()
267 dbus_thread.StartWithOptions(thread_options); in TEST()
Dsignal_sender_verification_unittest.cc38 base::Thread::Options thread_options; in SetUp() local
39 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in SetUp()
40 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp()
Dobject_manager_unittest.cc70 base::Thread::Options thread_options; in SetUp() local
71 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in SetUp()
72 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp()
Dend_to_end_async_unittest.cc49 base::Thread::Options thread_options; in SetUp() local
50 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in SetUp()
51 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp()
Dproperty_unittest.cc62 base::Thread::Options thread_options; in SetUp() local
63 thread_options.message_loop_type = base::MessageLoop::TYPE_IO; in SetUp()
64 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/
Dthreadpool.h55 virtual const Thread::Options& thread_options() const = 0;
116 const Thread::Options& thread_options);
127 const Thread::Options& thread_options() const override;
Dthreadpool.cc94 const Thread::Options& thread_options) in ThreadPool() argument
97 thread_options_(thread_options) { in ThreadPool()
132 const Thread::Options& ThreadPool::thread_options() const { in thread_options() function in grpc_core::ThreadPool
/external/tensorflow/tensorflow/core/platform/
Dthreadpool.cc49 EigenEnvironment(Env* env, const ThreadOptions& thread_options, in EigenEnvironment()
51 : env_(env), thread_options_(thread_options), name_(name) {} in EigenEnvironment()
92 ThreadPool::ThreadPool(Env* env, const ThreadOptions& thread_options, in ThreadPool() argument
94 : ThreadPool(env, thread_options, name, num_threads, true, nullptr) {} in ThreadPool()
96 ThreadPool::ThreadPool(Env* env, const ThreadOptions& thread_options, in ThreadPool() argument
102 EigenEnvironment(env, thread_options, "tf_" + name))); in ThreadPool()
Dthreadpool.h111 ThreadPool(Env* env, const ThreadOptions& thread_options,
125 ThreadPool(Env* env, const ThreadOptions& thread_options,
Denv.h415 virtual Thread* StartThread(const ThreadOptions& thread_options,
513 Thread* StartThread(const ThreadOptions& thread_options, in StartThread() argument
516 return target_->StartThread(thread_options, name, fn); in StartThread()
/external/tensorflow/tensorflow/core/platform/default/
Denv.cc60 PThread(const ThreadOptions& thread_options, const std::string& name, in PThread() argument
67 if (thread_options.stack_size != 0) { in PThread()
68 pthread_attr_setstacksize(&attributes, thread_options.stack_size); in PThread()
132 Thread* StartThread(const ThreadOptions& thread_options, const string& name, in StartThread() argument
134 return new PThread(thread_options, name, fn); in StartThread()
Dunbounded_work_queue.cc26 const ThreadOptions& thread_options) in UnboundedWorkQueue() argument
27 : env_(env), thread_name_(thread_name), thread_options_(thread_options) {} in UnboundedWorkQueue()
Dunbounded_work_queue.h40 const ThreadOptions& thread_options = {});
/external/tensorflow/tensorflow/core/kernels/data/
Dunbounded_thread_pool.h40 const ThreadOptions& thread_options) in UnboundedThreadPool() argument
41 : unbounded_work_queue_(env, thread_name, thread_options) {} in UnboundedThreadPool()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dram_file_block_cache.h64 TF_ThreadOptions thread_options; local
65 TF_DefaultThreadOptions(&thread_options);
67 TF_StartThread(&thread_options, "TF_prune_FBC", PruneThread, this));
/external/tensorflow/tensorflow/core/platform/windows/
Denv.cc55 StdThread(const ThreadOptions& thread_options, const string& name, in StdThread() argument
100 Thread* StartThread(const ThreadOptions& thread_options, const string& name, in StartThread() argument
102 return new StdThread(thread_options, name, fn); in StartThread()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dperiodic_function.h84 ThreadOptions thread_options; member
Dperiodic_function.cc43 options_.thread_options, options_.thread_name_prefix, [this]() { in __anon319300e40202()
/external/tensorflow/tensorflow/core/framework/
Drun_handler.h129 RunHandlerEnvironment(Env* env, const ThreadOptions& thread_options,
223 Env* env, const ThreadOptions& thread_options,
Drun_handler.cc51 Env* env, const ThreadOptions& thread_options, const string& name) in RunHandlerEnvironment() argument
52 : env_(env), thread_options_(thread_options), name_(name) {} in RunHandlerEnvironment()
315 const ThreadOptions& thread_options, const string& name, in RunHandlerThreadPool() argument
322 env_(env, thread_options, name), in RunHandlerThreadPool()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dthreadpool_dataset_op.cc33 ThreadPoolResource(Env* env, const ThreadOptions& thread_options, in ThreadPoolResource() argument
36 : thread_pool_(env, thread_options, name, num_threads, low_latency_hint), in ThreadPoolResource()