Searched refs:src (Results 76 - 100 of 1592) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/libkern/
H A Dstrlcpy.c26 * Copy src to string dst of size siz. At most siz-1 characters
28 * Returns strlen(src); if retval >= siz, truncation occurred.
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t siz) argument
34 const char *s = src;
45 /* Not enough room in dst, add NUL and traverse rest of src */
53 return(s - src - 1); /* count does not include NUL */
H A Dstrlcat.c40 * Appends src to string dst of size siz (unlike strncat, siz is the
43 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
47 strlcat(dst, src, siz)
49 const char *src;
53 const char *s = src;
74 return(dlen + (s - src)); /* count does not include NUL */
H A Dstrncpy.c39 * Copy src to dst, truncating or null-padding to always copy n bytes.
43 strncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
47 register const char *s = src;
H A Dinet_pton.c39 static int inet_pton4(const char *src, u_char *dst);
40 static int inet_pton6(const char *src, u_char *dst);
43 * inet_pton(af, src, dst)
54 inet_pton(int af, const char *src, void *dst) argument
58 return (inet_pton4(src, dst));
60 return (inet_pton6(src, dst));
68 * inet_pton4(src, dst)
71 * 1 if `src' is a valid dotted quad, else 0.
78 inet_pton4(const char *src, u_char *dst) argument
88 while ((ch = *src
132 inet_pton6(const char *src, u_char *dst) argument
[all...]
/freebsd-9.3-release/sys/mips/sibyte/
H A Dsb_scd.h38 int sb_route_intsrc(int src);
39 void sb_enable_intsrc(int cpu, int src);
40 void sb_disable_intsrc(int cpu, int src);
/freebsd-9.3-release/contrib/ofed/libibverbs/include/infiniband/
H A Dmarshall.h52 struct ibv_kern_qp_attr *src);
55 struct ibv_kern_ah_attr *src);
58 struct ibv_kern_path_rec *src);
61 struct ibv_sa_path_rec *src);
/freebsd-9.3-release/gnu/usr.bin/groff/
H A DMakefile3 SUBDIR= contrib doc font man src tmac
/freebsd-9.3-release/sys/boot/i386/efi/
H A Di386_copy.c41 i386_copyin(const void *src, vm_offset_t dest, const size_t len) argument
43 bcopy(src, PTOV(dest), len);
48 i386_copyout(const vm_offset_t src, void *dest, const size_t len) argument
50 bcopy(PTOV(src), dest, len);
/freebsd-9.3-release/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-9.3-release/usr.sbin/ctm/mkCTM/
H A Dctm_conf.src-special3 set CTMname src-cur
5 set CTMcopy /c/phk/20R/usr/src
/freebsd-9.3-release/tools/regression/lib/libc/locale/
H A Dtest-mbsrtowcs.c52 char *src; local
65 src = srcbuf;
67 assert(mbsrtowcs(dstbuf, (const char **)&src, sizeof(dstbuf) /
71 assert(src == NULL);
77 src = srcbuf;
79 assert(mbsrtowcs(dstbuf, (const char **)&src, 4, &s) == 4);
82 assert(src == srcbuf + 4);
87 src = srcbuf;
89 assert(mbsrtowcs(NULL, (const char **)&src, 0, &s) == 5);
95 src
[all...]
H A Dtest-wcsrtombs.c52 wchar_t *src; local
65 src = srcbuf;
67 assert(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
71 assert(src == NULL);
77 src = srcbuf;
79 assert(wcsrtombs(dstbuf, (const wchar_t **)&src, 4,
83 assert(src == srcbuf + 4);
88 src = srcbuf;
90 assert(wcsrtombs(NULL, (const wchar_t **)&src, sizeof(dstbuf),
97 src
[all...]
H A Dtest-wcsnrtombs.c51 wchar_t *src; local
64 src = srcbuf;
66 assert(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf),
70 assert(src == NULL);
76 src = srcbuf;
78 assert(wcsnrtombs(dstbuf, (const wchar_t **)&src, 4, sizeof(dstbuf),
82 assert(src == srcbuf + 4);
88 src = srcbuf;
90 assert(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 4,
94 assert(src
[all...]
/freebsd-9.3-release/contrib/gcc/config/
H A Dmemmove.c5 memmove (void *dest, const void *src, size_t len) argument
8 const char *s = src;
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dmempcpy.c38 mempcpy (PTR dst, const PTR src, size_t len) argument
40 return (char *) memcpy (dst, src, len) + len;
/freebsd-9.3-release/contrib/gcclibs/libssp/
H A Dmemcpy-chk.c45 __memcpy_chk (void *__restrict__ dest, const void *__restrict__ src, argument
50 return memcpy (dest, src, len);
H A Dmemmove-chk.c46 __memmove_chk (void *dest, const void *src, size_t len, size_t slen) argument
50 return memmove (dest, src, len);
H A Dmempcpy-chk.c46 __mempcpy_chk (void *__restrict__ dest, const void *__restrict__ src, argument
51 return memcpy (dest, src, len) + len;
H A Dstrncpy-chk.c46 __strncpy_chk (char *__restrict__ dest, const char *__restrict__ src, argument
51 return strncpy (dest, src, len);
/freebsd-9.3-release/contrib/less/
H A Dcvt.c67 char *src; local
76 for (src = osrc, dst = odst; src < src_end; )
78 int src_pos = src - osrc;
80 ch = step_char(&src, +1, src_end);
91 src++; /* skip the CSI start char */
92 while (src < src_end)
93 if (!is_ansi_middle(*src++))
113 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; */
/freebsd-9.3-release/contrib/tnftp/
H A DMakefile.am9 SUBDIRS += src
/freebsd-9.3-release/lib/libc/string/
H A Dstrncat.c42 * Concatenate src on the end of dst. At most strlen(dst)+n+1 bytes
46 strncat(char * __restrict dst, const char * __restrict src, size_t n) argument
50 const char *s = src;
H A Dstrncpy.c42 * Copy src to dst, truncating or null-padding to always copy n bytes.
46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
50 const char *s = src;
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dstring.h39 kmemdup(const void *src, size_t len, gfp_t gfp) argument
45 memcpy(dst, src, len);
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dinet_pton.c44 static int inet_pton4(const char *src, unsigned char *dst);
45 static int inet_pton6(const char *src, unsigned char *dst);
46 int isc_net_pton(int af, const char *src, void *dst);
59 isc_net_pton(int af, const char *src, void *dst) { argument
62 return (inet_pton4(src, dst));
64 return (inet_pton6(src, dst));
72 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
76 * 1 if `src' is a valid dotted quad, else 0.
83 inet_pton4(const char *src, unsigned char *dst) { argument
91 while ((ch = *src
135 inet_pton6(const char *src, unsigned char *dst) argument
[all...]

Completed in 136 milliseconds

1234567891011>>