Home
last modified time | relevance | path

Searched defs:jsonStr (Results 1 – 25 of 37) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/eventservice/
Dflat_json_parser.cpp70 FlatJsonParser::FlatJsonParser(const std::string& jsonStr) in FlatJsonParser()
76 void FlatJsonParser::Parse(const std::string& jsonStr) in Parse()
93 std::string jsonStr = "{"; in Print() local
104 std::string FlatJsonParser::ParseKey(const std::string& jsonStr) in ParseKey()
119 std::string FlatJsonParser::ParseValue(const std::string& jsonStr) in ParseValue()
150 std::string FlatJsonParser::ParseNumer(const std::string& jsonStr) in ParseNumer()
163 std::string FlatJsonParser::ParseString(const std::string& jsonStr) in ParseString()
179 std::string FlatJsonParser::ParseBrackets(const std::string& jsonStr, char leftBracket) in ParseBrackets()
Devent_json_parser.cpp152 std::string jsonStr = event->jsonExtraInfo_; in EventJsonParser() local
194 void EventJsonParser::AppendExtensiveInfo(const Json::Value& eventJson, std::string& jsonStr, in EventJsonParser()
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_plugin_test.cpp118 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
137 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
169 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
195 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
221 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
247 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
Devent_logger_action_test.cpp135 std::string jsonStr = R"~({"domain_":"demo","name_":")~" + name + R"~(","pid_":)~" + in StartCreate() local
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp55 …const char *jsonStr = "{\"services\":{\"name\":\"test_service\",\"path\":[\"/data/init_ut/test_ser… variable
77 …const char *jsonStr = "{\"services\":{\"name\":\"test_service8\",\"path\":[\"/data/init_ut/test_se… variable
120 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
250 …const char *jsonStr = "{\"services\":{\"name\":\"test_service2\",\"path\":[\"/data/init_ut/test_se… variable
Dcmds_unittest.cpp244 const char *jsonStr = "{\"jobs\":[{\"name\":\"init\",\"cmds\":[\"sleep 1\"]}]}"; variable
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Djson_parser.cpp40 bool JsonParser::ParseJsonString(Json::Value& eventJson, const std::string& jsonStr) in ParseJsonString()
94 … JsonParser::ParsePluginStatsEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParsePluginStatsEvent()
118 bool JsonParser::ParseSysUsageEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParseSysUsageEvent()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp385 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<bool>& bs) c… in AddVectorToJsonString()
401 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<char>& cs) c… in AddVectorToJsonString()
417 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int16_t>& sh… in AddVectorToJsonString()
433 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int>& is) co… in AddVectorToJsonString()
449 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int64_t>& ll… in AddVectorToJsonString()
465 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<float>& fs) … in AddVectorToJsonString()
481 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<double>& ds)… in AddVectorToJsonString()
497 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<std::string>… in AddVectorToJsonString()
513 void AppEventPack::AddOthersToJsonString(std::stringstream& jsonStr, const AppEventParam param) con… in AddOthersToJsonString()
555 std::stringstream jsonStr; in GetJsonString() local
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_value.h27 HiSysEventValue(std::string jsonStr) in HiSysEventValue()
Dhisysevent_record.h35 HiSysEventRecord(std::string jsonStr) in HiSysEventRecord()
Dhisysevent_record_c.h43 char* jsonStr; member
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
Dsys_event_dao_test.cpp68 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_001","type_":1,"tz_":8,"time_… variable
156 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_003","type_":2,"tz_":8,"time_… variable
275 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_006","type_":3,"tz_":8,"time_… variable
321 std::string jsonStr; variable
491 std::string jsonStr; variable
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_view_api_unittest.cpp61 string jsonStr = R"({"locale":{ variable
/base/sensors/miscdevice/utils/src/
Djson_parser.cpp31 std::string jsonStr = ReadJsonFile(filePath); in JsonParser() local
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_test.cpp50 auto jsonStr = "{\"domain_\":\"" + domain + "\"}"; in makeEvent() local
184 auto jsonStr = "{\"domain_\":\"TEST_INPUT\"}"; variable
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_unittest.cpp266 …std::string jsonStr = R"~({"domain_":"RELIABILITY","name_":"CPP_CRASH","type_":1,"time_":150197370… variable
380 …std::string jsonStr = R"~({"domain_":"RELIABILITY","name_":"CPP_CRASH","type_":1,"time_":150197370… variable
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Djson_parser_utils.cpp42 std::string jsonStr = buf.str(); in ReadTrustedRootCAFromJson() local
/base/security/permission_lite/services/pms/src/
Dpms_impl.c175 static int ParsePermissions(const char *jsonStr, PermissionSaved **perms, int *permNum) in ParsePermissions()
221 const char *jsonStr = cJSON_PrintUnformatted(root); in WritePermissions() local
297 char *jsonStr = NULL; in QueryPermissionString() local
319 const char *jsonStr = QueryPermissionString(identifier, &errCode); in QueryPermission() local
Dpms_server.c132 char *jsonStr = QueryPermissionString(identifier, &ret); in ReplyQueryPermission() local
/base/hiviewdfx/hiview/plugins/hicollie_collector/test/unittest/common/
Dhicollie_collector_test.cpp48 auto jsonStr = "{\"domain_\":\"" + domain + "\"}"; in makeEvent() local
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c26 CJson *CreateJsonFromString(const char *jsonStr) in CreateJsonFromString()
114 void FreeJsonString(char *jsonStr) in FreeJsonString()
519 void ClearAndFreeJsonString(char *jsonStr) in ClearAndFreeJsonString()
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/
Dhisyseventmanager_fuzzer.cpp89 const std::string jsonStr = R"~({"domain_":"test_domain","name_":"test_name"})~"; in HiSysEventRecordFuzzTest() local
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_database.cpp42 bool ParseFaultLogInfoFromJson(const std::string& jsonStr, FaultLogInfo& info) in ParseFaultLogInfoFromJson()
/base/update/updater/test/unittest/utils/json/
Dutils_json_visitor_test.cpp81 …id TestInvalidCases(T &obj, const std::array<PairType, N> &replaceData, const std::string &jsonStr) in TestInvalidCases()
/base/hiviewdfx/hiview/plugins/eventservice/test/unittest/common/
Devent_service_action_test.cpp214 std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_003","type_":1,"tz_":8, variable

12