Home
last modified time | relevance | path

Searched refs:JSON_GetStringFromOject (Results 1 – 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
Dlnn_p2p_info.c121 if (!JSON_GetStringFromOject(json, JSON_KEY_WIFI_CFG, info->wifiCfg, sizeof(info->wifiCfg))) { in LnnParseP2pInfoMsg()
126 …if (!JSON_GetStringFromOject(json, JSON_KEY_CHAN_LIST_5G, info->chanList5g, sizeof(info->chanList5… in LnnParseP2pInfoMsg()
136 if (!JSON_GetStringFromOject(json, JSON_KEY_P2P_MAC, info->p2pMac, sizeof(info->p2pMac))) { in LnnParseP2pInfoMsg()
141 if (!JSON_GetStringFromOject(json, JSON_KEY_GO_MAC, info->goMac, sizeof(info->goMac))) { in LnnParseP2pInfoMsg()
157 if (!JSON_GetStringFromOject(json, JSON_KEY_WIFIDIRECT_ADDR, wifiDirectAddr, MAC_LEN)) { in LnnParseWifiDirectAddrMsg()
Dlnn_devicename_info.c224 !JSON_GetStringFromOject(json, KEY_NICK_NAME, nickName, DEVICE_NAME_BUF_LEN)) { in OnReceiveDeviceNickName()
Dlnn_net_builder.c1973 !JSON_GetStringFromOject(json, JSON_KEY_MASTER_UDID, para->masterUdid, UDID_BUF_LEN)) { in OnReceiveMasterElectMsg()
/foundation/communication/dsoftbus/core/authentication/src/
Dauth_session_message.c196 if (JSON_GetStringFromOject(json, key, target, targetLen)) { in OptString()
430 if (!JSON_GetStringFromOject(obj, FAST_AUTH, encryptedFastAuth, ENCRYPTED_FAST_AUTH_MAX_LEN)) { in UnpackFastAuth()
579 if (!JSON_GetStringFromOject(obj, DEV_IP_HASH_TAG, devIpHash, SHA_256_HEX_HASH_LEN)) { in UnpackWifiSinglePassInfo()
739 if (!JSON_GetStringFromOject(obj, CMD_TAG, cmd, CMD_TAG_LEN)) { in UnpackDeviceIdJson()
762 if (!JSON_GetStringFromOject(obj, DATA_TAG, info->uuid, UUID_BUF_LEN)) { in UnpackDeviceIdJson()
955 if (!JSON_GetStringFromOject(json, BROADCAST_CIPHER_KEY, cipherKey, SESSION_KEY_STR_LEN) || in UnpackCipherRpaInfo()
956 !JSON_GetStringFromOject(json, BROADCAST_CIPHER_IV, cipherIv, BROADCAST_IV_STR_LEN) || in UnpackCipherRpaInfo()
957 !JSON_GetStringFromOject(json, IRK, peerIrk, LFINDER_IRK_STR_LEN) || in UnpackCipherRpaInfo()
958 !JSON_GetStringFromOject(json, PUB_MAC, pubMac, LFINDER_MAC_ADDR_STR_LEN)) { in UnpackCipherRpaInfo()
1079 if (!JSON_GetStringFromOject(json, STATIC_CAP, staticCap, STATIC_CAP_STR_LEN)) { in UnpackWifiDirectInfo()
[all …]
/foundation/communication/dsoftbus/adapter/common/include/
Dsoftbus_adapter_json.h62 bool JSON_GetStringFromOject(const JsonObj *obj, const char *key, char *value, uint32_t size);
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
Dsoftbus_adapter_json.cpp248 bool JSON_GetStringFromOject(const JsonObj *obj, const char *key, char *value, uint32_t size) in JSON_GetStringFromOject() function