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

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrdup.c11 strdup(const char *src) { argument
12 char *dst = malloc(strlen(src) + 1);
15 strcpy(dst, src);
/illumos-gate/usr/src/lib/libcurses/screen/
H A D_overlay.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 overlay(WINDOW *src, WINDOW *dst) argument
51 return (_overlap(src, dst, TRUE));
H A D_overwrite.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 overwrite(WINDOW *src, WINDOW *dst) argument
51 return (_overlap(src, dst, FALSE));
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstpncpy.c31 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
34 for (; n--; dst++, src++) {
35 if (!(*dst = *src)) {
H A Dstrlcpy.c26 * Copy string src to buffer dst of size dsize. At most dsize-1
28 * Returns strlen(src); if retval >= dsize, truncation occurred.
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) argument
33 const char *osrc = src;
39 if ((*dst++ = *src++) == '\0')
44 /* Not enough room in dst, add NUL and traverse rest of src. */
48 while (*src++)
52 return(src - osrc - 1); /* count does not include NUL */
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;
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 */
/illumos-gate/usr/src/boot/lib/libstand/
H A Dinet_ntoa.c47 unsigned char *src = (unsigned char *) ∈ local
49 sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrlcpy.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34 * Copies src to the dstsize buffer at dst. The copy will never
40 strlcpy(char *dst, const char *src, size_t len) argument
42 size_t slen = strlen(src);
52 (void) memcpy(dst, src, copied);
H A Dstrlcat.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34 * Appends src to the dstsize buffer at dst. The append will never
41 strlcat(char *dst, const char *src, size_t dstsize) argument
46 size_t l2 = strlen(src);
56 (void) memcpy(dst + l1, src, copied);
H A Dswab.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
46 swab(const char *src, char *dest, ssize_t n) argument
49 const char *from = (const char *)src;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfix_grouping.c49 char *src, *dst; local
56 for (src = (char *)str, dst = (char *)str; *src != '\0'; src++) {
59 if (*src == ';')
62 if (*src == '-' && *(src+1) == '1') {
64 src++;
68 if (!isdigit((unsigned char)*src)) {
74 n = *src
[all...]
H A Dstrxfrm.c40 strxfrm_l(char *_RESTRICT_KYWD xf, const char *_RESTRICT_KYWD src, argument
47 if (!*src) {
58 slen = strlen(src);
66 if (mbstowcs_l(wcs, src, slen + 1, loc) == (size_t)-1)
87 (void) strlcpy(xf, src, dlen);
93 strxfrm(char *_RESTRICT_KYWD xf, const char *_RESTRICT_KYWD src, size_t dlen) argument
95 return (strxfrm_l(xf, src, dlen, uselocale(NULL)));
H A Dwcsrtombs.c39 wcsrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument
46 return (loc->ctype->lc_wcsnrtombs(dst, src, ULONG_MAX, len, ps));
50 wcsrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument
53 return (wcsrtombs_l(dst, src, len, ps, uselocale(NULL)));
H A Dwcsxfrm.c41 const wchar_t *_RESTRICT_KYWD src, size_t len, locale_t loc)
46 if (*src == L'\0') {
53 ((slen = _collate_wxfrm(lcc, src, dest, len)) == (size_t)-1)) {
67 slen = wcslen(src);
69 (void) wcscpy(dest, src);
71 (void) wcsncpy(dest, src, len - 1);
79 const wchar_t *_RESTRICT_KYWD src, size_t len)
81 return (wcsxfrm_l(dest, src, len, uselocale(NULL)));
40 wcsxfrm_l(wchar_t *_RESTRICT_KYWD dest, const wchar_t *_RESTRICT_KYWD src, size_t len, locale_t loc) argument
78 wcsxfrm(wchar_t *_RESTRICT_KYWD dest, const wchar_t *_RESTRICT_KYWD src, size_t len) argument
H A Dmbsrtowcs.c39 mbsrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument
47 return (loc->ctype->lc_mbsnrtowcs(dst, src, ULONG_MAX, len, ps));
51 mbsrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument
54 return (mbsrtowcs_l(dst, src, len, ps, uselocale(NULL)));
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
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);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_netint.c27 ns_get16(const u_char *src) { argument
30 NS_GET16(dst, src);
35 ns_get32(const u_char *src) { argument
38 NS_GET32(dst, src);
43 ns_put16(u_int src, u_char *dst) { argument
44 NS_PUT16(src, dst);
48 ns_put32(u_long src, u_char *dst) { argument
49 NS_PUT32(src, dst);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_struct_assign1.c3 void memcpy(void *dest, void *src, int size);
13 struct foo src = {1, 41}; local
16 memcpy(&dest, &src, sizeof(dest));
H A Dsm_user_data4.c3 int copy_from_user(void *dest, void *src, int size);
9 void *src; variable
14 copy_from_user(&x, src, sizeof(int));
21 copy_from_user(&dest->x, src, sizeof(int));
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dudp.h10 in_addr src; member in struct:udp_pseudo_hdr
17 uint16_t src; member in struct:udphdr
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_stats.c87 uint64_t *src; local
99 src = (uint64_t *)&(rdsv3_per_cpu(rdsv3_ib_stats, cpu));
102 *(sum++) += *(src++);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dwchar.c53 cpy8to16(const char *src, CHAR16 *dst, size_t len) argument
56 while (len > 0 && *src) {
57 *dst++ = *src++;
64 cpy16to8(const CHAR16 *src, char *dst, size_t len) argument
68 for (i = 0; i < len && src[i]; i++)
69 dst[i] = (char)src[i];
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_statvfs.c9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
41 statvfs_32_to_n(statvfs32_t *src, statvfs_t *dest) argument
43 dest->f_bsize = src->f_bsize;
44 dest->f_frsize = src->f_frsize;
45 dest->f_blocks = src->f_blocks;
46 dest->f_bfree = src->f_bfree;
47 dest->f_bavail = src->f_bavail;
48 dest->f_files = src->f_files;
49 dest->f_ffree = src
[all...]

Completed in 166 milliseconds

1234567891011>>