Home | History | Annotate | Download | only in jni

Lines Matching refs:mHeader

48     mHeader = (window_header_t *) mData;
55 LOG_WINDOW("Created CursorWindow from existing IMemory: mFreeOffset = %d, numRows = %d, numColumns = %d, mSize = %d, mMaxSize = %d, mData = %p", mFreeOffset, mHeader->numRows, mHeader->numColumns, mSize, mMaxSize, mData);
70 mHeader = (window_header_t *) mData;
94 mHeader->numRows = 0;
95 mHeader->numColumns = 0;
119 size_t fieldDirSize = mHeader->numColumns * sizeof(field_slot_t);
122 mHeader->numRows--;
123 LOGE("The row failed, so back out the new row accounting from allocRowSlot %d", mHeader->numRows);
129 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n", (mHeader->numRows - 1), ((uint8_t *)rowSlot) - mData, fieldDirSize, fieldDirOffset);
149 LOGE("need to grow: mSize = %d, size = %d, freeSpace() = %d, numRows = %d", mSize, size, freeSpace(), mHeader->numRows);
151 if (mHeader->numRows > 1) {
152 LOGE("not growing since there are already %d row(s), max size %d", mHeader->numRows, mMaxSize);
177 LOG_WINDOW("enter getRowSlot current row num %d, this row %d", mHeader->numRows, row);
187 LOG_WINDOW("exit getRowSlot current row num %d, this row %d", mHeader->numRows, row);
192 int chunkNum = mHeader->numRows / ROW_SLOT_CHUNK_NUM_ROWS;
193 int chunkPos = mHeader->numRows % ROW_SLOT_CHUNK_NUM_ROWS;
196 LOG_WINDOW("Allocating row slot, mHeader->numRows is %d, chunkNum is %d, chunkPos is %d", mHeader->numRows, chunkNum, chunkPos);
217 mHeader->numRows++;
224 if (row < 0 || row >= mHeader->numRows || column < 0 || column >= mHeader->numColumns) {
225 LOGE("Bad request for field slot %d,%d. numRows = %d, numColumns = %d", row, column, mHeader->numRows, mHeader->numColumns);
243 if (row < 0 || row >= mHeader->numRows || column < 0 || column >= mHeader->numColumns) {
244 LOGE("Bad request for field slot %d,%d. numRows = %d, numColumns = %d", row, column, mHeader->numRows, mHeader->numColumns);