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

1 2 3

  /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_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,
306 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
307 if (__can_acquire_read_lock(old_state, rwlock->writer_nonrecursive_preferred)) {
318 old_state = atomic_fetch_or_explicit(&rwlock->state, STATE_HAVE_PENDING_READERS_FLAG
349 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
378 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
453 int old_state = atomic_load_explicit(&rwlock->state, memory_order_relaxed); local
    [all...]
pthread_mutex.cpp 280 uint16_t old_state = unlocked; local
281 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,
407 return __futex_wait_ex(&mutex->state, shared, old_state, use_realtime_clock, abs_timeout);
416 return __futex_wait_ex(&mutex->state, shared, (owner_tid << 16) | old_state,
424 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
425 uint16_t mtype = (old_state & MUTEX_TYPE_MASK);
426 uint16_t shared = (old_state & MUTEX_SHARED_MASK)
515 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
539 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
583 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
642 uint16_t old_state = atomic_load_explicit(&mutex->state, memory_order_relaxed); local
    [all...]
pthread_exit.cpp 99 ThreadJoinState old_state = THREAD_NOT_JOINED; local
100 while (old_state == THREAD_NOT_JOINED &&
101 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) {
104 if (old_state == THREAD_DETACHED) {
pthread_cond.cpp 180 unsigned int old_state = atomic_load_explicit(&cond->state, memory_order_relaxed); local
182 int status = __futex_wait_ex(&cond->state, cond->process_shared(), old_state,
  /bionic/libc/private/
bionic_lock.h 54 LockState old_state = Unlocked; local
55 return __predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state,
60 LockState old_state = Unlocked; local
61 if (__predict_true(atomic_compare_exchange_strong_explicit(&state, &old_state,
  /bionic/libc/stdio/
stdio_ext.cpp 79 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; local
81 return old_state;
90 return old_state;
  /toolchain/binutils/binutils-2.25/gas/
app.c 213 static int old_state; variable
231 int old_state; member in struct:app_save
254 saved->old_state = old_state;
291 old_state = saved->old_state;
379 -1: output string in out_string and go to the state in old_state
380 -2: flush text until a '*' '/' is seen, then go to state old_state
475 state = old_state;
476 old_state = 3
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/dbus/
dbus_old.h 76 enum wpa_states old_state);
110 enum wpa_states old_state)
dbus_old.c 406 * @old_state: old state wpa_supplicant is leaving
413 enum wpa_states old_state)
430 if (new_state == old_state)
444 old_state_str = wpa_supplicant_state_txt(old_state);
  /external/wpa_supplicant_8/src/fst/
fst_ctrl_aux.h 56 enum fst_session_state old_state; member in struct:fst_event_extra::fst_event_extra_session_state
  /external/webrtc/webrtc/libjingle/xmpp/
pubsubstateclient.h 46 C old_state; member in struct:buzz::PubSubStateChange
199 C old_state = has_old_state ? state_by_key_[key] : default_state_; local
200 if ((retracted && !has_old_state) || StatesEqual(new_state, old_state)) {
218 change.old_state = old_state;
hangoutpubsubclient.cc 240 change.published_nick, change.old_state, change.new_state);
259 bool was_muted = change.old_state;
324 change.published_nick, change.old_state, change.new_state);
341 change.published_nick, change.old_state, change.new_state);
358 change.published_nick, change.old_state, change.new_state);
377 bool was_blockee = change.old_state;
chatroommoduleimpl.cc 405 XmppChatroomState old_state; member in struct:buzz::StateTransitionDescription
531 XmppChatroomState old_state = chatroom_state_; local
534 if (old_state == new_state)
540 if (Transitions[i].old_state == old_state &&
  /art/runtime/
thread-inl.h 237 int16_t old_state = old_state_and_flags.as_struct.state; local
238 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable);
242 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
280 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
285 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state);
295 return static_cast<ThreadState>(old_state);
  /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);
  /bionic/tests/
stdio_ext_test.cpp 153 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); local
163 __fsetlocking(stdout, old_state);
  /art/runtime/openjdkjvmti/
events.cc 278 bool old_state = listener->IsEnabled(); local
288 if (old_state != new_state) {
400 bool old_state = global_mask.Test(event); local
415 if (new_state != old_state) {
  /external/v8/src/crankshaft/
hydrogen-escape-analysis.cc 87 HCapturedObject* old_state) {
91 HValue* operand = old_state->OperandAt(index);
102 HCapturedObject* old_state) {
105 HValue* operand = old_state->OperandAt(index);
  /external/v8/src/ic/
ic-state.h 205 static State NewInputState(State old_state, Handle<Object> value);
209 static State TargetState(Isolate* isolate, State old_state, State old_left,
  /external/libmojo/mojo/message_pump/
message_pump_mojo.cc 143 RunState* old_state = NULL; local
146 old_state = run_state_;
152 run_state_ = old_state;
  /external/toolchain-utils/binary_search_tool/
binary_search_state.py 343 old_state = None
351 old_state = os.readlink(STATE_FILE)
361 if old_state:
362 os.remove(old_state)
  /external/wpa_supplicant_8/wpa_supplicant/
notify.c 97 enum wpa_states old_state)
104 old_state);
113 else if (old_state >= WPA_ASSOCIATED &&
121 else if (old_state >= WPA_ASSOCIATED && new_state < WPA_ASSOCIATED)

Completed in 399 milliseconds

1 2 3