Home
last modified time | relevance | path

Searched refs:boundObj (Results 1 - 12 of 12) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/
H A Dnapi_preferences.cpp162 void *boundObj = nullptr; in GetSelfInstance() local
163 napi_unwrap_sendable(env, self, &boundObj); in GetSelfInstance()
164 if (boundObj != nullptr) { in GetSelfInstance()
165 PreferencesProxy *obj = reinterpret_cast<PreferencesProxy *>(boundObj); in GetSelfInstance()
188 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in GetAll()
189 PRE_CHECK_RETURN_VOID_SET(context->boundObj != nullptr, std::make_shared<InnerError>("Failed to unwrap when " in GetAll()
215 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in GetValue()
216 PRE_CHECK_RETURN_VOID_SET(context->boundObj != nullptr, std::make_shared<InnerError>("Failed to unwrap when " in GetValue()
252 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in SetValue()
253 PRE_CHECK_RETURN_VOID_SET(context->boundObj ! in SetValue()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
H A Dnapi_preferences.cpp178 void *boundObj = nullptr; in GetSelfInstance() local
179 napi_unwrap(env, self, &boundObj); in GetSelfInstance()
180 if (boundObj != nullptr) { in GetSelfInstance()
181 PreferencesProxy *obj = reinterpret_cast<PreferencesProxy *>(boundObj); in GetSelfInstance()
193 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in GetAll()
194 PRE_CHECK_RETURN_VOID_SET(context->boundObj != nullptr && context->instance_.lock() != nullptr, in GetAll()
223 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in GetValue()
224 PRE_CHECK_RETURN_VOID_SET(context->boundObj != nullptr && context->instance_.lock() != nullptr, in GetValue()
261 std::tie(context->boundObj, context->instance_) = GetSelfInstance(env, self); in SetValue()
262 PRE_CHECK_RETURN_VOID_SET(context->boundObj ! in SetValue()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/
H A Dnapi_storage.cpp354 napi_unwrap(env, self, &context->boundObj); in GetValue()
358 StorageProxy *obj = reinterpret_cast<StorageProxy *>(context->boundObj); in GetValue()
444 napi_unwrap(env, self, &context->boundObj); in SetValue()
448 StorageProxy *obj = reinterpret_cast<StorageProxy *>(context->boundObj); in SetValue()
500 napi_unwrap(env, self, &context->boundObj); in Delete()
503 StorageProxy *obj = reinterpret_cast<StorageProxy *>(context->boundObj); in Delete()
548 napi_unwrap(env, self, &context->boundObj); in HasKey()
551 StorageProxy *obj = reinterpret_cast<StorageProxy *>(context->boundObj); in HasKey()
573 napi_unwrap(env, self, &context->boundObj); in Flush()
576 StorageProxy *obj = reinterpret_cast<StorageProxy *>(context->boundObj); in Flush()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_store.cpp243 context->boundObj = obj; in ParserThis()
542 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Insert()
577 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in BatchInsert()
620 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Delete()
663 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Update()
708 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Query()
748 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in QuerySql()
818 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in ExecuteSql()
848 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Count()
884 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Replace()
[all...]
H A Dnapi_rdb_store_helper.cpp264 napi_unwrap(env, self, &context->boundObj); in ParserThis()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/mock/include/
H A Dnapi_async_proxy.h58 void *boundObj = nullptr; member
74 napi_unwrap(env, self, &context->boundObj); in DefParserThis()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include/
H A Dnapi_async_proxy.h59 void *boundObj = nullptr; member
85 napi_unwrap(env, self, &context->boundObj); in DefParserThis()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Dnapi_async_call.h47 void *boundObj = nullptr; member in OHOS::PreferencesJsKit::BaseContext
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
H A Dnapi_async_call.h42 void *boundObj = nullptr; member in OHOS::AppDataMgrJsKit::BaseContext
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_async_call.h67 void *boundObj = nullptr; member in OHOS::RelationalStoreJsKit::ContextBase
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_store.cpp291 context->boundObj = obj; in ParserThis()
420 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in ParseDataSharePredicates()
839 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in QuerySql()
1407 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Sync()
1469 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in GetCloudSyncInput()
1490 auto *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in CloudSync()
1835 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in QuerySharingResource()
2104 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in LockCloudContainer()
2133 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in UnlockCloudContainer()
2158 RdbStoreProxy *obj = reinterpret_cast<RdbStoreProxy *>(context->boundObj); in Close()
[all...]
H A Dnapi_transaction.cpp38 auto status = napi_unwrap(env_, self, reinterpret_cast<void **>(&boundObj)); in GetInstance()
39 if (status != napi_ok || boundObj == nullptr) { in GetInstance()
43 transaction_ = reinterpret_cast<TransactionProxy *>(boundObj)->GetInstance(); in GetInstance()

Completed in 16 milliseconds