Searched defs:d2 (Results 1 - 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-float.c26 double d, d2; local
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);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c23 crypto_data_t d1, d2; local
31 bzero(&d2, sizeof (d2));
39 d2.cd_format = CRYPTO_DATA_RAW;
40 d2.cd_offset = 0;
41 d2.cd_length = length;
42 d2.cd_raw.iov_base = (char *)out;
43 d2.cd_raw.iov_len = length;
65 (in != out ? &d2 : NULL),
71 (in != out ? &d2
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c23 crypto_data_t d1, d2; local
30 bzero(&d2, sizeof (d2));
35 d2.cd_format = CRYPTO_DATA_RAW;
36 d2.cd_offset = 0;
37 d2.cd_length = output->length;
38 d2.cd_raw = v2;
73 rv = crypto_digest_final(ctxp, &d2, NULL);
96 crypto_data_t d1, d2; local
109 bzero(&d2, sizeo
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c102 alphasort(struct direct **d1, struct direct **d2) argument
104 return (strcmp((*d1)->d_name, (*d2)->d_name));
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c210 alphasort(struct direct **d1, struct direct **d2) argument
212 return (strcmp((*d1)->d_name, (*d2)->d_name));
217 alphasort64(struct direct64 **d1, struct direct64 **d2) argument
219 return (strcmp((*d1)->d_name, (*d2)->d_name));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dscandir.c245 alphasort(const struct dirent **d1, const struct dirent **d2) argument
248 (*d2)->d_name));
253 alphasort64(const struct dirent64 **d1, const struct dirent64 **d2) argument
256 (*d2)->d_name));
/illumos-gate/usr/src/cmd/eqn/
H A Dshift.c114 int effps, h1, h2, h3, b1, b2, b3, subsh, d1, d2, supsh, treg; local
142 d2 = VERT(EM(0.2, effps));
146 d2 = VERT(1);
149 supsh = -(h1-b1) + (h3-b3) - d2;
/illumos-gate/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));
108 * d2 is the contents of key 'k2', which is used to generate the
109 * checksum field. 'd2' == 'd1' when not using the exportable
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
280 krb5_data d1,d2,d3,salt,ciphertext,plaintext,checksum; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_decrypt.c87 krb5_data d1, d2; local
132 d2.length = enclen;
133 d2.data = (char *) plaindata;
136 ivec, &d1, &d2))) != 0)
155 if ((ret = krb5_hmac(context, derived_hmac_key, &d2, &d1)) != 0)
159 1, &d2, &d1)) != 0)
181 (void) memcpy(output->data, d2.data+blocksize, output->length);
H A Ddk_encrypt.c67 krb5_data d1, d2; local
115 d2.length = plainlen;
116 d2.data = output->data;
122 ivec, &d1, &d2))))
126 cn = (unsigned char *) d2.data + d2.length - blocksize;
132 d2.length = enclen - plainlen;
133 d2.data = output->data+plainlen;
138 if ((ret = krb5_hmac(context, derived_hmac_key, &d1, &d2))) {
139 (void) memset(d2
231 krb5_data d1, d2; local
[all...]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dlibm_inlines.h131 copysign(double d1, double d2) argument
141 : "x" (d2), "r" (0x7fffffffffffffff));
/illumos-gate/usr/src/tools/ctf/common/
H A Dlist.c73 list_defcmp(void *d1, void *d2, void *private) argument
75 return (d1 != d2);
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dlibm_inlines.h161 copysign(double d1, double d2) argument
165 "andl $0x80000000,%1\n\t" /* %1[31] <-- sign_bit(d2) */
167 : "+&r" (_HI_WORD(d1)), "+r" (_HI_WORD(d2))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchk_trans.c297 same_data (krb5_data *d1, krb5_data *d2)
299 return (d1->length == d2->length
300 && !memcmp (d1->data, d2->data, d1->length));
296 same_data(krb5_data *d1, krb5_data *d2) argument
/illumos-gate/usr/src/lib/libnsl/yp/
H A Ddbm.c418 cmpdatum(datum d1, datum d2) argument
424 if (n != d2.dsize)
425 return (n - d2.dsize);
429 p2 = d2.dptr;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c59 memcmp_pad_max(void *d1, uint_t d1_len, void *d2, uint_t d2_len, uint_t max_sz) argument
74 marker = d2;
82 if (memcmp(d1, d2, len) != 0)
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vlog.c665 double d0, d1, d2, d3; local
733 d2 = z2.d - w2.d;
738 h2 = d2 * TBL[i2];
743 l2 = d2 * TBL[i2+1];
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c363 int d1, d2; local
368 d1 = d2 = point = 0;
394 d2++;
401 if (!(d1 || point && d2))
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c64 days_btwn(int m1, int d1, int y1, int m2, int d2, int y2) argument
68 * m1/d1/y1 and m2/d2/y2.
76 if ((m1 == m2) && (d1 == d2) && (y1 == y2))
78 if ((m1 == m2) && (d1 < d2)) {
80 * In case of d2==29 ,d1==28 and m1==m2==Feb and year is not
84 if (d2 > days_in_mon(m2, y2)) {
88 return (p*365 + d2-d1-1);
90 return (d2-d1-1);
93 days = (days_in_mon(m1, y1)-d1) + (d2-1);
/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c112 iodev_walk(struct iodev_snapshot *d1, struct iodev_snapshot *d2, argument
117 while (d1 && d2) {
118 if (strcmp(d1->is_name, d2->is_name) < 0) {
123 } else if (strcmp(d1->is_name, d2->is_name) > 0) {
125 cb(NULL, d2, data);
126 (void) iodev_walk(NULL, d2->is_children, cb, data);
127 d2 = d2->is_next;
129 cb(d1, d2, data);
131 d2
304 iodev_report(struct iodev_snapshot *d1, struct iodev_snapshot *d2) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dhash.c67 hash_def_cmp(uintptr_t d1, uintptr_t d2) argument
69 return (d1 != d2);
/illumos-gate/usr/src/ucblib/libdbm/
H A Ddbm.c55 int cmpdatum(datum d1, datum d2);
426 cmpdatum(datum d1, datum d2) argument
432 if (n != d2.dsize)
433 return (n - d2.dsize);
437 p2 = d2.dptr;
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_ipp.c395 uint32_t d0, uint32_t d1, uint32_t d2, uint32_t d3, uint32_t d4)
415 IPP_REG_WR(handle, portn, IPP_PFIFO_WR_DATA2_REG, d2);
427 uint32_t *d0, uint32_t *d1, uint32_t *d2, uint32_t *d3,
442 IPP_REG_RD(handle, portn, IPP_PFIFO_RD_DATA2_REG, d2);
451 uint32_t d0, uint32_t d1, uint32_t d2, uint32_t d3, uint32_t d4)
471 IPP_REG_WR(handle, portn, IPP_DFIFO_WR_DATA2_REG, d2);
483 uint32_t *d0, uint32_t *d1, uint32_t *d2, uint32_t *d3,
498 IPP_REG_RD(handle, portn, IPP_DFIFO_RD_DATA2_REG, d2);
394 npi_ipp_write_pfifo(npi_handle_t handle, uint8_t portn, uint8_t addr, uint32_t d0, uint32_t d1, uint32_t d2, uint32_t d3, uint32_t d4) argument
426 npi_ipp_read_pfifo(npi_handle_t handle, uint8_t portn, uint8_t addr, uint32_t *d0, uint32_t *d1, uint32_t *d2, uint32_t *d3, uint32_t *d4) argument
450 npi_ipp_write_dfifo(npi_handle_t handle, uint8_t portn, uint16_t addr, uint32_t d0, uint32_t d1, uint32_t d2, uint32_t d3, uint32_t d4) argument
482 npi_ipp_read_dfifo(npi_handle_t handle, uint8_t portn, uint16_t addr, uint32_t *d0, uint32_t *d1, uint32_t *d2, uint32_t *d3, uint32_t *d4) argument
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ipp.c44 uint32_t d0, d1, d2, d3, d4; local
70 i, &d0, &d1, &d2, &d3, &d4)) != NPI_SUCCESS)
607 uint32_t d0, d1, d2, d3, d4; local
675 &d0, &d1, &d2, &d3, &d4)) != NPI_SUCCESS)
733 uint32_t d0, d1, d2, d3, d4; local
779 &d0, &d1, &d2, &d3, &d4)) != NPI_SUCCESS)
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_ccmp.c236 crypto_data_t d1, d2; local
261 bzero(&d2, sizeof (d2));
269 d2.cd_format = CRYPTO_DATA_RAW;
270 d2.cd_offset = 0;
271 d2.cd_length = cipher_len;
272 d2.cd_raw.iov_base = (char *)ciphertext;
273 d2.cd_raw.iov_len = cipher_len;
276 rv = crypto_encrypt(&mech, &d1, &crkey, NULL, &d2, NULL);
289 crypto_data_t d1, d2; local
[all...]

Completed in 84 milliseconds

123