Searched refs:dstsize (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/crypto/openssh/
H A Dloginrec.h125 char *line_fullname(char *dst, const char *src, u_int dstsize);
126 char *line_stripname(char *dst, const char *src, int dstsize);
127 char *line_abbrevname(char *dst, const char *src, int dstsize);
H A Dloginrec.c563 line_fullname(char *dst, const char *src, u_int dstsize) argument
565 memset(dst, '\0', dstsize);
566 if ((strncmp(src, "/dev/", 5) == 0) || (dstsize < (strlen(src) + 5)))
567 strlcpy(dst, src, dstsize);
569 strlcpy(dst, "/dev/", dstsize);
570 strlcat(dst, src, dstsize);
577 line_stripname(char *dst, const char *src, int dstsize) argument
579 memset(dst, '\0', dstsize);
581 strlcpy(dst, src + 5, dstsize);
583 strlcpy(dst, src, dstsize);
596 line_abbrevname(char *dst, const char *src, int dstsize) argument
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dportability.h63 extern size_t pcap_strlcat(char * restrict dst, const char * restrict src, size_t dstsize);
81 extern size_t pcap_strlcpy(char * restrict dst, const char * restrict src, size_t dstsize);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.str.c225 static size_t dstsize = 0; local
232 dstsize = MALLOC_INCR;
233 sdst = xmalloc((dstsize + MALLOC_SURPLUS) * sizeof(char));
236 edst = &dst[dstsize];
244 dstsize += MALLOC_INCR;
245 sdst = xrealloc(sdst, (dstsize + MALLOC_SURPLUS) * sizeof(char));
246 edst = &sdst[dstsize];
535 static size_t dstsize = 0; local
542 dstsize = MALLOC_INCR;
543 sdst = xmalloc((dstsize
[all...]
/freebsd-11-stable/lib/libc/nameser/
H A Dns_samedomain.c170 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument
173 if (n + sizeof "." > dstsize) { /*%< Note: sizeof == 2 */
/freebsd-11-stable/sys/kern/
H A Dkern_shutdown.c942 size_t dstsize; local
953 dstsize = sizeof(kdh->versionstring);
954 if (strlcpy(kdh->versionstring, version, dstsize) >= dstsize)
955 kdh->versionstring[dstsize - 2] = '\n';
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cg.c471 size_t dstsize = dt_node_type_size(dst); local
478 if (dstsize == srcsize &&
481 if (dstsize > srcsize && (src->dn_flags & DT_NF_SIGNED) == 0)
486 if (dstsize > srcsize) {
488 int s = (dstsize - srcsize) * NBBY;
512 } else if (dstsize != sizeof (uint64_t)) {
513 int n = sizeof (uint64_t) * NBBY - dstsize * NBBY;
H A Ddt_parser.c1918 size_t dstsize = dt_node_type_size(lp); local
1920 if (dstsize < srcsize) {
1921 int n = (sizeof (uint64_t) - dstsize) * NBBY;
1924 } else if (dstsize > srcsize) {
1926 int s = (dstsize - srcsize) * NBBY;

Completed in 89 milliseconds