Searched refs:rowPos_ (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | step_result_set.cpp | 213 rowPos_ = (position >= rowCount_ && rowCount_ != 0) ? rowCount_ : rowPos_; in GoToRow() 214 …OR("position[%{public}d] rowCount[%{public}d] rowPos_[%{public}d]!", position, rowCount_, rowPos_); in GoToRow() 222 if (position < rowPos_) { in GoToRow() 226 while (position != rowPos_) { in GoToRow() 274 rowPos_++; in GoToNextRow() 278 rowPos_ = rowCount_ != 0 ? rowCount_ : rowPos_; in GoToNextRow() 280 ++rowPos_; in GoToNextRow() 281 rowCount_ = rowPos_; in GoToNextRow() 286 rowPos_ = rowCount_; in GoToNextRow() 317 rowCount_ = rowPos_; in GetRowCount() [all …]
|
H A D | rd_result_set.cpp | 68 if (rowPos_ == INIT_POS) { in GetColumnNames() 93 rowPos_ = INIT_POS; in GetColumnNames() 107 if (rowPos_ == INIT_POS) { in GetColumnType() 151 if (position == rowPos_) { in GoToRow() 154 if (position < rowPos_) { in GoToRow() 158 while (position != rowPos_) { in GoToRow() 186 rowPos_++; in GoToNextRow() 276 rowPos_ = INIT_POS; in FinishStep() 313 result = (rowPos_ == 0); in IsAtFirstRow() 330 if (rowPos_ == INIT_POS) { in GetSize() [all …]
|
H A D | abs_shared_result_set.cpp | 97 auto ret = OnGo(rowPos_, position); in UpdateBlockPos() 122 rowPos_ = (position >= rowCnt && rowCnt != 0) ? rowCnt : rowPos_; in GoToRow() 123 …OG_DEBUG("position[%{public}d] rowCnt[%{public}d] rowPos[%{public}d]!", position, rowCnt, rowPos_); in GoToRow() 127 if (position == rowPos_) { in GoToRow() 133 rowPos_ = position; in GoToRow() 310 if (rowPos_ < 0 || rowPos_ >= count) { in CheckState()
|
H A D | abs_result_set.cpp | 86 rowPos_ = INIT_POS; in ~AbsResultSet() 283 position = rowPos_; in GetRowIndex() 289 return GoToRow(rowPos_ + offset); in GoTo() 314 return GoToRow(rowPos_ + 1); in GoToNextRow() 319 return GoToRow(rowPos_ - 1); in GoToPreviousRow() 324 result = (rowPos_ == 0); in IsAtFirstRow() 336 result = (rowPos_ == (rowCnt - 1)); in IsAtLastRow() 342 result = (rowPos_ != INIT_POS); in IsStarted() 354 return { E_OK, (rowCnt == 0) || (rowPos_ == rowCnt) }; in IsEnded() 447 rowPos_ = INIT_POS; in Close()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_abs_result_set.cpp | 27 DataShareAbsResultSet::DataShareAbsResultSet() : rowPos_(INIT_POS), count_(-1), isClosed_(false) in DataShareAbsResultSet() 84 position = rowPos_; in GetRowIndex() 90 int ret = GoToRow(rowPos_ + offset); in GoTo() 120 return GoToRow(rowPos_ + 1); in GoToNextRow() 125 return GoToRow(rowPos_ - 1); in GoToPreviousRow() 130 result = (rowPos_ == 0); in IsAtFirstRow() 142 result = (rowPos_ == (rowCnt - 1)); in IsAtLastRow() 148 result = (rowPos_ != INIT_POS); in IsStarted() 160 result = (rowCnt == 0) ? true : (rowPos_ == rowCnt); in IsEnded()
|
H A D | datashare_result_set.cpp | 149 rowPos_ = rowCnt; in GoToRow() 153 rowPos_ = INITIAL_POS; in GoToRow() 156 if (position == rowPos_) { in GoToRow() 170 rowPos_ = INITIAL_POS; in GoToRow() 175 rowPos_ = position; in GoToRow() 192 …AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnInd… in GetBlob() 229 …AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnInd… in GetString() 266 …AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnInd… in GetInt() 281 …AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnInd… in GetLong() 322 …AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnInd… in GetDouble() [all …]
|
/ohos5.0/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/ |
H A D | datashare_abs_result_set.h | 59 int rowPos_; variable
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | abs_result_set.h | 349 int rowPos_ = INIT_POS; variable
|