Searched refs:lsep (Results 1 – 2 of 2) sorted by relevance
/external/lua/src/ |
D | ltablib.c | 158 size_t lsep; in tconcat() local 159 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat() 165 luaL_addlstring(&b, sep, lsep); in tconcat()
|
D | lstrlib.c | 151 size_t l, lsep; in str_rep() local 154 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep() 156 else if (l + lsep < l || l + lsep > MAXSIZE / n) /* may overflow? */ in str_rep() 159 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep() 164 if (lsep > 0) { /* empty 'memcpy' is not that cheap */ in str_rep() 165 memcpy(p, sep, lsep * sizeof(char)); in str_rep() 166 p += lsep; in str_rep()
|