Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp37 int nameLength; // not including the NULL terminator, which is not written to the file member
92 LOGD(" nameLength=%d", flattenedHeader.nameLength); in readHeader_native()
95 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || in readHeader_native()
96 remainingHeader < flattenedHeader.nameLength) { in readHeader_native()
98 flattenedHeader.dataSize, flattenedHeader.nameLength); in readHeader_native()
102 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); in readHeader_native()
104 LOGW("unable to allocate %d bytes", flattenedHeader.nameLength); in readHeader_native()
108 amt = read(fd, buf, flattenedHeader.nameLength); in readHeader_native()
109 buf[flattenedHeader.nameLength] = 0; in readHeader_native()
111 keyPrefix.unlockBuffer(flattenedHeader.nameLength); in readHeader_native()
[all …]
/frameworks/base/libs/rs/driver/
DrsdShaderCache.h72 uint32_t nameLength; member
78 nameLength = maxName; in UniformQueryData()
79 if (nameLength > 0 ) { in UniformQueryData()
80 name = new char[nameLength]; in UniformQueryData()
/frameworks/base/media/libmedia/
DMediaScanner.cpp183 int nameLength = strlen(name); in doProcessDirectoryEntry() local
184 if (nameLength + 1 > pathRemaining) { in doProcessDirectoryEntry()
223 MediaScanResult result = doProcessDirectory(path, pathRemaining - nameLength - 1, in doProcessDirectoryEntry()
/frameworks/base/media/mtp/
DMtpServer.cpp1011 int nameLength = strlen(name); in deleteRecursive() local
1012 if (nameLength > pathRemaining) { in deleteRecursive()