/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | _overlay.c | 9 * 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.c | 9 * 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/lib/libresolv2/common/bsd/ |
H A D | strdup.c | 11 strdup(const char *src) { argument 12 char *dst = malloc(strlen(src) + 1); 15 strcpy(dst, src);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | inet_ntoa.c | 53 unsigned char *src = (unsigned char *) ∈ local 55 sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_netint.c | 33 ns_get16(const u_char *src) { argument 36 NS_GET16(dst, src); 41 ns_get32(const u_char *src) { argument 44 NS_GET32(dst, src); 49 ns_put16(u_int src, u_char *dst) { argument 50 NS_PUT16(src, dst); 54 ns_put32(u_long src, u_char *dst) { argument 55 NS_PUT32(src, dst);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strlcpy.c | 8 * 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 D | strlcat.c | 8 * 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 D | swab.c | 8 * 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 D | fix_grouping.c | 49 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 D | mbsrtowcs.c | 39 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)));
|
H A D | strxfrm.c | 40 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 D | wcsrtombs.c | 39 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 D | wcsxfrm.c | 41 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
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | strlcpy.c | 26 * 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 D | strncat.c | 42 * 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 D | strncpy.c | 42 * 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 D | strlcat.c | 26 * 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/sys/boot/arm/at91/libat91/ |
H A D | memcpy.c | 32 memcpy(void *dst, const void *src, unsigned len) argument 34 const char *s = src;
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | i386_copy.c | 41 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/boot/sys/boot/i386/libi386/ |
H A D | i386_copy.c | 40 i386_copyin(const void *src, vm_offset_t dest, const size_t len) argument 47 bcopy(src, PTOV(dest), len); 52 i386_copyout(const vm_offset_t src, void *dest, const size_t len) argument 54 if (src + len >= memtop) { 59 bcopy(PTOV(src), dest, len);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | udp.h | 10 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 D | ib_stats.c | 87 uint64_t *src; local 99 src = (uint64_t *)&(rdsv3_per_cpu(rdsv3_ib_stats, cpu)); 102 *(sum++) += *(src++);
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | copy.c | 23 copyinstr(const char *src, char *dst, size_t max_len, size_t *copied) argument 25 return (copystr(src, dst, max_len, copied)); 29 copystr(const char *src, char *dst, size_t max_len, size_t *outlen) argument 36 copied = strlcpy(dst, src, max_len) + 1; 47 ovbcopy(const void *src, void *dst, size_t len) argument 49 (void) memmove(dst, src, len);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 17 * safechown changes the owner ship of src to uid. If the mode parameter 18 * does not equal -1 changes the mode of src as well. 24 safechown(const char *src, uid_t uid, gid_t gid, int mode) argument 30 if ((fd = open(src, O_RDONLY, 0)) == -1) 44 if (lstat(src, &lbuf)) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_statvfs.c | 9 * 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...] |