Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 92) sorted by relevance

1234

/base/hiviewdfx/hisysevent/frameworks/native/
Djson_flatten_parser.cpp51 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/
Dcreds_manager_test.cpp126 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/
Djson_parser_utils.cpp51 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/
Dsec_comp_base.cpp60 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/
Dfreeze_detector_plugin_module_test.cpp94 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/
Djson_parser.cpp57 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/
Dcreds_manager_test.cpp98 CJson *json = CreateJson(); variable
120 CJson *json = CreateJson(); variable
166 CJson *json = CreateJson(); variable
Ddeviceauth_func_test.cpp101 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 …]
Dp2p_bind_ipc_test.cpp115 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/
Djson_parser.h37 cJSON *json = nullptr; member
/base/update/updateservice/services/core/ability/model/include/
Ddevice_info.h34 nlohmann::ordered_json json = nlohmann::ordered_json::object(); in ToJson() local
/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dcompose_rule.cpp66 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()
Dextract_rule.cpp58 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/
Dvisit_record_json_manager.cpp107 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/
Dohos_account_data_deal.h29 using json = nlohmann::json; variable
/base/startup/appspawn/util/src/
Djson_utils.cpp45 bool JsonUtils::GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &… in GetStringFromJson()
/base/msdp/device_status/tools/vdev/include/
Dvirtual_device_builder.h33 using json = nlohmann::json; variable
/base/startup/init/services/init/
Dinit_service_manager.c189 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/
Ddevauthservaddmultimemberstogroup_fuzzer.cpp37 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/
Ddevauthservgetregisterinfo_fuzzer.cpp25 static void GenerateReqJson(CJson *json, const char *deviceId) in GenerateReqJson()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/
Ddevauthservaddmembertogroup_fuzzer.cpp37 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/
Ddevauthservdeletememberfromgroup_fuzzer.cpp37 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/
Ddevauthservdeletemultimembersfromgroup_fuzzer.cpp37 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/
Ddevauthservgetpkinfolist_fuzzer.cpp37 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/
Ddevauthservauthdevice_fuzzer.cpp39 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local
71 static void GenerateAuthParamsJson(CJson *json, const char *deviceId) in GenerateAuthParamsJson()

1234