Lines Matching defs:current
125 // ScopedGlobalProcessor temporary setups a global processor for the current
172 // Technically `current` should be a separate THREADLOCAL variable;
174 ThreadState* current;
249 return reinterpret_cast<ThreadState *>(cur_thread_placeholder)->current;
253 if (UNLIKELY(!thr->current))
254 thr->current = thr;
255 return thr->current;
258 reinterpret_cast<ThreadState *>(cur_thread_placeholder)->current = thr;
592 // AcquireGlobal synchronizes the current thread with all other threads.
594 // (where they happen to execute right now) to the current thread. We use it to
710 TracePart *current = thr->tctx->trace.parts.Back();
711 if (current) {
712 DCHECK_GE(pos, ¤t->events[0]);
713 DCHECK_LE(pos, ¤t->events[TracePart::kSize]);