Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 25 of 623) sorted by relevance

12345678910>>...25

/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.disasm/
Dt07_ari3.s8 neg.b r1h ;1781
9 neg.b @er1 ;7d101780
10 neg.b @(0x3:2,er1) ;017768181780
11 neg.b @er1+ ;01746c181780
12 neg.b @-er1 ;01776c181780
13 neg.b @+er1 ;01756c181780
14 neg.b @er1- ;01766c181780
15 neg.b @(0x1234:16,er1) ;01746e1812341780
16 neg.b @(0x12345678:32,er1) ;78146a28123456781780
17 neg.b @(0x1234:16,r2l.b) ;01756e2812341780
[all …]
/netbsd/src/external/gpl3/gcc/dist/libgcc/
Ddivmod.c30 int neg = 0; in __divsi3() local
36 neg = !neg; in __divsi3()
42 neg = !neg; in __divsi3()
47 if (neg) in __divsi3()
56 int neg = 0; in __modsi3() local
62 neg = 1; in __modsi3()
70 if (neg) in __modsi3()
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtrandom_deviate.c117 int neg; in test_value_consistency() local
137 neg = gmp_urandomb_ui (RANDS, 1); in test_value_consistency()
138 inexa1 = mpfr_random_deviate_value (neg, n, u, a1, RANDS, rnd); in test_value_consistency()
139 inexa2 = mpfr_random_deviate_value (neg, n, u, a2, RANDS, rnd); in test_value_consistency()
140 inexa3 = mpfr_random_deviate_value (neg, n, u, a3, RANDS, rnd); in test_value_consistency()
141 inexb1 = mpfr_random_deviate_value (neg, n, u, b1, RANDS, rnd); in test_value_consistency()
142 inexb2 = mpfr_random_deviate_value (neg, n, u, b2, RANDS, rnd); in test_value_consistency()
143 inexb3 = mpfr_random_deviate_value (neg, n, u, b3, RANDS, rnd); in test_value_consistency()
170 int neg, s; in test_value_round() local
179 neg = gmp_urandomb_ui (RANDS, 1); in test_value_round()
[all …]
Dtfma.c206 unsigned int neg; in test_overflow3() local
221 for (neg = 0; neg <= 3; neg++) in test_overflow3()
235 ((neg & 1) == 0 ? in test_overflow3()
240 "i=%d j=%d k=%d neg=%u\n", i, j, k, neg); in test_overflow3()
242 (neg & 1) == 0 ? '+' : '-', in test_overflow3()
243 (neg & 1) == 0 ? '>' : '<'); in test_overflow3()
251 if (neg == 0 || neg == 2) in test_overflow3()
253 if (neg == 1 || neg == 3) in test_overflow3()
273 unsigned int neg; in test_overflow4() local
319 for (neg = 0; neg <= 3; neg++) in test_overflow4()
[all …]
Dtfpif.c45 int i, neg; in doit() local
73 for (neg = 0; neg < 2; neg++) in doit()
76 if (neg) in doit()
83 printf ("Failed to export number %d, neg=%d\n", i, neg); in doit()
87 if (neg) in doit()
108 for (neg = 0; neg < 2; neg++) in doit()
113 if (neg) in doit()
127 " bad precision\n", i, neg); in doit()
135 " bad sign\n", i, neg); in doit()
142 printf ("doit failed on written number %d, neg=%d\n", i, neg); in doit()
[all …]
Dtnext.c35 int neg, below; in generic_abovebelow() local
63 neg = RAND_BOOL (); in generic_abovebelow()
64 if (neg) in generic_abovebelow()
96 int i, neg, below; in inverse_test() local
100 for (neg = 0; neg <= 1; neg++) in inverse_test()
109 if (neg) in inverse_test()
117 if (!(neg == below && mpfr_inf_p (x))) /* then x = y */ in inverse_test()
123 neg, below, (int) prec); in inverse_test()
135 " below = %d, prec = %d\n", tests[i], neg, in inverse_test()
145 " prec = %d", tests[i], neg, below, (int) prec); in inverse_test()
Dtget_set_d64.c355 int err = 0, neg, rnd; in check_overflow() local
358 for (neg = 0; neg < 2; neg++) in check_overflow()
363 int sign = neg ? -1 : 1; in check_overflow()
365 e = sign * (MPFR_IS_LIKE_RNDZ (r, neg) ? 1 : 2) * DEC64_MAX; in check_overflow()
372 neg ? "negative" : "positive", in check_overflow()
382 neg ? "negative" : "positive", in check_overflow()
392 neg ? "negative" : "positive", in check_overflow()
434 unsigned int neg; in powers_of_10() local
438 for (neg = 0; neg <= 3; neg++) in powers_of_10()
446 inex1 = mpfr_set_si (x1, (neg >> 1) ? -i : i, MPFR_RNDN); in powers_of_10()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/bn/
Dbn_add.c21 if (a->neg == b->neg) { in BN_add()
22 r_neg = a->neg; in BN_add()
27 r_neg = a->neg; in BN_add()
30 r_neg = b->neg; in BN_add()
39 r->neg = r_neg; in BN_add()
52 if (a->neg != b->neg) { in BN_sub()
53 r_neg = a->neg; in BN_sub()
58 r_neg = a->neg; in BN_sub()
61 r_neg = !b->neg; in BN_sub()
70 r->neg = r_neg; in BN_sub()
[all …]
Dbn_conv.c31 if (a->neg) in BN_bn2hex()
130 int neg = 0, h, m, i, j, k, c; in BN_hex2bn() local
137 neg = 1; in BN_hex2bn()
147 num = i + neg; in BN_hex2bn()
195 ret->neg = neg; in BN_hex2bn()
207 int neg = 0, i, j; in BN_dec2bn() local
213 neg = 1; in BN_dec2bn()
223 num = i + neg; in BN_dec2bn()
265 ret->neg = neg; in BN_dec2bn()
289 (*bn)->neg = 1; in BN_asc2bn()
Dbn_mpi.c37 if (a->neg) in BN_bn2mpi()
45 int neg = 0; in BN_mpi2bn() local
68 a->neg = 0; in BN_mpi2bn()
74 neg = 1; in BN_mpi2bn()
80 a->neg = neg; in BN_mpi2bn()
81 if (neg) { in BN_mpi2bn()
Dbn_lib.c352 a->neg = b->neg; in BN_copy()
380 tmp_neg = a->neg; in BN_swap()
385 a->neg = b->neg; in BN_swap()
390 b->neg = tmp_neg; in BN_swap()
405 a->neg = 0; in BN_clear()
425 a->neg = 0; in BN_set_word()
460 ret->neg = 0; in BN_bin2bn()
572 ret->neg = 0; in BN_lebin2bn()
671 if (a->neg != b->neg) { in BN_cmp()
672 if (a->neg) in BN_cmp()
[all …]
Dbn_word.c93 a->neg = 0; /* don't allow negative zero */ in BN_div_word()
113 if (a->neg) { in BN_add_word()
114 a->neg = 0; in BN_add_word()
117 a->neg = !(a->neg); in BN_add_word()
152 if (a->neg) { in BN_sub_word()
153 a->neg = 0; in BN_sub_word()
155 a->neg = 1; in BN_sub_word()
161 a->neg = 1; in BN_sub_word()
/netbsd/src/external/bsd/ppp/dist/pppd/
Dlcp.c673 #define LENCIVOID(neg) ((neg) ? CILEN_VOID : 0) in lcp_cilen() argument
674 #define LENCICHAP(neg) ((neg) ? CILEN_CHAP : 0) in lcp_cilen() argument
675 #define LENCISHORT(neg) ((neg) ? CILEN_SHORT : 0) in lcp_cilen() argument
676 #define LENCILONG(neg) ((neg) ? CILEN_LONG : 0) in lcp_cilen() argument
677 #define LENCILQR(neg) ((neg) ? CILEN_LQR: 0) in lcp_cilen() argument
678 #define LENCICBCP(neg) ((neg) ? CILEN_CBCP: 0) in lcp_cilen() argument
709 #define ADDCIVOID(opt, neg) \ in lcp_addci() argument
710 if (neg) { \ in lcp_addci()
714 #define ADDCISHORT(opt, neg, val) \ in lcp_addci() argument
715 if (neg) { \ in lcp_addci()
[all …]
Dipcp.c732 #define LENCIADDRS(neg) (neg ? CILEN_ADDRS : 0) in ipcp_cilen() argument
733 #define LENCIVJ(neg, old) (neg ? (old? CILEN_COMPRESS : CILEN_VJ) : 0) in ipcp_cilen() argument
734 #define LENCIADDR(neg) (neg ? CILEN_ADDR : 0) in ipcp_cilen() argument
735 #define LENCIDNS(neg) LENCIADDR(neg) in ipcp_cilen() argument
736 #define LENCIWINS(neg) LENCIADDR(neg) in ipcp_cilen() argument
774 #define ADDCIADDRS(opt, neg, val1, val2) \ in ipcp_addci() argument
775 if (neg) { \ in ipcp_addci()
789 #define ADDCIVJ(opt, neg, val, old, maxslotindex, cflag) \ in ipcp_addci() argument
790 if (neg) { \ in ipcp_addci()
802 neg = 0; \ in ipcp_addci()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/
Dx_int64.c53 int neg = 0; in uint64_i2c() local
67 neg = 1; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
78 int neg = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i()
96 if ((it->size & INTxx_FLAG_SIGNED) == 0 && neg) { in uint64_c2i()
101 && !neg && utmp > INT64_MAX) { in uint64_c2i()
105 if (neg) in uint64_c2i()
148 int neg = 0; in uint32_i2c() local
162 neg = 1; in uint32_i2c()
[all …]
Da_int.c25 int neg, ret; in ASN1_INTEGER_cmp() local
27 neg = x->type & V_ASN1_NEG; in ASN1_INTEGER_cmp()
28 if (neg != (y->type & V_ASN1_NEG)) { in ASN1_INTEGER_cmp()
29 if (neg) in ASN1_INTEGER_cmp()
37 if (neg) in ASN1_INTEGER_cmp()
97 static size_t i2c_ibuf(const unsigned char *b, size_t blen, int neg, in i2c_ibuf() argument
107 if (!neg && (i > 127)) { in i2c_ibuf()
110 } else if (neg) { in i2c_ibuf()
157 int neg, pad; in c2i_ibuf() local
163 neg = p[0] & 0x80; in c2i_ibuf()
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dround_prec.c178 mpfr_can_round_raw (const mp_limb_t *bp, mp_size_t bn, int neg, mpfr_exp_t err, in mpfr_can_round_raw() argument
196 MPFR_ASSERT_SIGN(neg); in mpfr_can_round_raw()
197 neg = MPFR_IS_NEG_SIGN(neg); in mpfr_can_round_raw()
198 MPFR_ASSERTD (neg == 0 || neg == 1); in mpfr_can_round_raw()
206 rnd1 = MPFR_IS_LIKE_RNDZ(rnd1, neg) ? MPFR_RNDZ : MPFR_RNDA; in mpfr_can_round_raw()
218 rnd2 = MPFR_IS_LIKE_RNDZ(rnd1, neg) ? MPFR_RNDA : MPFR_RNDZ; in mpfr_can_round_raw()
223 if (mpfr_round_raw2 (bp, bn, neg, MPFR_RNDA, prec) == 0) in mpfr_can_round_raw()
228 rnd2 = MPFR_IS_LIKE_RNDZ(rnd2, neg) ? MPFR_RNDZ : MPFR_RNDA; in mpfr_can_round_raw()
338 mpfr_round_raw2 (bp, bn, neg, MPFR_RNDA, prec + 1) == 0) in mpfr_can_round_raw()
353 return mpfr_round_raw2 (bp, bn, neg, MPFR_RNDA, prec) != 0; in mpfr_can_round_raw()
[all …]
Dround_raw_generic.c67 int neg, mpfr_prec_t yprec, mpfr_rnd_t rnd_mode in mpfr_round_raw_generic() argument
83 MPFR_ASSERTD (neg == 0 || neg == 1); in mpfr_round_raw_generic()
100 (xprec <= yprec || MPFR_IS_LIKE_RNDZ (rnd_mode, neg))) in mpfr_round_raw_generic()
126 if (new_use_inexp || !MPFR_IS_LIKE_RNDZ(rnd_mode, neg)) in mpfr_round_raw_generic()
164 *inexp = 2 * MPFR_EVEN_INEX * neg - MPFR_EVEN_INEX; in mpfr_round_raw_generic()
179 *inexp = MPFR_EVEN_INEX - 2 * MPFR_EVEN_INEX * neg; in mpfr_round_raw_generic()
189 *inexp = 1 - 2 * neg; /* neg == 0 ? 1 : -1 */ in mpfr_round_raw_generic()
205 else if (MPFR_IS_LIKE_RNDZ(rnd_mode, neg)) in mpfr_round_raw_generic()
214 *inexp = MPFR_UNLIKELY (sb == 0) ? 0 : 2 * neg - 1; in mpfr_round_raw_generic()
244 *inexp = 1 - 2 * neg; /* neg == 0 ? 1 : -1 */ in mpfr_round_raw_generic()
/netbsd/src/external/bsd/ntp/dist/libntp/
Ddofptoa.c129 int neg; in fptoa() local
131 neg = (fpv < 0); in fptoa()
132 if (neg) { in fptoa()
138 return dofptoa(plusfp, (neg?'-':0), ndec, FALSE); in fptoa()
149 int neg; in fptoms() local
151 neg = (fpv < 0); in fptoms()
152 if (neg) { in fptoms()
158 return dofptoa(plusfp, (neg?'-':0), ndec, TRUE); in fptoms()
/netbsd/src/external/lgpl3/gmp/dist/tests/mpz/
Dt-io_raw.c62 int i, j, zeros, neg, error = 0; in check_in() local
75 for (neg = 0; neg <= 1; neg++) in check_in()
83 if (neg) in check_in()
118 printf (" i=%d zeros=%d neg=%d\n", i, zeros, neg); in check_in()
141 int i, j, neg, error = 0; in check_out() local
152 for (neg = 0; neg <= 1; neg++) in check_out()
160 if (neg) in check_out()
195 printf (" i=%d neg=%d\n", i, neg); in check_out()
Dt-set_f.c33 int sh, shneg, neg; in check_one() local
45 for (neg = 0; neg <= 1; neg++) in check_one()
50 if (neg) in check_one()
74 printf (" neg %d\n", neg); in check_one()
/netbsd/src/external/gpl3/gcc/dist/libgcc/config/lm32/
D_divsi3.c51 int neg = 0; in __divsi3() local
79 neg = !neg; in __divsi3()
85 neg = !neg; in __divsi3()
94 if (neg) in __divsi3()
/netbsd/src/crypto/external/bsd/heimdal/dist/cf/
Droken-h-process.pl141 my ($neg, $var);
158 ($neg, $var) = ($1, $2);
159 print "def: ${neg}-defined(${var})\n" if ($debug);
161 if ($neg eq "!") {
171 ($neg, $var) = ($1, $2);
172 print "var: $neg $var\n" if ($debug);
179 $res = ! $res if ($neg =~ m/!/);
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dstrtoll.c66 int neg, any, cutlim; in strtoll() local
78 neg = 1; in strtoll()
81 neg = 0; in strtoll()
118 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll()
142 acc = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
147 } else if (neg) in strtoll()
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dsysroff.info75 (("neg number") (2 bytes) ("neg")))
95 (("negotiation number") (2 bytes) ("neg")))
130 (("neg number") (2 bytes) ("neg")))
291 (("negotiation number") (2 bytes) ("neg"))
315 (("negotiation") (2 bytes) ("neg"))))
345 (("negotiation") (2 bytes) ("neg")))
374 (("negotiation") (2 bytes) ("neg")))
394 (("neg") (2 bytes) ("neg")))
401 (("neg number") (2 bytes) ("neg"))))
407 (("neg number") (2 bytes) ("neg"))))
[all …]

12345678910>>...25