Home | History | Annotate | Download | only in src

Lines Matching refs:ar_hdr

52   struct ar_hdr ar_hdr;
53 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name));
61 char tmpbuf[sizeof (ar_hdr.ar_date) + 1];
63 (int) sizeof (ar_hdr.ar_date),
66 memcpy (ar_hdr.ar_date, tmpbuf, s);
67 assert ((sizeof (struct ar_hdr) % sizeof (uint32_t)) == 0);
73 memcpy (ar_hdr.ar_uid, "0 ", sizeof (ar_hdr.ar_uid));
74 memcpy (ar_hdr.ar_gid, "0 ", sizeof (ar_hdr.ar_gid));
75 memcpy (ar_hdr.ar_mode, "0 ", sizeof (ar_hdr.ar_mode));
76 memcpy (ar_hdr.ar_fmag, ARFMAG, sizeof (ar_hdr.ar_fmag));
79 obstack_grow (&symtab.symsoffob, &ar_hdr, sizeof (ar_hdr));
90 memcpy (ar_hdr.ar_name, "// ", sizeof (ar_hdr.ar_name));
91 memcpy (ar_hdr.ar_date, " ", sizeof (ar_hdr.ar_date));
92 memcpy (ar_hdr.ar_uid, " ", sizeof (ar_hdr.ar_uid));
93 memcpy (ar_hdr.ar_gid, " ", sizeof (ar_hdr.ar_gid));
94 memcpy (ar_hdr.ar_mode, " ", sizeof (ar_hdr.ar_mode));
96 obstack_grow (&symtab.longnamesob, &ar_hdr, sizeof (ar_hdr));
110 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1];
113 if (symtab.longnameslen != sizeof (struct ar_hdr))
125 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
126 symtab.longnameslen - sizeof (struct ar_hdr));
127 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, s);
138 - sizeof (struct ar_hdr))
155 if (symtab.longnameslen > sizeof (struct ar_hdr))
171 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf,
173 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
175 - sizeof (struct ar_hdr)));