/external/libweave/examples/daemon/ledflasher/ |
ledflasher.cc | 95 int cur_state = led_status_[led_index]; local 98 if (cmd_value != cur_state) {
|
/art/runtime/base/ |
mutex-inl.h | 131 int32_t cur_state = state_.LoadRelaxed(); local 132 if (LIKELY(cur_state >= 0)) { 134 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1); 136 HandleSharedLockContention(self, cur_state); 155 int32_t cur_state = state_.LoadRelaxed(); local 156 if (LIKELY(cur_state > 0)) { 161 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1); 162 if (done && (cur_state - 1) == 0) { // Weak CAS may fail spuriously [all...] |
mutex.cc | 368 int32_t cur_state = state_.LoadRelaxed(); local 369 if (LIKELY(cur_state == 0)) { 371 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); 411 int32_t cur_state = state_.LoadRelaxed(); local 412 if (cur_state == 0) { 414 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); 468 int32_t cur_state = state_.LoadRelaxed(); local 469 if (LIKELY(cur_state == 1)) { 476 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, 0 /* new state */); 486 LOG(FATAL) << "Unexpected state_ in unlock " << cur_state << " for " << name_ 555 int32_t cur_state = state_.LoadRelaxed(); local 591 int32_t cur_state = state_.LoadRelaxed(); local 625 int32_t cur_state = state_.LoadRelaxed(); local 691 int32_t cur_state = state_.LoadRelaxed(); local [all...] |
/system/bt/service/test/ |
adapter_unittest.cpp | 76 bluetooth::AdapterState cur_state() const { return cur_state_; } function in class:bluetooth::__anon73520::final 139 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, observer.cur_state()); 151 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); 173 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); 179 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.cur_state()); 190 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); 200 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); 205 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.cur_state());
|
/external/selinux/libsepol/include/sepol/policydb/ |
conditional.h | 78 int cur_state; member in struct:cond_node
|
/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...] |
/frameworks/compile/mclinker/lib/LD/ |
EhFrameReader.cpp | 133 State cur_state = Q0; local 134 while (Reject != cur_state && Accept != cur_state) { 139 if (!transition[cur_state][token.kind](pEhFrame, entry, token)) { 149 cur_state = Accept; 151 cur_state = Reject; 153 cur_state = autometa[cur_state][token.kind]; 157 if (Reject == cur_state) {
|
/system/bt/bta/dm/ |
bta_dm_pm.c | 1281 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; local [all...] |
/system/bt/stack/btm/ |
btm_ble_batchscan.c | 145 void btm_ble_batchscan_enq_op_q(UINT8 opcode, tBTM_BLE_BATCH_SCAN_STATE cur_state, 149 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx] = cur_state; 151 BTM_TRACE_DEBUG("btm_ble_batchscan_enq_op_q: subcode:%d, Cur_state:%d, ref_value:%d", 153 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx], 296 void btm_ble_batchscan_deq_op_q(UINT8 *p_opcode,tBTM_BLE_BATCH_SCAN_STATE *cur_state, 303 *cur_state = (ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.pending_idx]); 343 btm_ble_batchscan_enq_op_q(BTM_BLE_BATCH_SCAN_READ_RESULTS, ble_batchscan_cb.cur_state, 370 tBTM_BLE_BATCH_SCAN_STATE cur_state = 0 local [all...] |
/external/drm_hwcomposer/ |
hwcomposer.cpp | 142 drmModeConnection cur_state = conn->state(); local 144 if (cur_state == old_state) 148 cur_state == DRM_MODE_CONNECTED ? "Plug" : "Unplug", timestamp_us, 151 if (cur_state == DRM_MODE_CONNECTED) { 176 cur_state == DRM_MODE_CONNECTED ? 1 : 0);
|