Home
last modified time | relevance | path

Searched refs:sizeIncludingNull (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp249 size_t sizeIncludingNull; in nativeGetString() local
250 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeGetString()
255 if (sizeIncludingNull <= 1) { in nativeGetString()
261 String16 utf16(value, sizeIncludingNull - 1); in nativeGetString()
345 size_t sizeIncludingNull; in nativeCopyStringToBuffer() local
346 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeCopyStringToBuffer()
347 if (sizeIncludingNull > 1) { in nativeCopyStringToBuffer()
348 fillCharArrayBufferUTF(env, bufferObj, value, sizeIncludingNull - 1); in nativeCopyStringToBuffer()
386 size_t sizeIncludingNull; in nativeGetLong() local
387 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeGetLong()
[all …]
Dandroid_database_SQLiteConnection.cpp604 size_t sizeIncludingNull = sqlite3_column_bytes(statement, i) + 1; in copyRow() local
605 status = window->putString(addedRows, i, text, sizeIncludingNull); in copyRow()
608 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
613 startPos + addedRows, i, sizeIncludingNull); in copyRow()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp297 size_t sizeIncludingNull) { in putString() argument
298 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); in putString()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h106 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);