Home | History | Annotate | Download | only in src

Lines Matching full:sizeof

60   memcpy (ar_hdr.ar_name, "/               ", sizeof (ar_hdr.ar_name));
68 char tmpbuf[sizeof (ar_hdr.ar_date) + 1];
70 snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld",
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));
90 assert (sizeof (uint32_t) == sizeof (int));
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))
131 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu",
132 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
133 symtab.longnameslen - sizeof (struct ar_hdr)));
137 assert (symtab.symsofflen % sizeof (uint32_t) == 0);
144 - sizeof (struct ar_hdr))
145 / sizeof (uint32_t) - 1);
161 if (symtab.longnameslen > sizeof (struct ar_hdr))
178 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu",
179 (int) sizeof (((struct ar_hdr *) NULL)->ar_size),
181 - sizeof (struct ar_hdr)));
200 assert (sizeof (uint32_t) == sizeof (int));
213 if (sizeof (off) > sizeof (uint32_t) && off > ~((uint32_t) 0))