HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 251 - 275 of 2286) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
teststunserver.h 32 #include "talk/base/thread.h"
40 TestStunServer(talk_base::Thread* thread,
42 : socket_(thread->socketserver()->CreateAsyncSocket(addr.family(),
testrelayserver.h 35 #include "talk/base/thread.h"
43 TestRelayServer(talk_base::Thread* thread,
50 : server_(thread) {
52 thread->socketserver(), udp_int_addr));
54 thread->socketserver(), udp_ext_addr));
56 tcp_int_socket_.reset(CreateListenSocket(thread, tcp_int_addr));
57 tcp_ext_socket_.reset(CreateListenSocket(thread, tcp_ext_addr));
58 ssl_int_socket_.reset(CreateListenSocket(thread, ssl_int_addr));
59 ssl_ext_socket_.reset(CreateListenSocket(thread, ssl_ext_addr))
    [all...]
  /external/chromium_org/third_party/webrtc/base/
asyncinvoker.cc 36 void AsyncInvoker::Flush(Thread* thread, uint32 id /*= MQID_ANY*/) {
39 // Run this on |thread| to reduce the number of context switches.
40 if (Thread::Current() != thread) {
41 thread->Invoke<void>(Bind(&AsyncInvoker::Flush, this, thread, id));
46 thread->Clear(this, id, &removed);
48 // This message was pending on this thread, so run it now.
49 thread->Send(it->phandler
    [all...]
  /external/compiler-rt/test/tsan/
bench_release_only.cc 9 void thread(int tid) { function
19 start_thread_group(bench_nthread, thread);
bench_ten_mutexes.cc 9 void thread(int tid) { function
22 start_thread_group(2, thread);
  /external/deqp/framework/delibs/dethread/
deThread.h 4 * drawElements Thread Library
23 * \brief Thread management.
35 * \brief Thread scheduling priority.
49 * \brief Thread attributes.
60 deBool deThread_join (deThread thread);
61 void deThread_destroy (deThread thread);
  /external/libcxx/test/thread/futures/futures.async/
Android.mk 17 test_makefile := external/libcxx/test/thread/futures/futures.async/Android.mk
19 test_name := thread/futures/futures.async/async
  /external/libcxx/test/thread/futures/futures.state/
Android.mk 17 test_makefile := external/libcxx/test/thread/futures/futures.state/Android.mk
19 test_name := thread/futures/futures.state/nothing_to_do
  /external/libcxx/test/thread/futures/futures.tas/
Android.mk 17 test_makefile := external/libcxx/test/thread/futures/futures.tas/Android.mk
19 test_name := thread/futures/futures.tas/types
  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
F.pass.cpp 10 // <thread>
12 // class thread
14 // template <class F, class ...Args> thread(F&& f, Args&&... args);
16 #include <thread>
93 std::thread t(f);
102 std::thread t(f);
114 std::thread t((G()));
126 std::thread t((G()));
140 std::thread t(G(), 5, 5.5);
146 std::thread t = std::thread(MoveOnly(), MoveOnly())
    [all...]
  /external/lldb/include/lldb/Target/
UnwindAssembly.h 31 Thread& thread,
36 Thread& thread,
39 // thread may be NULL in which case we only use the Target (e.g. if this is called pre-process-launch).
  /external/valgrind/main/drd/tests/
pth_barrier_race.c 22 static void* thread(void* arg) function
35 pthread_create(&tid, NULL, thread, NULL);
40 * happens after the created thread has returned from pthread_barrier_wait().
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
PortableThreadSampler.java 22 * ThreadSampler implementation that only uses Thread.getStackTrace()
33 @Override public StackTraceElement[] getStackTrace(Thread thread) {
34 StackTraceElement[] stackFrames = thread.getStackTrace();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
F.pass.cpp 10 // <thread>
12 // class thread
14 // template <class F, class ...Args> thread(F&& f, Args&&... args);
16 #include <thread>
93 std::thread t(f);
102 std::thread t(f);
114 std::thread t((G()));
126 std::thread t((G()));
140 std::thread t(G(), 5, 5.5);
146 std::thread t = std::thread(MoveOnly(), MoveOnly())
    [all...]
  /system/extras/tests/bionic/libc/common/
test_clock.c 25 // this thread soaks the CPU so that clock() function will advance
36 pthread_t thread; local
42 pthread_create(&thread, NULL, cpu_hog, NULL);
54 // exit could wait for the other thread to complete
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_pthread_wrappers.h 11 // It provides handy wrappers for thread manipulation, that:
44 inline void PTHREAD_CREATE(pthread_t *thread, void *attr,
46 ASSERT_EQ(0, attr) << "Thread attributes are not supported yet.";
50 *thread = CreateThread(0, 0, PthreadHelperThreadProc, data, 0, 0);
51 ASSERT_NE(nullptr, *thread) << "Failed to create a thread.";
54 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) {
56 ASSERT_EQ(WAIT_OBJECT_0, WaitForSingleObject(thread, INFINITE));
57 ASSERT_NE(0, CloseHandle(thread));
  /external/lldb/source/API/
SBHostOS.cpp 68 SBHostOS::ThreadCancel (lldb::thread_t thread, SBError *error_ptr)
70 return Host::ThreadCancel (thread, error_ptr ? error_ptr->get() : NULL);
74 SBHostOS::ThreadDetach (lldb::thread_t thread, SBError *error_ptr)
76 return Host::ThreadDetach (thread, error_ptr ? error_ptr->get() : NULL);
80 SBHostOS::ThreadJoin (lldb::thread_t thread, void **result, SBError *error_ptr)
82 return Host::ThreadJoin (thread, result, error_ptr ? error_ptr->get() : NULL);
  /sdk/emulator/opengl/tests/ut_renderer/
Renderer.h 42 int createSurface(RenderingThread *thread, const ClientHandle & handle);
43 int destroySurface(RenderingThread *thread, const ClientHandle &handle);
44 int createContext(RenderingThread *thread, const ClientHandle & ctx, const ClientHandle shareCtx, int version);
45 int destroyContext(RenderingThread *thread,const ClientHandle & ctx);
46 int makeCurrent(RenderingThread *thread,
48 int swapBuffers(RenderingThread *thread, const ClientHandle & surface);
  /external/deqp/framework/delibs/deutil/
deTimer.c 275 /* Generic thread-based implementation for OSes that lack proper timers. */
295 deThread thread; /*!< Thread. */ member in struct:deTimerThread_s
306 deTimerThread* curThread; /*!< Current timer thread. */
311 deTimerThread* thread = (deTimerThread*)arg; local
320 deMutex_lock(thread->lock);
322 if (thread->state == TIMERSTATE_SINGLE && numCallbacks > 0)
325 thread->state = TIMERSTATE_DISABLED;
328 else if (thread->state == TIMERSTATE_DISABLED)
331 deMutex_unlock(thread->lock)
355 deTimerThread* thread = (deTimerThread*)deCalloc(sizeof(deTimerThread)); local
    [all...]
  /external/chromium_org/build/android/pylib/utils/
reraiser_thread.py 5 """Thread and ThreadGroup that reraise exceptions on the main thread."""
21 def LogThreadStack(thread):
22 """Log the stack for the given thread.
25 thread: a threading.Thread instance.
27 stack = sys._current_frames()[thread.ident]
29 logging.critical('Stack dump for thread \'%s\'', thread.name)
38 class ReraiserThread(threading.Thread)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
Profile.java 26 // The Profile class is used to collect profiling information for a thread. It
27 // samples stack traces for a thread periodically. enable() and disable() is
28 // used to enable and disable profiling for the calling thread. The profiling
39 // This is a watchdog entry for one thread.
40 // For every cycleTime period, we dump the stack of the thread.
42 Thread thread; field in class:Profile.WatchEntry
52 // This is a watchdog thread which dumps stacks of other threads periodically.
77 public synchronized void addWatchEntry(Thread thread, int cycleTime)
112 Thread thread = entry.thread; local
126 Thread thread = entry.thread; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/workers/
DedicatedWorkerGlobalScope.cpp 44 PassRefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> DedicatedWorkerGlobalScope::create(DedicatedWorkerThread* thread, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData, double timeOrigin)
46 RefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> context = adoptRefWillBeRefCountedGarbageCollected(new DedicatedWorkerGlobalScope(startupData->m_scriptURL, startupData->m_userAgent, thread, timeOrigin, startupData->m_workerClients.release()));
51 DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
52 : WorkerGlobalScope(url, userAgent, thread, timeOrigin, workerClients)
72 thread()->workerObjectProxy().postMessageToWorkerObject(message, channels.release());
78 thread()->workerObjectProxy().reportPendingActivity(hasPendingActivity());
81 DedicatedWorkerThread* DedicatedWorkerGlobalScope::thread() const function in class:WebCore::DedicatedWorkerGlobalScope
83 return static_cast<DedicatedWorkerThread*>(Base::thread());
112 thread()->workerObjectProxy().postTaskToMainExecutionContext(UseCounterTask::createCount(feature));
117 thread()->workerObjectProxy().postTaskToMainExecutionContext(UseCounterTask::createDeprecation(feature))
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
main.cc 36 #include "talk/base/thread.h"
40 CustomSocketServer(talk_base::Thread* thread, GtkMainWnd* wnd)
41 : thread_(thread), wnd_(wnd), conductor_(NULL), client_(NULL) {}
51 // different thread. Alternatively we could look at merging the two loops
66 talk_base::Thread* thread_;
94 talk_base::Thread* thread = talk_base::Thread::Current(); local
95 CustomSocketServer socket_server(thread, &wnd)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glx/apple/
apple_glx_log.c 76 uint64_t thread = 0; local
80 thread = (uint64_t)(uintptr_t)pthread_self();
83 pthread_threadid_np(NULL, &thread);
85 thread = (uint64_t)(uintptr_t)pthread_self();
88 pthread_threadid_np(NULL, &thread);
97 _asl_level_string(level), file, line, function, thread);
117 asprintf(&_thread, "%"PRIu64, thread);
119 asl_set(msg, "Thread", _thread);
  /external/mesa3d/src/glx/apple/
apple_glx_log.c 76 uint64_t thread = 0; local
80 thread = (uint64_t)(uintptr_t)pthread_self();
83 pthread_threadid_np(NULL, &thread);
85 thread = (uint64_t)(uintptr_t)pthread_self();
88 pthread_threadid_np(NULL, &thread);
97 _asl_level_string(level), file, line, function, thread);
117 asprintf(&_thread, "%"PRIu64, thread);
119 asl_set(msg, "Thread", _thread);

Completed in 1407 milliseconds

<<11121314151617181920>>