Searched refs:JSON_GetInt32FromOject (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 207 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 D | auth_session_message.c | 429 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 D | softbus_adapter_json.h | 54 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 D | lnn_p2p_info.c | 118 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 D | lnn_sync_info_manager.c | 700 if (!JSON_GetInt32FromOject(json, NETWORK_OFFLINE_PORT, &authPort) || in WlanOffLineProcess() 748 if (!JSON_GetInt32FromOject(json, NETWORK_SYNC_TYPE, &peerNetworkType)) { in OnP2pNetworkingDataRecv()
|
H A D | lnn_net_builder.c | 802 if (!JSON_GetInt32FromOject(json, JSON_KEY_MASTER_WEIGHT, ¶->masterWeight) || in OnReceiveMasterElectMsg()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/json/nlohmann/ |
H A D | softbus_adapter_json.cpp | 210 bool JSON_GetInt32FromOject(const JsonObj *obj, const char *key, int32_t *value) in JSON_GetInt32FromOject() function
|