Searched refs:fieldSlot (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 117 inline int32_t getFieldSlotType(FieldSlot* fieldSlot) { in getFieldSlotType() argument 118 return fieldSlot->type; in getFieldSlotType() 121 inline int64_t getFieldSlotValueLong(FieldSlot* fieldSlot) { in getFieldSlotValueLong() argument 122 return fieldSlot->data.l; in getFieldSlotValueLong() 125 inline double getFieldSlotValueDouble(FieldSlot* fieldSlot) { in getFieldSlotValueDouble() argument 126 return fieldSlot->data.d; in getFieldSlotValueDouble() 129 inline const char* getFieldSlotValueString(FieldSlot* fieldSlot, in getFieldSlotValueString() argument 131 *outSizeIncludingNull = fieldSlot->data.buffer.size; in getFieldSlotValueString() 133 fieldSlot->data.buffer.offset, fieldSlot->data.buffer.size)); in getFieldSlotValueString() 136 inline const void* getFieldSlotValueBlob(FieldSlot* fieldSlot, size_t* outSize) { in getFieldSlotValueBlob() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 187 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() local 188 if (!fieldSlot) { in nativeGetType() 194 return window->getFieldSlotType(fieldSlot); in nativeGetType() 202 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() local 203 if (!fieldSlot) { in nativeGetBlob() 208 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetBlob() 211 const void* value = window->getFieldSlotValueBlob(fieldSlot, &size); in nativeGetBlob() 241 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetString() local 242 if (!fieldSlot) { in nativeGetString() 247 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetString() [all …]
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 307 FieldSlot* fieldSlot = getFieldSlot(row, column); in putBlobOrString() local 308 if (!fieldSlot) { in putBlobOrString() 319 fieldSlot->type = type; in putBlobOrString() 320 fieldSlot->data.buffer.offset = offset; in putBlobOrString() 321 fieldSlot->data.buffer.size = size; in putBlobOrString() 330 FieldSlot* fieldSlot = getFieldSlot(row, column); in putLong() local 331 if (!fieldSlot) { in putLong() 335 fieldSlot->type = FIELD_TYPE_INTEGER; in putLong() 336 fieldSlot->data.l = value; in putLong() 345 FieldSlot* fieldSlot = getFieldSlot(row, column); in putDouble() local [all …]
|