OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sparse_header
(Results
1 - 3
of
3
) sorted by null
/system/core/libsparse/
sparse_read.c
281
sparse_header_t
sparse_header
;
local
300
ret = read_all(fd, &
sparse_header
, sizeof(
sparse_header
));
305
if (
sparse_header
.magic != SPARSE_HEADER_MAGIC) {
309
if (
sparse_header
.major_version != SPARSE_HEADER_MAJOR_VER) {
313
if (
sparse_header
.file_hdr_sz < SPARSE_HEADER_LEN) {
317
if (
sparse_header
.chunk_hdr_sz < sizeof(chunk_header)) {
321
if (
sparse_header
.file_hdr_sz > SPARSE_HEADER_LEN) {
325
lseek64(fd,
sparse_header
.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR);
328
for (i = 0; i <
sparse_header
.total_chunks; i++)
426
sparse_header
_t
sparse_header
;
local
[
all
...]
sparse_format.h
21
typedef struct
sparse_header
{
struct
output_file.c
584
sparse_header_t
sparse_header
= {
local
597
sparse_header
.total_chunks++;
600
ret = out->ops->write(out, &
sparse_header
, sizeof(
sparse_header
));
Completed in 26 milliseconds