Home
last modified time | relevance | path

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

/netbsd/src/sys/compat/linux32/common/
Dlinux32_signal.c663 const struct linux32_sigevent *lsep) in linux32_to_native_sigevent() argument
667 switch (lsep->sigev_notify) { in linux32_to_native_sigevent()
683 NETBSD32PTR64(lsep->sigev_value.sival_ptr); in linux32_to_native_sigevent()
685 if (lsep->sigev_signo < 0 || lsep->sigev_signo >= LINUX32__NSIG) { in linux32_to_native_sigevent()
688 nsep->sigev_signo = linux32_to_native_signo[lsep->sigev_signo]; in linux32_to_native_sigevent()
/netbsd/src/sys/compat/linux/common/
Dlinux_signal.c864 const struct linux_sigevent *lsep) in linux_to_native_sigevent() argument
868 switch (lsep->sigev_notify) { in linux_to_native_sigevent()
883 nsep->sigev_value = lsep->sigev_value; in linux_to_native_sigevent()
884 if (lsep->sigev_signo < 0 || lsep->sigev_signo >= LINUX__NSIG) { in linux_to_native_sigevent()
887 nsep->sigev_signo = linux_to_native_signo[lsep->sigev_signo]; in linux_to_native_sigevent()
/netbsd/src/external/mit/lua/dist/src/
Dltablib.c163 size_t lsep; in tconcat() local
164 const char *sep = luaL_optlstring(L, 2, "", &lsep); in tconcat()
170 luaL_addlstring(&b, sep, lsep); in tconcat()
Dlstrlib.c155 size_t l, lsep; in str_rep() local
158 const char *sep = luaL_optlstring(L, 3, "", &lsep); in str_rep()
161 else if (l_unlikely(l + lsep < l || l + lsep > MAXSIZE / n)) in str_rep()
164 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep()
169 if (lsep > 0) { /* empty 'memcpy' is not that cheap */ in str_rep()
170 memcpy(p, sep, lsep * sizeof(char)); in str_rep()
171 p += lsep; in str_rep()