Home
last modified time | relevance | path

Searched defs:json (Results 1 - 25 of 106) sorted by relevance

12345

/base/msdp/device_status/utils/common/include/
H A Djson_parser.h38 cJSON *json = nullptr; member
/base/security/selinux_adapter/scripts/selinux_check/
H A Dcheck_common.py20 import json namespace
/base/update/updateservice/services/core/ability/model/include/
H A Ddevice_info.h34 nlohmann::ordered_json json = nlohmann::ordered_json::object(); in ToJson() local
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/
H A Dgenerate_dat.py19 import json namespace
/base/customization/enterprise_device_management/test/fuzztest/adminpoliciesstoragerdb_fuzzer/
H A Dadmin_policies_storage_rdb_fuzzer.cpp80 Json::Value json; in LLVMFuzzerTestOneInput() local
/base/powermgr/power_manager/utils/native/src/
H A Dpower_utils.cpp187 const std::string PowerUtils::JsonToSimpleStr(const std::string& json) in JsonToSimpleStr() argument
/base/security/access_token/services/tokensyncmanager/src/command/
H A Dsync_remote_hap_token_command.cpp53 SyncRemoteHapTokenCommand::SyncRemoteHapTokenCommand(const std::string &json) in SyncRemoteHapTokenCommand() argument
H A Dupdate_remote_hap_token_command.cpp45 UpdateRemoteHapTokenCommand::UpdateRemoteHapTokenCommand(const std::string &json) in UpdateRemoteHapTokenCommand() argument
H A Ddelete_remote_token_command.cpp46 DeleteRemoteTokenCommand::DeleteRemoteTokenCommand(const std::string& json) in DeleteRemoteTokenCommand() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
H A Ddevauthservgetregisterinfo_fuzzer.cpp25 static void GenerateReqJson(CJson *json, const char *deviceId) in GenerateReqJson() argument
/base/security/dlp_permission_service/services/dlp_permission/sa/mock/
H A Dmock_utils.cpp44 unordered_json json; in ModifyParseData() local
/base/startup/appspawn/util/include/
H A Djson_utils.h34 __attribute__((always_inline)) inline char *GetStringFromJsonObj(const cJSON *json, const char *key) in GetStringFromJsonObj() argument
44 __attribute__((always_inline)) inline bool GetBoolValueFromJsonObj(const cJSON *json, const char *key, bool def) in GetBoolValueFromJsonObj() argument
55 __attribute__((always_inline)) inline uint32_t GetIntValueFromJsonObj(const cJSON *json, const char *key, uint32_t def) in GetIntValueFromJsonObj() argument
[all...]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/security_guard_report/src/
H A Dcm_security_guard_report.cpp40 void InfoToJson(const struct CmReportSGInfo *info, char *json, int32_t jsonLen) in InfoToJson() argument
/base/startup/init/services/etc/appender/
H A Dfile_appender.py20 import json namespace
/base/sensors/miscdevice/utils/tools/haptic_format_converter/tests/
H A Dtest_converter.py24 import json namespace
[all...]
/base/hiviewdfx/hiview/base/utility/
H A Dcjson_util.cpp36 int64_t GetIntValue(const cJSON* json, const std::string& key, int64_t defaultValue) in GetIntValue() argument
48 double GetDoubleValue(cJSON* json, const std::string& key, double defaultValue) in GetDoubleValue() argument
60 std::string GetStringValue(cJSON* json, const std::string& key) in GetStringValue() argument
72 GetStringArray(cJSON* json, const std::string& key, std::vector<std::string>& dest) GetStringArray() argument
94 GetObjectValue(const cJSON* json, const std::string& key) GetObjectValue() argument
106 GetArrayValue(const cJSON* json, const std::string& key) GetArrayValue() argument
118 GetBoolValue(const cJSON* json, const std::string& key, bool& value) GetBoolValue() argument
[all...]
/base/hiviewdfx/hisysevent/frameworks/native/
H A Djson_flatten_parser.cpp51 JsonFlattenParser::JsonFlattenParser(const std::string& json) in JsonFlattenParser() argument
57 void JsonFlattenParser::Parse(const std::string& json) in Parse() argument
74 std::string json = "{"; in Print() local
85 ParseKey(const std::string& json) ParseKey() argument
100 ParseValue(const std::string& json) ParseValue() argument
131 ParseNumer(const std::string& json) ParseNumer() argument
144 ParseString(const std::string& json) ParseString() argument
160 ParseBrackets(const std::string& json, char leftBracket) ParseBrackets() argument
[all...]
/base/hiviewdfx/hiview/build/
H A Dgen_plugin_build.py17 import json namespace
/base/hiviewdfx/hiview/utility/smart_parser/rule/
H A Dcompose_rule.cpp66 void ComposeRule::ParseRule(const Json::Value& json, const string& type, vector<string>& featureIds) in ParseRule() argument
80 std::map<std::string, std::string> ComposeRule::GetMapFromJson(const Json::Value& json, const string& featureId) in GetMapFromJson() argument
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/
H A Dfreeze_detector_plugin_module_test.cpp94 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," in HWTEST_F() local
125 std::string json = "{\"MSG\":\"UI_BLOCK_3S\",\"PID\":1669,\"UID\":2208," in HWTEST_F() local
157 std::string json = "{\"MSG\":\"TRANSPARENT_WINDOWS, isFault = true\",\"PID\":1669,\"UID\":2208," in HWTEST_F() local
181 std::string json = "{\\"MSG\\":\\"UI_BLOCK_6S\\",\\"PID\\":1669,\\"UID\\":2208," HWTEST_F() local
[all...]
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
H A Dnativetoken_oper_test.cpp222 cJSON* json = cJSON_Parse(stringJson1.c_str()); in HWTEST_F() local
/base/security/access_token/frameworks/test/unittest/
H A Dcommon_test.cpp116 const nlohmann::json json; in HWTEST_F() local
/base/security/access_token/services/tokensyncmanager/test/mock/src/
H A Dsoft_bus_socket_mock.cpp81 void CompressMock(const std::string &json, const unsigned char *compressedBytes, int &compressedLength) in CompressMock() argument
/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Djson_parser_utils.cpp55 bool JsonParserUtils::GetJsonString(const cJSON* json, const std::string& key, std::string& value) in GetJsonString() argument
67 bool JsonParserUtils::GetJsonInt(const cJSON* json, const std::string& key, int& value) in GetJsonInt() argument
79 bool JsonParserUtils::GetJsonStringVec(const cJSON* json, const std::string& key, StringVec& value) in GetJsonStringVec() argument
97 ParseJsonToObjVec(const cJSON* json, const std::string& key, JsonObjVec& jsonObjVec) ParseJsonToObjVec() argument
115 ParseJsonToMap(const cJSON* json, JsonMap& jsonMap) ParseJsonToMap() argument
[all...]
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/
H A Ddevauthservcheckaccesstogroup_fuzzer.cpp37 CJson *json = CreateJsonFromString(authReturn); in OnFinish() local

Completed in 15 milliseconds

12345