Searched refs:nameLength (Results 1 – 4 of 4) sorted by relevance
37 int nameLength; // not including the NULL terminator, which is not written to the file member92 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 …]
72 uint32_t nameLength; member78 nameLength = maxName; in UniformQueryData()79 if (nameLength > 0 ) { in UniformQueryData()80 name = new char[nameLength]; in UniformQueryData()
183 int nameLength = strlen(name); in doProcessDirectoryEntry() local184 if (nameLength + 1 > pathRemaining) { in doProcessDirectoryEntry()223 MediaScanResult result = doProcessDirectory(path, pathRemaining - nameLength - 1, in doProcessDirectoryEntry()
1011 int nameLength = strlen(name); in deleteRecursive() local1012 if (nameLength > pathRemaining) { in deleteRecursive()