Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c52 thread->sign.bitmap = 0; in iscsi_thread_create()
54 mutex_init(&thread->sign.mtx, NULL, MUTEX_DRIVER, NULL); in iscsi_thread_create()
55 cv_init(&thread->sign.cdv, NULL, CV_DRIVER, NULL); in iscsi_thread_create()
84 mutex_enter(&thread->sign.mtx); in iscsi_thread_destroy()
85 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) { in iscsi_thread_destroy()
86 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL; in iscsi_thread_destroy()
87 cv_signal(&thread->sign.cdv); in iscsi_thread_destroy()
89 mutex_exit(&thread->sign.mtx); in iscsi_thread_destroy()
106 cv_destroy(&thread->sign.cdv); in iscsi_thread_destroy()
107 mutex_destroy(&thread->sign.mtx); in iscsi_thread_destroy()
[all …]
/titanic_50/usr/src/lib/libc/port/fp/
H A Ddecimal_bin.c154 px->sign = pd->sign; in __decimal_to_unpacked()
424 *px = (pd->sign)? -f1 : f1; in __fast_decimal_to_single()
454 *px = (pd->sign)? -dds : dds; in __fast_decimal_to_double()
507 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
514 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
521 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
528 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
539 u.sign = (pd->sign != 0); in decimal_to_single()
547 u.sign = (pd->sign != 0); in decimal_to_single()
582 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_double()
[all …]
H A Dfpparts.h47 unsigned sign :1; member
53 unsigned sign :1; member
69 unsigned sign :1; member
74 unsigned sign :1; member
93 unsigned sign :1; member
100 unsigned sign :1; member
114 unsigned sign :1; member
120 unsigned sign :1; member
128 #define SIGNBIT(X) (((_dval *)&(X))->fparts.sign)
146 #define FSIGNBIT(X) (((_fval *)&(X))->fparts.sign)
H A Dfinite.c81 int sign, exp; in fpclass() local
84 sign = SIGNBIT(x); in fpclass()
87 return (sign ? FP_NDENORM : FP_PDENORM); in fpclass()
89 return (sign ? FP_NZERO : FP_PZERO); in fpclass()
93 return (sign ? FP_NINF : FP_PINF); in fpclass()
101 return (sign ? FP_NNORM : FP_PNORM); in fpclass()
H A Dhex_bin.c49 pu->sign = pd->sign; in __hex_to_unpacked()
122 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_single()
143 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_double()
167 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_quadruple()
193 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_extended()
/titanic_50/usr/src/lib/libc/i386/gen/
H A Decvt.c50 ecvt(number, ndigits, decpt, sign) in ecvt() argument
54 int *sign;
58 return (econvert(number, ndigits, decpt, sign, buf));
62 fcvt(number, ndigits, decpt, sign) in fcvt() argument
66 int *sign;
73 ptr = fconvert(number, ndigits, decpt, sign, buf);
90 qecvt(number, ndigits, decpt, sign) in qecvt() argument
94 int *sign;
98 return (qeconvert(&number, ndigits, decpt, sign, buf));
102 qfcvt(number, ndigits, decpt, sign) in qfcvt() argument
[all …]
/titanic_50/usr/src/lib/libc/amd64/gen/
H A Decvt.c50 ecvt(number, ndigits, decpt, sign) in ecvt() argument
54 int *sign;
58 return (econvert(number, ndigits, decpt, sign, buf));
62 fcvt(number, ndigits, decpt, sign) in fcvt() argument
66 int *sign;
73 ptr = fconvert(number, ndigits, decpt, sign, buf);
90 qecvt(number, ndigits, decpt, sign) in qecvt() argument
94 int *sign;
98 return (qeconvert(&number, ndigits, decpt, sign, buf));
102 qfcvt(number, ndigits, decpt, sign) in qfcvt() argument
[all …]
/titanic_50/usr/src/lib/libmp/common/
H A Dmout.c32 int sign, c; in m_in() local
36 sign = 1; in m_in()
51 a->len *= sign; in m_in()
57 sign = -sign; in m_in()
68 a->len *= sign; in m_in()
78 int sign, xlen, i; in m_out() local
87 sign = 1; in m_out()
91 sign = -1; in m_out()
112 if (sign == -1) in m_out()
125 short sign; in mp_sdiv() local
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSign.c85 session_p->sign.flags = CRYPTO_OPERATION_ACTIVE; in C_SignInit()
144 session_p->sign.flags |= CRYPTO_EMULATE; in C_SignInit()
163 session_p->sign.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_SignInit()
182 crypto_sign_t sign; in C_Sign() local
202 if (!(session_p->sign.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Sign()
211 if (session_p->sign.flags & CRYPTO_OPERATION_UPDATE) { in C_Sign()
222 if (session_p->sign.flags & CRYPTO_EMULATE) { in C_Sign()
225 session_p->sign.flags |= CRYPTO_EMULATE_USING_SW; in C_Sign()
229 rv = do_soft_hmac_sign(get_spp(&session_p->sign), in C_Sign()
234 free_soft_ctx(get_sp(&session_p->sign), OP_SIGN); in C_Sign()
[all …]
/titanic_50/usr/src/lib/libm/common/R/
H A Datan2f.c254 int i, k, hx, hy, ix, iy, sign; in atan2f() local
264 sign = 0; in atan2f()
273 sign = 1; in atan2f()
280 sign = 1 - sign; in atan2f()
287 sign = 1; in atan2f()
292 sign = 1 - sign; in atan2f()
307 return ((float)((sign)? -a : a)); in atan2f()
312 return ((float)((sign)? -a : a)); in atan2f()
343 return ((float)((sign)? -a : a)); in atan2f()
/titanic_50/usr/src/lib/libc/sparcv9/gen/
H A Decvt.c50 ecvt(double number, int ndigits, int *decpt, int *sign) in ecvt() argument
54 return (econvert(number, ndigits, decpt, sign, buf)); in ecvt()
58 fcvt(double number, int ndigits, int *decpt, int *sign) in fcvt() argument
65 ptr = fconvert(number, ndigits, decpt, sign, buf); in fcvt()
83 qecvt(number, ndigits, decpt, sign) in qecvt() argument
87 int *sign;
91 return (qeconvert(&number, ndigits, decpt, sign, buf));
95 qfcvt(long double number, int ndigits, int *decpt, int *sign) in qfcvt() argument
99 return (qfconvert(&number, ndigits, decpt, sign, buf)); in qfcvt()
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_stdlib.c43 fptos(const char *p, char *buf, size_t buflen, int decpt, int sign, char expchr) in fptos() argument
47 *q++ = sign ? '-' : '+'; in fptos()
91 int decpt, sign; in doubletos() local
94 p = econvert(d, precision + 1, &decpt, &sign, digits); in doubletos()
95 return (fptos(p, buf, sizeof (buf), decpt, sign, expchr)); in doubletos()
106 int decpt, sign; in longdoubletos() local
109 p = qeconvert(ldp, precision + 1, &decpt, &sign, digits); in longdoubletos()
110 return (fptos(p, buf, sizeof (buf), decpt, sign, expchr)); in longdoubletos()
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Decvt.c50 ecvt(double number, int ndigits, int *decpt, int *sign) in ecvt() argument
54 return (econvert(number, ndigits, decpt, sign, buf)); in ecvt()
58 fcvt(double number, int ndigits, int *decpt, int *sign) in fcvt() argument
65 ptr = fconvert(number, ndigits, decpt, sign, buf); in fcvt()
87 int *sign) in qecvt() argument
91 return (qeconvert(&number, ndigits, decpt, sign, buf)); in qecvt()
95 qfcvt(long double number, int ndigits, int *decpt, int *sign) in qfcvt() argument
99 return (qfconvert(&number, ndigits, decpt, sign, buf)); in qfcvt()
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c75 struct smb_sign *sign = &sr->session->signing; in smb_sign_find_seqnum() local
95 sign->seqnum, t); in smb_sign_find_seqnum()
96 sign->seqnum = t; in smb_sign_find_seqnum()
127 struct smb_sign *sign = &session->signing; in smb_sign_begin() local
149 if (sign->mackey != NULL) { in smb_sign_begin()
177 sign->mackey_len = token->tkn_ssnkey.len + sinfo->ssi_ntpwlen; in smb_sign_begin()
178 sign->mackey = kmem_alloc(sign->mackey_len, KM_SLEEP); in smb_sign_begin()
179 bcopy(token->tkn_ssnkey.val, sign->mackey, token->tkn_ssnkey.len); in smb_sign_begin()
181 bcopy(sinfo->ssi_ntpwd, sign->mackey + token->tkn_ssnkey.len, in smb_sign_begin()
188 sign->flags = 0; in smb_sign_begin()
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A D_Qfpack.c34 overflow_to_infinity(sign) in overflow_to_infinity() argument
35 int sign; in overflow_to_infinity()
50 inf = !sign;
53 inf = sign;
81 increment = (pu->sign == 0) & (sr != 0);
84 increment = (pu->sign != 0) & (sr != 0);
124 if ((pu->sign == 0)||(pu->significand[3] > 0x80000000))
127 if (pu->sign)
134 if (pu->sign)
149 px->sign = pu->sign;
[all …]
H A Decvt.c35 ecvt(arg, ndigits, decpt, sign) in ecvt() argument
37 int ndigits, *decpt, *sign;
41 return econvert(arg, ndigits, decpt, sign, efcvtbuffer);
45 fcvt(arg, ndigits, decpt, sign) in fcvt() argument
47 int ndigits, *decpt, *sign;
51 return fconvert(arg, ndigits, decpt, sign, efcvtbuffer);
H A D_Qfaddsub.c67 pz->sign = px->sign;
121 pz->sign = (fp_direction == fp_negative);
137 pz->sign = px->sign;
150 pz->sign = (fp_direction == fp_negative);
155 pz->sign = py->sign;
200 if (px->sign == py->sign)
211 py->sign = 1 - py->sign;
212 if (px->sign == py->sign)
H A Ddecimal_bin.c211 px->sign = pd->sign;
418 kluge.f.msw.sign = pd->sign ? 1 : 0;
438 u.sign = pd->sign == 0 ? 0 : 1;
454 u.sign = pd->sign == 0 ? 0 : 1;
483 kluge.f.msw.sign = pd->sign ? 1 : 0;
507 u.sign = pd->sign == 0 ? 0 : 1;
523 u.sign = pd->sign == 0 ? 0 : 1;
552 kluge.f.msw.sign = pd->sign ? 1 : 0;
576 u.sign = pd->sign == 0 ? 0 : 1;
592 u.sign = pd->sign == 0 ? 0 : 1;
[all …]
H A Deconvert.c34 econvert(arg, ndigits, decpt, sign, buf) in econvert() argument
36 int ndigits, *decpt, *sign;
50 *sign = dr.sign;
88 fconvert(arg, ndigits, decpt, sign, buf) in fconvert() argument
90 int ndigits, *decpt, *sign;
104 *sign = dr.sign;
H A Dqeconvert.c31 qeconvert(arg, ndigits, decpt, sign, buf) in qeconvert() argument
33 int ndigits, *decpt, *sign;
49 *sign = dr.sign;
87 qfconvert(arg, ndigits, decpt, sign, buf) in qfconvert() argument
89 int ndigits, *decpt, *sign;
101 *sign = dr.sign;
H A Dseconvert.c31 seconvert(arg, ndigits, decpt, sign, buf) in seconvert() argument
33 int ndigits, *decpt, *sign;
49 *sign = dr.sign;
87 sfconvert(arg, ndigits, decpt, sign, buf) in sfconvert() argument
89 int ndigits, *decpt, *sign;
101 *sign = dr.sign;
/titanic_50/usr/src/uts/sparc/fpu/
H A Daddsub.c66 pz->sign = px->sign;
118 pz->sign = (pfpsd->fp_direction == fp_negative);
134 pz->sign = px->sign;
151 pz->sign = (pfpsd->fp_direction == fp_negative);
156 pz->sign = py->sign;
205 if (px->sign == py->sign)
216 if (py->fpclass < fp_quiet) py->sign = 1 - py->sign;
217 if (px->sign == py->sign)
H A Dpack.c40 int sign) /* negative or positive */ in overflow_to_infinity() argument
52 inf = !sign; in overflow_to_infinity()
55 inf = sign; in overflow_to_infinity()
85 increment = (pu->sign == 0) & (sr != 0); in round()
88 increment = (pu->sign != 0) & (sr != 0); in round()
129 if ((pu->sign == 0)||(pu->significand[3] > 0x80000000)) in packint32()
132 if (pu->sign) in packint32()
139 if (pu->sign) in packint32()
170 if ((pu->sign == 0) || in packint64()
178 if (pu->sign) in packint64()
[all …]
/titanic_50/usr/src/lib/libc/inc/
H A Dbase_conversion.h63 int sign; member
79 unsigned sign:1; member
85 unsigned sign:1; member
90 unsigned sign:1; member
97 unsigned sign:1; member
125 unsigned sign:1; member
131 unsigned sign:1; member
137 unsigned sign:1; member
143 unsigned sign:1; member
/titanic_50/usr/src/head/
H A Dnan.h59 unsigned sign : 1; member
66 unsigned sign : 1; member
84 unsigned sign : 1;
91 unsigned sign : 1;
113 #define IsPosNAN(X) (((dnan *)&(X))->nan_parts.sign == 0)
115 #define IsNegNAN(X) (((dnan *)&(X))->nan_parts.sign == 1)

12345678910>>...14