HomeSort by relevance Sort by last modified time
    Searched refs:ThreadState (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/heap/
ThreadState.cpp 32 #include "heap/ThreadState.h"
38 WTF::ThreadSpecific<ThreadState*>* ThreadState::s_threadSpecific = 0;
39 uint8_t ThreadState::s_mainThreadStateStorage[sizeof(ThreadState)];
47 void ThreadState::init(intptr_t* startOfStack)
49 s_threadSpecific = new WTF::ThreadSpecific<ThreadState*>();
50 new(s_mainThreadStateStorage) ThreadState(startOfStack);
54 void ThreadState::shutdown()
56 mainThreadState()->~ThreadState();
    [all...]
ThreadState.h 40 class ThreadState {
47 // Associate ThreadState object with the current thread. After this
52 // Disassociate attached ThreadState from the current thread. The thread
56 static ThreadState* current() { return **s_threadSpecific; }
57 static ThreadState* mainThreadState()
59 return reinterpret_cast<ThreadState*>(s_mainThreadStateStorage);
70 explicit ThreadState(intptr_t* startOfStack);
71 ~ThreadState();
73 typedef HashSet<ThreadState*> AttachedThreadStateSet;
76 static WTF::ThreadSpecific<ThreadState*>* s_threadSpecific
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.h 42 void FdAcquire(ThreadState *thr, uptr pc, int fd);
43 void FdRelease(ThreadState *thr, uptr pc, int fd);
44 void FdAccess(ThreadState *thr, uptr pc, int fd);
45 void FdClose(ThreadState *thr, uptr pc, int fd);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd);
48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
49 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_mman.h 23 void AllocatorThreadStart(ThreadState *thr);
24 void AllocatorThreadFinish(ThreadState *thr);
28 void *user_alloc(ThreadState *thr, uptr pc, uptr sz,
31 void user_free(ThreadState *thr, uptr pc, void *p);
32 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz);
33 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
34 uptr user_alloc_usable_size(ThreadState *thr, uptr pc, void *p);
37 MBlock *user_mblock(ThreadState *thr, void *p);
tsan_rtl.h 396 struct ThreadState {
405 // QUESTION: can we can squeeze this into ThreadState::Fast?
406 // E.g. ThreadState::Fast is a 44-bit, 32 are taken by synch_epoch and 12 are
459 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
468 INLINE ThreadState *cur_thread() {
469 return reinterpret_cast<ThreadState *>(&cur_thread_placeholder);
477 ThreadState *thr;
552 ThreadState*thr_;
587 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
591 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n)
    [all...]
tsan_mman.cc 76 void AllocatorThreadStart(ThreadState *thr) {
81 void AllocatorThreadFinish(ThreadState *thr) {
90 static void SignalUnsafeCall(ThreadState *thr, uptr pc) {
104 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) {
120 void user_free(ThreadState *thr, uptr pc, void *p) {
143 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) {
163 uptr user_alloc_usable_size(ThreadState *thr, uptr pc, void *p) {
171 MBlock *user_mblock(ThreadState *thr, void *p) {
182 ThreadState *thr = cur_thread();
190 ThreadState *thr = cur_thread()
    [all...]
tsan_sync.h 36 void ObtainCurrent(ThreadState *thr, uptr toppc);
92 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
97 SyncVar* GetAndRemove(ThreadState *thr, uptr pc, uptr addr);
99 SyncVar* Create(ThreadState *thr, uptr pc, uptr addr);
118 SyncVar* GetAndLock(ThreadState *thr, uptr pc,
tsan_fd.cc 57 static void unref(ThreadState *thr, uptr pc, FdSync *s) {
71 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) {
90 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) {
118 void FdOnFork(ThreadState *thr, uptr pc) {
150 void FdAcquire(ThreadState *thr, uptr pc, int fd) {
159 void FdRelease(ThreadState *thr, uptr pc, int fd) {
168 void FdAccess(ThreadState *thr, uptr pc, int fd) {
174 void FdClose(ThreadState *thr, uptr pc, int fd) {
188 void FdFileCreate(ThreadState *thr, uptr pc, int fd) {
193 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd)
    [all...]
tsan_rtl_thread.cc 43 ThreadState *caller_thr = static_cast<ThreadState *>(arg);
50 ThreadState *thr;
82 ThreadState *thr;
96 new(thr) ThreadState(CTX(), tid, unique_id,
141 thr->~ThreadState();
168 static void ThreadCheckIgnore(ThreadState *thr) {
175 void ThreadFinalize(ThreadState *thr) {
194 int ThreadCount(ThreadState *thr) {
202 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached)
    [all...]
tsan_rtl.cc 37 THREADLOCAL char cur_thread_placeholder[sizeof(ThreadState)] ALIGNED(64);
81 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
185 void Initialize(ThreadState *thr) {
248 int Finalize(ThreadState *thr) {
299 u32 CurrentStackId(ThreadState *thr, uptr pc) {
314 void TraceSwitch(ThreadState *thr) {
331 uptr TraceTopPC(ThreadState *thr) {
372 static inline void HandleRace(ThreadState *thr, u64 *shadow_mem,
384 static inline bool OldIsInSameSynchEpoch(Shadow old, ThreadState *thr)
    [all...]
tsan_rtl_mutex.cc 23 void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
42 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) {
82 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec) {
116 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) {
156 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr) {
177 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) {
199 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) {
245 void Acquire(ThreadState *thr, uptr pc, uptr addr) {
256 ThreadState *thr = reinterpret_cast<ThreadState*>(arg)
    [all...]
tsan_interface_inl.h 56 ThreadState *thr = cur_thread();
65 ThreadState *thr = cur_thread();
  /external/chromium_org/v8/src/
v8threads.h 35 class ThreadState {
38 ThreadState* Next();
59 explicit ThreadState(ThreadManager* thread_manager);
60 ~ThreadState();
67 ThreadState* next_;
68 ThreadState* previous_;
111 ThreadState* FirstThreadStateInUse();
112 ThreadState* GetFreeThreadState();
118 void DeleteThreadStateList(ThreadState* anchor);
125 ThreadState* lazily_archived_thread_state_
    [all...]
v8threads.cc 151 lazily_archived_thread_state_->LinkInto(ThreadState::FREE_LIST);
173 ThreadState* state = per_thread->thread_state();
191 state->LinkInto(ThreadState::FREE_LIST);
222 ThreadState::ThreadState(ThreadManager* thread_manager)
232 ThreadState::~ThreadState() {
237 void ThreadState::AllocateSpace() {
242 void ThreadState::Unlink() {
248 void ThreadState::LinkInto(List list)
    [all...]
  /external/v8/src/
v8threads.h 35 class ThreadState {
38 ThreadState* Next();
59 explicit ThreadState(ThreadManager* thread_manager);
66 ThreadState* next_;
67 ThreadState* previous_;
110 ThreadState* FirstThreadStateInUse();
111 ThreadState* GetFreeThreadState();
122 ThreadState* lazily_archived_thread_state_;
128 ThreadState* free_anchor_;
130 ThreadState* in_use_anchor_
    [all...]
v8threads.cc 167 lazily_archived_thread_state_->LinkInto(ThreadState::FREE_LIST);
189 ThreadState* state = per_thread->thread_state();
207 state->LinkInto(ThreadState::FREE_LIST);
238 ThreadState::ThreadState(ThreadManager* thread_manager)
247 void ThreadState::AllocateSpace() {
252 void ThreadState::Unlink() {
258 void ThreadState::LinkInto(List list) {
259 ThreadState* flying_anchor =
269 ThreadState* ThreadManager::GetFreeThreadState()
    [all...]
  /external/compiler-rt/lib/tsan/go/
tsan_go.cc 79 static ThreadState *main_thr;
81 static ThreadState *AllocGoroutine() {
82 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex,
83 sizeof(ThreadState));
88 void __tsan_init(ThreadState **thrp) {
89 ThreadState *thr = AllocGoroutine();
98 ThreadState *thr = main_thr;
109 void __tsan_read(ThreadState *thr, void *addr, void *pc) {
113 void __tsan_write(ThreadState *thr, void *addr, void *pc)
    [all...]
  /frameworks/native/include/binder/
BufferedTextOutput.h 49 struct ThreadState;
51 static ThreadState*getThreadState();
  /art/runtime/
thread_state.h 22 enum ThreadState {
thread-inl.h 27 inline ThreadState Thread::SetState(ThreadState new_state) {
34 return static_cast<ThreadState>(old_state_and_flags.as_struct.state);
60 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) {
85 inline ThreadState Thread::TransitionFromSuspendedToRunnable() {
89 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable);
124 return static_cast<ThreadState>(old_state);
  /external/valgrind/main/coregrind/m_gdbserver/
target.c 67 ThreadState *ts;
210 ThreadState *tst;
213 tst = (ThreadState *) inferior_target_data (ti);
249 ThreadState *tst;
292 ThreadState *tst = (ThreadState *) inferior_target_data (current_inferior);
338 ThreadState *tst = (ThreadState *) inferior_target_data (current_inferior);
450 ThreadState *tst =
451 (ThreadState *) inferior_target_data (current_inferior)
    [all...]
  /frameworks/native/libs/binder/
BufferedTextOutput.cpp 82 struct BufferedTextOutput::ThreadState
91 BufferedTextOutput::ThreadState* BufferedTextOutput::getThreadState()
93 ThreadState* ts = (ThreadState*) thread_store_get( &tls );
95 ts = new ThreadState;
102 delete ((ThreadState*)st);
264 ThreadState* ts = getThreadState();
  /external/valgrind/main/coregrind/
m_threadstate.c 47 ThreadState VG_(threads)[VG_N_THREADS] __attribute__((aligned(16)));
81 ThreadState *VG_(get_ThreadState)(ThreadId tid)
105 ThreadState *tst = VG_(get_ThreadState)(tid);
  /external/chromium_org/third_party/leveldatabase/src/db/
db_bench.cc 288 struct ThreadState {
294 ThreadState(int index)
441 void (Benchmark::*method)(ThreadState*) = NULL;
535 ThreadState* thread;
536 void (Benchmark::*method)(ThreadState*);
542 ThreadState* thread = arg->thread;
568 void (Benchmark::*method)(ThreadState*)) {
580 arg[i].thread = new ThreadState(i);
608 void Crc32c(ThreadState* thread) {
627 void AcquireLoad(ThreadState* thread)
    [all...]
  /external/valgrind/main/coregrind/m_sigframe/
sigframe-x86-linux.c 355 ThreadState *tst = VG_(get_ThreadState)(tid);
400 static Bool extend ( ThreadState *tst, Addr addr, SizeT size )
443 ThreadState *tst,
460 static Addr build_sigframe(ThreadState *tst,
518 static Addr build_rt_sigframe(ThreadState *tst,
592 ThreadState* tst = VG_(get_ThreadState)(tid);
625 Bool restore_vg_sigframe ( ThreadState *tst,
650 void restore_sigcontext( ThreadState *tst,
676 SizeT restore_sigframe ( ThreadState *tst,
686 SizeT restore_rt_sigframe ( ThreadState *tst,
    [all...]

Completed in 1043 milliseconds

1 2 3 4