| /external/chromium_org/base/threading/ |
| platform_thread_unittest.cc | 12 // Trivial tests that thread runs and doesn't crash on create and join --------- 31 TrivialThread thread; local 34 ASSERT_FALSE(thread.did_run()); 35 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 37 ASSERT_TRUE(thread.did_run()); 41 TrivialThread thread[10]; local 42 PlatformThreadHandle handle[arraysize(thread)]; 44 for (size_t n = 0; n < arraysize(thread); n++) 45 ASSERT_FALSE(thread[n].did_run()); 46 for (size_t n = 0; n < arraysize(thread); n++ 82 FunctionTestThread thread; local 98 FunctionTestThread thread[10]; local [all...] |
| /external/chromium_org/chrome/browser/gpu/ |
| chrome_gpu_util.cc | 125 bool thread = (trial->group() == thread_group); local 128 UMA_HISTOGRAM_BOOLEAN("GPU.InCompositorThreadFieldTrial", thread);
|
| /external/chromium_org/content/renderer/ |
| render_thread_impl_browsertest.cc | 28 void CheckRenderThreadInputHandlerManager(RenderThreadImpl* thread) { 29 ASSERT_TRUE(thread->input_handler_manager()); 32 // Check that InputHandlerManager outlives compositor thread because it uses 51 RenderThreadImpl* thread = new RenderThreadImpl(channel_id); local 52 thread->EnsureWebKitInitialized(); 54 ASSERT_TRUE(thread->input_handler_manager()); 56 thread->compositor_message_loop_proxy()->PostTask( 58 base::Bind(&CheckRenderThreadInputHandlerManager, thread));
|
| /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
| create.c | 6 * thread. 51 * This function creates a thread running the start function, 54 * The identity of the new thread is returned 65 * pointer to the starting routine for the new thread 72 * This function creates a thread running the start function, 75 * The identity of the new thread is returned 79 * 0 successfully created thread, 86 pthread_t thread; local 114 if ((thread = ptw32_new ()).p == NULL) 119 tp = (ptw32_thread_t *) thread.p [all...] |
| /external/chromium_org/ppapi/utility/threading/ |
| simple_thread.h | 19 // This class is a simple wrapper around a pthread/Windows thread that creates 20 // and runs a PPAPI message loop on that thread. 35 // Starts a thread and runs a message loop in it. If you need control over 37 // success, false if the thread is already running or couldn't be started. 40 // Posts a quit message to the message loop and blocks until the thread 41 // exits. Returns true on success. If the thread is not running, returns 45 // Normally you can just use Start() to start a thread, and then post work to 51 ThreadHandle thread() const { return thread_; } function in class:pp::SimpleThread
|
| /external/chromium_org/remoting/tools/ |
| breakpad_tester_win.cc | 72 base::win::ScopedHandle thread; local 73 thread.Set(CreateRemoteThread(process.Get(), NULL, 0, NULL, NULL, 0, 75 if (!thread.IsValid()) { 76 LOG_GETLASTERROR(ERROR) << "Failed to create a remote thread in " << pid;
|
| /external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
| processes_and_threads.cc | 76 HANDLE thread = ::OpenThread(THREAD_QUERY_INFORMATION, local 79 if (NULL == thread) { 83 fprintf(output, "[GRANTED] Found thread %d:%d and able to open it.\r\n", 86 ::CloseHandle(thread);
|
| /external/chromium_org/third_party/WebKit/Source/core/workers/ |
| DedicatedWorkerGlobalScope.cpp | 43 PassRefPtr<DedicatedWorkerGlobalScope> DedicatedWorkerGlobalScope::create(DedicatedWorkerThread* thread, PassOwnPtr<WorkerThreadStartupData> startupData, double timeOrigin) 45 RefPtr<DedicatedWorkerGlobalScope> context = adoptRef(new DedicatedWorkerGlobalScope(startupData->m_scriptURL, startupData->m_userAgent, thread, timeOrigin, startupData->m_workerClients.release())); 50 DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) 51 : WorkerGlobalScope(url, userAgent, thread, timeOrigin, workerClients) 71 thread()->workerObjectProxy().postMessageToWorkerObject(message, channels.release()); 77 thread()->workerObjectProxy().reportPendingActivity(hasPendingActivity()); 80 DedicatedWorkerThread* DedicatedWorkerGlobalScope::thread() function in class:WebCore::DedicatedWorkerGlobalScope 82 return static_cast<DedicatedWorkerThread*>(Base::thread());
|
| SharedWorkerGlobalScope.cpp | 54 PassRefPtr<SharedWorkerGlobalScope> SharedWorkerGlobalScope::create(const String& name, SharedWorkerThread* thread, PassOwnPtr<WorkerThreadStartupData> startupData) 56 RefPtr<SharedWorkerGlobalScope> context = adoptRef(new SharedWorkerGlobalScope(name, startupData->m_scriptURL, startupData->m_userAgent, thread, startupData->m_workerClients.release())); 61 SharedWorkerGlobalScope::SharedWorkerGlobalScope(const String& name, const KURL& url, const String& userAgent, SharedWorkerThread* thread, PassOwnPtr<WorkerClients> workerClients) 62 : WorkerGlobalScope(url, userAgent, thread, monotonicallyIncreasingTime(), workerClients) 77 SharedWorkerThread* SharedWorkerGlobalScope::thread() function in class:WebCore::SharedWorkerGlobalScope 79 return static_cast<SharedWorkerThread*>(Base::thread());
|
| /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
| DatabaseDetails.h | 64 ThreadIdentifier thread() const { return m_thread; } function in class:WebCore::DatabaseDetails
|
| /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/ |
| main.cc | 35 #include "talk/base/thread.h" 39 CustomSocketServer(talk_base::Thread* thread, GtkMainWnd* wnd) 40 : thread_(thread), wnd_(wnd), conductor_(NULL), client_(NULL) {} 50 // different thread. Alternatively we could look at merging the two loops 65 talk_base::Thread* thread_; 93 talk_base::Thread* thread = talk_base::Thread::Current(); local 94 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/chromium_org/third_party/npapi/npspy/extern/nspr/private/ |
| pprthred.h | 54 ** THREAD PRIVATE FUNCTIONS 58 ** Associate a thread object with an existing native thread. 59 ** "type" is the type of thread object to attach 60 ** "priority" is the priority to assign to the thread 65 ** function returns. The thread object is automatically destroyed. 68 ** thread. PR_Init does this automatically for the primordial thread. 75 ** Detach the nspr thread from the currently executing native thread 91 NSPR_API(PRUint32) PR_GetThreadID(PRThread *thread); variable 193 NSPR_API(void *) PR_GetSP(PRThread *thread); variable 218 NSPR_API(void*) GetExecutionEnvironment(PRThread *thread); variable 318 NSPR_API(void) PR_Mac_PostAsyncNotify(PRThread *thread); variable [all...] |
| /external/chromium_org/third_party/skia/src/utils/ |
| SkThreadPool.cpp | 35 SkThread* thread = SkNEW_ARGS(SkThread, (&SkThreadPool::Loop, this)); local 36 *fThreads.append() = thread; 37 thread->start(); 55 // The SkThreadPool passes itself as arg to each thread as they're created. 78 // Otherwise, we'd only ever do work on one thread at a time, which rather
|
| /external/chromium_org/third_party/tlslite/tlslite/ |
| BaseDB.py | 4 import thread namespace 14 self.lock = thread.allocate_lock()
|
| /external/chromium_org/ui/shell_dialogs/ |
| base_shell_dialog_win.cc | 9 #include "base/threading/thread.h" 65 base::Thread* BaseShellDialogImpl::CreateDialogThread() { 66 base::Thread* thread = new base::Thread("Chrome_ShellDialogThread"); local 67 thread->init_com_with_mta(false); 68 bool started = thread->Start(); 70 return thread;
|
| /external/linux-tools-perf/scripts/python/ |
| sctop.py | 11 import os, sys, thread, time namespace 42 thread.start_new_thread(print_syscall_totals, (interval,))
|
| /external/linux-tools-perf/util/ |
| thread.h | 14 struct thread { struct 29 void thread__delete(struct thread *self); 31 int thread__set_comm(struct thread *self, const char *comm); 32 int thread__comm_len(struct thread *self); 33 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid); 34 void thread__insert_map(struct thread *self, struct map *map); 35 int thread__fork(struct thread *self, struct thread *parent); 38 static inline struct map *thread__find_map(struct thread *self, 44 void thread__find_addr_map(struct thread *self [all...] |
| /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);
|
| /external/skia/src/utils/ |
| SkThreadPool.cpp | 35 SkThread* thread = SkNEW_ARGS(SkThread, (&SkThreadPool::Loop, this)); local 36 *fThreads.append() = thread; 37 thread->start(); 55 // The SkThreadPool passes itself as arg to each thread as they're created. 78 // Otherwise, we'd only ever do work on one thread at a time, which rather
|
| /external/valgrind/main/drd/tests/ |
| free_is_write.c | 42 pthread_t thread[THREAD_COUNT]; local 47 result = pthread_create(&thread[i], 0, thread_func, 0); 57 pthread_join(thread[i], 0);
|
| pth_detached.c | 54 // thread attributes. 57 pthread_t thread; local 58 pthread_create(&thread, &attr, thread_func1, NULL); 66 pthread_t thread; local 67 pthread_create(&thread, &attr, thread_func2, NULL);
|
| pth_detached_sem.c | 4 * in this test program the main thread uses a counting semaphore instead 61 // thread attributes. 64 pthread_t thread; local 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 73 pthread_t thread; local 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]);
|
| /external/valgrind/main/none/tests/ |
| pth_atfork1.c | 71 static void *thread (void *arg); 82 if (pthread_create (&th, NULL, thread, NULL) != 0) 83 error (EXIT_FAILURE, 0, "cannot create thread"); 96 thread (void *arg) function
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| fork_wait.py | 5 We want fork1() semantics -- only the forking thread survives in the 17 thread = test_support.import_module('thread') variable 51 thread.start_new(self.f, (i,))
|