/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 | 80 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; local 82 return old_state; 91 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 | 241 int16_t old_state = old_state_and_flags.as_struct.state; local 242 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); 246 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 284 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 289 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 299 return static_cast<ThreadState>(old_state);
|
/external/fio/ |
libfio.c | 218 int old_state = td->runstate; local 221 return old_state; 224 void td_restore_runstate(struct thread_data *td, int old_state) 226 td_set_runstate(td, old_state);
|
/external/v8/tools/ |
ic-processor.js | 152 type, pc, line, column, old_state, new_state, map, name, modifier, 156 print(type + " (" + old_state + "->" + new_state + modifier + ") at " + 162 pc, line, column, stub, op, old_left, old_right, old_state, new_left, 167 old_left + "+" + old_right + "=" + old_state + ")->(" + 173 pc, line, column, stub, old_state, new_state, allocation_site) { 176 print("BinaryOpIC (" + old_state + "->" + new_state + ") at " + 181 pc, line, column, stub, old_state, new_state) { 184 print("ToBooleanIC (" + old_state + "->" + new_state + ") at " +
|
/bionic/tests/ |
stdio_ext_test.cpp | 153 int old_state = __fsetlocking(stdout, FSETLOCKING_BYCALLER); local 163 __fsetlocking(stdout, old_state);
|
/external/v8/src/ic/ |
ic-state.h | 175 static State NewInputState(State old_state, Handle<Object> value); 179 static State TargetState(Isolate* isolate, State old_state, State old_left,
|
/external/v8/src/ |
log.h | 187 int column, Map* map, Object* key, char old_state, 192 const char* old_state, const char* new_left, 195 const char* old_state, const char* new_state, 198 const char* old_state, const char* new_state);
|
/external/v8/src/crankshaft/ |
hydrogen-escape-analysis.cc | 88 HCapturedObject* old_state) { 92 HValue* operand = old_state->OperandAt(index); 103 HCapturedObject* old_state) { 106 HValue* operand = old_state->OperandAt(index);
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
bufferhub_rpc.h | 40 uint64_t old_state; local 43 old_state = buffer_state->load(); 44 new_state = (old_state & ~clear_mask) | set_mask; 45 } while (!buffer_state->compare_exchange_weak(old_state, new_state));
|
/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)
|