Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 633) sorted by relevance

12345678910>>...26

/onnv-gate/usr/src/lib/libproc/common/
H A DP32ton.c74 timestruc_32_to_n(const timestruc32_t *src, timestruc_t *dst) in timestruc_32_to_n() argument
76 dst->tv_sec = (time_t)(uint32_t)src->tv_sec; in timestruc_32_to_n()
77 dst->tv_nsec = (long)(uint32_t)src->tv_nsec; in timestruc_32_to_n()
81 stack_32_to_n(const stack32_t *src, stack_t *dst) in stack_32_to_n() argument
83 dst->ss_sp = (caddr_t)(uintptr_t)src->ss_sp; in stack_32_to_n()
84 dst->ss_size = src->ss_size; in stack_32_to_n()
85 dst->ss_flags = src->ss_flags; in stack_32_to_n()
89 sigaction_32_to_n(const struct sigaction32 *src, struct sigaction *dst) in sigaction_32_to_n() argument
91 (void) memset(dst, 0, sizeof (struct sigaction)); in sigaction_32_to_n()
92 dst->sa_flags = src->sa_flags; in sigaction_32_to_n()
[all …]
/onnv-gate/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c87 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->e_ehsize = e->e_ehsize; in gelf_getehdr()
[all …]
H A Dxlate64.m4848 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->d_buf, src->d_buf, cnt);
[all …]
H A Dxlate.m4857 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->d_buf, src->d_buf, cnt);
[all …]
/onnv-gate/usr/src/common/crypto/aes/
H A Daes_impl.h48 #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)[8] = (src)[8]; \
[all …]
/onnv-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_synctask.c59 dsl_sync_task_t *dst; in dsl_sync_task_create() local
63 dst = kmem_zalloc(sizeof (dsl_sync_task_t), KM_SLEEP); in dsl_sync_task_create()
64 dst->dst_checkfunc = checkfunc; in dsl_sync_task_create()
65 dst->dst_syncfunc = syncfunc; in dsl_sync_task_create()
66 dst->dst_arg1 = arg1; in dsl_sync_task_create()
67 dst->dst_arg2 = arg2; in dsl_sync_task_create()
68 list_insert_tail(&dstg->dstg_tasks, dst); in dsl_sync_task_create()
78 dsl_sync_task_t *dst; in dsl_sync_task_group_wait() local
89 for (dst = list_head(&dstg->dstg_tasks); dst; in dsl_sync_task_group_wait()
90 dst = list_next(&dstg->dstg_tasks, dst)) { in dsl_sync_task_group_wait()
[all …]
H A Dzle.c40 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 + d_len; in zle_decompress()
[all …]
/onnv-gate/usr/src/lib/libsmbfs/smb/
H A Dnls.c83 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()
[all …]
/onnv-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.h39 #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 …]
/onnv-gate/usr/src/cmd/sendmail/libsm/
H A Dstrl.c60 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';
106 sm_strlcat(dst, src, size) in sm_strlcat() argument
107 register char *dst; in sm_strlcat()
113 o = strlen(dst);
117 for (i = 0, j = o; i < size && (dst[j] = src[i]) != 0; i++, j++)
119 dst[j] = '\0';
150 sm_strlcat2(dst, src1, src2, len) in sm_strlcat2() argument
[all …]
/onnv-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c43 char *dst, size_t size));
45 char *dst, size_t size));
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));
90 inet_net_ntop_ipv4(src, bits, dst, size) in inet_net_ntop_ipv4() argument
93 char *dst;
96 char *odst = dst;
109 *dst++ = '0';
[all …]
H A Dinet_cidr_ntop.c44 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);
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()
85 dst += SPRINTF((dst, "%u", *src++)); in decoct()
87 *dst++ = '.'; in decoct()
[all …]
H A Dinet_neta.c53 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 = '\0';
74 size -= (size_t)(dst - tp);
77 if (dst == odst) {
80 strcpy(dst, "0.0.0.0");
/onnv-gate/usr/src/common/openssl/crypto/md5/asm/
H A Dmd5-x86_64.pl21 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
26 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
30 add %r11d, $dst /* dst += ... */
31 rol \$$s, $dst /* dst <<< s */
33 add $x, $dst /* dst += x */
44 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
49 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
53 add %r11d, $dst /* dst += ... */
54 rol \$$s, $dst /* dst <<< s */
56 add $x, $dst /* dst += x */
[all …]
/onnv-gate/usr/src/cmd/logadm/
H A Dkw.c196 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, "([0-9]+)$0"); in kw_expand()
263 fn_puts(dst, buf); in kw_expand()
[all …]
/onnv-gate/usr/src/uts/common/os/
H A Dcompress.c132 uchar_t *dst = d_start; in compress() local
141 if (dst >= (uchar_t *)d_start + s_len - 1 - 2 * NBBY) { in compress()
143 for (src = s_start, dst = d_start; mlen; mlen--) in compress()
144 *dst++ = *src++; in compress()
148 copymap = dst; in compress()
149 *dst++ = 0; in compress()
152 *dst++ = *src++; in compress()
166 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | in compress()
168 *dst++ = (uchar_t)offset; in compress()
171 *dst++ = *src++; in compress()
[all …]
H A Discsiboot_prop.c53 static int replace_sp_c(unsigned char *dst, unsigned char *source, size_t n);
337 static int replace_sp_c(unsigned char *dst, unsigned char *source, size_t n) in replace_sp_c() argument
342 if (source == NULL || dst == NULL || n == 0) { in replace_sp_c()
352 *dst = '%'; in replace_sp_c()
353 dst++; in replace_sp_c()
354 *dst = '3'; in replace_sp_c()
355 dst++; in replace_sp_c()
356 *dst = 'A'; in replace_sp_c()
357 dst++; in replace_sp_c()
360 *dst = '%'; in replace_sp_c()
[all …]
/onnv-gate/usr/src/common/crypto/md5/amd64/
H A Dmd5_amd64.pl49 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
55 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
59 add %r11d, $dst /* dst += ... */
60 rol \$$s, $dst /* dst <<< s */
62 add $x, $dst /* dst += x */
74 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
81 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
87 add %r12d, $dst /* dst += ... */
89 rol \$$s, $dst /* dst <<< s */
90 add $x, $dst /* dst += x */
[all …]
/onnv-gate/usr/src/cmd/lp/lib/lp/
H A Daddstring.c41 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)[0] = '\0';
72 (void) strcat(*dst, src);
/onnv-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c230 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; in ap_suspend_query() local
471 dst = ((sbd_stat_t *)a->stat)->s_stat; in ap_suspend_query()
477 for (i = 0; i < a->ncm; i++, dst++) in ap_suspend_query()
[all …]
/onnv-gate/usr/src/common/crypto/des/
H A Ddes_impl.h39 #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 …]
/onnv-gate/usr/src/lib/libntfs/common/libntfs/
H A Drunlist.c61 static __inline__ void ntfs_rl_mm(runlist_element *base, int dst, int src, in ntfs_rl_mm() argument
64 if ((dst != src) && (size > 0)) in ntfs_rl_mm()
65 memmove(base + dst, base + src, size * sizeof(*base)); in ntfs_rl_mm()
80 static __inline__ void ntfs_rl_mc(runlist_element *dstbase, int dst, in ntfs_rl_mc() argument
84 memcpy(dstbase + dst, srcbase + src, size * sizeof(*dstbase)); in ntfs_rl_mc()
124 static BOOL ntfs_rl_are_mergeable(runlist_element *dst, in ntfs_rl_are_mergeable() argument
127 if (!dst || !src) { in ntfs_rl_are_mergeable()
134 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) in ntfs_rl_are_mergeable()
137 if ((dst->vcn + dst->length) != src->vcn) in ntfs_rl_are_mergeable()
140 if ((dst->lcn >= 0) && (src->lcn >= 0) && in ntfs_rl_are_mergeable()
[all …]
/onnv-gate/usr/src/grub/grub-0.97/
H A Dinstall-sh68 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/`basename "$src"`
216 dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
250 $doit $mkdircmd "$dst" \
[all …]
/onnv-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c134 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()
274 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) in ucontext_n_to_prgregs() argument
278 dst[R_CCR] = gregs[REG_CCR]; in ucontext_n_to_prgregs()
279 dst[R_ASI] = gregs[REG_ASI]; in ucontext_n_to_prgregs()
280 dst[R_FPRS] = gregs[REG_FPRS]; in ucontext_n_to_prgregs()
281 dst[R_PC] = gregs[REG_PC]; in ucontext_n_to_prgregs()
282 dst[R_nPC] = gregs[REG_nPC]; in ucontext_n_to_prgregs()
283 dst[R_Y] = gregs[REG_Y]; in ucontext_n_to_prgregs()
[all …]
/onnv-gate/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c88 vcpu_time_info_t __vti, *dst = &__vti; in dtrace_xpv_getsystime() local
101 dst->version = src->version; in dtrace_xpv_getsystime()
106 dst->tsc_timestamp = src->tsc_timestamp; in dtrace_xpv_getsystime()
107 dst->system_time = src->system_time; in dtrace_xpv_getsystime()
108 dst->tsc_to_system_mul = src->tsc_to_system_mul; in dtrace_xpv_getsystime()
109 dst->tsc_shift = src->tsc_shift; in dtrace_xpv_getsystime()
117 tsc_delta = tsc - dst->tsc_timestamp; in dtrace_xpv_getsystime()
121 } while (((src->version & 1) | (dst->version ^ src->version)) || in dtrace_xpv_getsystime()
124 if (dst->tsc_shift >= 0) in dtrace_xpv_getsystime()
125 tsc_delta <<= dst->tsc_shift; in dtrace_xpv_getsystime()
[all …]

12345678910>>...26