Home
last modified time | relevance | path

Searched refs:prev_state (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/atomic/src/
Dlock_pool.cpp348 …futex_operations::storage_type prev_state = futex_operations::load(m_mutex, boost::memory_order_re… in long_lock() local
349 if (BOOST_LIKELY((prev_state & mutex_bits::locked) == 0u)) in long_lock()
351 futex_operations::storage_type new_state = prev_state | mutex_bits::locked; in long_lock()
352 …if (BOOST_LIKELY(futex_operations::compare_exchange_strong(m_mutex, prev_state, new_state, boost::… in long_lock()
365 …futex_operations::storage_type prev_state = futex_operations::load(m_mutex, boost::memory_order_re… in lock_slow_path() local
368 if (BOOST_LIKELY((prev_state & mutex_bits::locked) == 0u)) in lock_slow_path()
370 futex_operations::storage_type new_state = prev_state | mutex_bits::locked; in lock_slow_path()
371 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in lock_slow_path()
376 futex_operations::storage_type new_state = prev_state | mutex_bits::contended; in lock_slow_path()
377 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in lock_slow_path()
[all …]
/third_party/libinput/src/
Devdev-tablet-pad.c44 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_pressed() local
48 buttons->bits[i] = state->bits[i] & ~(prev_state->bits[i]); in pad_get_buttons_pressed()
56 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_released() local
60 buttons->bits[i] = prev_state->bits[i] & ~(state->bits[i]); in pad_get_buttons_released()
Devdev-tablet.c55 *prev_state = &tablet->prev_button_state; in tablet_get_pressed_buttons() local
58 buttons->bits[i] = state->bits[i] & ~(prev_state->bits[i]); in tablet_get_pressed_buttons()
67 *prev_state = &tablet->prev_button_state; in tablet_get_released_buttons() local
70 buttons->bits[i] = prev_state->bits[i] & in tablet_get_released_buttons()
80 *prev_state = &tablet->prev_button_state; in tablet_force_button_presses() local
84 state->bits[i] = state->bits[i] | prev_state->bits[i]; in tablet_force_button_presses()
85 prev_state->bits[i] = 0; in tablet_force_button_presses()
/third_party/weston/libweston/backend-fbdev/
Dfbdev.c58 uint32_t prev_state; member
776 compositor->state = backend->prev_state; in session_notify()
793 backend->prev_state = compositor->state; in session_notify()
939 backend->prev_state = WESTON_COMPOSITOR_ACTIVE; in fbdev_backend_create()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_cp.c503 enum cp_states prev_state; in ieee802_1x_cp_step_run() local
507 prev_state = sm->CP_state; in ieee802_1x_cp_step_run()
509 if (prev_state == sm->CP_state) in ieee802_1x_cp_step_run()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_cp.c492 enum cp_states prev_state; in ieee802_1x_cp_step_run() local
496 prev_state = sm->CP_state; in ieee802_1x_cp_step_run()
498 if (prev_state == sm->CP_state) in ieee802_1x_cp_step_run()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_concurrent_connectivity_test.cc249 grpc_connectivity_state prev_state = state; in ConnectLoop() local
253 prev_state == GRPC_CHANNEL_CONNECTING && in ConnectLoop()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_legalize.c93 struct ir3_legalize_state prev_state = bd->state; in legalize_block() local
363 if (memcmp(&prev_state, state, sizeof(*state))) { in legalize_block()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dscan.c1453 enum wpa_states prev_state; in wpa_supplicant_req_sched_scan() local
1528 prev_state = wpa_s->wpa_state; in wpa_supplicant_req_sched_scan()
1712 if (prev_state != wpa_s->wpa_state) in wpa_supplicant_req_sched_scan()
1713 wpa_supplicant_set_state(wpa_s, prev_state); in wpa_supplicant_req_sched_scan()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dscan.c1571 enum wpa_states prev_state; in wpa_supplicant_req_sched_scan() local
1646 prev_state = wpa_s->wpa_state; in wpa_supplicant_req_sched_scan()
1826 if (prev_state != wpa_s->wpa_state) in wpa_supplicant_req_sched_scan()
1827 wpa_supplicant_set_state(wpa_s, prev_state); in wpa_supplicant_req_sched_scan()