Home
last modified time | relevance | path

Searched refs:d2 (Results 1 – 25 of 113) sorted by relevance

12345

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c84 krb5_data d1, d2, d3, salt, plaintext, checksum, ciphertext, confounder; local
93 bzero(&d2, sizeof(krb5_data));
114 d2.length=keybytes;
115 d2.data=MALLOC(d2.length);
116 if (d2.data == NULL) {
121 k2.length=d2.length;
122 k2.contents=(void *) d2.data;
135 if (d2.data)
136 FREE(d2.data, d2.length);
148 if (d2.data)
[all …]
/titanic_41/usr/src/cmd/diff3/
H A Ddiff3prog.c278 struct diff *d1, *d2, *d3; in merge() local
283 d2 = d23; in merge()
285 for (; (t1 = d1 < d13+m1) | (t2 = d2 < d23+m2); ) { in merge()
290 d2->old.from, d2->old.to, in merge()
291 d2->new.from, d2->new.to); in merge()
295 if (!t2 || t1 && d1->new.to < d2->new.from) { in merge()
308 if (!t1 || t2 && d2->new.to < d1->new.from) { in merge()
311 keep(1, &d2->new); in merge()
312 change(2, &d2->old, 0); in merge()
313 change(3, &d2->new, 0); in merge()
[all …]
/titanic_41/usr/src/cmd/stat/common/
H A Dwalkers.c112 iodev_walk(struct iodev_snapshot *d1, struct iodev_snapshot *d2, in iodev_walk() argument
117 while (d1 && d2) { in iodev_walk()
118 if (strcmp(d1->is_name, d2->is_name) < 0) { in iodev_walk()
123 } else if (strcmp(d1->is_name, d2->is_name) > 0) { in iodev_walk()
125 cb(NULL, d2, data); in iodev_walk()
126 (void) iodev_walk(NULL, d2->is_children, cb, data); in iodev_walk()
127 d2 = d2->is_next; in iodev_walk()
129 cb(d1, d2, data); in iodev_walk()
131 d2->is_children, cb, data); in iodev_walk()
133 d2 = d2->is_next; in iodev_walk()
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_encrypt.c67 krb5_data d1, d2; in krb5_dk_encrypt() local
115 d2.length = plainlen; in krb5_dk_encrypt()
116 d2.data = output->data; in krb5_dk_encrypt()
122 ivec, &d1, &d2)))) in krb5_dk_encrypt()
126 cn = (unsigned char *) d2.data + d2.length - blocksize; in krb5_dk_encrypt()
132 d2.length = enclen - plainlen; in krb5_dk_encrypt()
133 d2.data = output->data+plainlen; in krb5_dk_encrypt()
138 if ((ret = krb5_hmac(context, derived_hmac_key, &d1, &d2))) { in krb5_dk_encrypt()
139 (void) memset(d2.data, 0, d2.length); in krb5_dk_encrypt()
144 1, &d1, &d2))) { in krb5_dk_encrypt()
[all …]
H A Ddk_decrypt.c87 krb5_data d1, d2; in krb5_dk_decrypt_maybe_trunc_hmac() local
132 d2.length = enclen; in krb5_dk_decrypt_maybe_trunc_hmac()
133 d2.data = (char *) plaindata; in krb5_dk_decrypt_maybe_trunc_hmac()
136 ivec, &d1, &d2))) != 0) in krb5_dk_decrypt_maybe_trunc_hmac()
155 if ((ret = krb5_hmac(context, derived_hmac_key, &d2, &d1)) != 0) in krb5_dk_decrypt_maybe_trunc_hmac()
159 1, &d2, &d1)) != 0) in krb5_dk_decrypt_maybe_trunc_hmac()
181 (void) memcpy(output->data, d2.data+blocksize, output->length); in krb5_dk_decrypt_maybe_trunc_hmac()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c23 crypto_data_t d1, d2; in k5_ef_hash() local
30 bzero(&d2, sizeof (d2)); in k5_ef_hash()
35 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_hash()
36 d2.cd_offset = 0; in k5_ef_hash()
37 d2.cd_length = output->length; in k5_ef_hash()
38 d2.cd_raw = v2; in k5_ef_hash()
73 rv = crypto_digest_final(ctxp, &d2, NULL); in k5_ef_hash()
96 crypto_data_t d1, d2; in k5_ef_mac() local
109 bzero(&d2, sizeof (d2)); in k5_ef_mac()
111 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_mac()
[all …]
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_debug.h81 #define E1000G_DEBUGLOG_2(Adapter, Level, fmt, d1, d2) \ argument
82 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1), (d2))
84 #define E1000G_DEBUGLOG_3(Adapter, Level, fmt, d1, d2, d3) \ argument
86 (d2), (d3))
88 #define E1000G_DEBUGLOG_4(Adapter, Level, fmt, d1, d2, d3, d4) \ argument
90 (d2), (d3), (d4))
92 #define E1000G_DEBUGLOG_5(Adapter, Level, fmt, d1, d2, d3, d4, d5) \ argument
94 (d2), (d3), (d4), (d5))
103 #define E1000G_DEBUGLOG_2(Adapter, Level, fmt, d1, d2)
104 #define E1000G_DEBUGLOG_3(Adapter, Level, fmt, d1, d2, d3)
[all …]
/titanic_41/usr/src/lib/libm/common/m9x/
H A Dfenv_inlines.h432 sse_cmpeqsd(double *d1, double *d2, long long *ll1) in sse_cmpeqsd() argument
438 : "x" (*d2)); in sse_cmpeqsd()
442 sse_cmpltsd(double *d1, double *d2, long long *ll1) in sse_cmpltsd() argument
448 : "x" (*d2)); in sse_cmpltsd()
452 sse_cmplesd(double *d1, double *d2, long long *ll1) in sse_cmplesd() argument
458 : "x" (*d2)); in sse_cmplesd()
462 sse_cmpunordsd(double *d1, double *d2, long long *ll1) in sse_cmpunordsd() argument
468 : "x" (*d2)); in sse_cmpunordsd()
473 sse_minsd(double *d1, double *d2, double *d3) in sse_minsd() argument
479 : "x" (*d2)); in sse_minsd()
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c23 crypto_data_t d1, d2; in k5_ef_crypto() local
31 bzero(&d2, sizeof (d2)); in k5_ef_crypto()
39 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_crypto()
40 d2.cd_offset = 0; in k5_ef_crypto()
41 d2.cd_length = length; in k5_ef_crypto()
42 d2.cd_raw.iov_base = (char *)out; in k5_ef_crypto()
43 d2.cd_raw.iov_len = length; in k5_ef_crypto()
65 (in != out ? &d2 : NULL), in k5_ef_crypto()
71 (in != out ? &d2 : NULL), in k5_ef_crypto()
/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c359 crypto_data_t d1, d2; in rc4_crypt() local
365 bzero(&d2, sizeof (d2)); in rc4_crypt()
373 d2.cd_format = CRYPTO_DATA_RAW; in rc4_crypt()
374 d2.cd_offset = 0; in rc4_crypt()
375 d2.cd_length = buflen; in rc4_crypt()
376 d2.cd_raw.iov_base = (char *)outbuf; in rc4_crypt()
377 d2.cd_raw.iov_len = buflen; in rc4_crypt()
379 rv = crypto_encrypt_update(ctx, &d1, &d2, NULL); in rc4_crypt()
397 crypto_data_t d2; in rc4_final() local
401 bzero(&d2, sizeof (d2)); in rc4_final()
[all …]
H A Dnet80211_crypto_ccmp.c236 crypto_data_t d1, d2; in aes_ccm_encrypt() local
261 bzero(&d2, sizeof (d2)); in aes_ccm_encrypt()
269 d2.cd_format = CRYPTO_DATA_RAW; in aes_ccm_encrypt()
270 d2.cd_offset = 0; in aes_ccm_encrypt()
271 d2.cd_length = cipher_len; in aes_ccm_encrypt()
272 d2.cd_raw.iov_base = (char *)ciphertext; in aes_ccm_encrypt()
273 d2.cd_raw.iov_len = cipher_len; in aes_ccm_encrypt()
276 rv = crypto_encrypt(&mech, &d1, &crkey, NULL, &d2, NULL); in aes_ccm_encrypt()
289 crypto_data_t d1, d2; in aes_ccm_decrypt() local
314 bzero(&d2, sizeof (d2)); in aes_ccm_decrypt()
[all …]
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dt-float.c26 double d, d2; variable
51 d2 = 0.0;
52 sm_io_sscanf(buf, "%lf", &d2);
54 if (d != d2)
57 "wanted %f, got %f\n", d, d2);
62 if (!SM_TEST(d == d2))
64 "wanted %f, got %f\n", d, d2);
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.h47 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d2) \ argument
48 ixgbe_log((adapter), (fmt), (d1), (d2))
49 #define IXGBE_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ argument
50 ixgbe_log((adapter), (fmt), (d1), (d2), (d3))
51 #define IXGBE_DEBUGLOG_6(adapter, fmt, d1, d2, d3, d4, d5, d6) \ argument
52 ixgbe_log((adapter), (fmt), (d1), (d2), (d3), (d4), (d5), (d6))
61 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d2)
62 #define IXGBE_DEBUGLOG_3(adapter, fmt, d1, d2, d3)
63 #define IXGBE_DEBUGLOG_6(adapter, fmt, d1, d2, d3, d4, d5, d6)
/titanic_41/usr/src/uts/common/io/igb/
H A Digb_debug.h47 #define IGB_DEBUGLOG_2(adapter, fmt, d1, d2) \ argument
48 igb_log((adapter), (fmt), (d1), (d2))
49 #define IGB_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ argument
50 igb_log((adapter), (fmt), (d1), (d2), (d3))
59 #define IGB_DEBUGLOG_2(adapter, fmt, d1, d2)
60 #define IGB_DEBUGLOG_3(adapter, fmt, d1, d2, d3)
/titanic_41/usr/src/lib/libast/common/comp/
H A Ddup2.c35 dup2(int d1, int d2)
39 if (d1 == d2) return(d1);
41 close(d2);
43 return(fcntl(d1, F_DUPFD, d2));
/titanic_41/usr/src/cmd/cron/
H A Dfuncs.c64 days_btwn(int m1, int d1, int y1, int m2, int d2, int y2) in days_btwn() argument
76 if ((m1 == m2) && (d1 == d2) && (y1 == y2)) in days_btwn()
78 if ((m1 == m2) && (d1 < d2)) { in days_btwn()
84 if (d2 > days_in_mon(m2, y2)) { in days_btwn()
88 return (p*365 + d2-d1-1); in days_btwn()
90 return (d2-d1-1); in days_btwn()
93 days = (days_in_mon(m1, y1)-d1) + (d2-1); in days_btwn()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.h57 #define FRUTREE_DEBUG2(lvl, fmt, d1, d2) \ argument
59 syslog(LOG_DEBUG, fmt, d1, d2); \
61 #define FRUTREE_DEBUG3(lvl, fmt, d1, d2, d3) \ argument
63 syslog(LOG_DEBUG, fmt, d1, d2, d3); \
65 #define FRUTREE_DEBUG4(lvl, fmt, d1, d2, d3, d4) \ argument
67 syslog(LOG_DEBUG, fmt, d1, d2, d3, d4); \
/titanic_41/usr/src/uts/common/sys/
H A Dftrace.h111 #define FTRACE_2(fmt, d1, d2) \ argument
114 ftrace_2(fmt, d1, d2, caller()); \
116 #define FTRACE_3(fmt, d1, d2, d3) \ argument
119 ftrace_3(fmt, d1, d2, d3, caller()); \
H A Dvtrace.h1083 #define TRACE_2(fac, tag, name, d1, d2) { \ argument
1085 __dtrace_probe___vtrace_##tag((ulong_t)(d1), (ulong_t)(d2)); \
1088 #define TRACE_3(fac, tag, name, d1, d2, d3) { \ argument
1090 __dtrace_probe___vtrace_##tag((ulong_t)(d1), (ulong_t)(d2), \
1094 #define TRACE_4(fac, tag, name, d1, d2, d3, d4) { \ argument
1097 __dtrace_probe___vtrace_##tag((ulong_t)(d1), (ulong_t)(d2), \
1101 #define TRACE_5(fac, tag, name, d1, d2, d3, d4, d5) { \ argument
1104 __dtrace_probe___vtrace_##tag((ulong_t)(d1), (ulong_t)(d2), \
1112 #define TRACE_2(fac, tag, name, d1, d2)
1113 #define TRACE_3(fac, tag, name, d1, d2, d3)
[all …]
/titanic_41/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemcpy.s398 fmovd %d16, %d2
412 fmovd %d16, %d2
434 ldd [%o1+8], %d2
454 fmovd %d30, %d2
468 fmovd %d30, %d2
473 std %d2, [%o0+8]
481 ldd [%o1+8], %d2
500 fmovd %d28, %d2
515 fmovd %d28, %d2
521 std %d2, [%o0+8]
[all …]
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dvariables.sh360 for d2 in '' ' ' ':' ' :' ': ' ' : '
362 case $f2$d2 in
363 '') split "$d0$f1$d1$f2$d2" "[1]($f1)" "($f1)()" ;;
365 *) split "$d0$f1$d1$f2$d2" "[2]($f1)($f2)" "($f1)($f2)" ;;
386 for d2 in ' ' ':' ' :' ': ' ' : '
388 case $f2$d2 in
392 $f2$d2|$d2$f3) continue ;;
397 '') split "$d0$f1$d1$f2$d2$f3$d3" "[2]($f1)($f2)" "($f1)($f2)" ;;
399 *) x=$f2$d2$f3$d3
402 split "$d0$f1$d1$f2$d2$f3$d3" "[3]($f1)($f2)($f3)" "($f1)($x)"
/titanic_41/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c210 alphasort(struct direct **d1, struct direct **d2) in alphasort() argument
212 return (strcmp((*d1)->d_name, (*d2)->d_name)); in alphasort()
217 alphasort64(struct direct64 **d1, struct direct64 **d2) in alphasort64() argument
219 return (strcmp((*d1)->d_name, (*d2)->d_name)); in alphasort64()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dscandir.c245 alphasort(const struct dirent **d1, const struct dirent **d2) in alphasort() argument
248 (*d2)->d_name)); in alphasort()
253 alphasort64(const struct dirent64 **d1, const struct dirent64 **d2) in alphasort64() argument
256 (*d2)->d_name)); in alphasort64()
/titanic_41/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemcpy.s118 ldd [%g1], %d2
119 faligndata %d2, %d0, %d8 ! extract 8 bytes out
126 fmovd %d2, %d0
216 ldd [%g1], %d2
220 faligndata %d0, %d2, %d8
229 faligndata %d2, %d0, %d8
286 ldd [%g1], %d2
289 faligndata %d0, %d2, %d8
297 faligndata %d2, %d0, %d8
332 ldd [%l7+8], %d2
[all …]
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLogDistribution.java158 double d2 = v2.doubleValue(); in compareTo() local
159 int cmp = (d1 < d2 ? -1 : (d1 > d2 ? 1 : 0)); in compareTo()

12345