Lines Matching defs:ar_hdr
59 struct ar_hdr ar_hdr;
60 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name));
68 char tmpbuf[sizeof (ar_hdr.ar_date) + 1];
69 memcpy (ar_hdr.ar_date, tmpbuf,
71 (int) sizeof (ar_hdr.ar_date),
73 assert ((sizeof (struct ar_hdr) % sizeof (uint32_t)) == 0);
79 memcpy (ar_hdr.ar_uid, "0 ", sizeof (ar_hdr.ar_uid));
80 memcpy (ar_hdr.ar_gid, "0 ", sizeof (ar_hdr.ar_gid));
81 memcpy (ar_hdr.ar_mode, "0 ", sizeof (ar_hdr.ar_mode));
82 memcpy (ar_hdr.ar_fmag, ARFMAG, sizeof (ar_hdr.ar_fmag));
85 obstack_grow (&symtab.symsoffob, &ar_hdr, sizeof (ar_hdr));
96 memcpy (ar_hdr.ar_name, "// ", sizeof (ar_hdr.ar_name));
97 memcpy (ar_hdr.ar_date, " ", sizeof (ar_hdr.ar_date));
98 memcpy (ar_hdr.ar_uid, " ", sizeof (ar_hdr.ar_uid));
99 memcpy (ar_hdr.ar_gid, " ", sizeof (ar_hdr.ar_gid));
100 memcpy (ar_hdr.ar_mode, " ", sizeof (ar_hdr.ar_mode));
102 obstack_grow (&symtab.longnamesob, &ar_hdr, sizeof (ar_hdr));
116 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1];
119 if (symtab.longnameslen != sizeof (struct ar_hdr))
130 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf,
132 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
133 symtab.longnameslen - sizeof (struct ar_hdr)));
144 - sizeof (struct ar_hdr))
161 if (symtab.longnameslen > sizeof (struct ar_hdr))
177 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf,
179 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
181 - sizeof (struct ar_hdr)));