Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 116) sorted by relevance

12345

/base/inputmethod/imf/frameworks/js/napi/common/
Djs_util.h29 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 …]
Djs_util.cpp28 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/
Dsys_cfg_parser.h35 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 …]
Dime_cfg_manager.h45 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()
Dime_info_inquirer.h61 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/
Djs_utils.h107 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 …]
Djs_utils.cpp197 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/
Dscript_context.cpp97 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 …]
Dscript_context.h79 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/
Djs_util_test.cpp73 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/
Dgpu_collector_impl.cpp36 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/
Dserializable.h38 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/
Dserializable.cpp54 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/
Dusage_event_report_service.cpp83 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/
Dark_web_date_time_suggestion_wrapper.cpp38 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/
Dbattery_config.cpp83 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/
Dpipeline_test.cpp97 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/
Dbattery_config.cpp84 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/
Dblock_data.h42 T GetValue() in GetValue() function
50 bool GetValue(T &data) in GetValue() function
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
Dparse_smaps_rollup_info.cpp34 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/
Dark_web_date_time_suggestion.h34 virtual ArkWebDateTime GetValue() = 0;
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_panel.cpp113 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/
Dlocation_data_rdb_manager.cpp45 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/
Dplatform_test_result_listener.cpp23 processedUnorderedEvents_[msg.GetValue("message")] = msg.sender_; in OnUnorderedEvent()
/base/web/webview/ohos_glue/ohos_nweb/ctocpp/
Dark_web_date_time_suggestion_ctocpp.h38 ArkWebDateTime GetValue() override;

12345