Lines Matching refs:colCount
66 colCount(0), in QSqlCachedResultPrivate()
75 colCount = 0; in cleanup()
84 colCount = count; in init()
98 if (newIdx + colCount > cache.size()) in nextIndex()
100 rowCacheEnd += colCount; in nextIndex()
109 return rowCacheEnd >= (i + 1) * colCount; in canSeek()
116 rowCacheEnd -= colCount; in revertLast()
122 Q_ASSERT(colCount); in cacheCount()
123 return rowCacheEnd / colCount; in cacheCount()
133 void QSqlCachedResult::init(int colCount) in init() argument
136 d->init(colCount, isForwardOnly()); in init()
230 int idx = d->forwardOnly ? i : at() * d->colCount + i; in data()
231 if (i >= d->colCount || i < 0 || at() < 0 || idx >= d->rowCacheEnd) in data()
240 int idx = d->forwardOnly ? i : at() * d->colCount + i; in isNull()
241 if (i >= d->colCount || i < 0 || at() < 0 || idx >= d->rowCacheEnd) in isNull()
270 d->cache.resize(d->colCount); in cacheNext()
282 int QSqlCachedResult::colCount() const in colCount() function in QSqlCachedResult
285 return d->colCount; in colCount()