Lines Matching refs:mHeader
36 mHeader = static_cast<Header*>(mData); in CursorWindow()
67 window->mHeader->freeOffset, in create()
68 window->mHeader->numRows, in create()
69 window->mHeader->numColumns, in create()
109 window->mHeader->freeOffset, in createFromParcel()
110 window->mHeader->numRows, in createFromParcel()
111 window->mHeader->numColumns, in createFromParcel()
137 mHeader->freeOffset = sizeof(Header) + sizeof(RowSlotChunk); in clear()
138 mHeader->firstChunkOffset = sizeof(Header); in clear()
139 mHeader->numRows = 0; in clear()
140 mHeader->numColumns = 0; in clear()
142 RowSlotChunk* firstChunk = static_cast<RowSlotChunk*>(offsetToPtr(mHeader->firstChunkOffset)); in clear()
152 uint32_t cur = mHeader->numColumns; in setNumColumns()
153 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) { in setNumColumns()
157 mHeader->numColumns = numColumns; in setNumColumns()
173 size_t fieldDirSize = mHeader->numColumns * sizeof(FieldSlot); in allocRow()
176 mHeader->numRows--; in allocRow()
178 "from allocRowSlot %d", mHeader->numRows); in allocRow()
185 mHeader->numRows - 1, offsetFromPtr(rowSlot), fieldDirSize, fieldDirOffset); in allocRow()
195 if (mHeader->numRows > 0) { in freeLastRow()
196 mHeader->numRows--; in freeLastRow()
205 padding = (~mHeader->freeOffset + 1) & 3; in alloc()
210 uint32_t offset = mHeader->freeOffset + padding; in alloc()
219 mHeader->freeOffset = nextFreeOffset; in alloc()
226 offsetToPtr(mHeader->firstChunkOffset)); in getRowSlot()
235 uint32_t chunkPos = mHeader->numRows; in allocRowSlot()
237 offsetToPtr(mHeader->firstChunkOffset)); in allocRowSlot()
253 mHeader->numRows += 1; in allocRowSlot()
258 if (row >= mHeader->numRows || column >= mHeader->numColumns) { in getFieldSlot()
261 row, column, mHeader->numRows, mHeader->numColumns); in getFieldSlot()