Lines Matching +full:left +full:- +full:most
1 /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
20 #include "k5-platform.h"
25 * Copy src to string dst of size siz. At most siz-1 characters
38 while (--n != 0) { in krb5int_strlcpy()
47 *d = '\0'; /* NUL-terminate dst */ in krb5int_strlcpy()
52 return(s - src - 1); /* count does not include NUL */ in krb5int_strlcpy()
57 * full size of dst, not space left). At most siz-1 characters
70 /* Find the end of dst and adjust bytes left but don't go past end */ in krb5int_strlcat()
71 while (n-- != 0 && *d != '\0') in krb5int_strlcat()
73 dlen = d - dst; in krb5int_strlcat()
74 n = siz - dlen; in krb5int_strlcat()
81 n--; in krb5int_strlcat()
87 return(dlen + (s - src)); /* count does not include NUL */ in krb5int_strlcat()