Searched defs:src (Results 76 - 100 of 1414) sorted by relevance

1234567891011>>

/freebsd-head/sys/crypto/camellia/
H A Dcamellia-api.c47 camellia_decrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) argument
50 Camellia_DecryptBlock(ctx->bits, src, ctx->subkey, dst);
54 camellia_encrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) argument
57 Camellia_EncryptBlock(ctx->bits, src, ctx->subkey, dst);
/freebsd-head/sys/crypto/rijndael/
H A Drijndael-api.c48 rijndael_decrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
51 rijndaelDecrypt(ctx->dk, ctx->Nr, src, dst);
55 rijndael_encrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
58 rijndaelEncrypt(ctx->ek, ctx->Nr, src, dst);
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dgetenv_num.c45 char *src = getenv(name); local
48 if ((src == 0)
49 || (value = strtol(src, &dst, 0)) < 0
50 || (dst == src)
/freebsd-head/contrib/unbound/compat/
H A Dstrlcat.c39 * Appends src to string dst of size siz (unlike strncat, siz is the
42 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
46 strlcat(char *dst, const char *src, size_t siz) argument
49 const char *s = src;
70 return(dlen + (s - src)); /* count does not include NUL */
/freebsd-head/contrib/file/src/
H A Dstrlcat.c26 * Appends src to string dst of size siz (unlike strncat, siz is the
29 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
33 strlcat(char *dst, const char *src, size_t siz) argument
36 const char *s = src;
57 return(dlen + (s - src)); /* count does not include NUL */
/freebsd-head/contrib/ntp/libntp/
H A Dstrl_obsd.c35 * Copy src to string dst of size siz. At most siz-1 characters
37 * Returns strlen(src); if retval >= siz, truncation occurred.
40 strlcpy(char *dst, const char *src, size_t siz) argument
43 const char *s = src;
54 /* Not enough room in dst, add NUL and traverse rest of src */
62 return(s - src - 1); /* count does not include NUL */
90 * Appends src to string dst of size siz (unlike strncat, siz is the
93 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
97 strlcat(char *dst, const char *src, size_t siz) argument
100 const char *s = src;
[all...]
/freebsd-head/lib/libc/string/
H A Dstrlcat.c26 * Appends src to string dst of size dsize (unlike strncat, dsize is the
29 * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) argument
36 const char *osrc = src;
47 return(dlen + strlen(src));
48 while (*src != '\0') {
50 *dst++ = *src;
53 src++;
57 return(dlen + (src - osrc)); /* count does not include NUL */
H A Dstrxfrm.c46 strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len, locale_t loc);
48 strxfrm(char * __restrict dest, const char * __restrict src, size_t len) argument
50 return strxfrm_l(dest, src, len, __get_locale());
54 strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len, locale_t locale) argument
64 if (!*src) {
75 slen = strlen(src);
83 if (mbstowcs_l(wcs, src, slen + 1, locale) == (size_t)-1)
102 strlcpy(dest, src, len);
H A Dwcslcat.c44 * Appends src to string dst of size siz (unlike wcsncat, siz is the
47 * Returns wcslen(initial dst) + wcslen(src); if retval >= siz,
51 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) argument
54 const wchar_t *s = src;
75 return(dlen + (s - src)); /* count does not include NUL */
/freebsd-head/lib/libc/tests/locale/
H A Dwcsnrtombs_test.c52 wchar_t *src; local
61 src = srcbuf;
63 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf),
67 ATF_REQUIRE(src == NULL);
73 src = srcbuf;
75 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 4, sizeof(dstbuf),
79 ATF_REQUIRE(src == srcbuf + 4);
85 src = srcbuf;
87 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 4,
91 ATF_REQUIRE(src
[all...]
H A Dwcsrtombs_test.c53 wchar_t *src; local
62 src = srcbuf;
64 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
68 ATF_REQUIRE(src == NULL);
74 src = srcbuf;
76 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, 4,
80 ATF_REQUIRE(src == srcbuf + 4);
85 src = srcbuf;
87 ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, sizeof(dstbuf),
94 src
[all...]
/freebsd-head/sys/riscv/riscv/
H A Dcopystr.c37 const char *src; local
43 src = kfaddr;
46 dst[pos] = src[pos];
47 if (src[pos] == '\0') {
/freebsd-head/contrib/tcpdump/missing/
H A Dstrlcat.c42 * Appends src to string dst of size siz (unlike strncat, siz is the
45 * Returns strlen(src); if retval >= siz, truncation occurred.
48 strlcat(char *dst, const char *src, size_t siz) argument
51 register const char *s = src;
72 return(dlen + (s - src)); /* count does not include NUL */
/freebsd-head/sys/libkern/
H A Dstrlcat.c42 * Appends src to string dst of size siz (unlike strncat, siz is the
45 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
49 strlcat(char *dst, const char *src, size_t siz) argument
52 const char *s = src;
73 return(dlen + (s - src)); /* count does not include NUL */
/freebsd-head/lib/libc/inet/
H A Dinet_neta.c47 * inet_neta(src, dst, size)
52 * format of ``src'' is as for inet_network().
57 inet_neta(in_addr_t src, char *dst, size_t size) argument
62 while (src & 0xffffffff) {
63 u_char b = (src & 0xff000000) >> 24;
65 src <<= 8;
71 if (src != 0L) {
/freebsd-head/lib/libc/tests/iconv/
H A Diconvctl_test.c34 test_trivialp(const char *src, const char *dst, int expected) argument
39 ic = iconv_open(dst, src);
/freebsd-head/contrib/unbound/edns-subnet/
H A Dedns-subnet.c47 copy_clear(uint8_t* dst, size_t dstlen, uint8_t* src, size_t srclen, size_t n) argument
56 memcpy(dst, src, intpart);
58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart);
/freebsd-head/contrib/mandoc/
H A Dcompat_strlcat.c31 * Appends src to string dst of size siz (unlike strncat, siz is the
34 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
38 strlcat(char *dst, const char *src, size_t siz) argument
41 const char *s = src;
62 return(dlen + (s - src)); /* count does not include NUL */
H A Dcompat_strlcpy.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;
50 /* Not enough room in dst, add NUL and traverse rest of src */
58 return(s - src - 1); /* count does not include NUL */
/freebsd-head/contrib/elftoolchain/libelf/
H A Dgelf_xlate.c36 elf32_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
38 return _libelf_xlate(dst, src, encoding, ELFCLASS32, EM_NONE,
43 elf64_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
45 return _libelf_xlate(dst, src, encoding, ELFCLASS64, EM_NONE,
50 elf32_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
52 return _libelf_xlate(dst, src, encoding, ELFCLASS32, EM_NONE,
57 elf64_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
59 return _libelf_xlate(dst, src, encoding, ELFCLASS64, EM_NONE,
64 gelf_xlatetom(Elf *e, Elf_Data *dst, const Elf_Data *src, argument
68 return (_libelf_xlate(dst, src, encodin
75 gelf_xlatetof(Elf *e, Elf_Data *dst, const Elf_Data *src, unsigned int encoding) argument
[all...]
/freebsd-head/stand/efi/libefi/
H A Dwchar.c54 cpy8to16(const char *src, CHAR16 *dst, size_t len) argument
57 while (len > 0 && *src) {
58 *dst++ = *src++;
65 cpy16to8(const CHAR16 *src, char *dst, size_t len) argument
69 for (i = 0; i < len && src[i]; i++)
70 dst[i] = (char)src[i];
/freebsd-head/contrib/bearssl/src/codec/
H A Dccopy.c29 br_ccopy(uint32_t ctl, void *dst, const void *src, size_t len) argument
35 s = src;
/freebsd-head/contrib/bearssl/src/ec/
H A Decdsa_i15_bits.c30 const void *src, size_t len, uint32_t ebitlen)
44 br_i15_decode(x, src, len);
29 br_ecdsa_i15_bits2int(uint16_t *x, const void *src, size_t len, uint32_t ebitlen) argument
H A Decdsa_i31_bits.c30 const void *src, size_t len, uint32_t ebitlen)
44 br_i31_decode(x, src, len);
29 br_ecdsa_i31_bits2int(uint32_t *x, const void *src, size_t len, uint32_t ebitlen) argument
/freebsd-head/contrib/bearssl/src/int/
H A Di15_decode.c29 br_i15_decode(uint16_t *x, const void *src, size_t len) argument
36 buf = src;

Completed in 369 milliseconds

1234567891011>>