Home
last modified time | relevance | path

Searched refs:OptInt (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c205 static void OptInt(const JsonObj *json, const char * const key, int *target, int defaultValue) in OptInt() function
1017 OptInt(obj, DATA_BUF_SIZE_TAG, &maxBuffSize, PACKET_SIZE); in UnPackVersionByDeviceId()
1029 OptInt(obj, AUTH_START_STATE, (int32_t *)&info->peerState, AUTH_STATE_COMPATIBLE); in UnPackVersionByDeviceId()
1087 OptInt(obj, AUTH_MODULE, (int32_t *)&info->module, AUTH_MODULE_LNN); in UnpackDeviceIdJson()
1563 OptInt(json, NODE_WEIGHT, &info->masterWeight, DEFAULT_NODE_WEIGHT); in ParseCommonJsonInfo()
1564 OptInt(json, OS_TYPE, &info->deviceInfo.osType, -1); in ParseCommonJsonInfo()
1572 OptInt(json, NEW_CONN_CAP, (int32_t *)&info->netCapacity, -1); in ParseCommonJsonInfo()
1576 OptInt(json, WIFI_BUFF_SIZE, &info->wifiBuffSize, DEFAULT_WIFI_BUFF_SIZE); in ParseCommonJsonInfo()
1577 OptInt(json, BR_BUFF_SIZE, &info->wifiBuffSize, DEFAULT_BR_BUFF_SIZE); in ParseCommonJsonInfo()
1580 OptInt(jso in ParseCommonJsonInfo()
[all...]
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp89 OptInt(json, P2P_ROLE, &val, 0); in HWTEST_F()
91 OptInt(json, SOFTBUS_VERSION_TAG, &val, 0); in HWTEST_F()

Completed in 5 milliseconds