Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 2802) sorted by relevance

12345678910>>...113

/external/webrtc/rtc_base/
Dthread.cc123 void ThreadManager::Add(Thread* message_queue) { in Add()
126 void ThreadManager::AddInternal(Thread* message_queue) { in AddInternal()
134 void ThreadManager::Remove(Thread* message_queue) { in Remove()
137 void ThreadManager::RemoveInternal(Thread* message_queue) { in RemoveInternal()
142 std::vector<Thread*>::iterator iter; in RemoveInternal()
154 void ThreadManager::RemoveFromSendGraph(Thread* thread) { in RemoveFromSendGraph()
165 void ThreadManager::RegisterSendAndCheckForCycles(Thread* source, in RegisterSendAndCheckForCycles()
166 Thread* target) { in RegisterSendAndCheckForCycles()
168 std::deque<Thread*> all_targets({target}); in RegisterSendAndCheckForCycles()
194 for (Thread* queue : message_queues_) { in ClearInternal()
[all …]
Dthread_unittest.cc67 Thread* post_thread, in SocketClient()
94 Thread* post_thread_;
101 MessageClient(Thread* pth, Socket* socket) : socket_(socket) {} in MessageClient()
116 class CustomThread : public rtc::Thread {
119 : Thread(std::unique_ptr<SocketServer>(new rtc::NullSocketServer())) {} in CustomThread()
123 bool WrapCurrent() { return Thread::WrapCurrent(); } in WrapCurrent()
124 void UnwrapCurrent() { Thread::UnwrapCurrent(); } in UnwrapCurrent()
129 class SignalWhenDestroyedThread : public Thread {
132 : Thread(std::unique_ptr<SocketServer>(new NullSocketServer())), in SignalWhenDestroyedThread()
197 Thread::Current()->ProcessMessages(50); in operator ()()
[all …]
Dthread.h47 class Thread; variable
81 static void Add(Thread* message_queue);
82 static void Remove(Thread* message_queue);
93 Thread* CurrentThread();
94 void SetCurrentThread(Thread* thread);
97 void ChangeCurrentThreadForTest(Thread* thread);
112 Thread* WrapCurrentThread();
121 void RegisterSendAndCheckForCycles(Thread* source, Thread* target);
128 void SetCurrentThreadInternal(Thread* thread);
129 void AddInternal(Thread* message_queue);
[all …]
/external/angle/src/libGLESv2/
Degl_ext_stubs_autogen.h32 class Thread; variable
35 EGLint ClientWaitSyncKHR(Thread *thread,
40 EGLImageKHR CreateImageKHR(Thread *thread,
46 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread,
48 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread,
53 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread,
58 EGLStreamKHR CreateStreamKHR(Thread *thread,
61 EGLSyncKHR CreateSyncKHR(Thread *thread,
65 EGLint DebugMessageControlKHR(Thread *thread,
68 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked);
[all …]
Degl_stubs_autogen.h32 class Thread; variable
35 EGLBoolean BindAPI(Thread *thread, EGLenum api);
36 EGLBoolean BindTexImage(Thread *thread,
40 EGLBoolean ChooseConfig(Thread *thread,
46 EGLint ClientWaitSync(Thread *thread,
51 EGLBoolean CopyBuffers(Thread *thread,
55 EGLContext CreateContext(Thread *thread,
60 EGLImage CreateImage(Thread *thread,
66 EGLSurface CreatePbufferFromClientBuffer(Thread *thread,
72 EGLSurface CreatePbufferSurface(Thread *thread,
[all …]
/external/testng/src/test/java/test/ant/
DMultipleThreadTest.java17 public static Set<Thread> _threads;
21 _threads=Collections.synchronizedSet(new HashSet<Thread>()); in prepareHashSet()
26 _threads.add(Thread.currentThread()); in recordThread00()
31 _threads.add(Thread.currentThread()); in recordThread01()
36 _threads.add(Thread.currentThread()); in recordThread02()
41 _threads.add(Thread.currentThread()); in recordThread03()
46 _threads.add(Thread.currentThread()); in recordThread04()
51 _threads.add(Thread.currentThread()); in recordThread05()
56 _threads.add(Thread.currentThread()); in recordThread06()
61 _threads.add(Thread.currentThread()); in recordThread07()
[all …]
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dthread_inline.h20 inline Thread::Thread() : native_type_() {} in Thread() function
22 inline Thread::Thread(const Options&, ThreadRoutine entry, void* arg) { in Thread() function
26 inline Thread& Thread::operator=(Thread&& other) {
31 inline Thread::~Thread() = default;
33 inline Id Thread::get_id() const { return native_type_.get_id(); } in get_id()
35 inline void Thread::join() { native_type_.join(); } in join()
37 inline void Thread::detach() { native_type_.detach(); } in detach()
39 inline void Thread::swap(Thread& other) { in swap()
43 inline Thread::native_handle_type Thread::native_handle() { in native_handle()
/external/guava/android/guava-tests/test/com/google/common/collect/
DSynchronizedDequeTest.java45 assertTrue(Thread.holdsLock(mutex)); in offer()
51 assertTrue(Thread.holdsLock(mutex)); in poll()
57 assertTrue(Thread.holdsLock(mutex)); in remove()
63 assertTrue(Thread.holdsLock(mutex)); in remove()
69 assertTrue(Thread.holdsLock(mutex)); in peek()
75 assertTrue(Thread.holdsLock(mutex)); in element()
82 assertFalse(Thread.holdsLock(mutex)); in iterator()
88 assertTrue(Thread.holdsLock(mutex)); in size()
94 assertTrue(Thread.holdsLock(mutex)); in removeAll()
100 assertTrue(Thread.holdsLock(mutex)); in isEmpty()
[all …]
DSynchronizedTableTest.java32 assertTrue(Thread.holdsLock(mutex)); in toString()
38 assertTrue(Thread.holdsLock(mutex)); in equals()
44 assertTrue(Thread.holdsLock(mutex)); in hashCode()
50 assertTrue(Thread.holdsLock(mutex)); in size()
56 assertTrue(Thread.holdsLock(mutex)); in isEmpty()
62 assertTrue(Thread.holdsLock(mutex)); in containsValue()
68 assertTrue(Thread.holdsLock(mutex)); in clear()
74 assertTrue(Thread.holdsLock(mutex)); in values()
81 assertTrue(Thread.holdsLock(mutex)); in cellSet()
87 assertTrue(Thread.holdsLock(mutex)); in column()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedDequeTest.java45 assertTrue(Thread.holdsLock(mutex)); in offer()
51 assertTrue(Thread.holdsLock(mutex)); in poll()
57 assertTrue(Thread.holdsLock(mutex)); in remove()
63 assertTrue(Thread.holdsLock(mutex)); in remove()
69 assertTrue(Thread.holdsLock(mutex)); in peek()
75 assertTrue(Thread.holdsLock(mutex)); in element()
82 assertFalse(Thread.holdsLock(mutex)); in iterator()
88 assertTrue(Thread.holdsLock(mutex)); in size()
94 assertTrue(Thread.holdsLock(mutex)); in removeAll()
100 assertTrue(Thread.holdsLock(mutex)); in isEmpty()
[all …]
DSynchronizedTableTest.java32 assertTrue(Thread.holdsLock(mutex)); in toString()
38 assertTrue(Thread.holdsLock(mutex)); in equals()
44 assertTrue(Thread.holdsLock(mutex)); in hashCode()
50 assertTrue(Thread.holdsLock(mutex)); in size()
56 assertTrue(Thread.holdsLock(mutex)); in isEmpty()
62 assertTrue(Thread.holdsLock(mutex)); in containsValue()
68 assertTrue(Thread.holdsLock(mutex)); in clear()
74 assertTrue(Thread.holdsLock(mutex)); in values()
81 assertTrue(Thread.holdsLock(mutex)); in cellSet()
87 assertTrue(Thread.holdsLock(mutex)); in column()
[all …]
/external/swiftshader/third_party/marl/src/
Dthread.cpp53 inline uint64_t operator()(const marl::Thread::Core& core) const { in operator ()()
64 std::numeric_limits<decltype(Thread::Core::windows.index)>::max() + 1ULL;
66 std::numeric_limits<decltype(Thread::Core::windows.group)>::max() + 1ULL;
118 Thread::Affinity::Affinity(Allocator* allocator) : cores(allocator) {} in Affinity()
119 Thread::Affinity::Affinity(Affinity&& other) : cores(std::move(other.cores)) {} in Affinity()
120 Thread::Affinity::Affinity(const Affinity& other, Allocator* allocator) in Affinity()
123 Thread::Affinity::Affinity(std::initializer_list<Core> list, in Affinity()
132 Thread::Affinity Thread::Affinity::all( in all()
134 Thread::Affinity affinity(allocator); in all()
182 std::shared_ptr<Thread::Affinity::Policy> Thread::Affinity::Policy::anyOf( in anyOf()
[all …]
/external/pigweed/pw_thread/public/pw_thread/
Dthread.h64 class Thread {
70 Thread();
117 Thread(const Options& options, ThreadRoutine entry, void* arg = nullptr);
118 Thread(const Options& options, ThreadCore& thread_core);
121 Thread& operator=(Thread&& other);
124 ~Thread();
126 Thread(const Thread&) = delete;
127 Thread(Thread&&) = delete;
128 Thread& operator=(const Thread&) = delete;
172 void swap(Thread& other);
/external/bcc/tools/
Dperlflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
Dphpflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
Dpythonflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
Drubyflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
Dtclflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
Djavaflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
/external/bcc/tools/lib/
Duflow_example.txt35 classes or methods. For example, trace only methods from the Thread class:
37 # ./uflow -C java/lang/Thread $(pidof java)
40 3 27722 27731 3.144 -> java/lang/Thread.<init>
41 3 27722 27731 3.144 -> java/lang/Thread.init
42 3 27722 27731 3.144 -> java/lang/Thread.init
43 3 27722 27731 3.144 -> java/lang/Thread.currentThread
44 3 27722 27731 3.144 <- java/lang/Thread.currentThread
45 3 27722 27731 3.144 -> java/lang/Thread.getThreadGroup
46 3 27722 27731 3.144 <- java/lang/Thread.getThreadGroup
51 3 27722 27731 3.145 -> java/lang/Thread.isDaemon
[all …]
/external/pigweed/pw_thread/
Dthread_facade_test.cc28 TEST(Thread, DefaultIds) { in TEST() argument
29 Thread not_executing_thread; in TEST()
38 TEST(Thread, Join) { in TEST() argument
39 Thread thread; in TEST()
43 Thread(TestOptionsThread0(), ReleaseBinarySemaphore, &thread_ran_sem); in TEST()
51 TEST(Thread, Detach) { in TEST() argument
52 Thread thread; in TEST()
55 Thread(TestOptionsThread0(), ReleaseBinarySemaphore, &thread_ran_sem); in TEST()
66 TEST(Thread, SwapWithoutExecution) { in TEST() argument
67 Thread thread_0; in TEST()
[all …]
/external/pigweed/pw_thread_threadx/public/pw_thread_threadx/
Dthread_inline.h25 inline Thread::Thread() : native_type_(nullptr) {} in Thread() function
27 inline Thread& Thread::operator=(Thread&& other) {
33 inline Thread::~Thread() { PW_DASSERT(native_type_ == nullptr); } in ~Thread()
35 inline Id Thread::get_id() const { in get_id()
42 inline void Thread::swap(Thread& other) { in swap()
46 inline Thread::native_handle_type Thread::native_handle() { in native_handle()
/external/pigweed/pw_thread_freertos/public/pw_thread_freertos/
Dthread_inline.h27 inline Thread::Thread() : native_type_(nullptr) {} in Thread() function
29 inline Thread& Thread::operator=(Thread&& other) {
35 inline Thread::~Thread() { PW_DASSERT(native_type_ == nullptr); } in ~Thread()
37 inline Id Thread::get_id() const { in get_id()
44 inline void Thread::swap(Thread& other) { in swap()
48 inline Thread::native_handle_type Thread::native_handle() { in native_handle()
/external/libchrome/base/threading/
Dthread.cc41 Thread::Options::Options() = default;
43 Thread::Options::Options(MessageLoop::Type type, size_t size) in Options()
46 Thread::Options::Options(const Options& other) = default;
48 Thread::Options::~Options() = default;
50 Thread::Thread(const std::string& name) in Thread() function in base::Thread
63 Thread::~Thread() { in ~Thread()
67 bool Thread::Start() { in Start()
78 bool Thread::StartWithOptions(const Options& options) { in StartWithOptions()
133 bool Thread::StartAndWaitForTesting() { in StartAndWaitForTesting()
142 bool Thread::WaitUntilThreadStarted() const { in WaitUntilThreadStarted()
[all …]
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_thread_list.h85 RoundUpTo(ring_buffer_size_ + sizeof(Thread), ring_buffer_size_ * 2); in HwasanThreadList()
88 Thread *CreateCurrentThread() { in CreateCurrentThread()
89 Thread *t; in CreateCurrentThread()
96 internal_memset((void *)start, 0, ring_buffer_size_ + sizeof(Thread)); in CreateCurrentThread()
107 void DontNeedThread(Thread *t) { in DontNeedThread()
112 void RemoveThreadFromLiveList(Thread *t) { in RemoveThreadFromLiveList()
113 for (Thread *&t2 : live_list_) in RemoveThreadFromLiveList()
124 void ReleaseThread(Thread *t) { in ReleaseThread()
133 Thread *GetThreadByBufferAddress(uptr p) { in GetThreadByBufferAddress()
134 return (Thread *)(RoundDownTo(p, ring_buffer_size_ * 2) + in GetThreadByBufferAddress()
[all …]

12345678910>>...113