Searched refs:lsep (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltablib.c | 95 size_t lsep; in tconcat() local 97 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat() 104 luaL_addlstring(&b, sep, lsep); in tconcat()
|
H A D | lstrlib.c | 132 size_t l, lsep; in str_rep() local 135 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep() 137 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ in str_rep() 140 size_t totallen = n * l + (n - 1) * lsep; in str_rep() 145 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */ in str_rep() 146 memcpy(p, sep, lsep * sizeof(char)); p += lsep; in str_rep()
|