HomeSort by relevance Sort by last modified time
    Searched defs:old_state (Results 1 - 25 of 30) sorted by null

1 2

  /bionic/libc/bionic/
pthread_detach.cpp 40 ThreadJoinState old_state = THREAD_NOT_JOINED; local
41 while (old_state == THREAD_NOT_JOINED &&
42 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
45 if (old_state == THREAD_NOT_JOINED) {
47 } else if (old_state == THREAD_EXITED_NOT_JOINED) {
pthread_join.cpp 44 ThreadJoinState old_state = THREAD_NOT_JOINED; local
45 while ((old_state == THREAD_NOT_JOINED || old_state == THREAD_EXITED_NOT_JOINED) &&
46 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) {
49 if (old_state == THREAD_DETACHED || old_state == THREAD_JOINED) {
pthread_exit.cpp 94 ThreadJoinState old_state = THREAD_NOT_JOINED; local
95 while (old_state == THREAD_NOT_JOINED &&
96 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) {
99 if (old_state == THREAD_DETACHED) {
pthread_cond.cpp 175 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); local
178 int status = __futex_wait_ex(&cond->state, cond->process_shared(), old_state, rel_timeout_or_null);
pthread_mutex.cpp 277 uint16_t old_state = unlocked; local
278 if (__predict_true(atomic_compare_exchange_strong_explicit(&mutex->state, &old_state,
380 uint16_t old_state) {
384 if (MUTEX_COUNTER_BITS_WILL_OVERFLOW(old_state)) {
398 uint16_t old_state,
406 return __futex_wait_ex(&mutex->state, shared, old_state, rel_timeout);
415 return __futex_wait_ex(&mutex->state, shared, (owner_tid << 16) | old_state, rel_timeout);
421 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
422 uint16_t mtype = (old_state & MUTEX_TYPE_MASK);
423 uint16_t shared = (old_state & MUTEX_SHARED_MASK)
512 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
533 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
577 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
    [all...]
pthread_rwlock.cpp 263 static inline __always_inline bool __can_acquire_read_lock(int old_state,
267 bool cannot_apply = __state_owned_by_writer(old_state) ||
268 (writer_nonrecursive_preferred && __state_have_pending_writers(old_state));
273 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
275 while (__predict_true(__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred))) {
277 int new_state = old_state + STATE_READER_COUNT_CHANGE_STEP;
281 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, new_state,
302 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
303 if (__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) {
324 old_state = atomic_fetch_or_explicit(&rwlock->state, STATE_HAVE_PENDING_READERS_FLAG
355 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
380 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
465 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
    [all...]
  /bionic/libc/private/
bionic_lock.h 55 LockState old_state = Unlocked; local
56 if (__predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state,
  /bionic/libc/stdio/
stdio_ext.cpp 77 int old_state = _EXT(fp)->_stdio_handles_locking ? FSETLOCKING_INTERNAL : FSETLOCKING_BYCALLER; local
79 return old_state;
88 return old_state;
  /art/runtime/
thread-inl.h 144 int16_t old_state = old_state_and_flags.as_struct.state; local
145 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable);
149 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
154 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
159 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
167 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
186 return static_cast<ThreadState>(old_state);
thread.h 965 ThreadState old_state = GetState(); local
    [all...]
  /external/fio/
libfio.c 182 int old_state = td->runstate; local
185 return old_state;
188 void td_restore_runstate(struct thread_data *td, int old_state)
190 td_set_runstate(td, old_state);
blktrace.c 340 int fd, i, old_state; local
352 old_state = td_bump_runstate(td, TD_SETTING_UP);
418 td_restore_runstate(td, old_state);
filesetup.c 761 int old_state; local
767 old_state = td_bump_runstate(td, TD_SETTING_UP);
961 td_restore_runstate(td, old_state);
966 td_restore_runstate(td, old_state);
iolog.c 1235 int old_state, i; local
1237 old_state = td_bump_runstate(td, TD_FINISHING);
1261 td_restore_runstate(td, old_state);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_setup.c 277 unsigned old_state = setup->state; local
279 if (old_state == new_state)
285 states[old_state],
296 if (old_state == SETUP_FLUSHED)
309 if (old_state == SETUP_CLEARED)
  /system/bt/stack/btm/
btm_pm.c 790 tBTM_PM_STATE old_state; local
801 old_state = p_cb->state;
805 LOG_DEBUG("%s switched from %s to %s.", __func__, mode_to_string(old_state), mode_to_string(p_cb->state));
827 if(old_state & BTM_PM_STORED_MASK)
  /external/libnfc-nci/src/nfa/dm/
nfa_dm_discover.c 1750 tNFA_DM_RF_DISC_STATE old_state = nfa_dm_cb.disc_cb.disc_state; local
    [all...]
  /external/v8/src/
code-stubs.cc 436 State old_state = state; local
452 TraceTransition(old_state, state);
  /art/runtime/arch/
stub_test.cc 862 LockWord::LockState old_state = lock.GetState(); local
863 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state);
936 LockWord::LockState old_state = lock.GetState(); variable
    [all...]
  /art/runtime/gc/collector/
semi_space.cc 171 ThreadState old_state = self_->SetStateUnsafe(kRunnable); local
177 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable);
    [all...]
  /art/runtime/jdwp/
jdwp_handler.cc 1612 ThreadState old_state = self->TransitionFromSuspendedToRunnable(); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_state.c 864 struct pipe_framebuffer_state *old_state = r300->fb_state.state; local
    [all...]
  /external/lldb/source/Target/
Process.cpp 1635 const StateType old_state = m_public_state.GetValue(); local
1700 const StateType old_state = m_private_state.GetValueNoLock (); local
    [all...]
  /external/lldb/tools/debugserver/source/MacOSX/
MachProcess.cpp 269 const nub_state_t old_state = m_state; local
271 if (old_state == eStateExited)
275 else if (old_state == new_state)
286 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::SetState(%s) upating state (previous state was %s), event_mask = 0x%8.8x", DNBStateAsString(new_state), DNBStateAsString(old_state), event_mask);
    [all...]
  /external/v8/src/ic/
ic.cc 99 void IC::TraceIC(const char* type, Handle<Object> name, State old_state,
125 PrintF(" (%c->%c%s)", TransitionMarkFromState(old_state),
138 #define TRACE_VECTOR_IC(type, name, old_state, new_state) \
139 TraceIC(type, name, old_state, new_state)
355 static void ComputeTypeInfoCountDelta(IC::State old_state, IC::State new_state,
358 switch (old_state) {
393 State old_state, State new_state,
404 ComputeTypeInfoCountDelta(old_state, new_state, &polymorphic_delta,
428 State old_state = UNINITIALIZED; local
432 old_state = old_target->ic_state()
1901 IC::State old_state = FeedbackToState(vector, slot); local
1918 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); local
1930 IC::State old_state = FeedbackToState(vector, slot); local
1948 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); local
1956 IC::State old_state = FeedbackToState(vector, slot); local
1993 OnTypeFeedbackChanged(isolate(), address(), old_state, new_state, true); local
    [all...]

Completed in 1638 milliseconds

1 2