Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp33 struct chunk_header_v1 { struct
46 chunk_header_v1 flattenedHeader; in readHeader_native()
60 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { in readHeader_native()
70 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); in readHeader_native()
75 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); in readHeader_native()
158 headerSize = sizeof(chunk_header_v1) + nameLength + namePadding; in allocateHeader_native()
171 chunk_header_v1 header; in writeHeader_native()
184 header.headerSize = sizeof(chunk_header_v1) + header.nameLength + namePadding; in writeHeader_native()
189 err = write(fd, &header, sizeof(chunk_header_v1)); in writeHeader_native()
190 if (err != sizeof(chunk_header_v1)) { in writeHeader_native()