HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 276 - 300 of 2286) sorted by null

<<11121314151617181920>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /art/runtime/entrypoints/portable/
portable_invoke_entrypoints.cc 26 mirror::ArtMethod* caller_method, Thread* self) {
30 // Note: This can cause thread suspension.
60 Thread* thread)
77 Thread* thread)
79 return FindMethodHelper<kStatic, true>(method_idx, this_object, referrer, thread);
85 Thread* thread)
87 return FindMethodHelper<kDirect, true>(method_idx, this_object, referrer, thread);
    [all...]
  /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/deqp/framework/delibs/dethread/
deThreadTest.c 2 * drawElements Thread Library
21 * \brief Thread library tests.
92 /* Thread test 1. */
96 deThread thread = deThread_create(threadTestThr1, &val, DE_NULL); local
97 DE_TEST_ASSERT(thread);
99 ret = deThread_join(thread);
102 deThread_destroy(thread);
105 /* Thread test 2. */
107 deThread thread = deThread_create(threadTestThr2, DE_NULL, DE_NULL); local
109 DE_TEST_ASSERT(thread);
120 deThread thread; local
141 deThread thread; local
158 deThread thread; local
277 deThread thread; local
337 deThread thread; local
562 deThread thread = deThread_create(singletonTestThread, &initTimeMs, DE_NULL); local
574 deThread thread = deThreadArray_get(threads, threadNdx); local
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
build-id.c 27 struct thread *thread = machine__findnew_thread(machine, sample->pid, local
30 if (thread == NULL) {
36 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION,
51 struct thread *thread = machine__findnew_thread(machine, local
58 if (thread) {
59 rb_erase(&thread->rb_node, &machine->threads);
61 thread__delete(thread);
  /external/webrtc/src/system_wrappers/source/
critical_section_unittest.cc 103 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 does not increment while lock is held
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
testturnserver.h 34 #include "talk/base/thread.h"
46 TestTurnServer(talk_base::Thread* thread,
49 : server_(thread) {
66 talk_base::Thread* thread = talk_base::Thread::Current(); local
69 thread->socketserver(), int_addr), proto);
74 thread->socketserver()->CreateAsyncSocket(SOCK_STREAM);
  /external/libcxx/test/thread/futures/futures.overview/
Android.mk 17 test_makefile := external/libcxx/test/thread/futures/futures.overview/Android.mk
19 test_name := thread/futures/futures.overview/future_errc
23 test_name := thread/futures/futures.overview/future_status
27 test_name := thread/futures/futures.overview/launch
31 test_name := thread/futures/futures.overview/is_error_code_enum_future_errc
  /external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex.pass.cpp 17 #include <thread>
62 std::vector<std::thread> v;
64 v.push_back(std::thread(f));
71 t = std::thread(g);
72 std::thread q(f);
  /external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock_shared.pass.cpp 17 #include <thread>
58 std::vector<std::thread> v;
60 v.push_back(std::thread(f));
67 t = std::thread(g);
68 std::thread q(f);
try_lock_shared_for.pass.cpp 18 #include <thread>
59 std::vector<std::thread> v;
61 v.push_back(std::thread(f1));
69 std::vector<std::thread> v;
71 v.push_back(std::thread(f2));
try_lock_shared_until.pass.cpp 18 #include <thread>
59 std::vector<std::thread> v;
61 v.push_back(std::thread(f1));
69 std::vector<std::thread> v;
71 v.push_back(std::thread(f2));
  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
move.pass.cpp 10 // <thread>
12 // class thread
14 // thread(thread&& t);
16 #include <thread>
58 std::thread t0(G(), 5, 5.5);
59 std::thread::id id = t0.get_id();
60 std::thread t1 = std::move(t0);
62 assert(t0.get_id() == std::thread::id());
  /external/lldb/include/lldb/Target/
ThreadSpec.h 20 // Note: For now the thread spec has only fixed elements -
21 // Thread ID
22 // Thread Index
23 // Thread Name
24 // Thread Queue Name
27 // That's why the thread matches spec test is done as a virtual method in Thread::MatchesSpec,
28 // since it is the native thread that would know how to interpret the keys.
94 TIDMatches (Thread &thread) const
    [all...]
  /external/lldb/test/api/multithreaded/
test_listener_event_process_state.cpp 9 #include <thread>
18 // listener thread control
32 throw Exception("event is not valid in listener thread");
39 // send each thread description
41 SBThread thread = process.GetThreadAtIndex(i); local
42 thread.GetDescription(description);
46 uint32_t num_frames = thread.GetNumFrames();
48 const char* function_name = thread.GetFrameAtIndex(j).GetFunction().GetName();
58 // check thread description
62 throw Exception("Expected at least one thread description string")
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldLogRecordTest.java 33 Thread.sleep(2);
52 // Create and start the thread
53 MockThread thread = new MockThread(); local
54 thread.start();
56 thread.join();
70 assertTrue(lr.getThreadID() != thread.lr.getThreadID());
72 assertTrue(thread.lr.getThreadID() != thread2.lr.getThreadID());
75 public class MockThread extends Thread {
76 public LogRecord lr = null; //will be update by the thread
83 lr = new LogRecord(Level.CONFIG, "msg thread");
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex.pass.cpp 17 #include <thread>
62 std::vector<std::thread> v;
64 v.push_back(std::thread(f));
71 t = std::thread(g);
72 std::thread q(f);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock_shared.pass.cpp 17 #include <thread>
58 std::vector<std::thread> v;
60 v.push_back(std::thread(f));
67 t = std::thread(g);
68 std::thread q(f);
try_lock_shared_for.pass.cpp 18 #include <thread>
59 std::vector<std::thread> v;
61 v.push_back(std::thread(f1));
69 std::vector<std::thread> v;
71 v.push_back(std::thread(f2));
try_lock_shared_until.pass.cpp 18 #include <thread>
59 std::vector<std::thread> v;
61 v.push_back(std::thread(f1));
69 std::vector<std::thread> v;
71 v.push_back(std::thread(f2));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
move.pass.cpp 10 // <thread>
12 // class thread
14 // thread(thread&& t);
16 #include <thread>
58 std::thread t0(G(), 5, 5.5);
59 std::thread::id id = t0.get_id();
60 std::thread t1 = std::move(t0);
62 assert(t0.get_id() == std::thread::id());
  /external/lldb/test/python_api/thread/
TestThreadAPI.py 13 mydir = os.path.join("python_api", "thread")
115 self.step_out_of_malloc = line_number("main2.cpp", "// thread step-out of malloc into function b.")
135 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
136 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
139 proc_of_thread = thread.GetProcess()
157 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
158 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
164 stop_description = thread.GetStopDescription(100
    [all...]
  /art/runtime/native/
java_lang_Thread.cc 25 #include "thread.h"
43 Thread* thread = Thread::FromManagedThread(soa, java_thread); local
44 return (thread != NULL) ? thread->IsInterrupted() : JNI_FALSE;
49 Thread::CreateNativeThread(env, java_thread, stack_size, daemon == JNI_TRUE);
53 // Ordinals from Java's Thread.State.
64 Thread* thread = Thread::FromManagedThread(soa, java_thread) local
104 Thread* thread = Thread::FromManagedThread(soa, java_thread); local
111 Thread* thread = Thread::FromManagedThread(soa, java_thread); local
134 Thread* thread; local
159 Thread* thread = Thread::FromManagedThread(soa, java_thread); local
    [all...]
  /bionic/libc/bionic/
pthread_setname_np.cpp 59 // We have to change another thread's name.
62 pthread_accessor thread(t);
63 if (thread.get() == NULL) {
66 tid = thread->tid;

Completed in 1740 milliseconds

<<11121314151617181920>>