/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, const std::string &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, const std::string &in) in GetValue() function in OHOS::MiscServices::JsUtil 76 napi_value JsUtil::GetValue(napi_env env, int32_t in) in GetValue() function in OHOS::MiscServices::JsUtil [all …]
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | js_utils.h | 103 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 104 static napi_status GetValue(napi_env env, napi_value in, uint32_t &out); 105 static napi_status GetValue(napi_env env, napi_value in, bool &out); 106 static napi_status GetValue(napi_env env, napi_value in, double &out); 107 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 108 …static napi_status GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out); 109 static napi_status GetValue(napi_env env, napi_value in, PanelInfo &out); 110 static napi_value GetValue(napi_env env, const std::vector<InputWindowInfo> &in); 111 static napi_value GetValue(napi_env env, const InputWindowInfo &in); 112 static napi_value GetValue(napi_env env, const InputAttribute &attribute); [all …]
|
D | js_utils.cpp | 180 napi_status JsUtils::GetValue(napi_env env, napi_value in, int32_t &out) in GetValue() function in OHOS::MiscServices::JsUtils 189 napi_status JsUtils::GetValue(napi_env env, napi_value in, uint32_t &out) in GetValue() function in OHOS::MiscServices::JsUtils 197 napi_status JsUtils::GetValue(napi_env env, napi_value in, bool &out) in GetValue() function in OHOS::MiscServices::JsUtils 205 napi_status JsUtils::GetValue(napi_env env, napi_value in, double &out) in GetValue() function in OHOS::MiscServices::JsUtils 214 napi_status JsUtils::GetValue(napi_env env, napi_value in, std::string &out) in GetValue() function in OHOS::MiscServices::JsUtils 242 napi_status JsUtils::GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out) in GetValue() function in OHOS::MiscServices::JsUtils 254 napi_status JsUtils::GetValue(napi_env env, napi_value in, PanelInfo &out) in GetValue() function in OHOS::MiscServices::JsUtils 261 status = GetValue(env, propType, panelType); in GetValue() 270 status = JsUtils::GetValue(env, propFlag, panelFlag); in GetValue() 279 napi_value JsUtils::GetValue(napi_env env, const std::vector<InputWindowInfo> &in) in GetValue() function in OHOS::MiscServices::JsUtils [all …]
|
D | js_get_input_method_controller.cpp | 339 if (argc < 2 || !JsUtil::GetValue(env, argv[0], type) in Subscribe() 376 if (argc < 1 || !JsUtil::GetValue(env, argv[0], type) in UnSubscribe() 458 bool JsGetInputMethodController::GetValue(napi_env env, napi_value in, SelectionRange &out) in GetValue() function in OHOS::MiscServices::JsGetInputMethodController 483 bool JsGetInputMethodController::GetValue(napi_env env, napi_value in, TextConfig &out) in GetValue() function in OHOS::MiscServices::JsGetInputMethodController 486 napi_status status = JsUtils::GetValue(env, in, "inputAttribute", attributeResult); in GetValue() 488 bool ret = JsGetInputMethodController::GetValue(env, attributeResult, out.inputAttribute); in GetValue() 492 status = JsUtils::GetValue(env, in, "cursorInfo", cursorInfoResult); in GetValue() 495 result = JsGetInputMethodController::GetValue(env, cursorInfoResult, out.cursorInfo); in GetValue() 500 status = JsUtils::GetValue(env, in, "selection", rangeResult); in GetValue() 502 result = JsGetInputMethodController::GetValue(env, rangeResult, out.range); 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 …]
|
D | input_method_editor_test.cpp | 208 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 230 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue(); 244 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 255 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue(); 269 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 290 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue(); 304 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 318 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue(); 331 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 352 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue();
|
D | permission_verification_exception_test.cpp | 103 bool isFocused = FocusChangedListenerTestImpl::isFocused_->GetValue(); 111 bool unFocus = FocusChangedListenerTestImpl::unFocused_->GetValue();
|
/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/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/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/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_panel.cpp | 104 status = JsUtils::GetValue(env, argv[0], ctxt->path); in SetUiContent() 145 status = JsUtils::GetValue(env, argv[0], ctxt->width); in Resize() 148 status = JsUtils::GetValue(env, argv[1], ctxt->height); in Resize() 175 status = JsUtils::GetValue(env, argv[0], ctxt->x); in MoveTo() 178 status = JsUtils::GetValue(env, argv[1], ctxt->y); in MoveTo() 241 napi_status status = JsUtils::GetValue(env, argv[0], panelFlag); in ChangeFlag() 258 if (argc < 2 || !JsUtil::GetValue(env, argv[0], type) in Subscribe() 283 if (argc < 1 || !JsUtil::GetValue(env, argv[0], type) in UnSubscribe()
|
D | js_text_input_client_engine.cpp | 72 auto status = JsUtils::GetValue(env, argv[0], ctxt->num); in MoveCursor() 106 …if (argc < 1 || JsUtil::GetType(env, argv[0]) != napi_number || !JsUtil::GetValue(env, argv[0], di… in MoveCursorSync() 194 status = JsUtils::GetValue(env, napiValue, ctxt->start); in GetSelectRange() 199 status = JsUtils::GetValue(env, napiValue, ctxt->end); in GetSelectRange() 213 status = JsUtils::GetValue(env, napiValue, ctxt->direction); in GetSelectMovement() 225 return JsUtils::GetValue(env, argv[0], ctxt->action); in SendKeyFunction() 257 …if (argc < 1 || JsUtil::GetType(env, argv[0]) != napi_number || !JsUtil::GetValue(env, argv[0], le… in DeleteForwardSync() 277 auto status = JsUtils::GetValue(env, argv[0], ctxt->length); in DeleteForward() 316 …if (argc < 1 || JsUtil::GetType(env, argv[0]) != napi_number || !JsUtil::GetValue(env, argv[0], le… in DeleteBackwardSync() 336 auto status = JsUtils::GetValue(env, argv[0], ctxt->length); in DeleteBackward() [all …]
|
/base/hiviewdfx/hiview/core/test/unittest/common/ |
D | platform_test_result_listener.cpp | 23 processedUnorderedEvents_[msg.GetValue("message")] = msg.sender_; in OnUnorderedEvent()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/ |
D | parse_smaps_rollup_info.h | 31 void GetValue(const std::string &str, MemInfoData::MemInfo &memInfo);
|
/base/location/frameworks/native/source/ |
D | location_data_rdb_observer.cpp | 45 GetValue(locationDataEnableUri, LOCATION_DATA_COLUMN_ENABLE, state); in OnChange()
|
/base/telephony/core_service/test/fuzztest/hexvectohexstr_fuzzer/ |
D | hexvectohexstr_fuzzer.cpp | 38 tagService->GetValue(parameter); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_setting_observer.cpp | 41 if (settingHelper->GetValue(uri, CELLULAR_DATA_COLUMN_ENABLE, value) != TELEPHONY_SUCCESS) { in OnChange()
|
/base/telephony/cellular_data/services/include/utils/ |
D | cellular_data_settings_rdb_helper.h | 59 int32_t GetValue(Uri &uri, const std::string &column, int32_t &value);
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness_module.cpp | 72 static napi_value GetValue(napi_env env, napi_callback_info info) in GetValue() function 82 asyncBrightness->GetValue(); in GetValue() 187 DECLARE_NAPI_FUNCTION("getValue", GetValue), in Init()
|
/base/location/interfaces/inner_api/include/ |
D | location_data_rdb_helper.h | 40 LocationErrCode GetValue(Uri &uri, const std::string &column, int32_t &value);
|