Home
last modified time | relevance | path

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

12345678910>>...12

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c52 thread->sign.bitmap = 0; in iscsi_thread_create()
84 mutex_enter(&thread->sign.mtx); 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()
138 cv_signal(&thread->sign.cdv); in iscsi_thread_start()
140 mutex_exit(&thread->sign.mtx); in iscsi_thread_start()
147 thread->sign.bitmap = 0; in iscsi_thread_start()
295 bitmap = thread->sign.bitmap; in iscsi_thread_check_signals()
326 cv_wait(&thread->sign.cdv, &thread->sign.mtx); in iscsi_thread_wait()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddecimal_bin.c154 px->sign = pd->sign; in __decimal_to_unpacked()
539 u.sign = (pd->sign != 0); in decimal_to_single()
547 u.sign = (pd->sign != 0); in decimal_to_single()
618 u.sign = (pd->sign != 0); in decimal_to_double()
626 u.sign = (pd->sign != 0); in decimal_to_double()
698 u.sign = (pd->sign != 0); in decimal_to_extended()
706 u.sign = (pd->sign != 0); in decimal_to_extended()
716 u.sign = dd.f.msw.sign; in decimal_to_extended()
793 u.sign = (pd->sign != 0); in decimal_to_quadruple()
801 u.sign = (pd->sign != 0); in decimal_to_quadruple()
[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()
H A Deconvert.c56 econvert(double arg, int ndigits, int *decpt, int *sign, char *buf) in econvert() argument
77 *sign = dr.sign; in econvert()
101 seconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) in seconvert() argument
122 *sign = dr.sign; in seconvert()
146 qeconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) in qeconvert() argument
173 *sign = dr.sign; in qeconvert()
H A Dfconvert.c35 fconvert(double arg, int ndigits, int *decpt, int *sign, char *buf) in fconvert() argument
56 *sign = dr.sign; in fconvert()
89 sfconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) in sfconvert() argument
110 *sign = dr.sign; in sfconvert()
143 qfconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) in qfconvert() argument
170 *sign = dr.sign; in qfconvert()
H A Dpack_float.c75 overflow_to_infinity(int sign, enum fp_direction_type rd) in overflow_to_infinity() argument
90 inf = !sign; in overflow_to_infinity()
93 inf = sign; in overflow_to_infinity()
161 kluge.f.msw.sign = pu->sign; in __pack_single()
203 if (overflow_to_infinity(pu->sign, rd)) in __pack_single()
225 kluge.f.msw.sign = pu->sign; in __pack_double()
273 if (overflow_to_infinity(pu->sign, rd)) in __pack_double()
298 kluge.f.msw.sign = pu->sign; in __pack_extended()
339 if (overflow_to_infinity(pu->sign, rd)) in __pack_extended()
366 kluge.f.msw.sign = pu->sign; in __pack_quadruple()
[all …]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmout.c34 int sign, c; in m_in() local
38 sign = 1; in m_in()
53 a->len *= sign; in m_in()
59 sign = -sign; in m_in()
91 sign = 1; in m_out()
95 sign = -1; in m_out()
116 if (sign == -1) in m_out()
129 short sign; in mp_sdiv() local
131 sign = 1; in mp_sdiv()
135 sign = -sign; in mp_sdiv()
[all …]
H A Dmult.c32 int sign; in mp_mult() local
40 sign = 1; in mp_mult()
46 sign = -sign; in mp_mult()
50 sign = -sign; in mp_mult()
58 if (sign < 0) in mp_mult()
H A Dmadd.c71 int sign; in mp_madd() local
77 sign = 1; in mp_madd()
93 sign = -1; in mp_madd()
100 c->len = sign * c->len; in mp_madd()
161 int sign; in mp_msub() local
167 sign = 1; in mp_msub()
173 sign = -1; in mp_msub()
188 sign = -1; in mp_msub()
191 c->len = sign * c->len; in mp_msub()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSign.c182 crypto_sign_t sign; in C_Sign() local
242 sign.cs_datalen = ulDataLen; in C_Sign()
243 sign.cs_databuf = (char *)pData; in C_Sign()
244 sign.cs_signlen = *pulSignatureLen; in C_Sign()
282 REINIT_OPBUF(&session_p->sign); in C_Sign()
283 session_p->sign.flags = 0; in C_Sign()
365 REINIT_OPBUF(&session_p->sign); in C_SignUpdate()
366 session_p->sign.flags = 0; in C_SignUpdate()
489 REINIT_OPBUF(&session_p->sign); in C_SignFinal()
490 session_p->sign.flags = 0; in C_SignFinal()
[all …]
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
178 sign->mackey = kmem_alloc(sign->mackey_len, KM_SLEEP); in smb_sign_begin()
188 sign->flags = 0; in smb_sign_begin()
191 sign->flags |= SMB_SIGNING_ENABLED; in smb_sign_begin()
194 sign->flags |= SMB_SIGNING_CHECK; in smb_sign_begin()
229 struct smb_sign *sign = &s->signing; in smb_sign_calc() local
[all …]
/illumos-gate/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()
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()
185 if (pu->sign) in packint64()
201 px->sign = pu->sign; in packsingle()
276 px->sign = pu->sign; in packdouble()
[all …]
/illumos-gate/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
/illumos-gate/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)
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSign.c73 if (session_p->sign.flags & CRYPTO_OPERATION_ACTIVE) { in C_SignInit()
82 session_p->sign.flags = CRYPTO_OPERATION_ACTIVE; in C_SignInit()
91 session_p->sign.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_SignInit()
129 if (!(session_p->sign.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Sign()
138 if (session_p->sign.flags & CRYPTO_OPERATION_UPDATE) { in C_Sign()
208 if (!(session_p->sign.flags & CRYPTO_OPERATION_ACTIVE)) { in C_SignUpdate()
213 session_p->sign.flags |= CRYPTO_OPERATION_UPDATE; in C_SignUpdate()
262 if (!(session_p->sign.flags & CRYPTO_OPERATION_ACTIVE)) { in C_SignFinal()
330 if (session_p->sign.flags & CRYPTO_OPERATION_ACTIVE) { in C_SignRecoverInit()
339 session_p->sign.flags = CRYPTO_OPERATION_ACTIVE; in C_SignRecoverInit()
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dnxhal_nic_interface.h108 #define NX_CDRP_SIGNATURE_TO_PCIFN(sign) ((sign) & 0xff) argument
109 #define NX_CDRP_SIGNATURE_TO_VERSION(sign) (((sign)>>8) & 0xff) argument
110 #define NX_CDRP_SIGNATURE_TO_MAGIC(sign) (((sign)>>16) & 0xffff) argument
111 #define NX_CDRP_SIGNATURE_VALID(sign) \ argument
112 (NX_CDRP_SIGNATURE_TO_MAGIC(sign) == 0xcafe && \
113 NX_CDRP_SIGNATURE_TO_PCIFN(sign) < 8)

12345678910>>...12