/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 1088 bitmap_cpy(void *dst, void *src, size_t size) in bitmap_cpy() argument 1099 pd = dst; in bitmap_cpy()
|
H A D | tem.c | 2170 tem_copy_width(term_char_t *src, term_char_t *dst, int cols) in tem_copy_width() argument 2177 TEM_CHAR_ATTR(dst[width].tc_char) == TEM_ATTR_IMAGE) in tem_copy_width() 2184 if (src[width].tc_char != dst[width].tc_char || in tem_copy_width() 2185 src[width].tc_fg_color.n != dst[width].tc_fg_color.n || in tem_copy_width() 2186 src[width].tc_bg_color.n != dst[width].tc_bg_color.n) { in tem_copy_width() 2201 term_char_t *src, *dst; in tem_copy_area() local 2236 dst = tem->tvs_screen_buf + toffset; in tem_copy_area() 2248 dst + increment, cols); in tem_copy_area() 2249 memmove(dst + increment, src + increment, in tem_copy_area() 2263 dst + increment, cols); in tem_copy_area() [all …]
|
H A D | util.c | 28 memcpy(void *dst, const void *src, int len) in memcpy() argument 31 char *d = dst; in memcpy() 77 strcpy(char *dst, const char *src) in strcpy() argument 81 *dst++ = *src++; in strcpy() 82 *dst = '\0'; in strcpy() 86 strcat(char *dst, const char *src) in strcat() argument 89 while (*dst != '\0') in strcat() 90 dst++; in strcat() 92 *dst++ = *src++; in strcat() 93 *dst = '\0'; in strcat()
|
H A D | util.h | 36 void memcpy(void *dst, const void *src, int len); 40 #define bcopy(src, dst, len) memcpy((dst), (src), (len)) argument 46 void strcpy(char *dst, const char *src); 47 void strcat(char *dst, const char *src);
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | wchar.c | 53 cpy8to16(const char *src, CHAR16 *dst, size_t len) in cpy8to16() argument 57 *dst++ = *src++; in cpy8to16() 60 *dst++ = (CHAR16)0; in cpy8to16() 64 cpy16to8(const CHAR16 *src, char *dst, size_t len) in cpy16to8() argument 69 dst[i] = (char)src[i]; in cpy16to8() 71 dst[i] = '\0'; in cpy16to8()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | linux.c | 282 char *src, *dst; in linux_exec() local 338 dst = (char *)PTOV(linux_data_tmp_addr + LINUX_CL_OFFSET); in linux_exec() 340 while (*src != 0 && dst < (char *) in linux_exec() 342 *(dst++) = *(src++); in linux_exec() 344 *dst = 0; in linux_exec()
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | if_ether.h | 118 const struct sockaddr *dst, u_char *desten, uint32_t *pflags);
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | bcopy.c | 72 char *dst = dst0; in memcpy() local 85 if ((unsigned long)dst < (unsigned long)src) { in memcpy() 90 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 100 TLOOP1(*dst++ = *src++); in memcpy() 106 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); in memcpy() 108 TLOOP(*dst++ = *src++); in memcpy() 116 dst += length; in memcpy() 118 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 124 TLOOP1(*--dst = *--src); in memcpy() 127 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src); in memcpy() [all …]
|
H A D | memset.c | 70 u_char *dst; in bzero() local 72 dst = dst0; in bzero() 88 *dst++ = VAL; in bzero() 106 if ((t = (long)dst & wmask) != 0) { in bzero() 110 *dst++ = VAL; in bzero() 117 *(u_int *)dst = WIDEVAL; in bzero() 118 dst += wsize; in bzero() 125 *dst++ = VAL; in bzero()
|
H A D | stpncpy.c | 31 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) in stpncpy() argument 34 for (; n--; dst++, src++) { in stpncpy() 35 if (!(*dst = *src)) { in stpncpy() 36 char *ret = dst; in stpncpy() 38 *++dst = '\0'; in stpncpy() 42 return (dst); in stpncpy()
|
H A D | strlcat.c | 33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) in strlcat() argument 35 const char *odst = dst; in strlcat() 41 while (n-- != 0 && *dst != '\0') in strlcat() 42 dst++; in strlcat() 43 dlen = dst - odst; in strlcat() 50 *dst++ = *src; in strlcat() 55 *dst = '\0'; in strlcat()
|
H A D | strlcpy.c | 31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) in strlcpy() argument 39 if ((*dst++ = *src++) == '\0') in strlcpy() 47 *dst = '\0'; /* NUL-terminate dst */ in strlcpy()
|
H A D | strncat.c | 46 strncat(char * __restrict dst, const char * __restrict src, size_t n) in strncat() argument 49 char *d = dst; in strncat() 61 return (dst); in strncat()
|
H A D | strncpy.c | 46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) in strncpy() argument 49 char *d = dst; in strncpy() 61 return (dst); in strncpy()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | gzip.c | 29 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) in z_uncompress() argument 37 zs.next_out = dst; in z_uncompress()
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | lzjb.c | 50 unsigned char *dst = d_start; in lzjb_decompress() local 55 while (dst < d_end) { in lzjb_decompress() 64 if ((cpy = dst - offset) < (unsigned char *)d_start) in lzjb_decompress() 66 while (--mlen >= 0 && dst < d_end) in lzjb_decompress() 67 *dst++ = *cpy++; in lzjb_decompress() 69 *dst++ = *src++; in lzjb_decompress()
|
H A D | zfssubr.c | 145 typedef size_t zio_compress_func_t(void *src, void *dst, 147 typedef int zio_decompress_func_t(void *src, void *dst, 150 extern int gzip_decompress(void *src, void *dst, 969 uint8_t *dst[VDEV_RAIDZ_MAXPARITY]; in vdev_raidz_matrix_reconstruct() local 1009 dst[j] = rm->rm_col[cc].rc_data; in vdev_raidz_matrix_reconstruct() 1032 dst[cc][x] = val; in vdev_raidz_matrix_reconstruct() 1034 dst[cc][x] ^= val; in vdev_raidz_matrix_reconstruct()
|
H A D | zle.c | 38 unsigned char *dst = d_start; in zle_decompress() local 40 unsigned char *d_end = dst + d_len; in zle_decompress() 42 while (src < s_end && dst < d_end) { in zle_decompress() 46 *dst++ = *src++; in zle_decompress() 50 *dst++ = 0; in zle_decompress() 53 return (dst == d_end ? 0 : -1); in zle_decompress()
|
/illumos-gate/usr/src/boot/sys/x86/include/ |
H A D | stdarg.h | 67 #define va_copy(dst, src) \ argument 68 ((dst) = (src))
|
/illumos-gate/usr/src/cmd/abi/apptracecmd/ |
H A D | apptrace.c | 299 buildlist(char **dst, char const *src) in buildlist() argument 308 if (*dst == NULL) { in buildlist() 312 *dst = p; in buildlist() 316 len = strlen(*dst); in buildlist() 319 if ((p = realloc(*dst, len + strlen(src) + 2)) == NULL) in buildlist() 322 *dst = p; in buildlist() 324 *(*dst + len) = ','; in buildlist() 325 (void) strcpy((*dst + len + 1), src); in buildlist() 327 return (*dst); in buildlist()
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 148 static int parse_unsigned(char *str, unsigned *dst, char *flag); 905 parse_unsigned(char *str, unsigned *dst, char *flag) in parse_unsigned() argument 909 if (sscanf(str, "%u%c", dst, &x) != 1) { in parse_unsigned()
|
/illumos-gate/usr/src/cmd/audio/audiorecord/ |
H A D | audiorecord.c | 119 static int parse_unsigned(char *str, unsigned *dst, char *flag); 730 parse_unsigned(char *str, unsigned *dst, char *flag) in parse_unsigned() argument 734 if (sscanf(str, "%u%c", dst, &x) != 1) { in parse_unsigned()
|
/illumos-gate/usr/src/cmd/audio/audiotest/ |
H A D | audiotest.c | 188 int16_t *src, *dst; in prepare() local 200 if ((dst = ccfg->data) == NULL) { in prepare() 207 *dst = ((1U << ch) & ccfg->mask) in prepare() 209 dst++; in prepare()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk1.c | 1618 wchar_t *dst, *odst; in int_regwdosuba() local 1634 int pos = op - dst; \ in int_regwdosuba() 1635 dst = (wchar_t *)realloc(odst = dst, \ in int_regwdosuba() 1637 if (dst == NULL) \ in int_regwdosuba() 1639 op = dst + pos; \ in int_regwdosuba() 1640 end = dst + len; \ in int_regwdosuba() 1645 if (dst == NULL) in int_regwdosuba() 1653 op = dst; /* destination position */ in int_regwdosuba() 1654 end = dst + len; in int_regwdosuba() 1717 if ((*dstp = dst = (wchar_t *)realloc(odst = dst, in int_regwdosuba() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_nvme.c | 440 cpywithpad(char *dst, size_t dst_size, const char *src, char pad) in cpywithpad() argument 445 memset(dst, pad, dst_size); in cpywithpad() 446 memcpy(dst, src, len); in cpywithpad()
|