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

1 2

  /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...]
  /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...]
  /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...]
  /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/libnfc-nxp/src/
phLibNfc_target.c 89 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
93 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease)
239 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
243 else if (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateRelease)
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...]
phLibNfc.c 367 || (pLibContext->LibNfcState.cur_state
441 pLibContext->LibNfcState.cur_state = eLibNfcHalStateShutdown;
520 || (gpphLibContext->LibNfcState.cur_state
639 gpphLibContext->LibNfcState.cur_state = eLibNfcHalStateInitandIdle;
692 switch(pLibContext->LibNfcState.cur_state)
788 psLibContext->LibNfcState.cur_state = (uint8_t)eLibNfcHalStateConnect;
791 psLibContext->LibNfcState.cur_state
798 psLibContext->LibNfcState.cur_state
801 psLibContext->LibNfcState.cur_state);
815 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown)
    [all...]
phLibNfc_initiator.c 298 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateConnect;
352 gpphLibContext->LibNfcState.cur_state=eLibNfcHalStateRelease;
408 (gpphLibContext->LibNfcState.cur_state
457 (gpphLibContext->LibNfcState.cur_state
503 gpphLibContext->LibNfcState.cur_state))
592 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
802 (gpphLibContext->LibNfcState.cur_state
    [all...]
phLibNfc_discovery.c 155 (gpphLibContext->LibNfcState.cur_state
229 (gpphLibContext->LibNfcState.cur_state
phLibNfc_Ioctl.c 112 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
phLibNfc_SE.c 92 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
326 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
367 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
452 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
phLibNfc_ndef_raw.c 128 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
382 (gpphLibContext->LibNfcState.cur_state
756 (gpphLibContext->LibNfcState.cur_state == eLibNfcHalStateShutdown))
    [all...]
phHciNfc.c 125 psHciContext->hci_state.cur_state = hciState_Reset;
832 && ( hciState_Connect == psHciContext->hci_state.cur_state)
840 psHciContext->hci_state.cur_state = hciState_Disconnect;
    [all...]
  /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...]
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/libsepol/include/sepol/policydb/
conditional.h 75 int cur_state; member in struct:cond_node
  /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/libnfc-nxp/inc/
phNfcInterface.h 166 uint8_t cur_state; member in struct:phNfc_sState
  /external/libsepol/src/
conditional.c 158 new_node->cur_state = cond_evaluate_expr(p, new_node->expr);
314 if (new_state != node->cur_state) {
315 node->cur_state = new_state;
773 node->cur_state = le32_to_cpu(buf[0]);
expand.c 2845 int cur_state, preserve_tunables = 0; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/nas/
SDL_nasaudio.c 314 switch (event->cur_state) {
  /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...]
  /external/checkpolicy/test/
dismod.c 556 fprintf(fp, "current state: %d\n", cur->cur_state);
603 cond->cur_state);
dispol.c 240 fprintf(fp, "current state: %d\n", cur->cur_state);

Completed in 365 milliseconds

1 2