/titanic_51/usr/src/lib/libproc/common/ |
H A D | P32ton.c | 72 timestruc_32_to_n(const timestruc32_t *src, timestruc_t *dst) in timestruc_32_to_n() argument 74 dst->tv_sec = (time_t)(uint32_t)src->tv_sec; in timestruc_32_to_n() 75 dst->tv_nsec = (long)(uint32_t)src->tv_nsec; in timestruc_32_to_n() 79 stack_32_to_n(const stack32_t *src, stack_t *dst) in stack_32_to_n() argument 81 dst->ss_sp = (caddr_t)(uintptr_t)src->ss_sp; in stack_32_to_n() 82 dst->ss_size = src->ss_size; in stack_32_to_n() 83 dst->ss_flags = src->ss_flags; in stack_32_to_n() 87 sigaction_32_to_n(const struct sigaction32 *src, struct sigaction *dst) in sigaction_32_to_n() argument 89 (void) memset(dst, 0, sizeof (struct sigaction)); in sigaction_32_to_n() 90 dst in sigaction_32_to_n() 96 siginfo_32_to_n(const siginfo32_t * src,siginfo_t * dst) siginfo_32_to_n() argument 169 auxv_32_to_n(const auxv32_t * src,auxv_t * dst) auxv_32_to_n() argument 185 rwindow_32_to_n(const struct rwindow32 * src,struct rwindow * dst) rwindow_32_to_n() argument 196 gwindows_32_to_n(const gwindows32_t * src,gwindows_t * dst) gwindows_32_to_n() argument 213 prgregset_32_to_n(const prgreg32_t * src,prgreg_t * dst) prgregset_32_to_n() argument 244 prfpregset_32_to_n(const prfpregset32_t * src,prfpregset_t * dst) prfpregset_32_to_n() argument 301 lwpstatus_32_to_n(const lwpstatus32_t * src,lwpstatus_t * dst) lwpstatus_32_to_n() argument 341 pstatus_32_to_n(const pstatus32_t * src,pstatus_t * dst) pstatus_32_to_n() argument 376 lwpsinfo_32_to_n(const lwpsinfo32_t * src,lwpsinfo_t * dst) lwpsinfo_32_to_n() argument 405 psinfo_32_to_n(const psinfo32_t * src,psinfo_t * dst) psinfo_32_to_n() argument 446 timestruc_n_to_32(const timestruc_t * src,timestruc32_t * dst) timestruc_n_to_32() argument 453 stack_n_to_32(const stack_t * src,stack32_t * dst) stack_n_to_32() argument 461 sigaction_n_to_32(const struct sigaction * src,struct sigaction32 * dst) sigaction_n_to_32() argument 470 siginfo_n_to_32(const siginfo_t * src,siginfo32_t * dst) siginfo_n_to_32() argument 543 auxv_n_to_32(const auxv_t * src,auxv32_t * dst) auxv_n_to_32() argument 550 prgregset_n_to_32(const prgreg_t * src,prgreg32_t * dst) prgregset_n_to_32() argument 581 prfpregset_n_to_32(const prfpregset_t * src,prfpregset32_t * dst) prfpregset_n_to_32() argument 674 lwpstatus_n_to_32(const lwpstatus_t * src,lwpstatus32_t * dst) lwpstatus_n_to_32() argument 714 pstatus_n_to_32(const pstatus_t * src,pstatus32_t * dst) pstatus_n_to_32() argument 749 lwpsinfo_n_to_32(const lwpsinfo_t * src,lwpsinfo32_t * dst) lwpsinfo_n_to_32() argument 778 psinfo_n_to_32(const psinfo_t * src,psinfo32_t * dst) psinfo_n_to_32() argument [all...] |
/titanic_51/usr/src/uts/common/fs/zfs/ |
H A D | dsl_synctask.c | 73 dsl_sync_task_t dst = { 0 }; in dsl_sync_task() local 85 dst.dst_pool = dp; in dsl_sync_task() 86 dst.dst_txg = dmu_tx_get_txg(tx); in dsl_sync_task() 87 dst.dst_space = blocks_modified << DST_AVG_BLKSHIFT; in dsl_sync_task() 88 dst.dst_space_check = space_check; in dsl_sync_task() 89 dst.dst_checkfunc = checkfunc != NULL ? checkfunc : dsl_null_checkfunc; in dsl_sync_task() 90 dst.dst_syncfunc = syncfunc; in dsl_sync_task() 91 dst.dst_arg = arg; in dsl_sync_task() 92 dst.dst_error = 0; in dsl_sync_task() 93 dst in dsl_sync_task() 124 dsl_sync_task_t *dst = kmem_zalloc(sizeof (*dst), KM_SLEEP); dsl_sync_task_nowait() local 143 dsl_sync_task_sync(dsl_sync_task_t * dst,dmu_tx_t * tx) dsl_sync_task_sync() argument [all...] |
H A D | zle.c | 40 uchar_t *dst = d_start; in zle_compress() local 42 uchar_t *d_end = dst + d_len; in zle_compress() 44 while (src < s_end && dst < d_end - 1) { in zle_compress() 46 uchar_t *len = dst++; in zle_compress() 54 if (d_end - dst < n) in zle_compress() 57 *dst++ = *src++; in zle_compress() 59 *dst++ = *src++; in zle_compress() 63 return (src == s_end ? dst - (uchar_t *)d_start : s_len); in zle_compress() 70 uchar_t *dst = d_start; in zle_decompress() local 72 uchar_t *d_end = dst in zle_decompress() [all...] |
/titanic_51/usr/src/common/crypto/aes/ |
H A D | aes_impl.h | 48 #define AES_COPY_BLOCK(src, dst) \ argument 49 (dst)[0] = (src)[0]; \ 50 (dst)[1] = (src)[1]; \ 51 (dst)[2] = (src)[2]; \ 52 (dst)[3] = (src)[3]; \ 53 (dst)[4] = (src)[4]; \ 54 (dst)[5] = (src)[5]; \ 55 (dst)[6] = (src)[6]; \ 56 (dst)[7] = (src)[7]; \ 57 (dst)[ 66 AES_XOR_BLOCK(src,dst) global() argument [all...] |
/titanic_51/usr/src/cmd/sgs/libelf/common/ |
H A D | gelf.c | 87 gelf_getehdr(Elf *elf, GElf_Ehdr *dst) in gelf_getehdr() argument 102 (void) memcpy(dst->e_ident, e->e_ident, EI_NIDENT); in gelf_getehdr() 103 dst->e_type = e->e_type; in gelf_getehdr() 104 dst->e_machine = e->e_machine; in gelf_getehdr() 105 dst->e_version = e->e_version; in gelf_getehdr() 106 dst->e_entry = (Elf64_Addr)e->e_entry; in gelf_getehdr() 107 dst->e_phoff = (Elf64_Off)e->e_phoff; in gelf_getehdr() 108 dst->e_shoff = (Elf64_Off)e->e_shoff; in gelf_getehdr() 109 dst->e_flags = e->e_flags; in gelf_getehdr() 110 dst in gelf_getehdr() 216 gelf_getphdr(Elf * elf,int ndx,GElf_Phdr * dst) gelf_getphdr() argument 281 Elf32_Phdr *dst = &((Elf32_Phdr *)elf32_getphdr(elf))[ndx]; gelf_update_phdr() local 299 Elf64_Phdr *dst = elf64_getphdr(elf); gelf_update_phdr() local 331 gelf_getshdr(Elf_Scn * scn,GElf_Shdr * dst) gelf_getshdr() argument 381 Elf32_Shdr *dst = elf32_getshdr(scn); gelf_update_shdr() local 407 Elf64_Shdr * dst = elf64_getshdr(scn); gelf_update_shdr() local 430 gelf_xlatetof(Elf * elf,Elf_Data * dst,const Elf_Data * src,unsigned encode) gelf_xlatetof() argument 449 gelf_xlatetom(Elf * elf,Elf_Data * dst,const Elf_Data * src,unsigned encode) gelf_xlatetom() argument 468 gelf_getsym(Elf_Data * data,int ndx,GElf_Sym * dst) gelf_getsym() argument 510 gelf_update_sym(Elf_Data * dst,int ndx,GElf_Sym * src) gelf_update_sym() argument 555 gelf_getsyminfo(Elf_Data * data,int ndx,GElf_Syminfo * dst) gelf_getsyminfo() argument 591 gelf_update_syminfo(Elf_Data * dst,int ndx,GElf_Syminfo * src) gelf_update_syminfo() argument 625 gelf_getdyn(Elf_Data * data,int ndx,GElf_Dyn * dst) gelf_getdyn() argument 661 gelf_update_dyn(Elf_Data * dst,int ndx,GElf_Dyn * src) gelf_update_dyn() argument 741 gelf_getmove(Elf_Data * src,int ndx,GElf_Move * dst) gelf_getmove() argument 822 gelf_getrela(Elf_Data * src,int ndx,GElf_Rela * dst) gelf_getrela() argument 867 gelf_update_rela(Elf_Data * dst,int ndx,GElf_Rela * src) gelf_update_rela() argument 915 gelf_getrel(Elf_Data * src,int ndx,GElf_Rel * dst) gelf_getrel() argument 958 gelf_update_rel(Elf_Data * dst,int ndx,GElf_Rel * src) gelf_update_rel() argument 1017 gelf_getcap(Elf_Data * data,int ndx,GElf_Cap * dst) gelf_getcap() argument 1053 gelf_update_cap(Elf_Data * dst,int ndx,GElf_Cap * src) gelf_update_cap() argument [all...] |
H A D | xlate64.m4 | 848 xlate(Elf_Data *dst, const Elf_Data *src, unsigned encode, int tof) 857 if (dst == 0 || src == 0) 863 if ((dver = dst->d_version - 1) >= EV_CURRENT || 883 if (dst->d_size < dsz * cnt) { 898 if (src->d_buf && src->d_buf != dst->d_buf) 899 (void) memcpy(dst->d_buf, src->d_buf, src->d_size); 900 dst->d_type = src->d_type; 901 dst->d_size = src->d_size; 902 return (dst); 905 (*f)(dst [all...] |
H A D | xlate.m4 | 857 xlate(Elf_Data *dst, const Elf_Data *src, unsigned encode, int tof) 866 if (dst == 0 || src == 0) 872 if ((dver = dst->d_version - 1) >= EV_CURRENT || 892 if (dst->d_size < dsz * cnt) { 907 if (src->d_buf && src->d_buf != dst->d_buf) 908 (void) memcpy(dst->d_buf, src->d_buf, src->d_size); 909 dst->d_type = src->d_type; 910 dst->d_size = src->d_size; 911 return (dst); 914 (*f)(dst [all...] |
/titanic_51/usr/src/lib/libsmbfs/smb/ |
H A D | nls.c | 83 nls_str_toloc(char *dst, const char *src) in nls_str_toloc() argument 85 char *p = dst; in nls_str_toloc() 89 return (strcpy(dst, src)); in nls_str_toloc() 92 return (strcpy(dst, src)); in nls_str_toloc() 97 return (dst); in nls_str_toloc() 101 nls_str_toext(char *dst, const char *src) in nls_str_toext() argument 103 char *p = dst; in nls_str_toext() 107 return (strcpy(dst, src)); in nls_str_toext() 110 return (strcpy(dst, src)); in nls_str_toext() 115 return (dst); in nls_str_toext() 119 nls_mem_toloc(void * dst,const void * src,int size) nls_mem_toloc() argument 140 nls_mem_toext(void * dst,const void * src,int size) nls_mem_toext() argument 159 nls_str_upper(char * dst,const char * src) nls_str_upper() argument 170 nls_str_lower(char * dst,const char * src) nls_str_lower() argument [all...] |
/titanic_51/usr/src/common/crypto/blowfish/ |
H A D | blowfish_impl.h | 39 #define BLOWFISH_COPY_BLOCK(src, dst) \ argument 40 (dst)[0] = (src)[0]; \ 41 (dst)[1] = (src)[1]; \ 42 (dst)[2] = (src)[2]; \ 43 (dst)[3] = (src)[3]; \ 44 (dst)[4] = (src)[4]; \ 45 (dst)[5] = (src)[5]; \ 46 (dst)[6] = (src)[6]; \ 47 (dst)[7] = (src)[7] 49 #define BLOWFISH_XOR_BLOCK(src, dst) \ argument [all...] |
/titanic_51/usr/src/cmd/sendmail/libsm/ |
H A D | strl.c | 36 ** string src to dst, nul terminating the result. If size == 0, 37 ** the dst buffer is not modified. 51 ** dst -- destination buffer 60 sm_strlcpy(dst, src, size) 61 register char *dst; 69 for (i = 0; i < size && (dst[i] = src[i]) != 0; i++) 71 dst[i] = '\0'; 82 ** If strlen(dst) < size, then append at most size - strlen(dst) - 1 84 ** nul terminating the result. Otherwise, dst i 106 sm_strlcat(dst,src,size) sm_strlcat() argument 150 sm_strlcat2(dst,src1,src2,len) sm_strlcat2() argument 214 sm_strlcpyn(char * dst,ssize_t len,int n,...) sm_strlcpyn() argument [all...] |
/titanic_51/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_net_ntop.c | 43 char *dst, size_t size)); 45 char *dst, size_t size)); 49 * inet_net_ntop(af, src, bits, dst, size) 53 * pointer to dst, or NULL if an error occurred (check errno). 58 inet_net_ntop(af, src, bits, dst, size) in inet_net_ntop() argument 62 char *dst; 67 return (inet_net_ntop_ipv4(src, bits, dst, size)); 69 return (inet_net_ntop_ipv6(src, bits, dst, size)); 78 * inet_net_ntop_ipv4(src, bits, dst, size) 82 * pointer to dst, o 90 inet_net_ntop_ipv4(src,bits,dst,size) inet_net_ntop_ipv4() argument 169 inet_net_ntop_ipv6(const u_char * src,int bits,char * dst,size_t size) inet_net_ntop_ipv6() argument [all...] |
H A D | inet_cidr_ntop.c | 44 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size); 46 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size); 50 * inet_cidr_ntop(af, src, bits, dst, size) 54 * pointer to dst, or NULL if an error occurred (check errno). 63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { in inet_cidr_ntop() argument 66 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); in inet_cidr_ntop() 68 return (inet_cidr_ntop_ipv6(src, bits, dst, size)); in inet_cidr_ntop() 76 decoct(const u_char *src, int bytes, char *dst, size_t size) { in decoct() argument 77 char *odst = dst; in decoct() 84 t = dst; in decoct() 109 inet_cidr_ntop_ipv4(const u_char * src,int bits,char * dst,size_t size) inet_cidr_ntop_ipv4() argument 153 inet_cidr_ntop_ipv6(const u_char * src,int bits,char * dst,size_t size) inet_cidr_ntop_ipv6() argument [all...] |
H A D | inet_neta.c | 43 * inet_neta(src, dst, size) 46 * pointer to dst, or NULL if an error occurred (check errno). 53 inet_neta(src, dst, size) in inet_neta() argument 55 char *dst; 58 char *odst = dst; 68 tp = dst; 69 dst += SPRINTF((dst, "%u", b)); 71 *dst++ = '.'; 72 *dst [all...] |
/titanic_51/usr/src/common/crypto/des/ |
H A D | des_impl.h | 39 #define DES_COPY_BLOCK(src, dst) \ argument 40 (dst)[0] = (src)[0]; \ 41 (dst)[1] = (src)[1]; \ 42 (dst)[2] = (src)[2]; \ 43 (dst)[3] = (src)[3]; \ 44 (dst)[4] = (src)[4]; \ 45 (dst)[5] = (src)[5]; \ 46 (dst)[6] = (src)[6]; \ 47 (dst)[7] = (src)[7]; 49 #define DES_XOR_BLOCK(src, dst) \ argument [all...] |
/titanic_51/usr/src/cmd/logadm/ |
H A D | kw.c | 188 * kw_expand -- expand src into dst with given n value for $n (or $N) 196 kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz) in kw_expand() argument 216 fn_putc(dst, '\\'); in kw_expand() 217 fn_putc(dst, c); in kw_expand() 222 fn_putc(dst, '.'); in kw_expand() 227 fn_putc(dst, '.'); in kw_expand() 228 fn_putc(dst, '*'); in kw_expand() 236 fn_putc(dst, '\\'); in kw_expand() 237 fn_putc(dst, '$'); in kw_expand() 258 fn_puts(dst, "([ in kw_expand() 401 struct fn *dst = fn_new(NULL); main() local [all...] |
/titanic_51/usr/src/boot/lib/libc/string/ |
H A D | bcopy.c | 72 char *dst = dst0; in memcpy() local 76 if (length == 0 || dst == src) /* nothing to do */ in memcpy() 85 if ((unsigned long)dst < (unsigned long)src) { in memcpy() 90 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 95 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) 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 in memcpy() [all...] |
/titanic_51/usr/src/uts/common/os/ |
H A D | compress.c | 131 uchar_t *dst = d_start; in compress() local 140 if (dst >= (uchar_t *)d_start + s_len - 1 - 2 * NBBY) { in compress() 142 for (src = s_start, dst = d_start; mlen; mlen--) in compress() 143 *dst++ = *src++; in compress() 147 copymap = dst; in compress() 148 *dst++ = 0; in compress() 151 *dst++ = *src++; in compress() 165 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | in compress() 167 *dst++ = (uchar_t)offset; in compress() 170 *dst in compress() 180 uchar_t *dst = d_start; decompress() local [all...] |
H A D | iscsiboot_prop.c | 50 static int replace_sp_c(unsigned char *dst, unsigned char *source, size_t n); 334 static int replace_sp_c(unsigned char *dst, unsigned char *source, size_t n) in replace_sp_c() argument 339 if (source == NULL || dst == NULL || n == 0) { in replace_sp_c() 349 *dst = '%'; in replace_sp_c() 350 dst++; in replace_sp_c() 351 *dst = '3'; in replace_sp_c() 352 dst++; in replace_sp_c() 353 *dst = 'A'; in replace_sp_c() 354 dst++; in replace_sp_c() 357 *dst in replace_sp_c() [all...] |
H A D | memlist_new.c | 202 struct memlist *dst; in memlist_add_span() local 209 dst = memlist_get_one(); in memlist_add_span() 211 if (dst == NULL) { in memlist_add_span() 215 dst->ml_address = address; in memlist_add_span() 216 dst->ml_size = bytes; in memlist_add_span() 222 dst->ml_prev = NULL; in memlist_add_span() 223 dst->ml_next = NULL; in memlist_add_span() 224 *curmemlistp = dst; in memlist_add_span() 244 memlist_free_one(dst); in memlist_add_span() 256 memlist_free_one(dst); in memlist_add_span() 337 struct memlist *dst, *next; memlist_delete_span() local [all...] |
/titanic_51/usr/src/common/crypto/md5/amd64/ |
H A D | md5_amd64.pl | 43 # dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s) 49 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 57 lea $T_i($dst,%r10d),$dst /* Const + dst + ... r1 */ 61 add %r11d, $dst /* dst += ... */ 62 rol \$$s, $dst /* dst <<< [all...] |
/titanic_51/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 230 sbd_dev_stat_t *dst; in apd_init() local 279 for (dst = st->s_stat, i = 0; i < st->s_nstat; i++, dst++) { in apd_init() 282 dst->ds_name, dst->ds_unit, dst->ds_type); in apd_init() 284 if (dst->ds_unit != a->cnum) in apd_init() 293 dn = dst->ds_name; in apd_init() 297 a->tgt = ap_cm_tgt(dst->ds_type); in apd_init() 298 a->cmstat = (void *)dst; in apd_init() 458 sbd_dev_stat_t *dst; ap_suspend_query() local 769 ap_dev_type(sbd_dev_stat_t * dst) ap_dev_type() argument 814 sbd_io_stat_t *dst; ap_cm_devpath() local 856 sbd_dev_stat_t *dst; ap_cm_id() local 883 sbd_dev_stat_t *dst; ap_cm_type() local 911 sbd_dev_stat_t *dst; ap_cm_ncap() local 937 sbd_dev_stat_t *dst; ap_cm_capacity() local 993 sbd_dev_stat_t *dst; ap_cm_init() local 1017 sbd_dev_stat_t *dst; ap_state() local 1107 sbd_cpu_stat_t *dst; cpu_info() local 1189 sbd_mem_stat_t *dst; mem_info() local 1284 sbd_io_stat_t *dst; io_info() local 1332 sbd_cmp_stat_t *dst; cmp_info() local [all...] |
/titanic_51/usr/src/cmd/lp/lib/lp/ |
H A D | addstring.c | 41 char ** dst, in addstring() argument 45 addstring (dst, src) in addstring() 46 char **dst; in addstring() 52 if (!dst || !src) { 59 if (*dst) { 60 if (!(*dst = Realloc(*dst, strlen(*dst) + len))) { 65 if (!(*dst = Malloc(len))) { 69 (*dst)[ [all...] |
/titanic_51/usr/src/grub/grub-0.97/ |
H A D | install-sh | 68 dst= 175 dst=$src 178 if test -d "$dst"; then 198 dst=$dstarg 200 case $dst in 201 -*) dst=./$dst ;; 206 if test -d "$dst"; then 211 dst=$dst/`basenam [all...] |
/titanic_51/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 134 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() argument 139 if (dst) in Pissyscall_prev() 140 *dst = prevaddr; in Pissyscall_prev() 275 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) in ucontext_n_to_prgregs() argument 279 dst[R_CCR] = gregs[REG_CCR]; in ucontext_n_to_prgregs() 280 dst[R_ASI] = gregs[REG_ASI]; in ucontext_n_to_prgregs() 281 dst[R_FPRS] = gregs[REG_FPRS]; in ucontext_n_to_prgregs() 282 dst[R_PC] = gregs[REG_PC]; in ucontext_n_to_prgregs() 283 dst[R_nPC] = gregs[REG_nPC]; in ucontext_n_to_prgregs() 284 dst[R_ in ucontext_n_to_prgregs() 305 ucontext_32_to_prgregs(const ucontext32_t * src,prgregset_t dst) ucontext_32_to_prgregs() argument [all...] |
/titanic_51/usr/src/uts/i86xpv/os/ |
H A D | xpv_timestamp.c | 94 vcpu_time_info_t __vti, *dst = &__vti; in dtrace_xpv_getsystime() local 107 dst->version = src->version; in dtrace_xpv_getsystime() 112 dst->tsc_timestamp = src->tsc_timestamp; in dtrace_xpv_getsystime() 113 dst->system_time = src->system_time; in dtrace_xpv_getsystime() 114 dst->tsc_to_system_mul = src->tsc_to_system_mul; in dtrace_xpv_getsystime() 115 dst->tsc_shift = src->tsc_shift; in dtrace_xpv_getsystime() 123 tsc_delta = tsc - dst->tsc_timestamp; in dtrace_xpv_getsystime() 127 } while (((src->version & 1) | (dst->version ^ src->version)) || in dtrace_xpv_getsystime() 130 if (dst->tsc_shift >= 0) in dtrace_xpv_getsystime() 131 tsc_delta <<= dst in dtrace_xpv_getsystime() [all...] |