Searched refs:gotmagic (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/usr.bin/compress/ |
| H A D | nullopen.c | 42 int gotmagic; member 50 null_ropen(int fd, char *name, int gotmagic) in null_ropen() argument 61 s->gotmagic = gotmagic; in null_ropen() 80 s->gotmagic = 0; in null_wopen() 135 if (s->gotmagic) { in null_read() 143 s->gotmagic = 0; in null_read()
|
| H A D | zipopen.c | 126 get_header(struct zip_state *s, char *name, int gotmagic) in get_header() argument 133 if (!gotmagic) { in get_header() 256 zip_ropen(int fd, char *name, int gotmagic) in zip_ropen() argument 278 if (get_header(s, name, gotmagic) != 0) { in zip_ropen()
|
| H A D | gzopen.c | 104 gz_ropen(int fd, char *name, int gotmagic) in gz_ropen() argument 140 if (get_header(s, name, gotmagic) != 0) { in gz_ropen() 180 get_header(gz_stream *s, char *name, int gotmagic) in get_header() argument 189 if (!gotmagic) { in get_header()
|
| H A D | zopen.c | 768 z_ropen(int fd, char *name, int gotmagic) in z_ropen() argument 787 zs->zs_state = gotmagic ? S_MAGIC : S_START; in z_ropen()
|
| /openbsd-src/sbin/savecore/ |
| H A D | zopen.c | 546 u_int32_t mtime, int gotmagic) in z_open() argument 571 zs->zs_state = gotmagic ? S_MAGIC : S_START; in z_open()
|