HomeSort by relevance Sort by last modified time
    Searched defs:cur_state (Results 1 - 15 of 15) sorted by null

  /bionic/libc/bionic/
pthread_rwlock.cpp 146 int32_t cur_state = rwlock->state; // C++11 relaxed atomic read local
147 if (__predict_true(cur_state >= 0)) {
149 done = __sync_bool_compare_and_swap(&rwlock->state, cur_state, cur_state + 1); // C++11 memory_order_aquire
158 int ret = __futex_wait_ex(&rwlock->state, rwlock_is_shared(rwlock), cur_state, rel_timeout);
179 int32_t cur_state = rwlock->state; local
180 if (__predict_true(cur_state == 0)) {
191 int ret = __futex_wait_ex(&rwlock->state, rwlock_is_shared(rwlock), cur_state, rel_timeout);
212 int32_t cur_state = rwlock->state; local
213 if ((cur_state >= 0) &
230 int32_t cur_state = rwlock->state; local
244 int32_t cur_state = rwlock->state; local
    [all...]
  /art/runtime/base/
mutex-inl.h 156 int32_t cur_state = state_.LoadRelaxed(); local
157 if (LIKELY(cur_state >= 0)) {
159 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1);
164 if (futex(state_.Address(), FUTEX_WAIT, cur_state, NULL, NULL, 0) != 0) {
188 int32_t cur_state = state_.LoadRelaxed(); local
189 if (LIKELY(cur_state > 0)) {
194 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1);
195 if (done && (cur_state - 1) == 0) { // Weak CAS may fail spuriously
    [all...]
mutex.cc 322 int32_t cur_state = state_.LoadRelaxed(); local
323 if (LIKELY(cur_state == 0)) {
325 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */);
365 int32_t cur_state = state_.LoadRelaxed(); local
366 if (cur_state == 0) {
368 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */);
411 int32_t cur_state = state_.LoadRelaxed(); local
412 if (LIKELY(cur_state == 1)) {
419 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, 0 /* new state */);
429 LOG(FATAL) << "Unexpected state_ in unlock " << cur_state << " for " << name_
498 int32_t cur_state = state_.LoadRelaxed(); local
534 int32_t cur_state = state_.LoadRelaxed(); local
568 int32_t cur_state = state_.LoadRelaxed(); local
620 int32_t cur_state = state_.LoadRelaxed(); local
    [all...]
  /external/libsepol/include/sepol/policydb/
conditional.h 75 int cur_state; member in struct:cond_node
  /frameworks/compile/mclinker/lib/LD/
EhFrameReader.cpp 139 State cur_state = Q0; local
140 while (Reject != cur_state && Accept != cur_state) {
145 if (!transition[cur_state][token.kind](pEhFrame, entry, token)) {
155 cur_state = Accept;
157 cur_state = Reject;
160 cur_state = autometa[cur_state][token.kind];
163 if (Reject == cur_state) {
  /external/bluetooth/bluedroid/bta/dm/
bta_dm_pm.c 999 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; local
1000 cur_state = BTM_PM_ReadControllerState();
1002 APPL_TRACE_DEBUG("bta_dm_pm_obtain_controller_state: %d", cur_state);
1003 return cur_state;
  /external/bluetooth/bluedroid/stack/btm/
btm_ble_batchscan.c 101 void btm_ble_batchscan_enq_op_q(UINT8 opcode, tBTM_BLE_BATCH_SCAN_STATE cur_state,
105 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx] = cur_state;
107 BTM_TRACE_DEBUG("btm_ble_batchscan_enq_op_q: subcode:%d, Cur_state:%d, ref_value:%d",
109 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx],
251 void btm_ble_batchscan_deq_op_q(UINT8 *p_opcode,tBTM_BLE_BATCH_SCAN_STATE *cur_state,
258 *cur_state = (ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.pending_idx]);
298 btm_ble_batchscan_enq_op_q(BTM_BLE_BATCH_SCAN_READ_RESULTS, ble_batchscan_cb.cur_state,
326 tBTM_BLE_BATCH_SCAN_STATE cur_state = 0 local
    [all...]
  /external/libnfc-nxp/src/
phHciNfc_Sequence.c 223 phHciNfc_eState_t cur_state = (phHciNfc_eState_t) local
224 psHciContext->hci_state.cur_state;
230 if( cur_state == (uint8_t) state )
239 switch (cur_state)
482 psHciContext->hci_state.cur_state );
520 psHciContext->hci_state.cur_state );
528 psHciContext->hci_state.cur_state =
539 psHciContext->hci_state.cur_state );
550 HCI_DEBUG("HCI: %s: transition=%02u, cur_state=%02u, next_state=%02u\n",
553 psHciContext->hci_state.cur_state,
    [all...]
  /external/libnfc-nxp/inc/
phNfcInterface.h 166 uint8_t cur_state; member in struct:phNfc_sState
  /ndk/sources/host-tools/sed-4.2.1/lib/
regex_internal.c 227 prev_st = pstr->cur_state;
242 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state);
246 pstr->cur_state = prev_st;
256 pstr->cur_state = prev_st;
298 && mbsinit (&pstr->cur_state))
311 prev_st = pstr->cur_state;
314 + byte_idx), remain_len, &pstr->cur_state);
348 pstr->cur_state = prev_st;
353 pstr->cur_state = prev_st;
368 prev_st = pstr->cur_state;
735 mbstate_t cur_state; local
    [all...]
regex_internal.h 375 mbstate_t cur_state; member in struct:re_string_t
regexec.c 1124 re_dfastate_t *cur_state; local
2199 re_dfastate_t *cur_state; local
2433 re_dfastate_t *cur_state; local
2927 re_dfastate_t *cur_state = NULL; local
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_hl.c 2187 btif_hl_chan_cb_state_t cur_state = p_pcb->cb_state; local
    [all...]
  /external/libsepol/src/
expand.c 2845 int cur_state, preserve_tunables = 0; local
    [all...]
  /external/bluetooth/bluedroid/stack/include/
btm_ble_api.h 508 tBTM_BLE_BATCH_SCAN_STATE cur_state[BTM_BLE_BATCH_SCAN_MAX]; member in struct:__anon6115
527 tBTM_BLE_BATCH_SCAN_STATE cur_state; member in struct:__anon6117
    [all...]

Completed in 309 milliseconds