Home
last modified time | relevance | path

Searched refs:CURRENT_STATE_INDEX (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_state_machine.cpp30 constexpr int CURRENT_STATE_INDEX = 0; variable
105 if (table.switchTable.count(stateSwitch[CURRENT_STATE_INDEX]) == 0) { in InitCloudStateSwitchTable()
108 table.switchTable[stateSwitch[CURRENT_STATE_INDEX]] = eventToState; in InitCloudStateSwitchTable()
110 EventToState &eventToState = table.switchTable[stateSwitch[CURRENT_STATE_INDEX]]; in InitCloudStateSwitchTable()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_sync_state_machine.cpp39 const int CURRENT_STATE_INDEX = 0; variable
346 if (table.switchTable.count(stateSwitch[CURRENT_STATE_INDEX]) == 0) { in InitStateSwitchTable()
349 table.switchTable[stateSwitch[CURRENT_STATE_INDEX]] = eventToState; in InitStateSwitchTable()
351 EventToState &eventToState = table.switchTable[stateSwitch[CURRENT_STATE_INDEX]]; in InitStateSwitchTable()