Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 1558) sorted by relevance

12345678910>>...63

/external/elfutils/libdwfl/
Ddwfl_frame.c46 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc()
73 Dwfl_Thread *thread = state->thread; in state_free() local
74 assert (thread->unwound == state); in state_free()
75 thread->unwound = state->unwound; in state_free()
80 thread_free_all_states (Dwfl_Thread *thread) in thread_free_all_states() argument
82 while (thread->unwound) in thread_free_all_states()
83 state_free (thread->unwound); in thread_free_all_states()
87 state_alloc (Dwfl_Thread *thread) in state_alloc() argument
89 assert (thread->unwound == NULL); in state_alloc()
90 Ebl *ebl = thread->process->ebl; in state_alloc()
[all …]
/external/libchrome/base/threading/
Dplatform_thread_unittest.cc44 TrivialThread thread; in TEST() local
47 ASSERT_FALSE(thread.did_run()); in TEST()
48 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); in TEST()
50 ASSERT_TRUE(thread.did_run()); in TEST()
54 TrivialThread thread[10]; in TEST() local
55 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
57 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
58 ASSERT_FALSE(thread[n].did_run()); in TEST()
59 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
60 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); in TEST()
[all …]
Dsimple_thread_unittest.cc81 DelegateSimpleThread thread(&runner, "int_setter"); in TEST() local
82 EXPECT_FALSE(thread.HasBeenStarted()); in TEST()
83 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
86 thread.Start(); in TEST()
87 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
88 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
90 thread.Join(); in TEST()
91 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
92 EXPECT_TRUE(thread.HasBeenJoined()); in TEST()
101 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST() local
[all …]
/external/chromium-trace/catapult/systrace/systrace/test_data/
Datrace_thread_names1thread poo', 13679: 'Heap thread poo', 13680: 'Signal Catcher', 13681: 'JDWP', 169: '/system/bin/l…
Datrace_extracted_threads1thread poo', 13679: 'Heap thread poo', 13680: 'Signal Catcher', 13681: 'JDWP', 169: '/system/bin/l…
/external/deqp/framework/delibs/dethread/unix/
DdeThreadUnix.c51 pthread_t thread; member
60 Thread* thread = (Thread*)entryPtr; in startThread() local
61 deThreadFunc func = thread->func; in startThread()
62 void* arg = thread->arg; in startThread()
73 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local
75 if (!thread) in deThread_create()
78 thread->func = func; in deThread_create()
79 thread->arg = arg; in deThread_create()
83 deFree(thread); in deThread_create()
93 deFree(thread); in deThread_create()
[all …]
/external/deqp/framework/delibs/destream/
DdeStreamCpyThread.c30 deStreamCpyThread* thread = (deStreamCpyThread*)arg; in cpyStream() local
31 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)thread->bufferSize); in cpyStream()
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); in cpyStream()
44 deOutStream_write(thread->output, buffer, read - written, &wrote); in cpyStream()
56 deOutStream_flush(thread->output); in cpyStream()
62 deStreamCpyThread* thread = malloc(sizeof(deStreamCpyThread)); in deStreamCpyThread_create() local
64 DE_ASSERT(thread); in deStreamCpyThread_create()
68 thread->input = input; in deStreamCpyThread_create()
69 thread->output = output; in deStreamCpyThread_create()
70 thread->bufferSize = bufferSize; in deStreamCpyThread_create()
[all …]
/external/autotest/client/tests/monotonic_time/src/
Dthreads.c19 typedef struct thread { struct
20 pthread_t thread; argument
35 thread_t *thread = arg; in run_thread() local
38 if (sched_setaffinity(0, sizeof thread->cpus, &thread->cpus) < 0) in run_thread()
41 result = thread->func(thread->arg); in run_thread()
58 thread_t *thread; in create_per_cpu_threads() local
64 thread = &threads[num_threads++]; in create_per_cpu_threads()
65 thread->func = func; in create_per_cpu_threads()
66 thread->arg = arg; in create_per_cpu_threads()
67 CPU_ZERO(&thread->cpus); in create_per_cpu_threads()
[all …]
/external/valgrind/drd/tests/
Dtc22_exit_w_lock.stderr.exp-32bit2 Conflicting load by thread 1 at 0x........ size 4
9 Other segment start (thread 2)
10 (thread finished, call stack no longer available)
11 Other segment end (thread 2)
12 (thread finished, call stack no longer available)
14 Conflicting store by thread 1 at 0x........ size 4
21 Other segment start (thread 2)
22 (thread finished, call stack no longer available)
23 Other segment end (thread 2)
24 (thread finished, call stack no longer available)
[all …]
Dfp_race.stderr.exp-mips32-be2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dsem_as_mutex.stderr.exp-mips32-le2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dsem_as_mutex.stderr.exp-mips32-be2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dfp_race.stderr.exp-mips32-le2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dsem_open.stderr.exp-mips32-be2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dsem_open.stderr.exp-mips32-le2 Conflicting load by thread 1 at 0x........ size 4
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting load by thread 1 at 0x........ size 4
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
[all …]
Dannotate_trace_memory.stderr.exp-mips323 store 0x........ size 4 val 1065353216/0x........ (thread x / vc ...)
5 load 0x........ size 4 (thread x / vc ...)
7 store 0x........ size 4 val 1077936128/0x........ (thread x / vc ...)
10 store 0x........ size 4 val 0/0x........ (thread x / vc ...)
12 store 0x........ size 4 val 1074266112/0x........ (thread x / vc ...)
14 load 0x........ size 4 (thread x / vc ...)
16 load 0x........ size 4 (thread x / vc ...)
18 store 0x........ size 4 val 0/0x........ (thread x / vc ...)
20 store 0x........ size 4 val 1075576832/0x........ (thread x / vc ...)
23 store 0x........ size 1 val 5/0x........ (thread x / vc ...)
[all …]
/external/clang/test/SemaCXX/
Ddeclspec-thread.cpp4 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier…
5 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier…
6 __declspec(thread) int c(); // expected-warning {{only applies to variables}}
7 __declspec(thread) int d;
10 __declspec(thread) int e = foo();
12 __declspec(thread) int e = foo(); // expected-error {{must be a constant expression}} expected-note…
17 __declspec(thread) HasCtor f;
19 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{t…
24 __declspec(thread) HasDtor g;
26 __declspec(thread) HasCtor g; // expected-error {{must be a constant expression}} expected-note {{t…
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() local
59 checkThreadPoolName(thread, 1); in testThreadFactoryBuilder_defaults()
63 assertEquals(defaultThread.isDaemon(), thread.isDaemon()); in testThreadFactoryBuilder_defaults()
64 assertEquals(defaultThread.getPriority(), thread.getPriority()); in testThreadFactoryBuilder_defaults()
65 assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup()); in testThreadFactoryBuilder_defaults()
67 thread.getUncaughtExceptionHandler()); in testThreadFactoryBuilder_defaults()
70 thread.start(); in testThreadFactoryBuilder_defaults()
71 thread.join(); in testThreadFactoryBuilder_defaults()
79 thread.getName().substring(0, thread.getName().lastIndexOf('-')), in testThreadFactoryBuilder_defaults()
80 thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); in testThreadFactoryBuilder_defaults()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc57 ProcessThreadImpl thread("ProcessThread"); in TEST() local
58 thread.Start(); in TEST()
59 thread.Stop(); in TEST()
63 ProcessThreadImpl thread("ProcessThread"); in TEST() local
65 thread.Start(); in TEST()
66 thread.Stop(); in TEST()
72 ProcessThreadImpl thread("ProcessThread"); in TEST() local
73 thread.Start(); in TEST()
82 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST()
84 thread.RegisterModule(&module); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dthread_unittest.cc235 Thread *thread; in TEST() local
236 thread = new Thread(); in TEST()
237 EXPECT_TRUE(thread->Start()); in TEST()
238 thread->Stop(); in TEST()
239 delete thread; in TEST()
240 thread = new Thread(); in TEST()
242 EXPECT_TRUE(thread->SetName("No object", NULL)); in TEST()
243 EXPECT_TRUE(thread->Start()); in TEST()
244 thread->Stop(); in TEST()
245 delete thread; in TEST()
[all …]
/external/libcxx/include/
Dthread2 //===--------------------------- thread -----------------------------------===//
16 thread synopsis
23 class thread
29 thread() noexcept;
30 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
31 ~thread();
33 thread(const thread&) = delete;
34 thread(thread&& t) noexcept;
36 thread& operator=(const thread&) = delete;
37 thread& operator=(thread&& t) noexcept;
[all …]
/external/valgrind/memcheck/tests/
Derr_disable4.stderr.exp4 WARNING: exiting thread has error reporting disabled.
7 WARNING: exiting thread has error reporting disabled.
10 WARNING: exiting thread has error reporting disabled.
13 WARNING: exiting thread has error reporting disabled.
16 WARNING: exiting thread has error reporting disabled.
19 WARNING: exiting thread has error reporting disabled.
22 WARNING: exiting thread has error reporting disabled.
25 WARNING: exiting thread has error reporting disabled.
28 WARNING: exiting thread has error reporting disabled.
31 WARNING: exiting thread has error reporting disabled.
[all …]
/external/lzma/CPP/Windows/
DThread.h14 ::CThread thread;
16 CThread() { Thread_Construct(&thread); } in CThread()
18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; } in IsCreated()
19 WRes Close() { return Thread_Close(&thread); } in Close()
21 { return Thread_Create(&thread, startAddress, parameter); } in Create()
22 WRes Wait() { return Thread_Wait(&thread); } in Wait()
25 operator HANDLE() { return thread; } in HANDLE()
26 void Attach(HANDLE handle) { thread = handle; } in Attach()
27 HANDLE Detach() { HANDLE h = thread; thread = NULL; return h; } in Detach()
28 DWORD Resume() { return ::ResumeThread(thread); } in Resume()
[all …]
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc252 ParseThreadRegisters(CrashedProcess::Thread* thread, in ParseThreadRegisters() argument
256 thread->regs.ebx = rawregs->ebx; in ParseThreadRegisters()
257 thread->regs.ecx = rawregs->ecx; in ParseThreadRegisters()
258 thread->regs.edx = rawregs->edx; in ParseThreadRegisters()
259 thread->regs.esi = rawregs->esi; in ParseThreadRegisters()
260 thread->regs.edi = rawregs->edi; in ParseThreadRegisters()
261 thread->regs.ebp = rawregs->ebp; in ParseThreadRegisters()
262 thread->regs.eax = rawregs->eax; in ParseThreadRegisters()
263 thread->regs.xds = rawregs->ds; in ParseThreadRegisters()
264 thread->regs.xes = rawregs->es; in ParseThreadRegisters()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dthr_daemon_exit_libc.stdout.exp1 DAEMON thread #0 running
2 DAEMON thread #1 running
3 DAEMON thread #2 running
4 DAEMON thread #3 running
5 DAEMON thread #4 running
6 non-daemon thread #0 running
7 non-daemon thread #1 running
8 non-daemon thread #2 running
9 non-daemon thread #3 running
10 non-daemon thread #4 running
[all …]

12345678910>>...63