Home
last modified time | relevance | path

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

12345678910>>...45

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dadd.c69 int a_neg = a->neg, ret; in BN_add()
75 if (a_neg ^ b->neg) { in BN_add()
88 r->neg = 1; in BN_add()
93 r->neg = 0; in BN_add()
99 r->neg = a_neg; in BN_add()
153 if (a->neg) { in BN_add_word()
154 a->neg = 0; in BN_add_word()
157 a->neg = !(a->neg); in BN_add_word()
179 int add = 0, neg = 0; in BN_sub() local
186 if (a->neg) { in BN_sub()
[all …]
Dbn.c139 dest->neg = src->neg; in BN_copy()
149 bn->neg = 0; in BN_clear()
157 out->neg = 0; in DEFINE_METHOD_FUNCTION()
230 bn->width = bn->neg = 0; in BN_zero()
247 bn->neg = 0; in BN_set_word()
265 bn->neg = 0; in BN_set_u64()
282 bn->neg = 0; in bn_set_words()
294 bn->neg = 0; in bn_set_static_words()
308 if (bn->neg) { in bn_copy_words()
328 return bn->neg != 0; in BN_is_negative()
[all …]
Dcmp.c115 if (a->neg != b->neg) { in BN_cmp()
116 if (a->neg) { in BN_cmp()
123 return a->neg ? -ret : ret; in BN_cmp()
157 return bn->neg == 0 && BN_abs_is_word(bn, 1); in BN_is_one()
161 return BN_abs_is_word(bn, w) && (w == 0 || bn->neg == 0); in BN_is_word()
170 if (width == 0 || bn->neg) { in BN_is_pow2()
198 mask |= (a->neg ^ b->neg); in BN_equal_consttime()
/external/boringssl/src/crypto/fipsmodule/bn/
Dadd.c69 int a_neg = a->neg, ret; in BN_add()
75 if (a_neg ^ b->neg) { in BN_add()
88 r->neg = 1; in BN_add()
93 r->neg = 0; in BN_add()
99 r->neg = a_neg; in BN_add()
153 if (a->neg) { in BN_add_word()
154 a->neg = 0; in BN_add_word()
157 a->neg = !(a->neg); in BN_add_word()
179 int add = 0, neg = 0; in BN_sub() local
186 if (a->neg) { in BN_sub()
[all …]
Dbn.c146 dest->neg = src->neg; in BN_copy()
156 bn->neg = 0; in BN_clear()
164 out->neg = 0; in DEFINE_METHOD_FUNCTION()
237 bn->width = bn->neg = 0; in BN_zero()
254 bn->neg = 0; in BN_set_word()
272 bn->neg = 0; in BN_set_u64()
289 bn->neg = 0; in bn_set_words()
302 bn->neg = 0; in bn_set_static_words()
316 if (bn->neg) { in bn_copy_words()
336 return bn->neg != 0; in BN_is_negative()
[all …]
Dcmp.c116 if (a->neg != b->neg) { in BN_cmp()
117 if (a->neg) { in BN_cmp()
124 return a->neg ? -ret : ret; in BN_cmp()
158 return bn->neg == 0 && BN_abs_is_word(bn, 1); in BN_is_one()
162 return BN_abs_is_word(bn, w) && (w == 0 || bn->neg == 0); in BN_is_word()
171 if (width == 0 || bn->neg) { in BN_is_pow2()
199 mask |= (a->neg ^ b->neg); in BN_equal_consttime()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/
Dadd.c69 int a_neg = a->neg, ret; in BN_add()
75 if (a_neg ^ b->neg) { in BN_add()
88 r->neg = 1; in BN_add()
93 r->neg = 0; in BN_add()
99 r->neg = a_neg; in BN_add()
153 if (a->neg) { in BN_add_word()
154 a->neg = 0; in BN_add_word()
157 a->neg = !(a->neg); in BN_add_word()
179 int add = 0, neg = 0; in BN_sub() local
186 if (a->neg) { in BN_sub()
[all …]
Dbn.c146 dest->neg = src->neg; in BN_copy()
156 bn->neg = 0; in BN_clear()
164 out->neg = 0; in DEFINE_METHOD_FUNCTION()
237 bn->width = bn->neg = 0; in BN_zero()
254 bn->neg = 0; in BN_set_word()
272 bn->neg = 0; in BN_set_u64()
289 bn->neg = 0; in bn_set_words()
302 bn->neg = 0; in bn_set_static_words()
316 if (bn->neg) { in bn_copy_words()
336 return bn->neg != 0; in BN_is_negative()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dint-neg-02.ll11 %neg = sub i32 0, %val
12 %abs = select i1 %cmp, i32 %neg, i32 %val
23 %neg = sub i32 0, %val
24 %abs = select i1 %cmp, i32 %neg, i32 %val
35 %neg = sub i32 0, %val
36 %abs = select i1 %cmp, i32 %val, i32 %neg
47 %neg = sub i32 0, %val
48 %abs = select i1 %cmp, i32 %val, i32 %neg
60 %neg = sub i64 0, %ext
61 %abs = select i1 %cmp, i64 %neg, i64 %ext
[all …]
Dint-abs-01.ll11 %neg = sub i32 0, %val
12 %res = select i1 %cmp, i32 %neg, i32 %val
22 %neg = sub i32 0, %val
23 %res = select i1 %cmp, i32 %neg, i32 %val
33 %neg = sub i32 0, %val
34 %res = select i1 %cmp, i32 %val, i32 %neg
44 %neg = sub i32 0, %val
45 %res = select i1 %cmp, i32 %val, i32 %neg
56 %neg = sub i64 0, %ext
57 %res = select i1 %cmp, i64 %neg, i64 %ext
[all …]
Dvec-abs-03.ll11 %neg = sub <4 x i32> zeroinitializer, %val
12 %ret = select <4 x i1> %cmp, <4 x i32> %neg, <4 x i32> %val
22 %neg = sub <4 x i32> zeroinitializer, %val
23 %ret = select <4 x i1> %cmp, <4 x i32> %neg, <4 x i32> %val
33 %neg = sub <4 x i32> zeroinitializer, %val
34 %ret = select <4 x i1> %cmp, <4 x i32> %val, <4 x i32> %neg
44 %neg = sub <4 x i32> zeroinitializer, %val
45 %ret = select <4 x i1> %cmp, <4 x i32> %val, <4 x i32> %neg
57 %neg = sub <4 x i32> zeroinitializer, %val
58 %abs = select <4 x i1> %cmp, <4 x i32> %neg, <4 x i32> %val
[all …]
Dvec-abs-02.ll11 %neg = sub <8 x i16> zeroinitializer, %val
12 %ret = select <8 x i1> %cmp, <8 x i16> %neg, <8 x i16> %val
22 %neg = sub <8 x i16> zeroinitializer, %val
23 %ret = select <8 x i1> %cmp, <8 x i16> %neg, <8 x i16> %val
33 %neg = sub <8 x i16> zeroinitializer, %val
34 %ret = select <8 x i1> %cmp, <8 x i16> %val, <8 x i16> %neg
44 %neg = sub <8 x i16> zeroinitializer, %val
45 %ret = select <8 x i1> %cmp, <8 x i16> %val, <8 x i16> %neg
57 %neg = sub <8 x i16> zeroinitializer, %val
58 %abs = select <8 x i1> %cmp, <8 x i16> %neg, <8 x i16> %val
[all …]
Dvec-abs-04.ll11 %neg = sub <2 x i64> zeroinitializer, %val
12 %ret = select <2 x i1> %cmp, <2 x i64> %neg, <2 x i64> %val
22 %neg = sub <2 x i64> zeroinitializer, %val
23 %ret = select <2 x i1> %cmp, <2 x i64> %neg, <2 x i64> %val
33 %neg = sub <2 x i64> zeroinitializer, %val
34 %ret = select <2 x i1> %cmp, <2 x i64> %val, <2 x i64> %neg
44 %neg = sub <2 x i64> zeroinitializer, %val
45 %ret = select <2 x i1> %cmp, <2 x i64> %val, <2 x i64> %neg
57 %neg = sub <2 x i64> zeroinitializer, %val
58 %abs = select <2 x i1> %cmp, <2 x i64> %neg, <2 x i64> %val
[all …]
Dvec-abs-01.ll11 %neg = sub <16 x i8> zeroinitializer, %val
12 %ret = select <16 x i1> %cmp, <16 x i8> %neg, <16 x i8> %val
22 %neg = sub <16 x i8> zeroinitializer, %val
23 %ret = select <16 x i1> %cmp, <16 x i8> %neg, <16 x i8> %val
33 %neg = sub <16 x i8> zeroinitializer, %val
34 %ret = select <16 x i1> %cmp, <16 x i8> %val, <16 x i8> %neg
44 %neg = sub <16 x i8> zeroinitializer, %val
45 %ret = select <16 x i1> %cmp, <16 x i8> %val, <16 x i8> %neg
57 %neg = sub <16 x i8> zeroinitializer, %val
58 %abs = select <16 x i1> %cmp, <16 x i8> %neg, <16 x i8> %val
[all …]
Dint-neg-01.ll10 %neg = sub i32 0, %val
11 ret i32 %neg
20 %neg = sub i64 0, %ext
21 ret i64 %neg
31 %neg = sub i64 0, %ext
32 ret i64 %neg
40 %neg = sub i64 0, %val
41 ret i64 %neg
/external/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid02.c36 static gid_t root_gid, main_gid, other_gid, neg = -1; variable
40 {&neg, &neg, &neg, &root_gid, &main_gid, &main_gid,
42 {&neg, &neg, &other_gid, &root_gid, &main_gid, &other_gid,
44 {&neg, &other_gid, &neg, &root_gid, &other_gid, &other_gid,
46 {&other_gid, &neg, &neg, &other_gid, &other_gid, &other_gid,
Dsetresgid01.c96 static uid_t nobody_gid, root_gid, neg = -1; variable
104 {&neg, &neg, &neg, &root, &root, &root,
106 {&neg, &neg, &nobody.pw_gid, &root, &root, &nobody,
108 {&neg, &nobody.pw_gid, &neg, &root, &nobody, &nobody,
110 {&nobody.pw_gid, &neg, &neg, &nobody, &nobody, &nobody,
Dsetresgid03.c32 static gid_t nobody_gid, other_gid, neg = -1; variable
35 {&neg, &neg, &other_gid, &nobody_gid, &nobody_gid, &nobody_gid,
37 {&neg, &other_gid, &neg, &nobody_gid, &nobody_gid, &nobody_gid,
39 {&other_gid, &neg, &neg, &nobody_gid, &nobody_gid, &nobody_gid,
/external/ppp/pppd/
Dlcp.c676 #define LENCIVOID(neg) ((neg) ? CILEN_VOID : 0) argument
677 #define LENCICHAP(neg) ((neg) ? CILEN_CHAP : 0) argument
678 #define LENCISHORT(neg) ((neg) ? CILEN_SHORT : 0) argument
679 #define LENCILONG(neg) ((neg) ? CILEN_LONG : 0) argument
680 #define LENCILQR(neg) ((neg) ? CILEN_LQR: 0) argument
681 #define LENCICBCP(neg) ((neg) ? CILEN_CBCP: 0) argument
715 #define ADDCIVOID(opt, neg) \ argument
716 if (neg) { \
720 #define ADDCISHORT(opt, neg, val) \ argument
721 if (neg) { \
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Da_int.c75 int neg, ret; in ASN1_INTEGER_cmp() local
77 neg = x->type & V_ASN1_NEG; in ASN1_INTEGER_cmp()
78 if (neg != (y->type & V_ASN1_NEG)) { in ASN1_INTEGER_cmp()
79 if (neg) in ASN1_INTEGER_cmp()
87 if (neg) in ASN1_INTEGER_cmp()
120 int pad = 0, ret, i, neg; in i2c_ASN1_INTEGER() local
125 neg = a->type & V_ASN1_NEG; in i2c_ASN1_INTEGER()
132 neg = 0; in i2c_ASN1_INTEGER()
133 if (!neg && (i > 127)) { in i2c_ASN1_INTEGER()
136 } else if (neg) { in i2c_ASN1_INTEGER()
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-neg.ll5 ; CHECK: neg w0, w0
12 ; CHECK: neg x0, x0
19 ; CHECK: neg v0.8b, v0.8b
26 ; CHECK: neg v0.4h, v0.4h
33 ; CHECK: neg v0.2s, v0.2s
40 ; CHECK: neg v0.16b, v0.16b
47 ; CHECK: neg v0.8h, v0.8h
54 ; CHECK: neg v0.4s, v0.4s
61 ; CHECK: neg v0.2d, v0.2d
68 ; CHECK: neg d0, d0
/external/golang-protobuf/internal/encoding/text/
Ddecode_number.go15 if num.neg {
42 neg bool member
55 if num.neg && num.sep > 0 {
78 var neg bool
88 neg = true
138 return number{kind: kind, neg: neg, size: size, sep: sep}
210 return number{kind: kind, neg: neg, size: size, sep: sep}
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_expr.cpp52 void convert_to_mov(alu_node &n, value *src, bool neg, bool abs) { in convert_to_mov() argument
56 n.bc.src[0].neg = neg; in convert_to_mov()
223 if (n.bc.src[0].abs && !n.bc.src[0].neg) { in fold_setcc()
231 } else if (n.bc.src[0].abs && n.bc.src[0].neg) { in fold_setcc()
246 if (n.bc.src[1].abs && !n.bc.src[1].neg) { in fold_setcc()
254 } else if (n.bc.src[1].abs && n.bc.src[1].neg) { in fold_setcc()
269 if (s0.abs == s1.abs && s0.neg == s1.neg && cmp_type != AF_FLOAT_CMP) { in fold_setcc()
330 if (s.neg) in apply_alu_src_mod()
376 if (s0.abs != s1.abs || s0.neg != s1.neg) in ops_equal()
400 if (n.bc.op == ALU_OP1_MOV && n.bc.src[0].neg && !n.bc.src[1].abs in fold_alu_op1()
[all …]
/external/arm-trusted-firmware/lib/libc/
Dstrtoll.c54 int neg, any, cutlim; in strtoll() local
66 neg = 1; in strtoll()
69 neg = 0; in strtoll()
104 cutoff = neg ? (unsigned long long)-(LLONG_MIN + LLONG_MAX) + LLONG_MAX in strtoll()
128 acc = neg ? LLONG_MIN : LLONG_MAX; in strtoll()
129 } else if (neg) in strtoll()
Dstrtol.c54 int neg, any, cutlim; in strtol() local
66 neg = 1; in strtol()
69 neg = 0; in strtol()
103 cutoff = neg ? (unsigned long)-(LONG_MIN + LONG_MAX) + LONG_MAX in strtol()
127 acc = neg ? LONG_MIN : LONG_MAX; in strtol()
128 } else if (neg) in strtol()

12345678910>>...45