Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp257 size_t sizeIncludingNull; in nativeGetString() local
258 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeGetString()
263 if (sizeIncludingNull <= 1) { in nativeGetString()
269 String16 utf16(value, sizeIncludingNull - 1); in nativeGetString()
353 size_t sizeIncludingNull; in nativeCopyStringToBuffer() local
354 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeCopyStringToBuffer()
355 if (sizeIncludingNull > 1) { in nativeCopyStringToBuffer()
356 fillCharArrayBufferUTF(env, bufferObj, value, sizeIncludingNull - 1); in nativeCopyStringToBuffer()
394 size_t sizeIncludingNull; in nativeGetLong() local
395 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); in nativeGetLong()
[all …]
Dandroid_database_SQLiteConnection.cpp723 size_t sizeIncludingNull = sqlite3_column_bytes(statement, i) + 1; in copyRow() local
724 status = window->putString(addedRows, i, text, sizeIncludingNull); in copyRow()
727 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
732 startPos + addedRows, i, sizeIncludingNull); in copyRow()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h107 status_t putString(uint32_t row, uint32_t column, const char* value, size_t sizeIncludingNull);
/frameworks/base/libs/androidfw/
DCursorWindow.cpp359 size_t sizeIncludingNull) { in putString() argument
360 return putBlobOrString(row, column, value, sizeIncludingNull, FIELD_TYPE_STRING); in putString()