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.cpp34 struct chunk_header_v1 { struct
47 chunk_header_v1 flattenedHeader; in readHeader_native()
61 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { in readHeader_native()
71 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); in readHeader_native()
76 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); in readHeader_native()
159 headerSize = sizeof(chunk_header_v1) + nameLength + namePadding; in allocateHeader_native()
172 chunk_header_v1 header; in writeHeader_native()
185 header.headerSize = sizeof(chunk_header_v1) + header.nameLength + namePadding; in writeHeader_native()
190 err = write(fd, &header, sizeof(chunk_header_v1)); in writeHeader_native()
191 if (err != sizeof(chunk_header_v1)) { in writeHeader_native()