/external/compiler-rt/test/tsan/ |
race_top_suppression.cc | 13 void *Thread(void *x) { 22 pthread_create(&t, 0, Thread, 0);
|
race_top_suppression1.cc | 17 void *Thread(void *x) { 26 pthread_create(&t, 0, Thread, 0);
|
sleep_sync.cc | 10 void *Thread(void *p) { 12 MySleep(); // Assume the main thread has done the write. 20 pthread_create(&t, 0, Thread, 0); 32 // CHECK-NEXT: #2 Thread
|
stack_race2.cc | 10 void *Thread(void *a) { 23 pthread_create(&t, 0, Thread, 0); 28 // CHECK: Location is stack of thread T1.
|
thread_leak5.c | 4 void *Thread(void *x) { 14 pthread_create(&t, 0, Thread, 0); 21 // CHECK: WARNING: ThreadSanitizer: thread leak 22 // CHECK: And 4 more similar thread leaks
|
tls_race.cc | 4 void *Thread(void *a) { 14 pthread_create(&t, 0, Thread, &Var); 21 // CHECK-Linux: Location is TLS of main thread. 22 // CHECK-FreeBSD: Location is TLS of main thread.
|
tls_race2.cc | 10 void *Thread(void *a) { 23 pthread_create(&t, 0, Thread, 0); 28 // CHECK-Linux: Location is TLS of thread T1. 29 // CHECK-FreeBSD: Location is TLS of thread T1.
|
vptr_harmful_race4.cc | 17 void *Thread(void *x) { 27 pthread_create(&t, 0, Thread, obj);
|
/external/gemmlowp/test/ |
test_blocking_counter.cc | 24 class Thread { 26 Thread(BlockingCounter* blocking_counter, int number_of_times_to_decrement) 33 ~Thread() { Join(); } 41 Thread(const Thread& other) = delete; 51 static_cast<Thread*>(ptr)->ThreadFunc(); 64 std::vector<Thread*> threads; 67 threads.push_back(new Thread(blocking_counter, num_decrements_per_thread));
|
/external/opencv3/modules/cudacodec/src/ |
thread.hpp | 51 class Thread 56 explicit Thread(Func func, void* userData = 0);
|
/external/testng/src/test/java/test/annotationtransformer/ |
AnnotationTransformerClassSampleTest.java | 19 Thread.sleep(2000); 23 Thread.currentThread().interrupt();
|
/external/testng/src/test/java/test/thread/ |
Test1Test.java | 1 package test.thread; 10 addId("Test1Test.f11()", Thread.currentThread().getId()); 16 addId("Test1Test.f12()", Thread.currentThread().getId());
|
Test2Test.java | 1 package test.thread; 10 addId("Test2Test.f21()", Thread.currentThread().getId()); 16 addId("Test2Test.f22()", Thread.currentThread().getId());
|
/external/webrtc/webrtc/base/ |
worker.h | 19 class Thread; 23 // The only method that should be considered thread-safe is HaveWork(), which 24 // allows you to signal the availability of work from any thread. All other 25 // methods are thread-hostile. Specifically: 28 // a different thread. 30 // (regardless of the thread), but you can call StopWork() in a subclass's 39 // Attaches the worker to the current thread and begins processing work if not 43 // thread. 52 // Called on the worker thread to start working. 54 // Called on the worker thread when work has been signalled via HaveWork() [all...] |
/frameworks/base/cmds/bootanimation/ |
AudioPlayer.h | 20 #include <utils/Thread.h> 25 class AudioPlayer : public Thread
|
/frameworks/native/services/surfaceflinger/ |
EventControlThread.h | 23 #include <utils/Thread.h> 29 class EventControlThread: public Thread {
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
GroveLEDSample.java | 41 Thread.sleep(1000); 43 Thread.sleep(1000);
|
/libcore/libart/src/main/java/dalvik/system/ |
VMStack.java | 57 * Retrieves the stack trace from the specified thread. 60 * thread of interest 61 * @return an array of stack trace elements, or null if the thread 64 native public static StackTraceElement[] getThreadStackTrace(Thread t); 67 * Retrieves a partial stack trace from the specified thread into 71 * thread of interest 77 native public static int fillStackTraceElements(Thread t,
|
/libcore/ojluni/src/main/java/java/lang/ |
InheritableThreadLocal.java | 31 * from parent thread to child thread: when a child thread is created, the 32 * child receives initial values for all inheritable thread-local variables 38 * <p>Inheritable thread-local variables are used in preference to 39 * ordinary thread-local variables when the per-thread-attribute being 50 * Computes the child's initial value for this inheritable thread-local 52 * thread is created. This method is called from within the parent 53 * thread before the child is started [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
PriorityThreadFactory.java | 24 * A thread factory that creates threads with a given thread priority. 31 * Creates a new thread factory. 33 * @param priority The thread priority of the threads created by this factory. 40 public Thread newThread(Runnable r) { 41 return new Thread(r) {
|
/external/v8/test/unittests/base/platform/ |
platform-unittest.cc | 39 class ThreadLocalStorageTest : public Thread, public ::testing::Test { 41 ThreadLocalStorageTest() : Thread(Options("ThreadLocalStorageTest")) { 43 keys_[i] = Thread::CreateThreadLocalKey(); 48 Thread::DeleteThreadLocalKey(keys_[i]); 54 CHECK(!Thread::HasThreadLocal(keys_[i])); 57 Thread::SetThreadLocal(keys_[i], GetValue(i)); 60 CHECK(Thread::HasThreadLocal(keys_[i])); 63 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys_[i])); 64 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys_[i])); 67 Thread::SetThreadLocal(keys_[i], GetValue(arraysize(keys_) - i - 1)) [all...] |
/art/runtime/ |
linear_alloc.cc | 19 #include "thread-inl.h" 26 void* LinearAlloc::Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) { 31 void* LinearAlloc::Alloc(Thread* self, size_t size) { 37 MutexLock mu(Thread::Current(), lock_); 42 MutexLock mu(Thread::Current(), lock_); 47 MutexLock mu(Thread::Current(), lock_);
|
/external/autotest/site_utils/rpm_control_system/ |
test_client.py | 24 threading.Thread(target=queue_request, 26 threading.Thread(target=queue_request, 28 threading.Thread(target=queue_request, 30 threading.Thread(target=queue_request, 32 threading.Thread(target=queue_request,
|
/external/libchrome/base/threading/ |
thread.cc | 5 #include "base/threading/thread.h" 24 // We use this thread-local variable to record whether or not a thread exited 27 // using a Thread to setup and run a MessageLoop. 36 Thread::SetThreadWasQuitProperly(true); 39 Thread::Options::Options() 46 Thread::Options::Options(MessageLoop::Type type, 54 Thread::Options::~Options() { 57 Thread::Thread(const std::string& name [all...] |
/external/valgrind/helgrind/tests/ |
bar_bad.stderr.exp | 3 ---Thread-Announcement------------------------------------------ 5 Thread #x is the program's root thread 9 Thread #x: pthread_barrier_init: 'count' argument is zero 15 Thread #x's call to pthread_barrier_init failed 24 Thread #x: pthread_barrier_init: barrier is already initialised 32 Thread #x: pthread_barrier_init: barrier is already initialised 38 Thread #x: pthread_barrier_init: threads are waiting at barrier 46 Thread #x: pthread_barrier_destroy: threads are waiting at barrier 52 Thread #x's call to pthread_barrier_destroy faile [all...] |