Searched defs:neg (Results 1 - 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dfrexp.c37 int neg, j; local
40 neg = 0;
43 neg = 1;
56 if(neg)
H A Dstrtol.c41 int xx, neg = 0; local
52 neg++;
74 /* accumulate neg avoids surprises near MAXLONG */
78 return (neg ? val : -val);
H A Datoi.c45 register int c, neg = 0; local
52 neg++;
61 n += '0' - c; /* accum neg to avoid surprises at MAX */
63 return (neg ? n : -n);
H A Datol.c45 register int c, neg = 0; local
52 neg++;
61 n += '0' - c; /* accum neg to avoid surprises at MAX */
63 return (neg ? n : -n);
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddivdi3.c52 int neg; local
55 ua = -(u_longlong_t)a, neg = 1;
57 ua = a, neg = 0;
59 ub = -(u_longlong_t)b, neg ^= 1;
63 return (neg ? -uq : uq);
H A Dmoddi3.c54 int neg; local
57 ua = -(u_longlong_t)a, neg = 1;
59 ua = a, neg = 0;
65 return (neg ? -ur : ur);
H A Dmuldi3.c193 int neg; local
207 udiff = u1 - u0, neg = 0;
209 udiff = u0 - u1, neg = 1;
213 vdiff = v1 - v0, neg ^= 1;
222 /* if (neg) prod -= mid << N; else prod += mid << N; */
223 if (neg) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datoi.c51 int c, neg = 0; local
59 neg++;
69 n += '0' - c; /* accum neg to avoid surprises at MAX */
71 return (neg ? n : -n);
H A Datol.c51 int c, neg = 0; local
59 neg++;
69 n += '0' - c; /* accum neg to avoid surprises at MAX */
71 return (neg ? n : -n);
H A Datoll.c54 int c, neg = 0; local
62 neg++;
72 n += '0' - c; /* accum neg to avoid surprises at MAX */
74 return (neg ? n : -n);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrto.c51 register bool neg; local
70 neg = true;
75 neg = false;
99 ** either 7 (!neg) or 8 (neg), meaning that if we have
108 cutoff = neg ? LLONG_MIN : LLONG_MAX;
111 if (neg)
132 if (neg)
195 register bool neg; local
204 neg
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c138 int neg = 0; local
151 neg = 1;
165 val = neg;
185 neg = val & 0x80000000;
202 if (neg)
226 int neg = 0; local
242 neg = 1;
256 val[0] = (neg << 11); /* for the exponent */
280 neg = val[0] & 0x80000000;
297 if (neg)
[all...]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwcstol.c65 int xx, neg = 0; local
81 neg++;
109 if (neg) {
118 /* accumulate neg avoids surprises near MAXLONG */
128 return (neg ? val : -val);
137 return (neg ? _WLONG_MIN : _WLONG_MAX);
H A Dwcstoul.c63 int xx, neg = 0; local
79 neg++;
109 /* accumulate neg avoids surprises near MAXLONG */
119 return (neg ? -val : val);
/illumos-gate/usr/src/common/util/
H A Dstrtol.c59 int neg = 0; local
81 neg++;
112 if (neg)
119 /* accumulate neg avoids surprises near LONG_MAX */
131 *result = neg ? val : -val;
134 return (neg ? val : -val);
146 return (neg ? LONG_MIN : LONG_MAX);
H A Dstrtoll.c55 int neg = 0; local
77 neg++;
107 if (neg)
114 /* accumulate neg avoids surprises near LLONG_MAX */
126 *result = neg ? val : -val;
129 return (neg ? val : -val);
141 return (neg ? LLONG_MIN : LLONG_MAX);
H A Dstrtoul.c55 int neg = 0; local
76 neg++;
119 *result = neg ? -val : val;
122 return (neg ? -val : val);
H A Dstrtoull.c55 int neg = 0; local
76 neg++;
119 *result = neg ? -val : val;
122 return (neg ? -val : val);
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrtoul.c60 int neg, c, any, cutlim; local
62 neg = 0;
71 neg = 1;
105 } else if (neg)
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrtol.c48 int neg = 0, any, cutlim; local
64 neg = 1;
87 * 7 (neg==0) or 8 (neg==1), meaning that if we have accumulated
94 cutoff = neg ? -(unsigned long)LONG_MIN : LONG_MAX;
117 acc = neg ? LONG_MIN : LONG_MAX;
119 } else if (neg)
H A Dstrtoul.c57 int neg, any, cutlim; local
67 neg = 1;
70 neg = 0;
116 } else if (neg)
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_strtoint.c51 int neg = 0; local
69 neg = 1;
133 if (neg) {
142 if (neg)
151 if (neg)
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Darithmetic-ops.c91 static int neg(int x) function
/illumos-gate/usr/src/lib/efcode/engine/
H A Dprint.c100 format_number(fcode_env_t *env, int neg, int width) argument
108 if (env->num_base == 10 && neg) {
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c882 int neg, days, hours, minutes, seconds; local
886 neg = 1;
888 neg = 0;
896 snprintf(out, sizeof(out), "%s%d %s %02d:%02d:%02d", neg ? "-" : "",

Completed in 199 milliseconds

1234