Home
last modified time | relevance | path

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

/external/syslinux/com32/lua/src/
Dltablib.c95 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()
Dlstrlib.c109 size_t l, lsep; in str_rep() local
112 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep()
114 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ in str_rep()
117 size_t totallen = n * l + (n - 1) * lsep; in str_rep()
122 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */ in str_rep()
123 memcpy(p, sep, lsep * sizeof(char)); p += lsep; in str_rep()