Lines Matching refs:ntoalign
1485 const char **fmt, int *psize, int *ntoalign) { in getdetails() argument
1493 *ntoalign = 0; in getdetails()
1499 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1554 int size, ntoalign; in str_pack() local
1555 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1556 totalsize += ntoalign + size; in str_pack()
1557 while (ntoalign-- > 0) in str_pack()
1649 int size, ntoalign; in str_packsize() local
1650 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1653 size += ntoalign; /* total space used by option */ in str_packsize()
1707 int size, ntoalign; in str_unpack() local
1708 KOption opt = getdetails(&h, pos, &fmt, &size, &ntoalign); in str_unpack()
1709 luaL_argcheck(L, (size_t)ntoalign + size <= ld - pos, 2, in str_unpack()
1711 pos += ntoalign; /* skip alignment */ in str_unpack()