Searched refs:lsep (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.bin/netstat/ |
H A D | if.c | 218 const char *lsep, *rsep; in show_stat() local 221 lsep = ""; in show_stat() 223 lsep = " "; in show_stat() 233 xo_emit("{P:/%s}{D:/%*s}{P:/%s}", lsep, width, "-", rsep); in show_stat() 255 maybe_pad(lsep); in show_stat() 261 maybe_pad(lsep); in show_stat()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ltablib.c | 93 size_t lsep; in tconcat() local 95 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat() 102 luaL_addlstring(&b, sep, lsep); in tconcat()
|
H A D | lstrlib.c | 118 size_t l, lsep; in str_rep() local 121 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep() 123 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ in str_rep() 126 size_t totallen = n * l + (n - 1) * lsep; in str_rep() 131 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */ in str_rep() 132 memcpy(p, sep, lsep * sizeof(char)); p += lsep; in str_rep()
|
/freebsd/contrib/lua/src/ |
H A D | ltablib.c | 159 size_t lsep; in tconcat() local 160 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat() 166 luaL_addlstring(&b, sep, lsep); in tconcat()
|
H A D | lstrlib.c | 151 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()
|