Home
last modified time | relevance | path

Searched refs:predicatesProxy (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_predicates.cpp340 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in EqualTo()
351 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in NotEqualTo()
360 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in BeginWrap()
369 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in EndWrap()
378 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in Or()
387 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in And()
398 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in Contains()
409 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in NotContains()
420 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in BeginsWith()
431 CHECK_RETURN_NULL(predicatesProxy && predicatesProxy->GetInstance()); in EndsWith()
[all …]
H A Dnapi_transaction.cpp63 RdbPredicatesProxy *predicatesProxy = nullptr; in ParseRdbPredicatesProxy() local
64 auto status = napi_unwrap(env, arg, reinterpret_cast<void **>(&predicatesProxy)); in ParseRdbPredicatesProxy()
65 ASSERT_RETURN_SET_ERROR(status == napi_ok && predicatesProxy != nullptr, in ParseRdbPredicatesProxy()
67 predicates = predicatesProxy->GetInstance(); in ParseRdbPredicatesProxy()
H A Dnapi_rdb_store.cpp402 auto status = napi_unwrap(env, arg, reinterpret_cast<void **>(&context->predicatesProxy)); in ParsePredicates()
403 CHECK_RETURN_SET(status == napi_ok && context->predicatesProxy != nullptr, in ParsePredicates()
405 context->tableName = context->predicatesProxy->GetPredicates()->GetTableName(); in ParsePredicates()
406 context->rdbPredicates = context->predicatesProxy->GetPredicates(); in ParsePredicates()
1411 auto predicates = *context->predicatesProxy->GetPredicates(); in Sync()
1458 … auto status = napi_unwrap(env, argv[index], reinterpret_cast<void **>(&context->predicatesProxy)); in GetCloudSyncInput()
1459 if (status == napi_ok && context->predicatesProxy != nullptr) { in GetCloudSyncInput()
1462 context->rdbPredicates = context->predicatesProxy->GetPredicates(); in GetCloudSyncInput()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_predicates.cpp239 return predicatesProxy; in ParseFieldArrayByName()
259 return predicatesProxy; in ParseFieldByName()
279 return predicatesProxy; in ParseInt32FieldByName()
304 return predicatesProxy; in ParseFieldAndValueArray()
333 return predicatesProxy; in ParseFieldAndValue()
357 return predicatesProxy; in ParseFieldAndStringValue()
391 return predicatesProxy; in ParseFieldLowAndHigh()
401 RDB_CHECK_RETURN_NULLPTR(predicatesProxy != nullptr && predicatesProxy->predicates_ != nullptr, in EqualTo()
413 RDB_CHECK_RETURN_NULLPTR(predicatesProxy != nullptr && predicatesProxy->predicates_ != nullptr, in NotEqualTo()
465 RDB_CHECK_RETURN_NULLPTR(predicatesProxy != nullptr && predicatesProxy->predicates_ != nullptr, in Contains()
[all …]
H A Dnapi_rdb_store.cpp63 RdbPredicatesProxy *predicatesProxy; member
87 RdbStoreContext() : predicatesProxy(nullptr), rowId(0), insertNum(0), enumArg(0) in RdbStoreContext()
317 napi_unwrap(env, arg, reinterpret_cast<void **>(&context->predicatesProxy)); in ParsePredicates()
318 RDB_CHECK_RETURN_CALL_RESULT(context->predicatesProxy != nullptr && in ParsePredicates()
319 context->predicatesProxy->GetPredicates() != nullptr, context->SetError(paramError)); in ParsePredicates()
320 context->tableName = context->predicatesProxy->GetPredicates()->GetTableName(); in ParsePredicates()
321 context->rdbPredicates = context->predicatesProxy->GetPredicates(); in ParsePredicates()
844 CHECK_RETURN_ERR(context->predicatesProxy != nullptr && in Count()
845 context->predicatesProxy->GetPredicates() != nullptr); in Count()
846 int errCode = obj->rdbStore_->Count(temp, *(context->predicatesProxy->GetPredicates())); in Count()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_context.h45 RdbPredicatesProxy *predicatesProxy; member
77 : predicatesProxy(nullptr), int64Output(0), intOutput(0), enumArg(-1), in RdbStoreContext()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/
H A Ddatashare_predicates_proxy.cpp201 DataSharePredicatesProxy *predicatesProxy = nullptr; in GetNativePredicates() local
204 napi_unwrap(env, thiz, reinterpret_cast<void **>(&predicatesProxy)); in GetNativePredicates()
205 if (predicatesProxy == nullptr) { in GetNativePredicates()
209 return predicatesProxy->GetInstance(); in GetNativePredicates()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/src/
H A Dnapi_data_ability_predicates.cpp179 DataAbilityPredicatesProxy *predicatesProxy = nullptr; in GetNativePredicates() local
182 napi_unwrap(env, thiz, reinterpret_cast<void **>(&predicatesProxy)); in GetNativePredicates()
183 if (predicatesProxy == nullptr) { in GetNativePredicates()
186 return predicatesProxy->predicates_; in GetNativePredicates()