Searched refs:lsep (Results 1 – 2 of 2) sorted by relevance
/external/lua/src/ |
D | ltablib.c | 172 size_t lsep; in tconcat() local 173 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat() 179 luaL_addlstring(&b, sep, lsep); in tconcat()
|
D | lstrlib.c | 123 size_t l, lsep; in str_rep() local 126 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep() 128 else if (l + lsep < l || l + lsep > MAXSIZE / n) /* may overflow? */ in str_rep() 131 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep() 136 if (lsep > 0) { /* empty 'memcpy' is not that cheap */ in str_rep() 137 memcpy(p, sep, lsep * sizeof(char)); in str_rep() 138 p += lsep; in str_rep()
|