Lines Matching refs:ntoalign
1202 const char **fmt, int *psize, int *ntoalign) { in getdetails() argument
1210 *ntoalign = 0; in getdetails()
1216 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1273 int size, ntoalign; in str_pack() local
1274 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1275 totalsize += ntoalign + size; in str_pack()
1276 while (ntoalign-- > 0) in str_pack()
1353 int size, ntoalign; in str_packsize() local
1354 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1355 size += ntoalign; /* total space used by option */ in str_packsize()
1416 int size, ntoalign; in str_unpack() local
1417 KOption opt = getdetails(&h, pos, &fmt, &size, &ntoalign); in str_unpack()
1418 if ((size_t)ntoalign + size > ~pos || pos + ntoalign + size > ld) in str_unpack()
1420 pos += ntoalign; /* skip alignment */ in str_unpack()