Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtar.c69 struct file_header file_hdr; member
310 struct file_header *file_hdr = &tar->file_hdr; in extract_to_stdout() local
312 copy_in_out(tar->src_fd, 0, file_hdr->size); in extract_to_stdout()
313 tar->offset += file_hdr->size; in extract_to_stdout()
320 struct file_header *file_hdr = &tar->file_hdr; in extract_to_command() local
323 if (!S_ISREG(file_hdr->mode)) return; //only regular files are supported. in extract_to_command()
332 sprintf(buf, "%0o", file_hdr->mode); in extract_to_command()
334 sprintf(buf, "%ld", (long)file_hdr->size); in extract_to_command()
336 setenv("TAR_FILENAME", file_hdr->name, 1); in extract_to_command()
337 setenv("TAR_UNAME", file_hdr->uname, 1); in extract_to_command()
[all …]
/external/libvpx/libvpx/test/
Divf_video_source.h60 uint8_t file_hdr[kIvfFileHdrSize]; in Begin() local
61 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
64 ASSERT_TRUE(file_hdr[0] == 'D' && file_hdr[1] == 'K' && file_hdr[2] == 'I' in Begin()
65 && file_hdr[3] == 'F') << "Input is not an IVF file."; in Begin()