Searched refs:fieldSlot (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/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 | 183 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() local 184 if (!fieldSlot) { in nativeGetType() 190 return window->getFieldSlotType(fieldSlot); in nativeGetType() 198 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() local 199 if (!fieldSlot) { in nativeGetBlob() 204 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetBlob() 207 const void* value = window->getFieldSlotValueBlob(fieldSlot, &size); in nativeGetBlob() 237 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetString() local 238 if (!fieldSlot) { in nativeGetString() 243 int32_t type = window->getFieldSlotType(fieldSlot); in nativeGetString() [all …]
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 293 FieldSlot* fieldSlot = getFieldSlot(row, column); in putBlobOrString() local 294 if (!fieldSlot) { in putBlobOrString() 305 fieldSlot->type = type; in putBlobOrString() 306 fieldSlot->data.buffer.offset = offset; in putBlobOrString() 307 fieldSlot->data.buffer.size = size; in putBlobOrString() 316 FieldSlot* fieldSlot = getFieldSlot(row, column); in putLong() local 317 if (!fieldSlot) { in putLong() 321 fieldSlot->type = FIELD_TYPE_INTEGER; in putLong() 322 fieldSlot->data.l = value; in putLong() 331 FieldSlot* fieldSlot = getFieldSlot(row, column); in putDouble() local [all …]
|