/external/mesa3d/src/glx/apple/ |
H A D | 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);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/ |
H A D | SDL_systhread.c | 24 /* OS/2 thread management routines for SDL */ 46 // Call the thread function! 60 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) argument 65 SDL_SetError("Not enough memory to create thread"); 71 // Also save the real parameters we have to pass to thread function 73 // Start the thread using the runtime library of calling app! 74 thread->threadid = thread->handle = (*pfnBeginThread)(threadfunc, NULL, 512*1024, pThreadParms); 75 if ((int)thread->threadid <= 0) 77 SDL_SetError("Not enough resources to create thread"); 95 SDL_SYS_WaitThread(SDL_Thread *thread) argument 105 SDL_SYS_KillThread(SDL_Thread *thread) argument [all...] |
/external/qemu/util/ |
H A D | compatfd.c | 21 #include "qemu/thread.h" 76 QemuThread thread; local 96 qemu_thread_create(&thread, sigwait_compat, info, QEMU_THREAD_DETACHED);
|
/external/valgrind/main/drd/tests/ |
H A D | 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);
|
/external/valgrind/main/none/tests/ |
H A D | 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
|
/external/bluetooth/bluedroid/osi/src/ |
H A D | thread.c | 32 #include "thread.h" 43 thread_t *thread; member in struct:start_arg 80 start.thread = ret; 98 void thread_free(thread_t *thread) { argument 99 if (!thread) 102 thread_stop(thread); 103 pthread_join(thread->pthread, NULL); 104 fixed_queue_free(thread->work_queue, free); 105 reactor_free(thread->reactor); 106 free(thread); 109 thread_post(thread_t *thread, thread_fn func, void *context) argument 130 thread_stop(thread_t *thread) argument 135 thread_name(const thread_t *thread) argument 144 thread_t *thread = start->thread; local [all...] |
/external/chromium_org/base/threading/ |
H A D | simple_thread.cc | 31 DCHECK(!HasBeenStarted()) << "Tried to Start a thread multiple times."; 35 event_.Wait(); // Wait for the thread to complete initialization. 39 DCHECK(HasBeenStarted()) << "Tried to Join a never-started thread."; 40 DCHECK(!HasBeenJoined()) << "Tried to Join a thread multiple times."; 57 // We've initialized our new thread, signal that we're done to Start(). 102 DelegateSimpleThread* thread = new DelegateSimpleThread(this, name_prefix_); local 103 thread->Start(); 104 threads_.push_back(thread);
|
/external/chromium_org/base/win/ |
H A D | scoped_process_information_unittest.cc | 91 HANDLE thread = process_info.TakeThreadHandle(); local 92 EXPECT_EQ(kThreadHandle, thread); 104 HANDLE thread = process_info.TakeThreadHandle(); local
|
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_message_filter.cc | 59 const IPC::Message& message, content::BrowserThread::ID* thread) { 63 *thread = BrowserThread::UI; 58 OverrideThreadForMessage( const IPC::Message& message, content::BrowserThread::ID* thread) argument
|
/external/chromium_org/chrome/common/ |
H A D | profiling.cc | 14 #include "base/threading/thread.h" 64 void FlushProfilingData(base::Thread* thread) { argument 83 thread->message_loop()->PostDelayedTask( 85 base::Bind(&FlushProfilingData, thread),
|
/external/chromium_org/content/browser/ |
H A D | power_save_blocker_mac.cc | 14 #include "base/threading/thread.h" 19 // Power management cannot be done on the UI thread. IOPMAssertionCreate does a 20 // synchronous MIG call to configd, so if it is called on the main thread the UI 30 base::Thread* thread = new (instance) base::Thread("PowerSaveBlocker"); local 31 thread->Start(); 32 return thread;
|
/external/chromium_org/content/public/browser/ |
H A D | browser_message_filter.h | 30 // send messages on any thread. 41 // called on the IO thread. 48 // derived classes the option of controlling which thread they're deleted 52 // IPC::Sender implementation. Can be called on any thread. Can't send sync 57 // a different thread, there are two options, either 59 // If neither is overriden, the message will be dispatched on the IO thread. 62 // browser thread, change |thread| to the id of the target thread 65 BrowserThread::ID* thread) {} 63 OverrideThreadForMessage( const IPC::Message& message, BrowserThread::ID* thread) argument [all...] |
/external/chromium_org/content/renderer/device_sensors/ |
H A D | device_orientation_event_pump.cc | 17 DeviceOrientationEventPump::DeviceOrientationEventPump(RenderThread* thread) argument 18 : DeviceSensorEventPump<blink::WebDeviceOrientationListener>(thread) {
|
/external/chromium_org/content/renderer/ |
H A D | gamepad_shared_memory_reader.cc | 19 GamepadSharedMemoryReader::GamepadSharedMemoryReader(RenderThread* thread) argument 20 : RendererGamepadProvider(thread), 89 // thread was taking unusually long. Don't copy the data to the output
|
/external/chromium_org/ppapi/native_client/tools/browser_tester/ |
H A D | browser_tester.py | 11 import thread namespace 264 # is done in its own thread so the main thread can time out as needed. 268 thread.start_new_thread(Serve, ()) 337 # the HTTP server thread to exit uncleanly with an EBADF error,
|
/external/chromium_org/remoting/base/ |
H A D | auto_thread.cc | 42 // Fields describing the desired thread behaviour. 45 // Used to receive the AutoThreadTaskRunner for the thread. 48 // Used to synchronize thread startup. 60 AutoThread* thread = new AutoThread(name, joiner.get()); local 61 scoped_refptr<AutoThreadTaskRunner> task_runner = thread->StartWithType(type); 63 delete thread; 80 AutoThread* thread = new AutoThread(name, joiner); local 81 thread->SetComInitType(com_init_type); 83 thread->StartWithType(loop_type); 85 delete thread; [all...] |
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
H A D | invasive.cc | 14 // entry point for the threads created by the thread bombing function. 30 // Create the thread and leak the handle. 31 HANDLE thread = ::CreateThread(NULL, // Default security attributes local 37 if (thread) { 38 fprintf(output, "[GRANTED] Creating thread with tid 0x%lX\r\n", tid); 39 ::CloseHandle(thread); 42 fprintf(output, "[BLOCKED] Creating thread. Error %ld\r\n", 56 // designed to take all CPU on the processor where the thread is running. 84 HANDLE thread = ::CreateThread(NULL, // Default security attributes. local 90 ::SetThreadAffinityMask(thread, affinity_mas [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | policy_target.cc | 74 NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread, 96 return orig_SetInformationThread(thread, thread_info_class, 105 // access to open the thread token. 107 NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, 112 return orig_OpenThreadToken(thread, desired_access, open_as_self, token); 117 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, 123 return orig_OpenThreadTokenEx(thread, desired_access, open_as_self, 73 TargetNtSetInformationThread( NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread, NT_THREAD_INFORMATION_CLASS thread_info_class, PVOID thread_information, ULONG thread_information_bytes) argument 106 TargetNtOpenThreadToken( NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token) argument 116 TargetNtOpenThreadTokenEx( NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, PHANDLE token) argument
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | WorkerDebuggerAgent.cpp | 46 explicit RunInspectorCommandsTask(WorkerThread* thread) argument 47 : m_thread(thread) { } 88 scriptDebugServer().interruptAndRunTask(adoptPtr(new RunInspectorCommandsTask(m_inspectedWorkerGlobalScope->thread())));
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | SharedWorkerGlobalScope.cpp | 54 PassRefPtrWillBeRawPtr<SharedWorkerGlobalScope> SharedWorkerGlobalScope::create(const String& name, SharedWorkerThread* thread, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData) argument 56 RefPtrWillBeRawPtr<SharedWorkerGlobalScope> context = adoptRefWillBeNoop(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, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) argument 62 : WorkerGlobalScope(url, userAgent, thread, monotonicallyIncreasingTime(), workerClients) 76 SharedWorkerThread* SharedWorkerGlobalScope::thread() function in class:blink::SharedWorkerGlobalScope 78 return static_cast<SharedWorkerThread*>(Base::thread());
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ImageFrameGeneratorTest.cpp | 166 OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("DecodeThread")); local 167 thread->postTask(new Task(WTF::bind(&decodeThreadMain, m_generator.get()))); 168 thread.clear();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebSharedWorkerImpl.h | 118 void setWorkerThread(PassRefPtr<WorkerThread> thread) { m_workerThread = thread; } argument 121 // Shuts down the worker thread. 131 // Tasks that are run on the main thread. 147 // This one's initialized and bound to the main thread.
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | basicpacketsocketfactory.cc | 40 #include "webrtc/base/thread.h" 49 BasicPacketSocketFactory::BasicPacketSocketFactory(Thread* thread) argument 50 : thread_(thread),
|
H A D | relayport.h | 56 rtc::Thread* thread, rtc::PacketSocketFactory* factory, 60 return new RelayPort(thread, factory, network, ip, min_port, max_port, 86 RelayPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory, 55 Create( rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, int min_port, int max_port, const std::string& username, const std::string& password) argument
|
H A D | tcpport.h | 48 static TCPPort* Create(rtc::Thread* thread, argument 56 TCPPort* port = new TCPPort(thread, factory, network, 77 TCPPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory,
|