/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | Makefile | 3 .include <src.opts.mk>
|
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)) 46 void strcpy(char *dst, const char *src); 47 void strcat(char *dst, const char *src);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | inet_pton.c | 37 static int inet_pton4(const char *src, uchar_t *dst); 38 static int inet_pton6(const char *src, uchar_t *dst); 42 * inet_pton(af, src, dst) 53 inet_pton(int af, const char *src, void *dst) argument 57 return (inet_pton4(src, dst)); 59 return (inet_pton6(src, dst)); 69 * inet_pton4(src, dst) 72 * 1 if `src' is a valid dotted quad, else 0. 82 inet_pton4(const char *src, uchar_t *dst) argument 91 while ((ch = *src 137 inet_pton6(const char *src, uchar_t *dst) argument [all...] |
/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/lib/libc/port/locale/ |
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 66 s = *src; 85 *src = s; 88 *src = s + nms; 91 *src = NULL; 99 *src [all...] |
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 68 s = *src; 88 *src = s; 101 *src = s; 112 *src = NULL; 120 *src [all...] |
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 | none.c | 109 __mbsnrtowcs_ascii(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument 118 s = memchr(*src, '\0', nms); 119 return (s != NULL ? s - *src : nms); 122 s = *src; 126 *src = NULL; 131 *src = s; 136 __wcsnrtombs_ascii(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument 145 for (s = *src; nwc > 0 && *s != L'\0'; s++, nwc--) { 151 return (s - *src); 154 s = *src; [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/ |
H A D | firewire.c | 57 struct crom_src src; member in struct:crom_src_buf 212 struct crom_src *src; local 220 src = &sc->crom_src_buf->src; 221 bzero(src, sizeof(struct crom_src)); 224 src->hdr.info_len = 4; 226 src->businfo.bus_name = CSR_BUS_NAME_IEEE1394; 228 src->businfo.irmc = 1; 229 src->businfo.cmc = 1; 230 src 253 struct crom_src *src; local 286 struct crom_src *src; local 307 struct crom_src *src; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_net_pton.c | 47 * inet_net_pton_ipv4(src, dst, size) 62 inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) { argument 68 ch = *src++; 69 if (ch == '0' && (src[0] == 'x' || src[0] == 'X') 70 && isascii((unsigned char)(src[1])) 71 && isxdigit((unsigned char)(src[1]))) { 76 src++; /*%< skip x or X. */ 77 while ((ch = *src++) != '\0' && isascii(ch) && isxdigit(ch)) { 109 } while ((ch = *src 190 getbits(const char *src, int *bitsp) argument 220 getv4(const char *src, u_char *dst, int *bitsp) argument 263 inet_net_pton_ipv6(const char *src, u_char *dst, size_t size) argument 395 inet_net_pton(int af, const char *src, void *dst, size_t size) argument [all...] |
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | makesoftcore.c | 82 char *src, *dst; local 99 * It *also* ensures that src[-1] is always safe in comment 123 src = dst = uncompressed; 124 while (*src) { 126 while (isspace(*src)) 127 src++; 129 if (IS_EOL_COMMENT(src)) { 131 while (*src && !IS_EOL(src)) 132 src [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_ttl.c | 52 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument 57 secs = src % 60; src /= 60; 58 mins = src % 60; src /= 60; 59 hours = src % 24; src /= 24; 60 days = src % 7; src /= 7; 61 weeks = src; sr 97 ns_parse_ttl(const char *src, u_long *dst) argument [all...] |
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 56 static const char *http_copy_decode(char *dst, const char *src, 330 const char *src, /* I - Source pointer */ 340 * Copy the src to the destination until we hit a terminating character 344 for (ptr = dst, end = dst + dstsize - 1; *src && !strchr(term, *src); src ++) 347 if (*src == '%' && isxdigit(src[1] & 255) && isxdigit(src[2] & 255)) 353 src 329 http_copy_decode(char *dst, const char *src, int dstsize, const char *term) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | conv.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. 212 char ** src 215 sl_to_typel (src) 216 char **src; 224 if (!src || !*src) 227 for (nitems = 0; src[nitems]; nitems++) 236 dst[n] = s_to_type(src[n]); 249 char ** src [all...] |
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | gelf.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. 138 gelf_update_ehdr(Elf *elf, GElf_Ehdr *src) argument 150 class = src->e_ident[EI_CLASS]; 160 (void) memcpy(d->e_ident, src->e_ident, EI_NIDENT); 161 d->e_type = src->e_type; 162 d->e_machine = src->e_machine; 163 d->e_version = src->e_version; 165 d->e_entry = (Elf32_Addr)src->e_entry; 167 d->e_phoff = (Elf32_Off)src 263 gelf_update_phdr(Elf *elf, int ndx, GElf_Phdr *src) argument 375 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *src) argument 430 gelf_xlatetof(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) argument 449 gelf_xlatetom(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) argument 510 gelf_update_sym(Elf_Data *dst, int ndx, GElf_Sym *src) argument 591 gelf_update_syminfo(Elf_Data *dst, int ndx, GElf_Syminfo *src) argument 661 gelf_update_dyn(Elf_Data *dst, int ndx, GElf_Dyn *src) argument 741 gelf_getmove(Elf_Data *src, int ndx, GElf_Move *dst) argument 781 gelf_update_move(Elf_Data *dest, int ndx, GElf_Move *src) argument 822 gelf_getrela(Elf_Data *src, int ndx, GElf_Rela *dst) argument 867 gelf_update_rela(Elf_Data *dst, int ndx, GElf_Rela *src) argument 915 gelf_getrel(Elf_Data *src, int ndx, GElf_Rel *dst) argument 958 gelf_update_rel(Elf_Data *dst, int ndx, GElf_Rel *src) argument 1053 gelf_update_cap(Elf_Data *dst, int ndx, GElf_Cap *src) argument [all...] |
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_timestamp.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. 87 vcpu_time_info_t *src; local 94 src = &CPU->cpu_m.mcpu_vcpu_info->time; 101 dst->version = src->version; 106 dst->tsc_timestamp = src->tsc_timestamp; 107 dst->system_time = src->system_time; 108 dst->tsc_to_system_mul = src->tsc_to_system_mul; 109 dst->tsc_shift = src->tsc_shift; 121 } while (((src [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | copy.c | 88 efi_copyin(const void *src, vm_offset_t dest, const size_t len) argument 101 bcopy(src, (void *)(dest + stage_offset), len); 106 efi_copyout(const vm_offset_t src, void *dest, const size_t len) argument 110 if (src + stage_offset + len > staging_end) { 114 bcopy((void *)(src + stage_offset), dest, len); 133 uint64_t *src, *dst, *last; local 135 src = (uint64_t *)staging; 139 while (src < last) 140 *dst++ = *src++;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
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);
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | zlib_lint.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. 36 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument 43 z_compress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument 50 z_compress_level(void *dst, size_t *dstlen, const void *src, size_t srclen, argument
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_rpc_clnt.c | 62 nlm_convert_to_nlm_lock(struct nlm_lock *dst, struct nlm4_lock *src) argument 64 dst->caller_name = src->caller_name; 65 dst->fh = src->fh; 66 dst->oh = src->oh; 67 dst->svid = src->svid; 68 dst->l_offset = src->l_offset; 69 dst->l_len = src->l_len; 73 nlm_convert_to_nlm4_holder(struct nlm4_holder *dst, struct nlm_holder *src) argument 75 dst->exclusive = src->exclusive; 76 dst->svid = src 83 nlm_convert_to_nlm4_res(struct nlm4_res *dst, struct nlm_res *src) argument 215 nlm_convert_to_nlm_share(struct nlm_share *dst, struct nlm4_share *src) argument 226 nlm_convert_to_nlm4_shres(struct nlm4_shareres *dst, struct nlm_shareres *src) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | strl.c | 36 ** string src to dst, nul terminating the result. If size == 0, 41 ** The result is strlen(src). You can detect truncation (not all 52 ** src -- source string 56 ** strlen(src) 60 sm_strlcpy(dst, src, size) 62 register const char *src; 68 return strlen(src); 69 for (i = 0; i < size && (dst[i] = src[i]) != 0; i++) 72 if (src[i] == '\0') 75 return i + strlen(src [all...] |
/illumos-gate/usr/src/lib/udapl/udapl_tavor/sparc/ |
H A D | dapl_tavor_atomic_copy.s | 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. 38 dapls_atomic_assign_64(uint64_t src, uint64_t *dst)
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | swab.c | 54 swab(const void* src, void* dst, ssize_t n) 57 swapmem(1, src, dst, n & ~1);
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.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 vmem_mmap_alloc(vmem_t *src, size_t size, int vmflags) argument 51 ret = vmem_alloc(src, size, vmflags); 55 vmem_free(src, ret, size); 68 vmem_mmap_free(vmem_t *src, void *addr, size_t size) argument 72 vmem_free(src, addr, size); 77 vmem_mmap_top_alloc(vmem_t *src, size_t size, int vmflags) argument 83 ret = vmem_alloc(src, size, VM_NOSLEEP); 96 ret = _vmem_extend_alloc(src, bu [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | Makefile | 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. 28 # lib/libxcurses/src/tic/Makefile 78 @echo use tic and untic in usr/src/lib/libcurses
|