Searched refs:thread (Results 1 - 25 of 1503) sorted by last modified time

1234567891011>>

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DInactivityTimer.java89 Thread thread = new Thread(runnable);
90 thread.setDaemon(true);
91 return thread;
/external/webrtc/src/system_wrappers/source/
H A DAndroid.mk35 thread.cc \
H A Dcritical_section_unittest.cc103 ThreadWrapper* thread = ThreadWrapper::CreateThread( local
107 ASSERT_TRUE(thread->Start(id));
112 // Thus, the thread should not be able to increment the count
114 crit_sect->Leave(); // This frees the thread to act.
116 EXPECT_TRUE(thread->Stop());
117 delete thread;
135 ThreadWrapper* thread = ThreadWrapper::CreateThread(&LockUnlockRunFunction, local
139 ASSERT_TRUE(thread->Start(id));
142 // The thread is capable of grabbing the lock multiple times,
148 // The thread doe
[all...]
H A Dthread_unittest.cc69 ThreadWrapper* thread = ThreadWrapper::CreateThread(&NullRunFunction); local
71 ASSERT_TRUE(thread->Start(id));
72 EXPECT_TRUE(thread->Stop());
73 delete thread;
85 ThreadWrapper* thread = ThreadWrapper::CreateThread(&SetFlagRunFunction, local
88 ASSERT_TRUE(thread->Start(id));
90 EXPECT_TRUE(thread->Stop());
91 // We expect the thread to have run at least once.
93 delete thread;
H A Dthread_win.cc41 // Set the thread name to appear in the VS debugger.
157 // Wait up to 2 seconds for the thread to complete.
192 SetThreadName(-1, _name); // -1, set thread name for the calling thread.
225 HANDLE thread = _thread; local
227 CloseHandle(thread);
/external/valgrind/main/none/tests/
H A Dpth_atfork1.c71 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
H A Dpth_blockedsig.stdout.exp0 thread CHILD sending SIGUSR1 to thread MAIN
H A Dpth_once.stdout.exp2 identify_yourself: Hi, I'm a thread
3 identify_yourself: Hi, I'm a thread
4 identify_yourself: Hi, I'm a thread
5 identify_yourself: Hi, I'm a thread
6 identify_yourself: Hi, I'm a thread
7 identify_yourself: Hi, I'm a thread
8 identify_yourself: Hi, I'm a thread
9 identify_yourself: Hi, I'm a thread
10 identify_yourself: Hi, I'm a thread
11 identify_yourself: Hi, I'm a thread
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dex_clone.c13 pthread_t thread; variable
42 pthread_create(&thread, NULL, threadfunc, NULL);
57 pthread_join(thread, NULL);
/external/webp/src/
H A DAndroid.mk62 utils/thread.c \
117 utils/thread.c \
/external/webp/src/utils/
H A Dthread.c16 #include "./thread.h"
55 static int pthread_create(pthread_t* const thread, const void* attr, argument
58 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */
64 if (*thread == NULL) return 1;
65 SetThreadPriority(*thread, THREAD_PRIORITY_ABOVE_NORMAL);
69 static int pthread_join(pthread_t thread, void** value_ptr) { argument
71 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 ||
72 CloseHandle(thread) == 0);
123 // a thread is waiting in pthread_cond_wait: allow it to be notified
172 // signal to the main thread tha
[all...]
/external/valgrind/main/callgrind/
H A Dcallgrind_annotate.in108 my $thread = "";
417 elsif (/^thread:\s+(.*)$/) { $thread = $1; }
729 if ($thread ne "") { $target .= ", thread $thread"; }
H A Dthreads.c51 * Per-thread data:
61 /* current running thread */
64 static thread_info* thread[VG_N_THREADS]; variable
68 return thread;
73 return thread[CLG_(current_tid)];
80 thread[i] = 0;
90 if (!thread[t]) continue;
92 (*func)(thread[t]);
131 CLG_DEBUG(0, ">> thread %d (was %d)\n", tid, CLG_(current_tid));
134 /* save thread stat
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dinferiors.c68 error ("tried to change thread ID after multiple threads are created\n");
122 struct thread_info *thread = get_thread (inf); local
124 return thread->gdb_id;
131 unsigned int thread_to_gdb_id (struct thread_info *thread) argument
133 return thread->gdb_id;
141 struct thread_info *thread = get_thread (inf); local
142 if (thread->gdb_id == gdb_id)
143 return thread;
152 struct thread_info *thread = gdb_id_to_thread (gdb_id); local
154 return thread
160 struct thread_info *thread = get_thread (inf); local
165 remove_thread(struct thread_info *thread) argument
[all...]
H A Dregcache.c66 struct thread_info *thread = (struct thread_info *) entry; local
69 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread);
74 current_inferior = thread;
131 struct thread_info *thread = (struct thread_info *) entry; local
134 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread);
138 set_inferior_regcache_data (thread, new_register_cache ());
H A Dserver.h247 void remove_thread (struct thread_info *thread);
H A Dtarget.c54 struct thread_info *thread = get_thread (inf); local
55 if (!VG_(lwpid_to_vgtid)(thread_to_gdb_id(thread))) {
57 image_ptid(thread_to_gdb_id(thread)));
58 remove_thread (thread);
95 dlog(2, "(known thread)" LOCAL_THREAD_TRACE);
306 an existing thread. Otherwise, we are still in the init phase.
307 (hack similar to main thread hack in valgrind_update_threads) */
598 /* If we are continuing any (all) thread(s), use step_thread
599 to decide which thread to step and/or send the specified
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-darwin.c85 // Run a thread from beginning to end and return the thread's
103 VG_(printf)("thread tid %d started: stack = %p\n",
106 /* Make sure error reporting is enabled in the new thread. */
134 /* Allocate a stack for this thread, if it doesn't already have one.
193 VG_(message)(Vg_UserMsg, "!? New thread %d starts with SP(%#lx) unmapped\n",
200 /* Run a thread all the way to the end, then do appropriate exit actions
217 /* Run the thread all the way through. */
227 // Tell the tool this thread is exiting
230 /* If the thread i
[all...]
/external/valgrind/main/coregrind/
H A Dpub_core_threadstate.h3 /*--- The thread state. pub_core_threadstate.h ---*/
36 // VG_(threads)[] data structure which holds all the important thread
72 VgSrc_ExitThread, /* just this thread is exiting */
73 VgSrc_ExitProcess, /* this thread is exiting due to another thread
107 /* Architecture-specific thread state */
133 /* OS-specific thread state. IMPORTANT: if you add fields to this,
139 Int lwpid; // PID of kernel task (Darwin: Mach thread)
140 Int threadgroup; // thread group id
157 // This thread'
256 Addr thread; member in struct:__anon32719::__anon32720::__anon32738
[all...]
/external/valgrind/main/drd/
H A Ddrd_pthread_intercepts.c6 This file is part of DRD, a thread error detector.
71 * Notes regarding thread creation:
72 * - sg_init() runs on the context of the created thread and copies the vector
73 * clock of the creator thread. This only works reliably if the creator
74 * thread waits until this copy has been performed.
76 * account that are involved in thread creation and for which the
77 * corresponding thread has not yet been created. So not waiting until the
78 * created thread has been started would make it possible that segments get
312 * Tell DRD whether 'tid' is a joinable thread or a detached thread
449 pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr, void* (*start)(void*), void* arg) argument
[all...]
/external/valgrind/main/drd/tests/
H A Dannotate_barrier.stderr.exp25 Conflicting store by thread 2 at 0x........ size 4
H A Dannotate_barrier_xml.stderr.exp170 <what>Conflicting store by thread 2 at 0x........ size 4</what>
H A Dannotate_hb_race.stderr.exp2 Conflicting store by thread x at 0x........ size 4
H A Dannotate_ignore_rw.stderr.exp2 Conflicting load by thread 1 at 0x........ size 1
H A Dannotate_ignore_rw2.stderr.exp2 Conflicting load by thread 1 at 0x........ size 1
7 Conflicting store by thread 1 at 0x........ size 1
12 Conflicting load by thread 1 at 0x........ size 1

Completed in 4056 milliseconds

1234567891011>>