Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtar.c70 struct file_header file_hdr; member
311 struct file_header *file_hdr = &tar->file_hdr; in extract_to_stdout() local
313 copy_in_out(tar->src_fd, 0, file_hdr->size); in extract_to_stdout()
314 tar->offset += file_hdr->size; in extract_to_stdout()
321 struct file_header *file_hdr = &tar->file_hdr; in extract_to_command() local
324 if (!S_ISREG(file_hdr->mode)) return; //only regular files are supported. in extract_to_command()
333 sprintf(buf, "%0o", file_hdr->mode); in extract_to_command()
335 sprintf(buf, "%ld", (long)file_hdr->size); in extract_to_command()
337 setenv("TAR_FILENAME", file_hdr->name, 1); in extract_to_command()
338 setenv("TAR_UNAME", file_hdr->uname, 1); in extract_to_command()
[all …]
/external/libvpx/libvpx/test/
Divf_video_source.h54 uint8_t file_hdr[kIvfFileHdrSize]; in Begin() local
55 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
58 ASSERT_TRUE(file_hdr[0] == 'D' && file_hdr[1] == 'K' && in Begin()
59 file_hdr[2] == 'I' && file_hdr[3] == 'F') in Begin()