| /base/security/appverify/interfaces/innerkits/appverify/src/init/ |
| D | json_parser_utils.cpp | 51 bool JsonParserUtils::GetJsonString(const nlohmann::json& json, const std::string& key, std::string… in GetJsonString() 62 bool JsonParserUtils::GetJsonInt(const nlohmann::json& json, const std::string& key, int& value) in GetJsonInt() 73 bool JsonParserUtils::GetJsonStringVec(const nlohmann::json& json, const std::string& key, StringVe… in GetJsonStringVec() 84 bool JsonParserUtils::ParseJsonToObjVec(const nlohmann::json& json, const std::string& key, JsonObj… in ParseJsonToObjVec() 95 void JsonParserUtils::ParseJsonToMap(const nlohmann::json& json, JsonMap& jsonMap) in ParseJsonToMap()
|
| /base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/ |
| D | freeze_detector_plugin_module_test.cpp | 93 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable 124 std::string json = "{\"MSG\":\"UI_BLOCK_3S\",\"PID\":1669,\"UID\":2208," variable 156 std::string json = "{\"MSG\":\"TRANSPARENT_WINDOWS, isFault = true\",\"PID\":1669,\"UID\":2208," variable 180 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable
|
| /base/account/os_account/services/accountmgr/include/ |
| D | ohos_account_data_deal.h | 27 using json = nlohmann::json; variable
|
| /base/hiviewdfx/hiview/utility/smart_parser/rule/ |
| D | compose_rule.cpp | 66 void ComposeRule::ParseRule(const Json::Value& json, const string& type, vector<string>& featureIds) in ParseRule() 80 std::map<std::string, std::string> ComposeRule::GetMapFromJson(const Json::Value& json, const strin… in GetMapFromJson()
|
| D | extract_rule.cpp | 58 void ExtractRule::ParseSegStatusCfg(const Json::Value& json) in ParseSegStatusCfg() 85 void ExtractRule::ParseRule(const string& eventType, const Json::Value& json, const string& path) in ParseRule() 133 std::vector<std::string> ExtractRule::GetJsonArray(const Json::Value& json, const string& param) in GetJsonArray()
|
| /base/startup/init_lite/services/init/ |
| D | init_service_manager.c | 229 static char *GetStringValue(const cJSON *json, const char *name, size_t *strLen) in GetStringValue() 237 static int GetStringItem(const cJSON *json, const char *name, char *buffer, int buffLen) in GetStringItem() 290 static int GetUid(cJSON *json, uid_t *uid) in GetUid() 363 static int ParseSocketFamily(cJSON *json, ServiceSocket *sockopt) in ParseSocketFamily() 378 static int ParseSocketType(cJSON *json, ServiceSocket *sockopt) in ParseSocketType() 395 static int ParseSocketProtocol(cJSON *json, ServiceSocket *sockopt) in ParseSocketProtocol() 414 static int ParseSocketOption(cJSON *json, ServiceSocket *sockopt) in ParseSocketOption() 444 static int AddServiceSocket(cJSON *json, Service *service) in AddServiceSocket() 517 static int AddServiceFile(cJSON *json, Service *service) in AddServiceFile() 670 static int GetServiceMode(Service *service, const cJSON *json) in GetServiceMode() [all …]
|
| D | init_group_manager.c | 50 cJSON *json = GetArrayItem(root, &itemNumber, itemName); in ParseGroupCfgItem() local
|
| /base/accessibility/util/src/ |
| D | json_utils.cpp | 120 bool JsonUtils::GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &… in GetStringFromJson() 134 bool JsonUtils::GetIntFromJson(const nlohmann::json &json, const std::string &key, int &value) in GetIntFromJson() 148 bool JsonUtils::GetStringVecFromJson(const nlohmann::json &json, const std::string &key, in GetStringVecFromJson() 163 bool JsonUtils::ParseObjVecFromJson(const nlohmann::json &json, const std::string &key, in ParseObjVecFromJson()
|
| /base/security/access_token/services/tokensyncmanager/src/command/ |
| D | sync_remote_hap_token_command.cpp | 50 SyncRemoteHapTokenCommand::SyncRemoteHapTokenCommand(const std::string &json) in SyncRemoteHapTokenCommand()
|
| D | delete_remote_token_command.cpp | 44 DeleteRemoteTokenCommand::DeleteRemoteTokenCommand(const std::string& json) in DeleteRemoteTokenCommand()
|
| D | update_remote_hap_token_command.cpp | 43 UpdateRemoteHapTokenCommand::UpdateRemoteHapTokenCommand(const std::string &json) in UpdateRemoteHapTokenCommand()
|
| D | sync_remote_native_token_command.cpp | 42 SyncRemoteNativeTokenCommand::SyncRemoteNativeTokenCommand(const std::string &json) in SyncRemoteNativeTokenCommand()
|
| /base/account/os_account/services/accountmgr/src/ |
| D | account_helper_data.cpp | 26 using json = nlohmann::json; typedef
|
| /base/security/device_security_level/services/common/ |
| D | dslm_msg_serialize.c | 96 JsonHandle json = CreateJson(NULL); in SerializeMessage() local
|
| /base/security/deviceauth/services/group_manager/src/group_operation/ |
| D | group_operation_common.c | 352 static int32_t AddGroupNameToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupNameToReturn() 366 static int32_t AddGroupIdToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupIdToReturn() 380 static int32_t AddGroupOwnerToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupOwnerToReturn() 395 static int32_t AddGroupTypeToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupTypeToReturn() 405 static int32_t AddGroupVisibilityToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupVisibilityToReturn() 415 static int32_t AddAuthIdToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddAuthIdToReturn() 429 static int32_t AddCredentialTypeToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddCredentialTypeToReturn() 439 static int32_t AddUserTypeToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddUserTypeToReturn() 870 CJson *json = CreateJson(); in ConvertGroupIdToJsonStr() local
|
| D | group_operation.c | 72 CJson *json = CreateJsonArray(); in GenerateReturnEmptyArrayStr() local 94 CJson *json = CreateJsonArray(); in GenerateReturnGroupVec() local 144 CJson *json = CreateJsonArray(); in GenerateReturnDeviceVec() local
|
| /base/security/device_security_level/oem_property/ohos/impl/ |
| D | dslm_ohos_verify.c | 120 static int32_t CopyParamDataFromJson(const JsonHandle json, const char *paramKey, char *dest, uint3… in CopyParamDataFromJson() 139 JsonHandle json = CreateJson((char *)buffer); in GetCredPayloadInfo() local 233 JsonHandle json = CreateJson(jsonBuffer); in ParseNounceOfCertChain() local 378 JsonHandle json = CreateJson((char *)buffer); in ParsePubKeyChain() local
|
| D | dslm_ohos_request.c | 38 JsonHandle json = CreateJson(NULL); in TransToJsonStr() local
|
| D | external_interface_adapter.c | 353 JsonHandle json = CreateJson(NULL); in GenerateFuncParamJson() local
|
| /base/security/access_token/services/tokensyncmanager/src/remote/ |
| D | soft_bus_channel.cpp | 233 std::string json = messageEntity.ToJson(); in PrepareBytes() local 238 int SoftBusChannel::Compress(const std::string &json, const unsigned char *compressedBytes, int &co… in Compress() 419 nlohmann::json json; in FromJson() local
|
| /base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
| D | ResourceConfiguration.java | 42 …File json = new File(ResourceConfiguration.class.getResource("/resource/resource_items.json").toUR… in parse() local
|
| /base/security/access_token/services/tokensyncmanager/include/remote/ |
| D | soft_bus_channel.h | 319 nlohmann::json json; in ToJson() local
|
| /base/security/access_token/services/tokensyncmanager/test/mock/src/ |
| D | soft_bus_session_mock.cpp | 186 void CompressMock(const std::string &json, const unsigned char *compressedBytes, int &compressedLen… in CompressMock()
|
| /base/security/device_security_level/baselib/utils/src/ |
| D | utils_json.c | 176 void AddFieldJsonToJson(JsonHandle handle, const char *field, JsonHandle json) in AddFieldJsonToJson()
|
| /base/startup/init_lite/services/init/standard/ |
| D | init_plugin_manager.c | 326 cJSON *json = GetArrayItem(root, &itemNumber, "modules"); in LoadPluginCfg() local
|