Home
last modified time | relevance | path

Searched refs:fieldSlot (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/include/androidfw/
DCursorWindow.h116 inline int32_t getFieldSlotType(FieldSlot* fieldSlot) { in getFieldSlotType() argument
117 return fieldSlot->type; in getFieldSlotType()
120 inline int64_t getFieldSlotValueLong(FieldSlot* fieldSlot) { in getFieldSlotValueLong() argument
121 return fieldSlot->data.l; in getFieldSlotValueLong()
124 inline double getFieldSlotValueDouble(FieldSlot* fieldSlot) { in getFieldSlotValueDouble() argument
125 return fieldSlot->data.d; in getFieldSlotValueDouble()
128 inline const char* getFieldSlotValueString(FieldSlot* fieldSlot, in getFieldSlotValueString() argument
130 *outSizeIncludingNull = fieldSlot->data.buffer.size; in getFieldSlotValueString()
131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset)); in getFieldSlotValueString()
134 inline const void* getFieldSlotValueBlob(FieldSlot* fieldSlot, size_t* outSize) { in getFieldSlotValueBlob() argument
[all …]
/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp158 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() local
159 if (!fieldSlot) { in nativeGetType()
165 return window->getFieldSlotType(fieldSlot); in nativeGetType()
173 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() local
174 if (!fieldSlot) { in nativeGetBlob()
179 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetBlob()
182 const void* value = window->getFieldSlotValueBlob(fieldSlot, &size); in nativeGetBlob()
208 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetString() local
209 if (!fieldSlot) { in nativeGetString()
214 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetString()
[all …]
/frameworks/base/libs/androidfw/
DCursorWindow.cpp288 FieldSlot* fieldSlot = getFieldSlot(row, column); in putBlobOrString() local
289 if (!fieldSlot) { in putBlobOrString()
300 fieldSlot->type = type; in putBlobOrString()
301 fieldSlot->data.buffer.offset = offset; in putBlobOrString()
302 fieldSlot->data.buffer.size = size; in putBlobOrString()
311 FieldSlot* fieldSlot = getFieldSlot(row, column); in putLong() local
312 if (!fieldSlot) { in putLong()
316 fieldSlot->type = FIELD_TYPE_INTEGER; in putLong()
317 fieldSlot->data.l = value; in putLong()
326 FieldSlot* fieldSlot = getFieldSlot(row, column); in putDouble() local
[all …]