Home
last modified time | relevance | path

Searched refs:JSON_GetInt32FromOject (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c207 if (JSON_GetInt32FromOject(json, key, target)) { in OptInt()
974 if (!JSON_GetInt32FromOject(obj, EXCHANGE_ID_TYPE, &idType)) { in SetExchangeIdTypeAndValue()
1488 if (!JSON_GetInt32FromOject(json, STATIC_CAP_LENGTH, &info->staticCapLen)) { in UnpackWifiDirectInfo()
1536 (void)JSON_GetInt32FromOject(json, CONN_CAP, (int32_t *)&info->netCapacity); in ParseCommonJsonInfo()
1537 (void)JSON_GetInt32FromOject(json, AUTH_CAP, (int32_t *)&info->authCapacity); in ParseCommonJsonInfo()
1538 (void)JSON_GetInt32FromOject(json, HB_CAP, (int32_t *)&info->heartbeatCapacity); in ParseCommonJsonInfo()
1558 (void)JSON_GetInt32FromOject(json, CONN_CAP, (int32_t *)&info->netCapacity); in ParseCommonJsonInfo()
1571 !JSON_GetInt32FromOject(json, MASTER_WEIGHT, &info->masterWeight)) { in UnpackCommon()
1757 (void)JSON_GetInt32FromOject(json, AUTH_PORT, &info->connectInfo.authPort); in UnpackWiFi()
1758 (void)JSON_GetInt32FromOject(json, SESSION_PORT, &info->connectInfo.sessionPort); in UnpackWiFi()
[all …]
H A Dauth_session_message.c429 if (!JSON_GetInt32FromOject(json, CODE, &messageParse->messageType)) { in IsDeviceMessagePacket()
437 if (JSON_GetInt32FromOject(json, TIME, (int32_t *)&messageParse->cycle)) { in IsDeviceMessagePacket()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_json.h54 bool JSON_GetInt32FromOject(const JsonObj *obj, const char *key, int32_t *value);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info.c118 if (!JSON_GetInt32FromOject(json, JSON_KEY_P2P_ROLE, &info->p2pRole)) { in LnnParseP2pInfoMsg()
133 if (!JSON_GetInt32FromOject(json, JSON_KEY_STA_FREQUENCY, &info->staFrequency)) { in LnnParseP2pInfoMsg()
H A Dlnn_sync_info_manager.c700 if (!JSON_GetInt32FromOject(json, NETWORK_OFFLINE_PORT, &authPort) || in WlanOffLineProcess()
748 if (!JSON_GetInt32FromOject(json, NETWORK_SYNC_TYPE, &peerNetworkType)) { in OnP2pNetworkingDataRecv()
H A Dlnn_net_builder.c802 if (!JSON_GetInt32FromOject(json, JSON_KEY_MASTER_WEIGHT, &para->masterWeight) || in OnReceiveMasterElectMsg()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
H A Dsoftbus_adapter_json.cpp210 bool JSON_GetInt32FromOject(const JsonObj *obj, const char *key, int32_t *value) in JSON_GetInt32FromOject() function