Home
last modified time | relevance | path

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

12345678910>>...25

/titanic_50/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c61 buf->zero = NULL; in create_node()
133 ASSERT(nodep->zero == NULL); in t_split()
135 nodep->zero = create_node(KM_SLEEP); in t_split()
143 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split()
145 nodep->zero = create_node(KM_SLEEP); in t_split()
149 tnodep->zero = nodep->zero; in t_split()
150 nodep->zero = tnodep; in t_split()
154 nodep->zero->pos = pos - 1; /* link is one bit */ in t_split()
156 nodep->zero->bits = (old_bits - nodep->bits) - 1; in t_split()
158 for (i = 0; i < nodep->zero->bits; ++i) { in t_split()
[all …]
/titanic_50/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
91 if (x == zero || !finitel(x)) b = zero;
131 if (b != zero) {
177 for (t = zero, i = 2*(n+k); i >= m; i -= 2) t = one/(i/x-t);
227 if (x <= zero) {
228 if (x == zero)
229 return -one/zero;
231 return zero/zero;
240 if (!finitel(x)) return zero;
/titanic_50/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 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 Djnl.c67 zero = 0.0L, variable
94 if (x == zero || !finitel(x)) b = zero;
134 if (b != zero) {
180 for (t = zero, i = 2*(n+k); i >= m; i -= 2) t = one/(i/x-t);
230 if (x <= zero) {
231 if (x == zero)
232 return (-one/zero);
234 return (zero/zero);
246 return (zero);
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
89 if (y == zero) in atan2l()
102 if (x == zero) in atan2l()
121 return (zero); /* atan(+...,+INF) */ in atan2l()
123 return (-zero); /* atan(-...,+INF) */ in atan2l()
144 z = zero; in atan2l()
/titanic_50/usr/src/lib/libc/sparc/fp/
H A D_Q_set_except.c33 static const double zero = 0.0, tiny = 1.0e-307, tiny2 = 1.001e-307, variable
48 t = zero - zero; /* clear cexc */ in _Q_set_exception()
51 t = zero / zero; in _Q_set_exception()
62 t = tiny / zero; in _Q_set_exception()
/titanic_50/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.relenum.d40 zero, enumerator
52 /zero >= one || second <= first || zero == second/
55 printf("zero = %d; one = %d; two = %d", zero, one, two);
64 printf("zero = %d; one = %d; two = %d", zero, one, two);
70 /first < two && second > one && one != two && zero != first/
/titanic_50/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()
/titanic_50/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 …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Dselect.c71 static fd_set zero = { 0 }; in pselect() local
99 in0 = &zero; in pselect()
101 out0 = &zero; in pselect()
103 ex0 = &zero; in pselect()
151 if (in0 != &zero) { in pselect()
156 if (out0 != &zero) { in pselect()
161 if (ex0 != &zero) { in pselect()
227 if (in0 != &zero) in pselect()
229 if (out0 != &zero) in pselect()
231 if (ex0 != &zero) in pselect()
H A Dselect_large_fdset.c95 fd_set zero; in pselect_large_fdset() local
120 (void) memset(&zero, 0, sizeof (fd_set)); in pselect_large_fdset()
122 in0 = &zero; in pselect_large_fdset()
124 out0 = &zero; in pselect_large_fdset()
126 ex0 = &zero; in pselect_large_fdset()
196 if (in0 != &zero) { in pselect_large_fdset()
201 if (out0 != &zero) { in pselect_large_fdset()
206 if (ex0 != &zero) { in pselect_large_fdset()
276 if (in0 != &zero) in pselect_large_fdset()
278 if (out0 != &zero) in pselect_large_fdset()
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c218 smb_alloc(smb_request_t *sr, size_t size, boolean_t zero) in smb_alloc() argument
222 if (zero) { in smb_alloc()
249 smb_free(smb_request_t *sr, void *ptr, boolean_t zero) in smb_free() argument
261 if (zero) in smb_free()
281 smb_realloc(smb_request_t *sr, void *ptr, size_t size, boolean_t zero) in smb_realloc() argument
287 return (smb_alloc(sr, size, zero)); in smb_realloc()
294 smb_free(sr, ptr, zero); in smb_realloc()
298 if ((zero) & (smh->smh_size > size)) in smb_realloc()
304 if (zero) in smb_realloc()
307 smb_free(sr, ptr, zero); in smb_realloc()
/titanic_50/usr/src/cmd/vi/port/
H A Dex_addr.c148 if (addr2 < zero) { in setcount2()
149 addr1 = addr2 = zero; in setcount2()
181 if (dol == zero) { in setall()
182 dot = zero; in setall()
228 addr = zero;
317 addr = zero;
321 if (addr < zero) {
374 if (addr != zero)
377 if (addr < zero)
/titanic_50/usr/src/lib/libast/common/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);
/titanic_50/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 …]
/titanic_50/usr/src/lib/libm/common/R/
H A Datanhf.c33 static const float zero = 0.0f; variable
41 return ((x * zero) / zero); in atanhf()
43 return (x / zero); in atanhf()

12345678910>>...25