/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | _overlay.c | 49 overlay(WINDOW *src, WINDOW *dst) argument 51 return (_overlap(src, dst, TRUE));
|
H A D | _overwrite.c | 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 | 12 char *dst = malloc(strlen(src) + 1); local 14 if (dst) 15 strcpy(dst, src); 16 return (dst);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | addstring.c | 41 char ** dst, 45 addstring (dst, src) 46 char **dst; 52 if (!dst || !src) { 59 if (*dst) { 60 if (!(*dst = Realloc(*dst, strlen(*dst) + len))) { 65 if (!(*dst = Malloc(len))) { 69 (*dst)[ 40 addstring( char ** dst, char * src ) argument [all...] |
H A D | duplist.c | 49 register char **dst; local 58 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) { 64 if (!(dst[n] = Strdup(src[n]))) { 66 Free (dst[n]); 67 Free ((char *)dst); 71 dst[nitems] = 0; 73 return (dst);
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_netint.c | 34 u_int dst; local 36 NS_GET16(dst, src); 37 return (dst); 42 u_long dst; local 44 NS_GET32(dst, src); 45 return (dst); 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); [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strlcpy.c | 34 * Copies src to the dstsize buffer at dst. The copy will never 40 strlcpy(char *dst, const char *src, size_t len) argument 52 (void) memcpy(dst, src, copied); 53 dst[copied] = '\0';
|
H A D | strlcat.c | 34 * Appends src to the dstsize buffer at dst. The append will never 36 * terminated. Never reference beyond &dst[dstsize-1] when computing 41 strlcat(char *dst, const char *src, size_t dstsize) argument 43 char *df = dst; 51 l1 = df - dst; 56 (void) memcpy(dst + l1, src, copied); 57 dst[l1+copied] = '\0';
|
/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++) { 63 *dst++ = CHAR_MAX; 81 *dst = n; 83 if (*dst == '\0') 84 return ((dst == (char *)str) ? nogrouping : str); 85 dst++; 87 *dst = '\0';
|
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 | 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 | mbsnrtowcs.c | 39 mbsnrtowcs_l(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument 46 return (loc->ctype->lc_mbsnrtowcs(dst, src, nms, len, ps)); 50 mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument 53 return (mbsnrtowcs_l(dst, src, nms, len, ps, uselocale(NULL))); 57 __mbsnrtowcs_std(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument 69 if (dst == NULL) { 84 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) { 97 dst++;
|
H A D | wcsnrtombs.c | 40 wcsnrtombs_l(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument 47 return (loc->ctype->lc_wcsnrtombs(dst, src, nwc, len, ps)); 51 wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument 54 return (wcsnrtombs_l(dst, src, nwc, len, ps, uselocale(NULL))); 58 __wcsnrtombs_std(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument 71 if (dst == NULL) { 87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) { 109 (void) memcpy(dst, buf, nb); 116 dst += nb;
|
/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 31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) argument 39 if ((*dst++ = *src++) == '\0') 44 /* Not enough room in dst, add NUL and traverse rest of src. */ 47 *dst = '\0'; /* NUL-terminate dst */
|
H A D | strncat.c | 42 * Concatenate src on the end of dst. At most strlen(dst)+n+1 bytes 43 * are written at dst (at most n+1 bytes being appended). Return dst. 46 strncat(char * __restrict dst, const char * __restrict src, size_t n) argument 49 char *d = dst; 61 return (dst);
|
H A D | strncpy.c | 42 * Copy src to dst, truncating or null-padding to always copy n bytes. 43 * Return dst. 46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) argument 49 char *d = dst; 61 return (dst);
|
H A D | strlcat.c | 26 * Appends src to string dst of size dsize (unlike strncat, dsize is the 27 * full size of dst, not space left). At most dsize-1 characters 28 * will be copied. Always NUL terminates (unless dsize <= strlen(dst)). 29 * Returns strlen(src) + MIN(dsize, strlen(initial dst)). 33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) argument 35 const char *odst = dst; 40 /* Find the end of dst and adjust bytes left but don't go past end. */ 41 while (n-- != 0 && *dst != '\0') 42 dst++; 43 dlen = dst [all...] |
/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 35 char *d = dst;
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmzone.c | 42 * if dst!=0 then it will point to 0 for standard zones 49 tmzone(register const char* name, char** end, const char* type, int* dst) argument 64 if (dst) 65 *dst = 0; 78 if (dst) 79 *dst = 0; 82 if (zp->dst && zp->daylight && tmword(name, end, zp->daylight, NiL, 0)) 84 if (dst) 85 *dst = zp->dst; [all...] |
/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/libdtrace/common/ |
H A D | dt_inttab.c | 109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument 114 *dst++ = hp->inh_value;
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_paths.c | 145 char *dst; local 151 dst = src; 154 *dst++ = '/'; 158 *dst++ = *src++; 163 * If the whole string is "/" (i.e. if the last '/' cahr in dst 167 if ((*(dst - 1) == '/') && ((dst - 1) != src_start)) 168 dst--; 169 *dst = '\0';
|
/illumos-gate/usr/src/common/crypto/aes/ |
H A D | aes_modes.c | 54 /* XOR a 16-byte AES block of data into dst */ 56 aes_xor_block(uint8_t *data, uint8_t *dst) argument 58 if (IS_P2ALIGNED2(dst, data, sizeof (uint32_t))) { 60 *(uint32_t *)&dst[0] ^= *(uint32_t *)&data[0]; 62 *(uint32_t *)&dst[4] ^= *(uint32_t *)&data[4]; 64 *(uint32_t *)&dst[8] ^= *(uint32_t *)&data[8]; 66 *(uint32_t *)&dst[12] ^= *(uint32_t *)&data[12]; 68 AES_XOR_BLOCK(data, dst);
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | udp_sum.c | 39 struct in_addr dst; member in struct:pseudo_udp 51 const struct in_addr *dst, uint8_t proto) 68 ck.dst = *dst; 50 udp_chksum(struct udphdr *udph, const struct in_addr *src, const struct in_addr *dst, uint8_t proto) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 38 uchar_t *dst = d_start; local 43 while (dst < d_end) { 52 if ((cpy = dst - offset) < (uchar_t *)d_start) 54 while (--mlen >= 0 && dst < d_end) 55 *dst++ = *cpy++; 57 *dst++ = *src++;
|