Searched defs:src (Results 1 - 25 of 1322) sorted by relevance

1234567891011>>

/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/contrib/llvm-project/lldb/source/API/
H A DUtils.h17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) { argument
18 if (src)
19 return std::make_unique<T>(*src);
23 template <typename T> std::shared_ptr<T> clone(const std::shared_ptr<T> &src) { argument
24 if (src)
25 return std::make_shared<T>(*src);
/freebsd-head/contrib/binutils/libiberty/
H A Dmemchr.c23 const unsigned char *src = (const unsigned char *)src_void; local
27 if (*src == c)
28 return (PTR)src;
29 src++;
/freebsd-head/crypto/heimdal/lib/roken/
H A Dstrlcat.c40 strlcat (char *dst, const char *src, size_t dst_sz) argument
55 return len + strlen(src);
57 return len + strlcpy (dst + len, src, dst_sz - len);
H A Dgetipnodebyaddr.c39 * lookup `src, len' (address family `af') in DNS and return a pointer
44 getipnodebyaddr (const void *src, size_t len, int af, int *error_num) argument
48 tmp = gethostbyaddr (src, len, af);
H A Dstrlcpy.c42 strlcpy (char *dst, const char *src, size_t dst_cch) argument
47 e = strncpy_s(dst, dst_cch, src, _TRUNCATE);
49 return strlen (src);
55 strlcpy (char *dst, const char *src, size_t dst_sz) argument
60 if ((*dst++ = *src++) == '\0')
68 return n + strlen (src);
/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.c42 /* like strcat(3), but always NUL-terminates; returns strlen(src) */
44 openpam_strlcat(char *dst, const char *src, size_t size) argument
50 for (; *src && size > 1; ++len, --size)
51 *dst++ = *src++;
53 while (*src)
54 ++len, ++src;
H A Dopenpam_strlcpy.c42 /* like strcpy(3), but always NUL-terminates; returns strlen(src) */
44 openpam_strlcpy(char *dst, const char *src, size_t size) argument
48 for (len = 0; *src && size > 1; ++len, --size)
49 *dst++ = *src++;
51 while (*src)
52 ++len, ++src;
/freebsd-head/stand/libsa/
H A Dinet_ntoa.c53 unsigned char *src = (unsigned char *) &in; local
55 sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
/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)) {
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)) {
/freebsd-head/contrib/bearssl/src/codec/
H A Ddec16be.c29 br_range_dec16be(uint16_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec16le.c29 br_range_dec16le(uint16_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec32be.c29 br_range_dec32be(uint32_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec32le.c29 br_range_dec32le(uint32_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec64be.c29 br_range_dec64be(uint64_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec64le.c29 br_range_dec64le(uint64_t *v, size_t num, const void *src) argument
33 buf = src;
/freebsd-head/contrib/bmake/
H A Dstrlcpy.c31 * Copy src to string dst of size siz. At most siz-1 characters
33 * Returns strlen(src); if retval >= siz, truncation occurred.
36 strlcpy(char *dst, const char *src, size_t siz) argument
39 const char *s = src;
42 if (!dst || !src)
53 /* Not enough room in dst, add NUL and traverse rest of src */
61 return(s - src - 1); /* count does not include NUL */
/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dduplicate_name.c42 krb5_const_principal src = (krb5_const_principal)src_name; local
49 kret = krb5_copy_principal (context, src, &dest);
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dstrlcpy.c28 * Copy src to string dst of size siz. At most siz-1 characters
30 * Returns strlen(src); if retval >= siz, truncation occurred.
33 strlcpy(char *dst, const char *src, size_t siz) argument
36 const char *s = src;
47 /* Not enough room in dst, add NUL and traverse rest of src */
55 return(s - src - 1); /* count does not include NUL */
/freebsd-head/contrib/ldns/compat/
H A Dmemmove.c12 void *memmove(void *dest, const void *src, size_t n);
14 void *memmove(void *dest, const void *src, size_t n) argument
16 uint8_t* from = (uint8_t*) src;
41 memcpy(dest, src, n);
H A Dstrlcpy.c27 * Copy src to string dst of size siz. At most siz-1 characters
29 * Returns strlen(src); if retval >= siz, truncation occurred.
32 strlcpy(char *dst, const char *src, size_t siz) argument
35 const char *s = src;
46 /* Not enough room in dst, add NUL and traverse rest of src */
54 return(s - src - 1); /* count does not include NUL */
/freebsd-head/contrib/unbound/compat/
H A Dstrlcpy.c27 * Copy src to string dst of size siz. At most siz-1 characters
29 * Returns strlen(src); if retval >= siz, truncation occurred.
32 strlcpy(char *dst, const char *src, size_t siz) argument
35 const char *s = src;
46 /* Not enough room in dst, add NUL and traverse rest of src */
54 return(s - src - 1); /* count does not include NUL */
/freebsd-head/contrib/ipfilter/lib/
H A Dparsewhoisline.c21 char *src = line; local
27 while (*src != '\0') {
28 s = strchr(src, '(');
33 src = s + 1;

Completed in 148 milliseconds

1234567891011>>