/base/hiviewdfx/hisysevent/frameworks/native/ |
D | json_flatten_parser.cpp | 51 JsonFlattenParser::JsonFlattenParser(const std::string& json) in JsonFlattenParser() 57 void JsonFlattenParser::Parse(const std::string& json) in Parse() 74 std::string json = "{"; in Print() local 85 std::string JsonFlattenParser::ParseKey(const std::string& json) in ParseKey() 100 std::string JsonFlattenParser::ParseValue(const std::string& json) in ParseValue() 131 std::string JsonFlattenParser::ParseNumer(const std::string& json) in ParseNumer() 144 std::string JsonFlattenParser::ParseString(const std::string& json) in ParseString() 160 std::string JsonFlattenParser::ParseBrackets(const std::string& json, char leftBracket) in ParseBrackets()
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
D | creds_manager_test.cpp | 126 CJson *json = CreateJson(); in OnBindRequest() local 138 CJson *json = CreateJson(); in OnAuthRequest() local 375 CJson *json = CreateJson(); in CreateDemoIdenticalAccountGroup() local 403 CJson *json = CreateJson(); in CreateClientSymIdenticalAccountGroup() local 431 CJson *json = CreateJson(); in CreateServerSymIdenticalAccountGroup() local 610 CJson *json = CreateJson(); variable 618 CJson *json = CreateJson(); variable 629 CJson *json = CreateJson(); variable 639 CJson *json = CreateJson(); variable 651 CJson *json = CreateJson(); variable [all …]
|
/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/security/security_component_manager/frameworks/security_component/src/ |
D | sec_comp_base.cpp | 60 bool SecCompBase::ParseDimension(const nlohmann::json& json, const std::string& tag, DimensionT& re… in ParseDimension() 71 bool SecCompBase::ParseColor(const nlohmann::json& json, const std::string& tag, SecCompColor& res) in ParseColor() 82 bool SecCompBase::ParseBool(const nlohmann::json& json, const std::string& tag, bool& res) in ParseBool() 93 bool SecCompBase::ParsePadding(const nlohmann::json& json, const std::string& tag, PaddingSize& res) in ParsePadding() 116 bool SecCompBase::ParseColors(const nlohmann::json& json, const std::string& tag) in ParseColors() 135 bool SecCompBase::ParseBorders(const nlohmann::json& json, const std::string& tag) in ParseBorders() 145 bool SecCompBase::ParseSize(const nlohmann::json& json, const std::string& tag) in ParseSize() 172 bool SecCompBase::ParseParent(const nlohmann::json& json, const std::string& tag) in ParseParent() 182 bool SecCompBase::ParseRect(const nlohmann::json& json, const std::string& tag, SecCompRect& rect) in ParseRect() 316 nlohmann::json json; in ToJsonStr() local [all …]
|
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/ |
D | freeze_detector_plugin_module_test.cpp | 94 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable 125 std::string json = "{\"MSG\":\"UI_BLOCK_3S\",\"PID\":1669,\"UID\":2208," variable 157 std::string json = "{\"MSG\":\"TRANSPARENT_WINDOWS, isFault = true\",\"PID\":1669,\"UID\":2208," variable 181 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable
|
/base/sensors/miscdevice/utils/common/src/ |
D | json_parser.cpp | 57 bool JsonParser::HasObjectItem(cJSON *json, const std::string &key) const in HasObjectItem() 67 cJSON *JsonParser::GetObjectItem(cJSON *json, const std::string &key) const in GetObjectItem() 85 int32_t JsonParser::ParseJsonArray(cJSON *json, const std::string &key, in ParseJsonArray() 120 cJSON *JsonParser::GetArrayItem(cJSON *json, int32_t index) const in GetArrayItem()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | creds_manager_test.cpp | 98 CJson *json = CreateJson(); variable 120 CJson *json = CreateJson(); variable 166 CJson *json = CreateJson(); variable
|
D | deviceauth_func_test.cpp | 101 CJson *json = CreateJson(); in OnAuthRequest() local 113 CJson *json = CreateJson(); in OnAuthRequestDirectTmp() local 124 CJson *json = CreateJson(); in OnAuthRequestDirect() local 169 CJson *json = CreateJson(); in AuthDeviceDirectWithPinDemo() local 217 CJson *json = CreateJson(); in AuthDeviceDirectDemo() local 307 CJson *json = CreateJson(); in ProcessCredentiaCreateDemo() local 349 CJson *json = CreateJson(); in ProcessCredentialQueryDemo() local 386 CJson *json = CreateJson(); in ProcessCredentialDemoImpPubKey() local 424 CJson *json = CreateJson(); in CreateServerKeyPair() local 462 CJson *json = CreateJson(); in DeleteServerKeyPair() local [all …]
|
D | p2p_bind_ipc_test.cpp | 115 CJson *json = CreateJson(); in OnAuthRequestDirectTmp() local 126 CJson *json = CreateJson(); in OnAuthRequestDirect() local 188 CJson *json = CreateJson(); in CreateServerKeyPair() local 236 CJson *json = CreateJson(); in DeleteServerKeyPair() local 282 CJson *json = CreateJson(); in ProcessCredentialDemo() local 317 CJson *json = CreateJson(); in ProcessCredentialDemoImport() local
|
/base/msdp/device_status/utils/common/include/ |
D | json_parser.h | 37 cJSON *json = nullptr; member
|
/base/update/updateservice/services/core/ability/model/include/ |
D | device_info.h | 34 nlohmann::ordered_json json = nlohmann::ordered_json::object(); in ToJson() local
|
/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/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
D | visit_record_json_manager.cpp | 107 void VisitRecordJsonManager::VisitRecordInfoToJson(Json& json, const VisitRecordInfo& info) const in VisitRecordInfoToJson() 115 bool VisitRecordJsonManager::VisitRecordInfoFromJson(const Json& json, VisitRecordInfo& info) const in VisitRecordInfoFromJson() argument 165 for (const auto& json : jsonObject[RECORDLIST]) { in FromJson() local
|
/base/account/os_account/services/accountmgr/include/ |
D | ohos_account_data_deal.h | 29 using json = nlohmann::json; variable
|
/base/startup/appspawn/util/src/ |
D | json_utils.cpp | 45 bool JsonUtils::GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &… in GetStringFromJson()
|
/base/msdp/device_status/tools/vdev/include/ |
D | virtual_device_builder.h | 33 using json = nlohmann::json; variable
|
/base/startup/init/services/init/ |
D | init_service_manager.c | 189 static char *GetStringValue(const cJSON *json, const char *name, size_t *strLen) in GetStringValue() 243 static int GetUid(cJSON *json, uid_t *uid) in GetUid() 259 static int GetGid(cJSON *json, gid_t *gid, Service *curServ) in GetGid() 341 static int ParseSocketFamily(cJSON *json, ServiceSocket *sockopt) in ParseSocketFamily() 356 static int ParseSocketType(cJSON *json, ServiceSocket *sockopt) in ParseSocketType() 373 static int ParseSocketProtocol(cJSON *json, ServiceSocket *sockopt) in ParseSocketProtocol() 392 static int ParseSocketOption(cJSON *json, ServiceSocket *sockopt) in ParseSocketOption() 422 static int AddServiceSocket(cJSON *json, Service *service) in AddServiceSocket() 498 static int AddServiceFile(cJSON *json, Service *service) in AddServiceFile() 604 static int GetServiceMode(Service *service, const cJSON *json) in GetServiceMode() [all …]
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmultimemberstogroup_fuzzer/ |
D | devauthservaddmultimemberstogroup_fuzzer.cpp | 37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 69 static void GenerateAddMultiMemberParamsJson(CJson *json) in GenerateAddMultiMemberParamsJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/ |
D | devauthservgetregisterinfo_fuzzer.cpp | 25 static void GenerateReqJson(CJson *json, const char *deviceId) in GenerateReqJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/ |
D | devauthservaddmembertogroup_fuzzer.cpp | 37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 69 static void GenerateAddMemberParamsJson(CJson *json) in GenerateAddMemberParamsJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletememberfromgroup_fuzzer/ |
D | devauthservdeletememberfromgroup_fuzzer.cpp | 37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 69 static void GenerateDeleteMemberParamsJson(CJson *json, const char *deleteId) in GenerateDeleteMemberParamsJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletemultimembersfromgroup_fuzzer/ |
D | devauthservdeletemultimembersfromgroup_fuzzer.cpp | 37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 69 static void GenerateDeleteMultiMembersParamsJson(CJson *json, const char *deleteId) in GenerateDeleteMultiMembersParamsJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/ |
D | devauthservgetpkinfolist_fuzzer.cpp | 37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 69 static void GenerateReqJson(CJson *json) in GenerateReqJson()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/ |
D | devauthservauthdevice_fuzzer.cpp | 39 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local 71 static void GenerateAuthParamsJson(CJson *json, const char *deviceId) in GenerateAuthParamsJson()
|