Home
last modified time | relevance | path

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

12345678910>>...25

/titanic_41/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 …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_synctask.c73 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.dst_nowaiter = B_FALSE; in dsl_sync_task()
[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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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");
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/os/
H A Dcompress.c131 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++ = *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 …]
H A Dmemlist_new.c202 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()
[all …]
/titanic_41/usr/src/common/crypto/md5/amd64/
H A Dmd5_amd64.pl49 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 <<< s */
64 add $x, $dst /* dst += x */
76 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
85 lea $T_i($dst,%r10d),$dst /* Const + dst + ... r2 */
91 add %r12d, $dst /* dst += ... */
93 rol \$$s, $dst /* dst <<< s */
94 add $x, $dst /* dst += x */
[all …]
/titanic_41/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 …]
/titanic_41/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);
/titanic_41/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 …]
/titanic_41/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()
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_Y] = gregs[REG_Y]; in ucontext_n_to_prgregs()
[all …]
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c94 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->tsc_shift; in dtrace_xpv_getsystime()
[all …]
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_rpc_clnt.c62 nlm_convert_to_nlm_lock(struct nlm_lock *dst, struct nlm4_lock *src) in nlm_convert_to_nlm_lock() argument
64 dst->caller_name = src->caller_name; in nlm_convert_to_nlm_lock()
65 dst->fh = src->fh; in nlm_convert_to_nlm_lock()
66 dst->oh = src->oh; in nlm_convert_to_nlm_lock()
67 dst->svid = src->svid; in nlm_convert_to_nlm_lock()
68 dst->l_offset = src->l_offset; in nlm_convert_to_nlm_lock()
69 dst->l_len = src->l_len; in nlm_convert_to_nlm_lock()
73 nlm_convert_to_nlm4_holder(struct nlm4_holder *dst, struct nlm_holder *src) in nlm_convert_to_nlm4_holder() argument
75 dst->exclusive = src->exclusive; in nlm_convert_to_nlm4_holder()
76 dst->svid = src->svid; in nlm_convert_to_nlm4_holder()
[all …]

12345678910>>...25