Home
last modified time | relevance | path

Searched refs:INIT_POSITION (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_result_set.cpp42 position_ = INIT_POSITION; in ~SQLiteSingleVerResultSet()
47 cacheStartPosition_ = INIT_POSITION; in ~SQLiteSingleVerResultSet()
153 if (aimPos < INIT_POSITION) { in Move()
154 return MoveTo(INIT_POSITION); in Move()
166 position_ = (position >= 0) ? 0 : INIT_POSITION; in MoveTo()
171 position_ = INIT_POSITION; in MoveTo()
232 if (position <= INIT_POSITION) { in IsBeforeFirst()
257 position_ = INIT_POSITION; in MoveToForCacheFullEntryMode()
300 cacheStartPosition_ = INIT_POSITION; in MoveToForCacheEntryIdMode()
355 position_ = INIT_POSITION; in Close()
[all …]
H A Dsqlite_single_ver_result_set.h97 mutable int position_ = INIT_POSITION; // The position in the overall result
114 …mutable int cacheStartPosition_ = INIT_POSITION; // The offset of the first cached rowid in all re…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_result_set.cpp37 position_ = INIT_POSITION; in ~RdSingleVerResultSet()
100 position_ = INIT_POSITION; in Close()
200 if (position_ == INIT_POSITION && isMovedBefore_) { in MoveToNext()
214 if (endPosition_ == INIT_POSITION || position_ != endPosition_) { in MoveToNext()
223 if (position_ == endPosition_ && endPosition_ != INIT_POSITION) { in MoveToNext()
239 if (position_ == endPosition_ && endPosition_ != INIT_POSITION) { in MoveToPrev()
251 position_ = INIT_POSITION; in MoveToPrev()
281 if (position_ == INIT_POSITION) { in MoveToFirst()
352 if (position <= INIT_POSITION) { in IsBeforeFirst()
379 … if (position_ == INIT_POSITION || (position_ == endPosition_ && endPosition_ != INIT_POSITION)) { in GetEntry()
H A Drd_single_ver_result_set.h75 mutable int position_ = INIT_POSITION; // The position in the overall result
77 mutable int endPosition_ = INIT_POSITION; // the position after the last position, if find
H A Drd_single_ver_storage_executor.cpp106 currPosition = position <= INIT_POSITION ? INIT_POSITION : currPosition; in InnerMoveToHead()
127 if (currPosition == INIT_POSITION) { // LCOV_EXCL_BR_LINE in MoveTo()
143 if (position <= INIT_POSITION) { // LCOV_EXCL_BR_LINE in MoveTo()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_result_set_impl.cpp21 const int KvStoreResultSetImpl::INIT_POSITION = -1; member in DistributedDB::KvStoreResultSetImpl
39 return INIT_POSITION; in GetPosition()
H A Dkv_store_result_set_impl.h113 static const int INIT_POSITION;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dikvdb_result_set.h29 constexpr int INIT_POSITION = -1; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_nb_delegate_test.cpp3180 EXPECT_EQ(kvStoreObj.GetPosition(), INIT_POSITION);