Lines Matching refs:ntoalign
1491 const char **fmt, int *psize, int *ntoalign) { in getdetails() argument
1499 *ntoalign = 0; in getdetails()
1505 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1562 int size, ntoalign; in str_pack() local
1563 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1564 totalsize += ntoalign + size; in str_pack()
1565 while (ntoalign-- > 0) in str_pack()
1645 int size, ntoalign; in str_packsize() local
1646 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1649 size += ntoalign; /* total space used by option */ in str_packsize()
1703 int size, ntoalign; in str_unpack() local
1704 KOption opt = getdetails(&h, pos, &fmt, &size, &ntoalign); in str_unpack()
1705 luaL_argcheck(L, (size_t)ntoalign + size <= ld - pos, 2, in str_unpack()
1707 pos += ntoalign; /* skip alignment */ in str_unpack()