Lines Matching refs:totalsize
1268 static KOption getdetails (Header *h, size_t totalsize, in getdetails() argument
1283 *ntoalign = (align - (int)(totalsize & (align - 1))) & (align - 1); in getdetails()
1335 size_t totalsize = 0; /* accumulate total size of result */ in str_pack() local
1341 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1342 totalsize += ntoalign + size; in str_pack()
1394 totalsize += len; in str_pack()
1403 totalsize += len + 1; in str_pack()
1420 size_t totalsize = 0; /* accumulate total size of result */ in str_packsize() local
1424 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1426 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize()
1428 totalsize += size; in str_packsize()
1437 lua_pushinteger(L, (lua_Integer)totalsize); in str_packsize()