Home
last modified time | relevance | path

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

/external/lua/src/
Dlobject.c436 #define addsize(b,sz) ((b)->blen += (sz)) macro
447 addsize(buff, cast_int(slen)); in addstr2buff()
462 addsize(buff, len); in addnum2buff()
512 addsize(&buff, len); in luaO_pushvfstring()
/external/python/cpython3/Modules/
D_testbuffer.c1035 Py_ssize_t addsize; in init_suboffsets() local
1043 addsize = base->shape[0] * (sizeof (char *)); in init_suboffsets()
1046 addsize = 8 * ((addsize + 7) / 8); in init_suboffsets()
1048 data = PyMem_Malloc(ndbuf->len + addsize); in init_suboffsets()
1054 memcpy(data + addsize, ndbuf->data, ndbuf->len); in init_suboffsets()
1058 ndbuf->len += addsize; in init_suboffsets()
1076 start = addsize + ndbuf->offset + imin; in init_suboffsets()