Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 2 of 2) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlstring.c146 size_t totalsize; /* total size of TString object */ in createstrobj() local
147 totalsize = sizelstring(l); in createstrobj()
148 o = luaC_newobj(L, tag, totalsize); in createstrobj()
A Dlstrlib.c1484 static KOption getdetails (Header *h, size_t totalsize, in getdetails() argument
1549 size_t totalsize = 0; /* accumulate total size of result */ in str_pack() local
1555 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_pack()
1556 totalsize += ntoalign + size; in str_pack()
1620 totalsize += len; in str_pack()
1629 totalsize += len + 1; in str_pack()
1646 size_t totalsize = 0; /* accumulate total size of result */ in str_packsize() local
1650 KOption opt = getdetails(&h, totalsize, &fmt, &size, &ntoalign); in str_packsize()
1654 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize()
1656 totalsize += size; in str_packsize()
[all …]

Completed in 7 milliseconds