Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c59 buf->zero = NULL; in create_node()
131 ASSERT(nodep->zero == NULL); in t_split()
133 nodep->zero = create_node(KM_SLEEP); in t_split()
141 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split()
143 nodep->zero = create_node(KM_SLEEP); in t_split()
147 tnodep->zero = nodep->zero; in t_split()
148 nodep->zero = tnodep; in t_split()
152 nodep->zero->pos = pos - 1; /* link is one bit */ in t_split()
154 nodep->zero->bits = (old_bits - nodep->bits) - 1; in t_split()
156 for (i = 0; i < nodep->zero->bits; ++i) { in t_split()
[all …]
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dsincospil.c95 zero = 0.0L, variable
117 *s = zero; in sincospil()
122 *s = zero; in sincospil()
126 *s = -zero; in sincospil()
132 *s = zero; in sincospil()
137 *c = zero; in sincospil()
147 *s = __k_sincosl(pi * fabsl(x), zero, c); in sincospil()
174 *s = zero; in sincospil()
179 *c = zero; in sincospil()
190 *s = __k_sincosl(pi * t, zero, c); in sincospil()
[all …]
H A Dsinpil.c94 zero = 0.0L, variable
115 y = zero; in sinpil()
117 y = (lx & 1) == 0 ? zero: -zero; in sinpil()
119 y = (lx & 1) == 0 ? zero : one; in sinpil()
126 y = __k_sinl(pi * fabsl(x), zero); in sinpil()
152 y = (n & 2) == 0 ? zero : one; in sinpil()
160 y = __k_sinl(pi * t, zero); in sinpil()
162 y = __k_cosl(pi * t, zero); in sinpil()
H A Djnl.c67 zero = 0.0L, variable
95 if (x == zero || !finitel(x)) b = zero; in jnl()
144 if (b != zero) { in jnl()
199 for (t = zero, i = 2*(n+k); i >= m; i -= 2) in jnl()
254 if (x <= zero) { in ynl()
255 if (x == zero) in ynl()
256 return (-one/zero); in ynl()
258 return (zero/zero); in ynl()
271 return (zero); in ynl()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsincospil.c93 zero = 0.0L, variable
114 *s = zero; in sincospil()
118 *s = zero; in sincospil()
121 *s = -zero; in sincospil()
126 *s = zero; in sincospil()
130 *c = zero; in sincospil()
139 *s = __k_sincosl(pi * fabsl(x), zero, c); in sincospil()
164 *s = zero; in sincospil()
168 *c = zero; in sincospil()
178 *s = __k_sincosl(pi * t, zero, c); in sincospil()
[all …]
H A Dsinpil.c93 zero = 0.0L, variable
114 y = zero; in sinpil()
116 y = (lx & 1) == 0 ? zero: -zero; in sinpil()
118 y = (lx & 1) == 0 ? zero : one; in sinpil()
124 y = __k_sinl(pi * fabsl(x), zero); in sinpil()
148 y = (n & 2) == 0 ? zero : one; in sinpil()
155 y = __k_sinl(pi * t, zero); in sinpil()
157 y = __k_cosl(pi * t, zero); in sinpil()
H A Djnl.c67 zero = 0.0L, variable
95 if (x == zero || !finitel(x)) b = zero; in jnl()
144 if (b != zero) { in jnl()
199 for (t = zero, i = 2*(n+k); i >= m; i -= 2) in jnl()
254 if (x <= zero) { in ynl()
255 if (x == zero) in ynl()
256 return (-one/zero); in ynl()
258 return (zero/zero); in ynl()
270 return (zero); in ynl()
H A Dlog10l.c71 zero = 0.0L, variable
92 else if (x > zero) { in log10l()
104 } else if (x == zero) /* -INF */ in log10l()
105 return (-one / zero); in log10l()
107 return (zero / zero); in log10l()
H A Dacosl.c51 static const long double zero = 0.0L, one = 1.0L; variable
60 x = atan2l(one, zero); /* x <- PI */ in acosl()
62 x = zero; in acosl()
64 return (zero / zero); in acosl()
H A Datan2l.c65 zero = 0.0L, variable
91 if (y == zero) in atan2l()
104 if (x == zero) in atan2l()
123 return (zero); /* atan(+...,+INF) */ in atan2l()
125 return (-zero); /* atan(-...,+INF) */ in atan2l()
146 z = zero; in atan2l()
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_set_except.c31 static const double zero = 0.0, tiny = 1.0e-307, tiny2 = 1.001e-307, variable
46 t = zero - zero; /* clear cexc */ in _Q_set_exception()
49 t = zero / zero; in _Q_set_exception()
60 t = tiny / zero; in _Q_set_exception()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.relenum.d38 zero, enumerator
50 /zero >= one || second <= first || zero == second/
53 printf("zero = %d; one = %d; two = %d", zero, one, two);
62 printf("zero = %d; one = %d; two = %d", zero, one, two);
68 /first < two && second > one && one != two && zero != first/
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrncmp.S71 tst %i4 ! terminating zero
117 ! For 7-bit characters, we know one of the bytes is zero, but for
118 ! 8-bit characters, the zero detection algorithm gives some false
121 andcc %i4, %l0, %g0 ! check if first byte was zero
123 andcc %i4, %l1, %g0 ! check if second byte was zero
126 andcc %i4, %l2, %g0 ! check if third byte was zero
129 andcc %i4, 0xff, %g0 ! check if last byte is zero
166 andcc %i4, %l0, %g0 ! check if first byte was zero
168 andcc %i4, %l1, %g0 ! check if second byte was zero
171 andcc %i4, %l2, %g0 ! check if third byte was zero
[all …]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcpowl.c61 zero = 0.0L; variable
127 if (v == zero) { /* z**(real) */ in cpowl()
131 } else if (u == zero) { /* (anything) ** 0 is 1 */ in cpowl()
133 LD_IM(ans) = zero; in cpowl()
134 } else if (y == zero) { /* real ** real */ in cpowl()
135 LD_IM(ans) = zero; in cpowl()
140 LD_RE(ans) = (c == zero)? c: c * r; in cpowl()
141 LD_IM(ans) = (s == zero)? s: s * r; in cpowl()
144 } else if (x == zero || ix >= hiinf || iy >= hiinf) { in cpowl()
148 if (x == zero) in cpowl()
[all …]
H A Dcprojl.c37 static const long double zero = 0.0L; variable
54 LD_IM(z) = hy >= 0 ? zero : -zero; in cprojl()
57 LD_IM(z) = hy >= 0 ? zero : -zero; in cprojl()
H A Dcprojf.c36 static const float zero = 0.0F; variable
52 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf()
55 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf()
H A Dcproj.c46 static const double zero = 0.0; variable
63 D_IM(z) = hy >= 0 ? zero : -zero; in cproj()
66 D_IM(z) = hy >= 0 ? zero : -zero; in cproj()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c222 smb_alloc(smb_request_t *sr, size_t size, boolean_t zero) in smb_alloc() argument
226 if (zero) { in smb_alloc()
253 smb_free(smb_request_t *sr, void *ptr, boolean_t zero) in smb_free() argument
265 if (zero) in smb_free()
285 smb_realloc(smb_request_t *sr, void *ptr, size_t size, boolean_t zero) in smb_realloc() argument
291 return (smb_alloc(sr, size, zero)); in smb_realloc()
298 smb_free(sr, ptr, zero); in smb_realloc()
302 if ((zero) && (smh->smh_size > size)) in smb_realloc()
308 if (zero) in smb_realloc()
311 smb_free(sr, ptr, zero); in smb_realloc()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dsupport.c86 static const double novf=1.7E38, nunf=3.0E-39, zero=0.0 ; variable
90 static const double novf=1.7E308, nunf=3.0E-308,zero=0.0; variable
106 if( x == zero ) return(x);
198 else if( x != zero)
201 return(-(1.0/zero));
272 if (p == zero) {
276 return zero/zero;
344 double const zero=0.0; variable
353 if(x!=x||x==zero) return(x);
356 if(x<zero) {
[all …]
H A Dlog1p.c121 const static double zero=0.0, negone= -1.0, one=1.0, variable
159 if ( x == negone ) return( negone/zero );
162 else return ( zero / zero );
170 return(zero/zero);
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrncmp.S71 tst %i4 ! terminating zero
117 ! For 7-bit characters, we know one of the bytes is zero, but for
118 ! 8-bit characters, the zero detection algorithm gives some false
121 andcc %i4, %l0, %g0 ! check if first byte was zero
123 andcc %i4, %l1, %g0 ! check if second byte was zero
126 andcc %i4, %l2, %g0 ! check if third byte was zero
129 andcc %i4, 0xff, %g0 ! check if last byte is zero
166 andcc %i4, %l0, %g0 ! check if first byte was zero
168 andcc %i4, %l1, %g0 ! check if second byte was zero
171 andcc %i4, %l2, %g0 ! check if third byte was zero
[all …]
H A Dstrcpy.S57 ! checking for zero bytes, depending upon its dst ptr alignment.
90 bz,pn %ncc, .done ! yup, 2nd byte zero, done
99 tst %o4 ! is first byte zero ?
103 andcc %o4, 0xff, %g0 ! is second byte zero ?
107 andcc %o4, 0xff, %g0 ! third byte zero ?
110 andcc %o5, 0xff, %g0 ! fourth byte zero ?
112 bz,pn %ncc, .done ! yup, fourth byte zero, done
138 bz,a,pt %ncc, .storedword ! no zero byte if magic expression == 0
145 andcc %o1, %o4, %g0 ! first byte zero?
150 andcc %o1, %o4, %g0 ! second byte zero?
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_addr.c147 if (addr2 < zero) { in setcount2()
148 addr1 = addr2 = zero; in setcount2()
180 if (dol == zero) { in setall()
181 dot = zero; in setall()
227 addr = zero;
317 addr = zero;
321 if (addr < zero) {
374 if (addr != zero)
377 if (addr < zero)
/illumos-gate/usr/src/lib/libm/common/C/
H A D__rem_pio2m.c158 zero = 0.0, variable
193 f[i] = (j < 0)? zero : (double)ipio2[j]; in __rem_pio2m()
197 for (j = 0, fw = zero; j <= jx; j++) in __rem_pio2m()
260 if (z == zero) { in __rem_pio2m()
272 for (j = 0, fw = zero; j <= jx; j++) in __rem_pio2m()
282 if (z == zero) { in __rem_pio2m()
311 for (fw = zero, k = 0; k <= jp && k <= jz - i; k++) in __rem_pio2m()
319 fw = zero; in __rem_pio2m()
327 fw = zero; in __rem_pio2m()
350 for (fw = zero, i = jz; i >= 2; i--) in __rem_pio2m()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect.c121 static fd_set zero = { 0 }; in pselect() local
148 in0 = &zero; in pselect()
150 out0 = &zero; in pselect()
152 ex0 = &zero; in pselect()
215 if (in0 != &zero) { in pselect()
220 if (out0 != &zero) { in pselect()
225 if (ex0 != &zero) { in pselect()
294 if (in0 != &zero) in pselect()
296 if (out0 != &zero) in pselect()
298 if (ex0 != &zero) in pselect()

12345678910>>...30