Home
last modified time | relevance | path

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

/l4re-core-master/lua/lib/contrib/src/
A Dltablib.c158 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()
A Dlstrlib.c151 size_t l, lsep; in str_rep() local
154 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep()
157 else if (l_unlikely(l + lsep < l || l + lsep > MAXSIZE / n)) in str_rep()
160 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep()
165 if (lsep > 0) { /* empty 'memcpy' is not that cheap */ in str_rep()
166 memcpy(p, sep, lsep * sizeof(char)); in str_rep()
167 p += lsep; in str_rep()

Completed in 8 milliseconds