Searched defs:dst (Results 1 - 25 of 1182) sorted by relevance

1234567891011>>

/freebsd-head/contrib/ipfilter/lib/
H A Dprintdstlist.c20 ippool_dst_t dst; local
22 if ((*copyfunc)(pp, &dst, sizeof(dst)))
25 if ((name != NULL) && strncmp(name, dst.ipld_name, FR_GROUPLEN))
26 return dst.ipld_next;
29 printdstlistdata(&dst, opts);
31 if ((dst.ipld_flags & IPDST_DELETE) != 0)
59 return dst.ipld_next;
H A Dload_dstlistnode.c24 frdest_t *dst; local
31 dst = calloc(1, sizeof(*dst) + node->ipfd_dest.fd_name);
32 if (dst == NULL)
38 op.iplo_struct = dst;
39 op.iplo_size = sizeof(*dst);
44 dst->fd_addr = node->ipfd_dest.fd_addr;
45 dst->fd_type = node->ipfd_dest.fd_type;
46 dst->fd_name = node->ipfd_dest.fd_name;
48 bcopy(node->ipfd_names, (char *)dst
[all...]
/freebsd-head/contrib/file/src/
H A Dasctime_r.c12 asctime_r(const struct tm *t, char *dst) argument
17 memcpy(dst, p, 26);
18 return dst;
H A Dctime_r.c12 ctime_r(const time_t *t, char *dst) argument
17 memcpy(dst, p, 26);
18 return dst;
H A Dstrlcpy.c26 * Copy src to string dst of size siz. At most siz-1 characters
31 strlcpy(char *dst, const char *src, size_t siz) argument
33 char *d = dst;
45 /* Not enough room in dst, add NUL and traverse rest of src */
48 *d = '\0'; /* NUL-terminate dst */
/freebsd-head/lib/libc/amd64/string/
H A Dbcopy.c11 bcopy(const void *src, void *dst, size_t len) argument
14 memmove(dst, src, len);
/freebsd-head/crypto/heimdal/lib/roken/
H A Dstrlcat.c40 strlcat (char *dst, const char *src, size_t dst_sz) argument
44 len = strnlen_s(dst, dst_sz);
46 len = strnlen(dst, dst_sz);
48 len = strlen(dst);
52 /* the total size of dst is less than the string it contains;
57 return len + strlcpy (dst + len, src, dst_sz - len);
H A Dstrlcpy.c42 strlcpy (char *dst, const char *src, size_t dst_cch) argument
47 e = strncpy_s(dst, dst_cch, src, _TRUNCATE);
55 strlcpy (char *dst, const char *src, size_t dst_sz) argument
60 if ((*dst++ = *src++) == '\0')
67 *(dst - 1) = '\0';
/freebsd-head/contrib/cortex-strings/src/thumb-2/
H A Dstrcpy.c45 strcpy (char* dst, const char* src) argument
143 /* src and dst do not have a common word-alignement. Fall back to
/freebsd-head/contrib/openpam/lib/libpam/
H A Dopenpam_strlcat.c44 openpam_strlcat(char *dst, const char *src, size_t size) argument
48 for (len = 0; *dst && size > 1; ++len, --size)
49 dst++;
51 *dst++ = *src++;
52 *dst = '\0';
H A Dopenpam_strlcpy.c44 openpam_strlcpy(char *dst, const char *src, size_t size) argument
49 *dst++ = *src++;
50 *dst = '\0';
/freebsd-head/lib/libc/string/
H A Dstpncpy.c35 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
40 char *ret = dst;
42 *++dst = '\0';
46 return (dst);
H A Dwcpncpy.c35 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
40 wchar_t *ret = dst;
42 *++dst = L'\0';
46 return (dst);
H A Dstrlcpy.c26 * Copy string src to buffer dst of size dsize. At most dsize-1
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) argument
39 if ((*dst++ = *src++) == '\0')
44 /* Not enough room in dst, add NUL and traverse rest of src. */
47 *dst = '\0'; /* NUL-terminate dst */
/freebsd-head/contrib/bearssl/src/codec/
H A Denc16be.c29 br_range_enc16be(void *dst, const uint16_t *v, size_t num) argument
33 buf = dst;
H A Denc16le.c29 br_range_enc16le(void *dst, const uint16_t *v, size_t num) argument
33 buf = dst;
H A Denc32be.c29 br_range_enc32be(void *dst, const uint32_t *v, size_t num) argument
33 buf = dst;
H A Denc32le.c29 br_range_enc32le(void *dst, const uint32_t *v, size_t num) argument
33 buf = dst;
H A Denc64be.c29 br_range_enc64be(void *dst, const uint64_t *v, size_t num) argument
33 buf = dst;
H A Denc64le.c29 br_range_enc64le(void *dst, const uint64_t *v, size_t num) argument
33 buf = dst;
/freebsd-head/contrib/bmake/
H A Dstrlcpy.c31 * Copy src to string dst of size siz. At most siz-1 characters
36 strlcpy(char *dst, const char *src, size_t siz) argument
38 char *d = dst;
42 if (!dst || !src)
53 /* Not enough room in dst, add NUL and traverse rest of src */
56 *d = '\0'; /* NUL-terminate dst */
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dstrlcpy.c28 * Copy src to string dst of size siz. At most siz-1 characters
33 strlcpy(char *dst, const char *src, size_t siz) argument
35 char *d = dst;
47 /* Not enough room in dst, add NUL and traverse rest of src */
50 *d = '\0'; /* NUL-terminate dst */
/freebsd-head/contrib/ldns/compat/
H A Dstrlcpy.c27 * Copy src to string dst of size siz. At most siz-1 characters
32 strlcpy(char *dst, const char *src, size_t siz) argument
34 char *d = dst;
46 /* Not enough room in dst, add NUL and traverse rest of src */
49 *d = '\0'; /* NUL-terminate dst */
/freebsd-head/contrib/unbound/compat/
H A Dstrlcpy.c27 * Copy src to string dst of size siz. At most siz-1 characters
32 strlcpy(char *dst, const char *src, size_t siz) argument
34 char *d = dst;
46 /* Not enough room in dst, add NUL and traverse rest of src */
49 *d = '\0'; /* NUL-terminate dst */
/freebsd-head/contrib/openbsm/compat/
H A Dstrlcat.h31 * Appends src to string dst of size siz (unlike strncat, siz is the
32 * full size of dst, not space left). At most siz-1 characters
33 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
34 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
38 strlcat(dst, src, siz)
39 char *dst; variable
43 char *d = dst;
48 /* Find the end of dst and adjust bytes left but don't go past end */
51 dlen = d - dst;

Completed in 96 milliseconds

1234567891011>>