Home
last modified time | relevance | path

Searched refs:ConvertFromSendable (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_sendable_utils.cpp26 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, bool &output) in ConvertFromSendable() function
31 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, float &output) in ConvertFromSendable() function
36 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, double &output) in ConvertFromSendable() function
41 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, int32_t &output) in ConvertFromSendable() function
46 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, int64_t &output) in ConvertFromSendable() function
51 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::vector<uint8_t> &output) in ConvertFromSendable() function
56 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::string &output) in ConvertFromSendable() function
61 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, Object &output) in ConvertFromSendable() function
66 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, BigInt &output) in ConvertFromSendable() function
71 int32_t ConvertFromSendable(napi_en function
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Djs_sendable_utils.h39 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, bool &output);
40 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, float &output);
41 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, double &output);
42 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, int32_t &output);
43 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, int64_t &output);
44 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::vector<uint8_t> &output);
45 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::string &output);
46 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, Object &output);
47 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, BigInt &output);
48 int32_t ConvertFromSendable(napi_en
117 int32_t Utils::ConvertFromSendable(napi_env env, napi_value jsValue, std::vector<T> &value) ConvertFromSendable() function in OHOS::Sendable::JSPreferences::Utils
145 int32_t Utils::ConvertFromSendable(napi_env env, napi_value jsValue, std::variant<Types...> &value) ConvertFromSendable() function in OHOS::Sendable::JSPreferences::Utils
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences_helper.cpp49 if (Utils::ConvertFromSendable(env, argv[1], context->name) != napi_ok) { in ParseParameters()
52 PRE_CHECK_RETURN_ERR_SET(temp && Utils::ConvertFromSendable(env, temp, context->name) == napi_ok, in ParseParameters()
63 PRE_CHECK_RETURN_ERR_SET(Utils::ConvertFromSendable(env, temp, context->dataGroupId) == napi_ok, in ParseParameters()
H A Dnapi_preferences.cpp144 int32_t rc = Utils::ConvertFromSendable(env, arg, context->key); in ParseKey()
154 int32_t rc = Utils::ConvertFromSendable(env, jsVal, context->defValue.value_); in ParseDefValue()
407 Utils::ConvertFromSendable(env, args[0], registerMode); in RegisterObserver()
417 int errCode = Utils::ConvertFromSendable(env, args[funIndex], keys); in RegisterObserver()
450 Utils::ConvertFromSendable(env, args[0], registerMode); in UnregisterObserver()
461 int errCode = Utils::ConvertFromSendable(env, args[funIndex], keys); in UnregisterObserver()

Completed in 3 milliseconds