/ohos5.0/foundation/multimodalinput/input/service/key_command/test/ |
H A D | key_command_handler_util_test.cpp | 89 cJSON *jsonData = cJSON_CreateObject(); variable 107 cJSON* jsonData = cJSON_CreateObject(); variable 123 cJSON* jsonData = cJSON_CreateObject(); variable 242 cJSON *jsonData = nullptr; variable 295 cJSON* jsonData = nullptr; variable 881 cJSON *jsonData = nullptr; variable 1072 cJSON *jsonData = nullptr; variable 1140 const cJSON* jsonData = nullptr; variable 1203 cJSON* jsonData = nullptr; variable 1440 cJSON* jsonData = nullptr; variable [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | json_util.h | 47 …const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, … in SafeGetJsonValue() 61 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 71 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 81 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 108 inline void FromJson(const JsonType& jsonData, BASE_NS::array_view<T> container) in FromJson() 118 inline void FromJson(const JsonType& jsonData, BASE_NS::vector<T>& container) in FromJson() 127 inline void FromJson(const JsonType& jsonData, T (&container)[N]) in FromJson() 136 inline void FromJson(const JsonType& jsonData, T& output) in FromJson()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | json_util.h | 49 …const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, … in SafeGetJsonValue() 63 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 73 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 83 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 110 inline void FromJson(const JsonType& jsonData, BASE_NS::array_view<T> container) in FromJson() 120 inline void FromJson(const JsonType& jsonData, BASE_NS::vector<T>& container) in FromJson() 129 inline void FromJson(const JsonType& jsonData, T (&container)[N]) in FromJson() 138 inline void FromJson(const JsonType& jsonData, T& output) in FromJson()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader_util.cpp | 167 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::RasterizationState>& context) in FromJson() 184 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::StencilOpState>& context) in FromJson() 195 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::DepthStencilState>& context) in FromJson() 226 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState::Attachment>&… in FromJson() 240 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState>& context) in FromJson() 265 void ParseStateFlags(const CORE_NS::json::value& jsonData, GraphicsStateFlags& stateFlags, ShaderSt… in ParseStateFlags() 270 void ParseSingleState(const json::value& jsonData, ShaderStateResult& ssr) in ParseSingleState() 323 ShaderStateResult LoadStates(const json::value& jsonData) in LoadStates()
|
H A D | json_util.h | 75 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 85 inline bool FromJson(const CORE_NS::json::value& jsonData, T& result) in FromJson() 127 inline void FromJson(const JsonType& jsonData, BASE_NS::array_view<T> container) in FromJson() 137 inline void FromJson(const JsonType& jsonData, BASE_NS::vector<T>& container) in FromJson() 146 inline void FromJson(const JsonType& jsonData, T (&container)[N]) in FromJson() 152 bool SafeGetJsonValue(const JsonType& jsonData, const BASE_NS::string_view element, BASE_NS::string… in SafeGetJsonValue() 164 bool SafeGetJsonValue(const JsonType& jsonData, const BASE_NS::string_view element, BASE_NS::string… in SafeGetJsonValue() 176 bool SafeGetJsonEnum(const JsonType& jsonData, const BASE_NS::string_view element, BASE_NS::string&… in SafeGetJsonEnum() 212 …const JsonType& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, BASE_NS::Uid… in SafeGetJsonUidValue() 249 …const JsonType& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, uint32_t& ou… in SafeGetJsonMask() [all …]
|
H A D | pipeline_layout_loader.cpp | 66 void FromJson(const json::value& jsonData, JsonContext<DescriptorSetLayout>& context) in FromJson() 76 PipelineLayoutLoader::LoadResult Load(const json::value& jsonData, const string_view uri, PipelineL… in Load() 155 if (json::value jsonData = json::parse(jsonString.data()); jsonData) { in Load() local
|
H A D | shader_data_loader.cpp | 37 void LoadState(const json::value& jsonData, GraphicsState& graphicsState, GraphicsStateFlags& state… in LoadState() 53 …const json::value& jsonData, ShaderDataLoader::ShaderVariant& data, ShaderDataLoader::LoadResult& … in LoadSingleShaderVariant() 82 ShaderDataLoader::LoadResult LoadFunc(const json::value& jsonData, string& baseShader, string& base… in LoadFunc() 189 ShaderDataLoader::LoadResult ShaderDataLoader::Load(string&& jsonData) in Load()
|
H A D | vertex_input_declaration_loader.cpp | 47 …const json::value& jsonData, JsonContext<VertexInputDeclaration::VertexInputAttributeDescription>&… in FromJson() 57 …const json::value& jsonData, const string_view uri, VertexInputDeclarationData& vertexInputDeclara… in LoadState() 93 …const json::value& jsonData, const string_view uri, VertexInputDeclarationData& vertexInputDeclara… in Load()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/ |
H A D | json_util.h | 40 inline void from_json(const json::value& jsonData, T& result) in from_json() 48 inline bool from_json(const CORE_NS::json::value& jsonData, T& result) in from_json() 74 inline void from_json(const json::value& jsonData, BASE_NS::array_view<T> container) in from_json() 84 inline void from_json(const json::value& jsonData, T (&container)[N]) in from_json() 94 …const json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue() 115 …const json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue()
|
H A D | system_graph_loader.cpp | 105 void ReadArrayPropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& error) in ReadArrayPropertyValue() 140 void ReadHandlePropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& erro… in ReadHandlePropertyValue() 150 void ReadVecPropertyValue(const json::value& jsonData, PropertyValue& propertyData, string& /* erro… in ReadVecPropertyValue() 193 void ParseProperties(const json::value& jsonData, ISystem& system, string& error) in ParseProperties() 306 bool ParseSystem(const json::value& jsonData, const array_view<const ITypeInfo* const>& componentMe… in ParseSystem()
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler_util.cpp | 45 bool GetPreKeys(const cJSON* jsonData, ShortcutKey &shortcutKey) in GetPreKeys() 79 bool GetTrigger(const cJSON* jsonData, int32_t &triggerType) in GetTrigger() 122 bool GetKeyFinalKey(const cJSON* jsonData, int32_t &finalKeyInt) in GetKeyFinalKey() 278 bool GetKeyCode(const cJSON* jsonData, int32_t &keyCodeInt) in GetKeyCode() 297 bool GetKeyAction(const cJSON* jsonData, int32_t &keyActionInt) in GetKeyAction() 316 bool GetDelay(const cJSON* jsonData, int64_t &delayInt) in GetDelay() 335 bool GetRepeatTimes(const cJSON* jsonData, int32_t &repeatTimesInt) in GetRepeatTimes() 394 bool GetSequenceKeys(const cJSON* jsonData, Sequence &sequence) in GetSequenceKeys() 458 bool ConvertToKeySequence(const cJSON* jsonData, Sequence &sequence) in ConvertToKeySequence() 491 bool ConvertToExcludeKey(const cJSON* jsonData, ExcludeKey &exKey) in ConvertToExcludeKey() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 371 bool ParseBuffer(LoadResult& loadResult, const json::value& jsonData) in ParseBuffer() 868 bool ParseTexture(LoadResult& loadResult, const json::value& jsonData) in ParseTexture() 893 bool ParseImage(LoadResult& loadResult, const json::value& jsonData) in ParseImage() 1585 bool ParseMesh(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 1687 bool ParseCamera(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 2109 bool ParseNode(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 2249 bool ParseScene(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 2330 bool ParseSkin(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 2545 bool GltfAsset(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() 2668 bool GltfExtras(LoadResult& loadResult, const json::value& jsonData) in PrimitiveAttributes() [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/src/ |
H A D | account_helper_data.cpp | 36 static bool ParseJsonData(nlohmann::json &jsonData) in ParseJsonData() 63 nlohmann::json jsonData; in GetBundleNameTrustList() local 78 nlohmann::json jsonData; in GetAccountEventMap() local
|
H A D | ohos_account_data_deal.cpp | 151 nlohmann::json jsonData = json::parse(fin, nullptr, false); in Init() local 227 …AccountDataDeal::ParseJsonFromFile(const std::string &filePath, nlohmann::json &jsonData, int32_t … in ParseJsonFromFile() 259 const nlohmann::json &jsonData, AccountInfo &accountInfo, const int32_t userId) in GetAccountInfoFromJson() 336 nlohmann::json jsonData; in GetAccountInfo() local
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | syscap_info_collector.cpp | 49 cJSON* jsonData = cJSON_CreateObject(); in ConvertToProfile() local 89 bool SyscapInfoCollector::AddOsSyscapToJson(cJSON* const jsonData, const std::vector<int32_t>& osSy… in AddOsSyscapToJson() 122 bool SyscapInfoCollector::AddPrivateSyscapToJson(cJSON* const jsonData, const char* const privateBu… in AddPrivateSyscapToJson() 132 bool SyscapInfoCollector::GenJsonStr(const cJSON* const jsonData, std::string& jsonStr) in GenJsonStr()
|
H A D | dms_info_collector.cpp | 47 cJSON* jsonData = cJSON_CreateObject(); in ConvertToProfile() local
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/ |
H A D | result_set.cpp | 45 …ltSet::GetValueFromDB(Key &key, JsonObject &filterObj, std::string &jsonKey, std::string &jsonData) in GetValueFromDB() 92 std::string jsonData; in GetNextWithField() local 152 std::string jsonData = matchData_.second; in GetValue() local 239 int ResultSet::CutJsonBranch(std::string &jsonKey, std::string &jsonData) in CutJsonBranch()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view.h | 148 virtual void ExecuteUpdateWithValueParams(const std::string& jsonData) {} in ExecuteUpdateWithValueParams() 149 virtual void ExecuteInitiallyProvidedValue(const std::string& jsonData) {} in ExecuteInitiallyProvidedValue() 227 void ExecuteUpdateWithValueParams(const std::string& jsonData) override in ExecuteUpdateWithValueParams() 377 void ExecuteInitiallyProvidedValue(const std::string& jsonData) override in ExecuteInitiallyProvidedValue()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | custom_utd_json_parser.cpp | 38 bool CustomUtdJsonParser::ParseStoredCustomUtdJson(const std::string &jsonData, in ParseStoredCustomUtdJson() 53 bool CustomUtdJsonParser::ParseUserCustomUtdJson(const std::string &jsonData, in ParseUserCustomUtdJson() 72 …Parser::ConvertUtdCfgsToJson(const std::vector<TypeDescriptorCfg> &typesCfg, std::string &jsonData) in ConvertUtdCfgsToJson()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_parser_util.cpp | 233 inline void FromJson(const json::value& jsonData, JsonContext<RenderNodeGraphInputs::Attachment>& c… in FromJson() 281 …const json::value& jsonData, JsonContext<RenderNodeGraphInputs::RenderNodeGraphGpuImageDesc>& cont… in FromJson() 324 …const json::value& jsonData, JsonContext<RenderNodeGraphInputs::RenderNodeGraphGpuBufferDesc>& con… in FromJson() 338 inline void FromJson(const json::value& jsonData, JsonContext<DescriptorCounts::TypedCount>& contex… in FromJson()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/contentsensor/ |
H A D | app_info_collector.cpp | 37 nlohmann::json jsonData; in ConvertToProfileData() local
|
H A D | storage_info_collector.cpp | 39 nlohmann::json jsonData; in ConvertToProfileData() local
|
H A D | system_info_collector.cpp | 44 nlohmann::json jsonData; in ConvertToProfileData() local
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audioclient/spkclient/src/ |
H A D | dspeaker_client.cpp | 410 char *jsonData = cJSON_PrintUnformatted(jParam); in GetVolumeLevel() local 438 char *jsonData = cJSON_PrintUnformatted(jParam); in OnVolumeKeyEvent() local 467 char *jsonData = cJSON_PrintUnformatted(jParam); in OnInterrupt() local 495 char *jsonData = cJSON_PrintUnformatted(jParam); in OnStateChange() local
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_test/ |
H A D | fms_form_provider_data_test.cpp | 84 bool FmsFormProviderDataTest::CreateJsonFileByJsonData1(const nlohmann::json &jsonData) in CreateJsonFileByJsonData1() 100 bool FmsFormProviderDataTest::CreateJsonFileByJsonData2(const nlohmann::json &jsonData) in CreateJsonFileByJsonData2() 116 bool FmsFormProviderDataTest::CreateMergeJsonFileByJsonData3(const nlohmann::json &jsonData) in CreateMergeJsonFileByJsonData3()
|