Home | History | Annotate | Download | only in jni

Lines Matching defs:CursorWindow

18 #define LOG_TAG "CursorWindow"
31 #include "CursorWindow.h"
36 CursorWindow::CursorWindow(size_t maxSize) :
41 bool CursorWindow::setMemory(const sp<IMemory>& memory)
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);
59 bool CursorWindow::initBuffer(bool localOnly)
64 heap = new MemoryHeapBase(mMaxSize, 0, "CursorWindow");
75 LOG_WINDOW("Created CursorWindow with new MemoryDealer: mFreeOffset = %d, mSize = %d, mMaxSize = %d, mData = %p", mFreeOffset, mSize, mMaxSize, mData);
79 LOGE("CursorWindow heap allocation failed");
82 LOGE("failed to create the CursorWindow heap");
87 CursorWindow::~CursorWindow()
92 void CursorWindow::clear()
101 int32_t CursorWindow::freeSpace()
110 field_slot_t * CursorWindow::allocRow()
135 uint32_t CursorWindow::alloc(size_t requestedSize, bool aligned)
175 row_slot_t * CursorWindow::getRowSlot(int row)
190 row_slot_t * CursorWindow::allocRowSlot()
222 field_slot_t * CursorWindow::getFieldSlotWithCheck(int row, int column)
241 uint32_t CursorWindow::read_field_slot(int row, int column, field_slot_t * slotOut)
267 void CursorWindow::copyIn(uint32_t offset, uint8_t const * data, size_t size)
273 void CursorWindow::copyIn(uint32_t offset, int64_t data)
279 void CursorWindow::copyIn(uint32_t offset, double data)
285 void CursorWindow::copyOut(uint32_t offset, uint8_t * data, size_t size)
291 int64_t CursorWindow::copyOutLong(uint32_t offset)
299 double CursorWindow::copyOutDouble(uint32_t offset)
307 bool CursorWindow::putLong(unsigned int row, unsigned int col, int64_t value)
331 bool CursorWindow::putDouble(unsigned int row, unsigned int col, double value)
355 bool CursorWindow::putNull(unsigned int row, unsigned int col)
368 bool CursorWindow::getLong(unsigned int row, unsigned int col, int64_t * valueOut)
383 bool CursorWindow::getDouble(unsigned int row, unsigned int col, double * valueOut)
398 bool CursorWindow::getNull(unsigned int row, unsigned int col, bool * valueOut)