/external/chromium_org/content/common/ |
H A D | database_connections_unittest.cc | 8 #include "base/threading/thread.h" 29 base::Thread* thread, const std::string& origin_id, 33 thread->message_loop()->PostTask( 121 // being removed on the current thread. 133 // being removed on another thread. 135 base::Thread thread("WrapperTestThread"); 136 thread.Start(); 140 base::Bind(&ScheduleRemoveConnectionTask, &thread, kOriginId, kName, obj, 28 ScheduleRemoveConnectionTask( base::Thread* thread, const std::string& origin_id, const base::string16& database_name, scoped_refptr<DatabaseConnectionsWrapper> obj, bool* did_task_execute) argument
|
/external/chromium_org/content/renderer/battery_status/ |
H A D | battery_status_dispatcher.cc | 13 BatteryStatusDispatcher::BatteryStatusDispatcher(RenderThread* thread) argument 14 : PlatformEventObserver<blink::WebBatteryStatusListener>(thread) {
|
/external/chromium_org/content/renderer/device_sensors/ |
H A D | device_motion_event_pump.cc | 13 DeviceMotionEventPump::DeviceMotionEventPump(RenderThread* thread) argument 14 : DeviceSensorEventPump<blink::WebDeviceMotionListener>(thread) {
|
H A D | device_sensor_event_pump.h | 50 explicit DeviceSensorEventPump(RenderThread* thread) argument 51 : PlatformEventObserver<ListenerType>(thread),
|
/external/chromium_org/content/renderer/ |
H A D | scheduler_proxy_task_runner_browsertest.cc | 48 RenderThreadImpl* thread = new RenderThreadImpl(channel_id); local 49 thread->EnsureWebKitInitialized(); 52 thread->main_thread_compositor_task_runner();
|
/external/chromium_org/media/cast/test/utility/ |
H A D | netload.py | 11 import thread namespace 57 thread.start_new_thread(Spew, (s,)) 59 thread.start_new_thread(Sink, (s,)) 66 thread.start_new_thread(Serve, (s, upload, download)) 74 thread.start_new_thread(Spew, (s,)) 76 thread.start_new_thread(Sink, (s,))
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | 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 [all...] |
H A D | pthread_cancel.c | 5 * POSIX thread functions related to thread cancellation. 75 pthread_cancel (pthread_t thread) argument 79 * This function requests cancellation of 'thread'. 82 * thread 87 * This function requests cancellation of 'thread'. 89 * wait for termination of 'thread' if necessary. 93 * ESRCH no thread found corresponding to 'thread', 94 * ENOMEM implicit self thread creat [all...] |
H A D | ptw32_callUserDestroyRoutines.c | 59 ptw32_callUserDestroyRoutines (pthread_t thread) argument 64 * This the routine runs through all thread keys and calls 65 * the destroy routines on the user's data for the current thread. 69 * thread 79 if (thread.p != NULL) 85 ptw32_thread_t * sp = (ptw32_thread_t *) thread.p; 89 * for the current thread. 100 * The pointer to the next assoc is stored in the thread struct so that 201 * handler. Since we are leaving the thread we 221 * Remove association from both the key and thread chain [all...] |
H A D | signal.c | 44 * signal (interrupt) to a specified thread in the same 51 * Each thread maintains information about which 53 * are set on a per-process basis - not per-thread. 54 * When signalled, a thread will check it's sigmask 57 * thread must then (except for some signals) return to 60 * Ideally the system itself would check the target thread's 61 * mask before possibly needlessly bothering the thread 63 * in the signaling thread since it has access to 67 * serialisation of the access to the per-thread signal 72 * threads processor context to cause the thread t 102 pthread_t thread = pthread_self (); local [all...] |
/external/chromium_org/ppapi/utility/threading/ |
H A D | 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/sandbox/linux/services/ |
H A D | thread_helpers.cc | 21 #include "base/threading/thread.h" 33 // At least "..", "." and the current thread should be present. 57 base::Thread* thread) { 59 DCHECK(thread); 60 const base::PlatformThreadId thread_id = thread->thread_id(); 63 // The kernel is at liberty to wake the thread id futex before updating 64 // /proc. Following Stop(), the thread is joined, but entries in /proc may 66 thread->Stop(); 81 // The thread disappeared from /proc, we're done. 56 StopThreadAndWatchProcFS(int proc_self_task, base::Thread* thread) argument
|
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
H A D | processes_and_threads.cc | 76 HANDLE thread = ::OpenThread(THREAD_QUERY_INFORMATION, local 79 if (NULL == thread) { 83 fprintf(output, "[GRANTED] Found thread %ld:%ld and able to open it.\r\n", 86 ::CloseHandle(thread);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | ParallelJobs.h | 69 // The main thread can execute one job, so only create requestJobNumber - 1 threads. 71 OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("Unfortunate parallel worker")); local 72 m_threads.append(thread.release());
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/private/ |
H A D | pprthred.h | 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. 76 ** The thread objec 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/webrtc/base/ |
H A D | asyncinvoker.h | 18 #include "webrtc/base/thread.h" 28 // AsyncInvoker does not own the thread it calls functors on. 45 // void FireAsyncTaskWithResult(Thread* thread, int x) { 48 // thread, Bind(&MyClass::AsyncTaskWithResult, this, x), 51 // void FireAnotherAsyncTask(Thread* thread) { 54 // thread, Bind(&MyClass::AnotherAsyncTask, this)); 74 // Call |functor| asynchronously on |thread|, with no callback upon 77 void AsyncInvoke(Thread* thread, argument 82 DoInvoke(thread, closure, id); 85 // Call |functor| asynchronously on |thread|, callin 87 AsyncInvoke(Thread* thread, const FunctorT& functor, void (HostT::*callback)(ReturnT), HostT* callback_host, uint32 id = 0) argument 101 AsyncInvoke(Thread* thread, const FunctorT& functor, void (HostT::*callback)(), HostT* callback_host, uint32 id = 0) argument [all...] |
/external/chromium_org/v8/src/base/platform/ |
H A D | platform-unittest.cc | 43 SelfJoinThread thread; local 44 thread.Start(); 45 thread.Join();
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_pthread_wrappers.h | 11 // It provides handy wrappers for thread manipulation, that: 44 inline void PTHREAD_CREATE(pthread_t *thread, void *attr, argument 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) { argument 56 ASSERT_EQ(WAIT_OBJECT_0, WaitForSingleObject(thread, INFINITE)); 57 ASSERT_NE(0, CloseHandle(thread));
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | deep_thread_stack.cc | 30 pthread_t thread; local 31 pthread_create(&thread, NULL, (callback_type)function, NULL); 32 pthread_join(thread, NULL); 50 // CHECK: WRITE of size 4 at 0x{{.*}} thread T[[ACCESS_THREAD:[0-9]+]] 51 // CHECK: freed by thread T[[FREE_THREAD:[0-9]+]] here: 52 // CHECK: previously allocated by thread T[[ALLOC_THREAD:[0-9]+]] here:
|
/external/deqp/framework/delibs/destream/ |
H A D | deStreamCpyThread.c | 21 * \brief Stream copying thread 30 deStreamCpyThread* thread = (deStreamCpyThread*)arg; local 31 deUint8* buffer = malloc(sizeof(deUint8) * thread->bufferSize); 39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); 44 deOutStream_write(thread->output, buffer, read - written, &wrote); 56 deOutStream_flush(thread->output); 62 deStreamCpyThread* thread = malloc(sizeof(deStreamCpyThread)); local 64 DE_ASSERT(thread); 68 thread 76 deStreamCpyThread_destroy(deStreamCpyThread* thread) argument 83 deStreamCpyThread_join(deStreamCpyThread* thread) argument [all...] |
/external/jemalloc/include/jemalloc/internal/ |
H A D | tsd.h | 16 * TLS/TSD-agnostic macro-based implementation of thread-specific data. There 404 pthread_t thread; member in struct:tsd_init_block_s
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
H A D | sctop.py | 11 import os, sys, thread, time namespace 42 thread.start_new_thread(print_syscall_totals, (interval,))
|
/external/lldb/source/API/ |
H A D | SBHostOS.cpp | 68 SBHostOS::ThreadCancel (lldb::thread_t thread, SBError *error_ptr) argument 70 return Host::ThreadCancel (thread, error_ptr ? error_ptr->get() : NULL); 74 SBHostOS::ThreadDetach (lldb::thread_t thread, SBError *error_ptr) argument 76 return Host::ThreadDetach (thread, error_ptr ? error_ptr->get() : NULL); 80 SBHostOS::ThreadJoin (lldb::thread_t thread, void **result, SBError *error_ptr) argument 82 return Host::ThreadJoin (thread, result, error_ptr ? error_ptr->get() : NULL);
|
/external/lldb/source/Plugins/Process/POSIX/ |
H A D | POSIXStopInfo.h | 30 POSIXStopInfo(lldb_private::Thread &thread, uint32_t status) argument 31 : StopInfo(thread, status) 43 POSIXLimboStopInfo(POSIXThread &thread) argument 44 : POSIXStopInfo(thread, 0) 71 POSIXCrashStopInfo(POSIXThread &thread, uint32_t status, argument 74 : POSIXStopInfo(thread, status), 94 /// @brief Represents the stop state of process when a new thread is spawned. 101 POSIXNewThreadStopInfo (POSIXThread &thread) argument 102 : POSIXStopInfo (thread, 0)
|
/external/lldb/source/Plugins/Process/Utility/ |
H A D | StopInfoMachException.h | 29 StopInfoMachException (Thread &thread, argument 34 StopInfo (thread, exc_type), 59 CreateStopReasonWithMachException (Thread &thread,
|