Lines Matching refs:ntoalign
1269 const char **fmt, int *psize, int *ntoalign) { in getdetails() argument
1277 *ntoalign = 0; in getdetails()
1283 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1340 int size, ntoalign; in str_pack() local
1341 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1342 totalsize += ntoalign + size; in str_pack()
1343 while (ntoalign-- > 0) in str_pack()
1423 int size, ntoalign; in str_packsize() local
1424 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1425 size += ntoalign; /* total space used by option */ in str_packsize()
1486 int size, ntoalign; in str_unpack() local
1487 KOption opt = getdetails(&h, pos, &fmt, &size, &ntoalign); in str_unpack()
1488 if ((size_t)ntoalign + size > ~pos || pos + ntoalign + size > ld) in str_unpack()
1490 pos += ntoalign; /* skip alignment */ in str_unpack()