/base/inputmethod/imf/frameworks/js/napi/common/ |
D | js_util.h | 29 static bool GetValue(napi_env env, napi_value in, std::string &out); 30 static bool GetValue(napi_env env, napi_value in, std::u16string &out); 31 static bool GetValue(napi_env env, napi_value in, int32_t &out); 32 static bool GetValue(napi_env env, napi_value in, uint32_t &out); 33 static bool GetValue(napi_env env, napi_value in, int64_t &out); 34 static bool GetValue(napi_env env, napi_value in, bool &out); 35 static bool GetValue(napi_env env, napi_value in, double &out); 36 template<typename T> static bool GetValue(napi_env env, napi_value in, std::vector<T> &items) in GetValue() function 45 if (status != napi_ok || !GetValue(env, item, buff)) { in GetValue() 54 static napi_value GetValue(napi_env env, napi_value in); [all …]
|
D | js_util.cpp | 28 bool JsUtil::GetValue(napi_env env, napi_value in, std::string &out) in GetValue() function in OHOS::MiscServices::JsUtil 41 bool JsUtil::GetValue(napi_env env, napi_value in, std::u16string &out) in GetValue() function in OHOS::MiscServices::JsUtil 44 bool ret = GetValue(env, in, tempOut); in GetValue() 50 bool JsUtil::GetValue(napi_env env, napi_value in, int32_t &out) in GetValue() function in OHOS::MiscServices::JsUtil 54 bool JsUtil::GetValue(napi_env env, napi_value in, uint32_t &out) in GetValue() function in OHOS::MiscServices::JsUtil 58 bool JsUtil::GetValue(napi_env env, napi_value in, int64_t &out) in GetValue() function in OHOS::MiscServices::JsUtil 62 bool JsUtil::GetValue(napi_env env, napi_value in, bool &out) in GetValue() function in OHOS::MiscServices::JsUtil 66 bool JsUtil::GetValue(napi_env env, napi_value in, double &out) in GetValue() function in OHOS::MiscServices::JsUtil 70 napi_value JsUtil::GetValue(napi_env env, napi_value in) in GetValue() function in OHOS::MiscServices::JsUtil 74 napi_value JsUtil::GetValue(napi_env env, const std::string &in) in GetValue() function in OHOS::MiscServices::JsUtil [all …]
|
/base/inputmethod/imf/services/include/ |
D | sys_cfg_parser.h | 35 GetValue(node, GET_NAME(systemInputMethodConfigAbility), systemInputMethodConfigAbility); in Unmarshal() 36 GetValue(node, GET_NAME(defaultInputMethod), defaultInputMethod); in Unmarshal() 37 GetValue(node, GET_NAME(enableInputMethodFeature), enableInputMethodFeature); in Unmarshal() 38 GetValue(node, GET_NAME(enableFullExperienceFeature), enableFullExperienceFeature); in Unmarshal() 46 return GetValue(node, GET_NAME(systemConfig), systemConfig); in Unmarshal() 57 auto ret = GetValue(node, GET_NAME(inputType), typeTemp); in Unmarshal() 62 ret = GetValue(node, GET_NAME(bundleName), bundleName) && ret; in Unmarshal() 63 ret = GetValue(node, GET_NAME(subtypeId), subName) && ret; in Unmarshal() 71 return GetValue(node, GET_NAME(supportedInputTypeList), inputType); in Unmarshal() 83 auto ret = GetValue(node, GET_NAME(style), style); in Unmarshal() [all …]
|
D | ime_cfg_manager.h | 45 auto ret = GetValue(node, GET_NAME(userId), userId); in Unmarshal() 46 ret = GetValue(node, GET_NAME(currentIme), currentIme) && ret; in Unmarshal() 47 GetValue(node, GET_NAME(currentSubName), currentSubName); in Unmarshal() 60 return GetValue(node, GET_NAME(imeCfgList), imePersistInfo); in Unmarshal()
|
D | ime_info_inquirer.h | 61 GetValue(node, GET_NAME(label), label); in Unmarshal() 62 auto ret = GetValue(node, GET_NAME(id), id); in Unmarshal() 63 GetValue(node, GET_NAME(icon), icon); in Unmarshal() 64 GetValue(node, GET_NAME(mode), mode); in Unmarshal() 65 GetValue(node, GET_NAME(locale), locale); in Unmarshal() 74 return GetValue(node, GET_NAME(subtypes), subtypes, MAX_SUBTYPE_NUM); in Unmarshal()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | js_utils.h | 107 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 108 static napi_status GetValue(napi_env env, napi_value in, uint32_t &out); 109 static napi_status GetValue(napi_env env, napi_value in, bool &out); 110 static napi_status GetValue(napi_env env, napi_value in, double &out); 111 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 112 …static napi_status GetValue(napi_env env, napi_value in, std::unordered_map<std::string, PrivateDa… 113 static napi_status GetValue(napi_env env, napi_value in, PrivateDataValue &out); 114 …static napi_status GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out); 115 static napi_status GetValue(napi_env env, napi_value in, PanelInfo &out); 116 static napi_value GetValue(napi_env env, const std::vector<InputWindowInfo> &in); [all …]
|
D | js_utils.cpp | 197 napi_status JsUtils::GetValue(napi_env env, napi_value in, int32_t &out) in GetValue() function in OHOS::MiscServices::JsUtils 206 napi_status JsUtils::GetValue(napi_env env, napi_value in, uint32_t &out) in GetValue() function in OHOS::MiscServices::JsUtils 214 napi_status JsUtils::GetValue(napi_env env, napi_value in, bool &out) in GetValue() function in OHOS::MiscServices::JsUtils 222 napi_status JsUtils::GetValue(napi_env env, napi_value in, double &out) in GetValue() function in OHOS::MiscServices::JsUtils 231 napi_status JsUtils::GetValue(napi_env env, napi_value in, std::string &out) in GetValue() function in OHOS::MiscServices::JsUtils 260 napi_status JsUtils::GetValue(napi_env env, napi_value in, std::unordered_map<std::string, PrivateD… in GetValue() function in OHOS::MiscServices::JsUtils 288 status = GetValue(env, key, keyStr); in GetValue() 292 status = GetValue(env, value, privateCommand); in GetValue() 299 napi_status JsUtils::GetValue(napi_env env, napi_value in, PrivateDataValue &out) in GetValue() function in OHOS::MiscServices::JsUtils 306 status = GetValue(env, in, privateDataStr); in GetValue() [all …]
|
/base/update/updater/services/script/script_interpreter/ |
D | script_context.cpp | 97 value = inter->GetValue(); in GetParam() 175 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 184 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 201 retValue = make_shared<IntegerValue>(this->GetValue() op value->GetValue()); \ 215 if (value == nullptr || value->GetValue() == 0) { \ 218 retValue = make_shared<IntegerValue>(this->GetValue() / value->GetValue()); \ 224 if (value == nullptr || value->GetValue() == 0) { \ 227 retValue = make_shared<FloatValue>(this->GetValue() / value->GetValue()); \ 295 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ 304 retValue = make_shared<FloatValue>(this->GetValue() op value->GetValue()); \ [all …]
|
D | script_context.h | 79 int32_t GetValue() const in GetValue() function 101 float GetValue() const in GetValue() function 125 std::string GetValue() const in GetValue() function 176 int32_t GetValue() const in GetValue() function
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | js_util_test.cpp | 73 JsUtil::GetValue(env, in, test); in GetInt32() 74 return JsUtil::GetValue(env, test); in GetInt32() 81 JsUtil::GetValue(env, in, test); in GetInt64() 82 return JsUtil::GetValue(env, test); in GetInt64() 89 JsUtil::GetValue(env, in, test); in GetUint32() 90 return JsUtil::GetValue(env, test); in GetUint32() 97 JsUtil::GetValue(env, in, test); in GetBool() 98 return JsUtil::GetValue(env, test); in GetBool() 105 JsUtil::GetValue(env, in, test); in GetString() 106 return JsUtil::GetValue(env, test); in GetString() [all …]
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
D | gpu_collector_impl.cpp | 36 inline int32_t GetValue(const std::string& fileName) in GetValue() function 52 gpuFreq.curFeq = GetValue(GPU_CUR_FREQ); in CollectGpuFrequency() 53 gpuFreq.maxFeq = GetValue(GPU_MAX_FREQ); in CollectGpuFrequency() 54 gpuFreq.minFeq = GetValue(GPU_MIN_FREQ); in CollectGpuFrequency() 65 sysGpuLoad.gpuLoad = GetValue(GPU_LOAD); in CollectSysGpuLoad()
|
/base/inputmethod/imf/services/json/include/ |
D | serializable.h | 38 static bool GetValue(cJSON *node, const std::string &name, std::string &value); 39 static bool GetValue(cJSON *node, const std::string &name, int32_t &value); 40 static bool GetValue(cJSON *node, const std::string &name, uint32_t &value); 41 static bool GetValue(cJSON *node, const std::string &name, bool &value); 42 static bool GetValue(cJSON *node, const std::string &name, Serializable &value); 44 …static bool GetValue(cJSON *node, const std::string &name, std::vector<T> &values, int32_t maxNum … 63 ret = GetValue(item, "", values[i]) && ret;
|
/base/inputmethod/imf/services/json/src/ |
D | serializable.cpp | 54 bool Serializable::GetValue(cJSON *node, const std::string &name, std::string &value) in GetValue() function in OHOS::MiscServices::Serializable 65 bool Serializable::GetValue(cJSON *node, const std::string &name, int32_t &value) in GetValue() function in OHOS::MiscServices::Serializable 76 bool Serializable::GetValue(cJSON *node, const std::string &name, uint32_t &value) in GetValue() function in OHOS::MiscServices::Serializable 92 bool Serializable::GetValue(cJSON *node, const std::string &name, bool &value) in GetValue() function in OHOS::MiscServices::Serializable 103 bool Serializable::GetValue(cJSON *node, const std::string &name, Serializable &value) in GetValue() function in OHOS::MiscServices::Serializable
|
/base/hiviewdfx/hiview/plugins/usage_event_report/service/ |
D | usage_event_report_service.cpp | 83 cacheUsage->Update(KEY_OF_START, cacheUsage->GetValue(KEY_OF_END).GetUint64()); in ReportSysUsage() 96 uint64_t nowUsageTime = nowUsage->GetValue(key).GetUint64(); in UpdateCacheSysUsage() 97 uint64_t lastUsageTime = lastUsage == nullptr ? 0 : lastUsage->GetValue(key).GetUint64(); in UpdateCacheSysUsage() 99 cacheUsage->Update(key, curUsageTime + cacheUsage->GetValue(key).GetUint64()); in UpdateCacheSysUsage() 101 cacheUsage->Update(KEY_OF_END, nowUsage->GetValue(KEY_OF_END).GetUint64()); in UpdateCacheSysUsage()
|
/base/web/webview/ohos_glue/ohos_nweb/bridge/ |
D | ark_web_date_time_suggestion_wrapper.cpp | 38 OHOS::NWeb::DateTime ArkWebDateTimeSuggestionWrapper::GetValue() in GetValue() function in OHOS::ArkWeb::ArkWebDateTimeSuggestionWrapper 40 ArkWebDateTime ark_web_date_time = ark_web_date_time_suggestion_->GetValue(); in GetValue()
|
/base/powermgr/battery_manager/charger/src/ |
D | battery_config.cpp | 83 return !GetValue(key).isNull(); in IsExist() 88 Json::Value value = GetValue(key); in GetInt() 94 Json::Value value = GetValue(key); in GetString() 147 Json::Value soc = GetValue("light." + level + ".soc"); in ParseLightConf() 148 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf() 184 Json::Value BatteryConfig::GetValue(std::string key) const in GetValue() function in OHOS::PowerMgr::BatteryConfig
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | pipeline_test.cpp | 97 ASSERT_EQ(event->GetValue("EventProcessorExample1"), "Done"); in DoTest() 98 ASSERT_EQ(event->GetValue("EventProcessorExample2"), "Done"); in DoTest() 100 ASSERT_EQ(event->GetValue("EventProcessorExample3"), ""); in DoTest() 101 ASSERT_EQ(event->GetValue("EventProcessorExample4"), ""); in DoTest()
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_config.cpp | 84 return !GetValue(key).isNull(); in IsExist() 89 Json::Value value = GetValue(key); in GetInt() 131 Json::Value soc = GetValue("light." + level + ".soc"); in ParseLightConf() 132 Json::Value rgb = GetValue("light." + level + ".rgb"); in ParseLightConf() 168 Json::Value BatteryConfig::GetValue(std::string key) const in GetValue() function in OHOS::PowerMgr::BatteryConfig
|
/base/inputmethod/imf/frameworks/common/ |
D | block_data.h | 42 T GetValue() in GetValue() function 50 bool GetValue(T &data) in GetValue() function
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
D | parse_smaps_rollup_info.cpp | 34 void ParseSmapsRollupInfo::GetValue(const string &str, MemInfoData::MemInfo &memInfo) in GetValue() function in OHOS::HiviewDFX::ParseSmapsRollupInfo 83 GetValue(line, memInfo); in GetMemInfo()
|
/base/web/webview/ohos_glue/ohos_nweb/include/ |
D | ark_web_date_time_suggestion.h | 34 virtual ArkWebDateTime GetValue() = 0;
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_panel.cpp | 113 PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[0], ctxt->path) == napi_ok, in SetUiContent() 158 PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[0], ctxt->width) == napi_ok, in Resize() 161 PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[1], ctxt->height) == napi_ok, in Resize() 189 …PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[0], ctxt->x) == napi_ok, "param x type must be… in MoveTo() 192 …PARAM_CHECK_RETURN(env, JsUtils::GetValue(env, argv[1], ctxt->y) == napi_ok, "param y type must be… in MoveTo() 255 napi_status status = JsUtils::GetValue(env, argv[0], panelFlag); in ChangeFlag() 275 napi_status status = JsUtils::GetValue(env, argv[0], isPrivacyMode); in SetPrivacyMode() 297 if (argc < 2 || !JsUtil::GetValue(env, argv[0], type) || in Subscribe() 328 env, JsUtil::GetValue(env, argv[0], type), "param type must be string", TYPE_NONE, nullptr); in UnSubscribe() 358 CHECK_RETURN(JsUtils::GetValue(env, argv[0], panelFlag) == napi_ok, in AdjustPanelRect()
|
/base/location/frameworks/location_common/common/source/ |
D | location_data_rdb_manager.cpp | 45 GetValue(locationDataEnableUri, LOCATION_DATA_COLUMN_ENABLE, state); in QuerySwitchState() 75 GetValue(locationWorkingStateUri, LOCATION_WORKING_STATE, state); in GetLocationWorkingState()
|
/base/hiviewdfx/hiview/core/test/unittest/common/ |
D | platform_test_result_listener.cpp | 23 processedUnorderedEvents_[msg.GetValue("message")] = msg.sender_; in OnUnorderedEvent()
|
/base/web/webview/ohos_glue/ohos_nweb/ctocpp/ |
D | ark_web_date_time_suggestion_ctocpp.h | 38 ArkWebDateTime GetValue() override;
|