Home
last modified time | relevance | path

Searched defs:Convert2JSValue (Results 1 – 16 of 16) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
Djs_common_utils.cpp184 napi_value JSUtils::Convert2JSValue(napi_env env, int32_t value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
194 napi_value JSUtils::Convert2JSValue(napi_env env, uint32_t value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
204 napi_value JSUtils::Convert2JSValue(napi_env env, int64_t value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
214 napi_value JSUtils::Convert2JSValue(napi_env env, bool value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
224 napi_value JSUtils::Convert2JSValue(napi_env env, double value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
234 napi_value JSUtils::Convert2JSValue(napi_env env, float value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
244 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<uint8_t> &value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
266 napi_value JSUtils::Convert2JSValue(napi_env env, const Object &value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
275 napi_value JSUtils::Convert2JSValue(napi_env env, const std::string &value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
285 napi_value JSUtils::Convert2JSValue(napi_env env, const BigInt &value) in Convert2JSValue() function in OHOS::PreferencesJsKit::JSUtils
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
Djs_cloud_utils.cpp135 napi_value Convert2JSValue(napi_env env, const Participant &value) in Convert2JSValue() function
169 napi_value Convert2JSValue(napi_env env, const Privilege &value) in Convert2JSValue() function
186 napi_value Convert2JSValue(napi_env env, const std::shared_ptr<ResultSet> &value) in Convert2JSValue() function
210 napi_value Convert2JSValue(napi_env env, const std::pair<int32_t, std::string> &value) in Convert2JSValue() function
228 napi_value Convert2JSValue(napi_env env, const StatisticInfo &value) in Convert2JSValue() function
247 napi_value Convert2JSValue(napi_env env, const CloudSyncInfo &value) in Convert2JSValue() function
274 napi_value Convert2JSValue(napi_env env, const DistributedRdb::Statistic &value) in Convert2JSValue() function
290 napi_value Convert2JSValue(napi_env env, const DistributedRdb::TableDetail &value) in Convert2JSValue() function
304 napi_value Convert2JSValue(napi_env env, const DistributedRdb::ProgressDetail &value) in Convert2JSValue() function
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
Dnapi_rdb_js_utils.cpp120 napi_value Convert2JSValue(napi_env env, const Asset &value) in Convert2JSValue() function
140 napi_value Convert2JSValue(napi_env env, const RowEntity &rowEntity) in Convert2JSValue() function
152 napi_value Convert2JSValue(napi_env env, const ValueObject &value) in Convert2JSValue() function
158 napi_value Convert2JSValue(napi_env env, const DistributedRdb::Statistic &value) in Convert2JSValue() function
175 napi_value Convert2JSValue(napi_env env, const DistributedRdb::TableDetail &value) in Convert2JSValue() function
189 napi_value Convert2JSValue(napi_env env, const DistributedRdb::ProgressDetail &value) in Convert2JSValue() function
204 napi_value Convert2JSValue(napi_env env, const DistributedRdb::SqlObserver::SqlExecutionInfo &value) in Convert2JSValue() function
221 napi_value Convert2JSValue(napi_env env, const ExceptionMessage &value) in Convert2JSValue() function
236 napi_value Convert2JSValue(napi_env env, const SqlInfo &sqlInfo) in Convert2JSValue() function
250 napi_value Convert2JSValue(napi_env env, const DistributedRdb::Details &details) in Convert2JSValue() function
[all …]
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/
Ddatashare_js_utils.cpp151 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::monostate &value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
156 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::vector<std::string> &value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
170 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::string &value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
180 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::vector<uint8_t> &value, bool … in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
206 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, int32_t value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
216 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, int64_t value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
226 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, uint32_t value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
236 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, double value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
246 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, bool value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
256 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::map<std::string, int> &value) in Convert2JSValue() function in OHOS::DataShare::DataShareJSUtils
[all …]
/foundation/multimedia/media_library/frameworks/js/src/
Dresult_set_napi.cpp37 napi_value Convert2JSValue(napi_env env, const int32_t &value) in Convert2JSValue() function
48 napi_value Convert2JSValue(napi_env env, const uint32_t &value) in Convert2JSValue() function
59 napi_value Convert2JSValue(napi_env env, const int64_t &value) in Convert2JSValue() function
70 napi_value Convert2JSValue(napi_env env, const std::string &value) in Convert2JSValue() function
81 napi_value Convert2JSValue(napi_env env, const Asset &value) in Convert2JSValue() function
104 napi_value Convert2JSValue(napi_env env, const double &value) in Convert2JSValue() function
115 napi_value Convert2JSValue(napi_env env, const bool &value) in Convert2JSValue() function
126 napi_value Convert2JSValue(napi_env env, const float &value) in Convert2JSValue() function
137 napi_value Convert2JSValue(napi_env env, const std::vector<uint8_t> &value) in Convert2JSValue() function
160 napi_value Convert2JSValue(napi_env env, const BigInt &value) in Convert2JSValue() function
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
Dnapi_rdb_js_utils.cpp47 napi_value Convert2JSValue(napi_env env, const Asset &value) in Convert2JSValue() function
62 napi_value Convert2JSValue(napi_env env, const RowEntity &rowEntity) in Convert2JSValue() function
85 napi_value Convert2JSValue(napi_env env, const BigInt &value) in Convert2JSValue() function
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/data_ability/
Dnapi_rdb_js_utils.cpp47 napi_value Convert2JSValue(napi_env env, const Asset &value) in Convert2JSValue() function
62 napi_value Convert2JSValue(napi_env env, const RowEntity &rowEntity) in Convert2JSValue() function
85 napi_value Convert2JSValue(napi_env env, const BigInt& value) in Convert2JSValue() function
Djs_utils.cpp355 napi_value JSUtils::Convert2JSValue(napi_env env, const std::string &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
364 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<uint8_t> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
383 napi_value JSUtils::Convert2JSValue(napi_env env, int32_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
393 napi_value JSUtils::Convert2JSValue(napi_env env, uint32_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
403 napi_value JSUtils::Convert2JSValue(napi_env env, int64_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
413 napi_value JSUtils::Convert2JSValue(napi_env env, double value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
423 napi_value JSUtils::Convert2JSValue(napi_env env, bool value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
433 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<float> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
455 napi_value JSUtils::Convert2JSValue(napi_env env, const std::map<std::string, int> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
478 int32_t JSUtils::Convert2JSValue(napi_env env, std::string value, napi_value &output) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
[all …]
/foundation/multimedia/media_library/interfaces/kits/js/include/
Dresult_set_napi.h85 napi_value Convert2JSValue(napi_env env, const T &value) in Convert2JSValue() function
92 napi_value Convert2JSValue(napi_env env, const std::vector<T> &value) in Convert2JSValue() function
107 napi_value Convert2JSValue(napi_env env, const std::variant<Types...> &value) in Convert2JSValue() function
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
Djs_utils.cpp105 napi_value JSUtils::Convert2JSValue(napi_env env, const std::nullptr_t &jsStr) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
360 napi_value JSUtils::Convert2JSValue(napi_env env, const std::string &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
369 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<uint8_t> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
391 napi_value JSUtils::Convert2JSValue(napi_env env, int32_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
401 napi_value JSUtils::Convert2JSValue(napi_env env, uint32_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
411 napi_value JSUtils::Convert2JSValue(napi_env env, int64_t value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
421 napi_value JSUtils::Convert2JSValue(napi_env env, double value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
431 napi_value JSUtils::Convert2JSValue(napi_env env, bool value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
441 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<float> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
463 napi_value JSUtils::Convert2JSValue(napi_env env, const std::map<std::string, int> &value) in Convert2JSValue() function in OHOS::AppDataMgrJsKit::JSUtils
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/
Djs_utils.h293 napi_value JSUtils::Convert2JSValue(napi_env env, const std::map<K, V> &value) in Convert2JSValue() function
312 napi_value JSUtils::Convert2JSValue(napi_env env, const std::unordered_map<K, V> &value) in Convert2JSValue() function
331 napi_value JSUtils::Convert2JSValue(napi_env env, const std::tuple<int32_t, std::string, T> &value) in Convert2JSValue() function
366 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<T> &value) in Convert2JSValue() function
381 napi_value JSUtils::Convert2JSValue(napi_env env, const std::variant<Types...> &value) in Convert2JSValue() function
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/collaboration_edit/src/
Djs_utils.cpp19 napi_value JSUtils::Convert2JSValue(napi_env env, int32_t value) in Convert2JSValue() function in OHOS::CollaborationEdit::JSUtils
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/intelligence/
Daip_napi_utils.cpp479 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const std::vector<uint8_t> &in, napi_value … in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
497 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const std::vector<float> &in, napi_value &o… in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
518 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const std::string &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
523 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const double &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
528 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const bool &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
533 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const int32_t &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
538 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const int64_t &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
543 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const uint64_t &in, napi_value &out) in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
548 napi_status AipNapiUtils::Convert2JSValue(napi_env env, const std::map<std::string, double> &in, na… in Convert2JSValue() function in OHOS::DataIntelligence::AipNapiUtils
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/data_ability/include/
Djs_utils.h288 napi_value JSUtils::Convert2JSValue(napi_env env, const std::map<K, V> &value) in Convert2JSValue() function
307 napi_value JSUtils::Convert2JSValue(napi_env env, const std::tuple<int32_t, std::string, T> &value) in Convert2JSValue() function
342 napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<T> &value) in Convert2JSValue() function
357 napi_value JSUtils::Convert2JSValue(napi_env env, const std::variant<Types...> &value) in Convert2JSValue() function
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
Djs_common_utils.h161 template<typename T> napi_value JSUtils::Convert2JSValue(napi_env env, const std::vector<T> &value) in Convert2JSValue() function
175 template<typename... Types> napi_value JSUtils::Convert2JSValue(napi_env env, const std::variant<Ty… in Convert2JSValue() function
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
Ddatashare_js_utils.h170 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::variant<Types...> &value) in Convert2JSValue() function
189 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::vector<T> &value) in Convert2JSValue() function