Home
last modified time | relevance | path

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

12345678910>>...23

/third_party/openssl/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()
656 if (a->neg != b->neg) { in BN_cmp()
657 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()
Dbn_shift.c23 r->neg = a->neg; in BN_lshift1()
62 r->neg = a->neg; in BN_rshift1()
76 r->neg = 0; /* don't allow negative zero */ in BN_rshift1()
143 r->neg = a->neg; in bn_lshift_fixed_top()
211 r->neg = a->neg; in bn_rshift_fixed_top()
/third_party/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,
/third_party/lwip/src/netif/ppp/
Dlcp.c774 #define LENCIVOID(neg) ((neg) ? CILEN_VOID : 0) in lcp_cilen() argument
776 #define LENCICHAP(neg) ((neg) ? CILEN_CHAP : 0) in lcp_cilen() argument
778 #define LENCISHORT(neg) ((neg) ? CILEN_SHORT : 0) in lcp_cilen() argument
779 #define LENCILONG(neg) ((neg) ? CILEN_LONG : 0) in lcp_cilen() argument
781 #define LENCILQR(neg) ((neg) ? CILEN_LQR: 0) in lcp_cilen() argument
783 #define LENCICBCP(neg) ((neg) ? CILEN_CBCP: 0) in lcp_cilen() argument
839 #define ADDCIVOID(opt, neg) \ in lcp_addci() argument
840 if (neg) { \ in lcp_addci()
844 #define ADDCISHORT(opt, neg, val) \ in lcp_addci() argument
845 if (neg) { \ in lcp_addci()
[all …]
Dipcp.c754 #define LENCIADDRS(neg) (neg ? CILEN_ADDRS : 0) in ipcp_cilen() argument
756 #define LENCIVJ(neg, old) (neg ? (old? CILEN_COMPRESS : CILEN_VJ) : 0) in ipcp_cilen() argument
758 #define LENCIADDR(neg) (neg ? CILEN_ADDR : 0) in ipcp_cilen() argument
760 #define LENCIDNS(neg) LENCIADDR(neg) in ipcp_cilen() argument
763 #define LENCIWINS(neg) LENCIADDR(neg) in ipcp_cilen()
811 #define ADDCIADDRS(opt, neg, val1, val2) \ in ipcp_addci() argument
812 if (neg) { \ in ipcp_addci()
827 #define ADDCIVJ(opt, neg, val, old, maxslotindex, cflag) \ in ipcp_addci() argument
828 if (neg) { \ in ipcp_addci()
840 neg = 0; \ in ipcp_addci()
[all …]
Dipv6cp.c534 #define LENCIVJ(neg) (neg ? CILEN_COMPRESS : 0)
536 #define LENCIIFACEID(neg) (neg ? CILEN_IFACEID : 0)
555 #define ADDCIVJ(opt, neg, val) \
556 if (neg) { \
564 neg = 0; \
568 #define ADDCIIFACEID(opt, neg, val1) \
569 if (neg) { \
577 neg = 0; \
613 #define ACKCIVJ(opt, neg, val) \
614 if (neg) { \
[all …]
/third_party/openssl/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 …]
Dt_pkey.c49 const char *neg; in ASN1_bn_print() local
55 neg = BN_is_negative(num) ? "-" : ""; in ASN1_bn_print()
65 if (BIO_printf(bp, "%s %s%lu (%s0x%lx)\n", number, neg, in ASN1_bn_print()
66 (unsigned long)bn_get_words(num)[0], neg, in ASN1_bn_print()
78 (neg[0] == '-') ? " (Negative)" : "") <= 0) in ASN1_bn_print()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
Djchuff-sse2.asm97 pxor xmm8, xmm8 ; __m128i neg = _mm_setzero_si128();
98 pxor xmm9, xmm9 ; __m128i neg = _mm_setzero_si128();
99 pxor xmm10, xmm10 ; __m128i neg = _mm_setzero_si128();
100 pxor xmm11, xmm11 ; __m128i neg = _mm_setzero_si128();
137 pcmpgtw xmm8, %34 ; neg = _mm_cmpgt_epi16(neg, x1);
138 pcmpgtw xmm9, %35 ; neg = _mm_cmpgt_epi16(neg, x1);
139 pcmpgtw xmm10, %36 ; neg = _mm_cmpgt_epi16(neg, x1);
140 pcmpgtw xmm11, %37 ; neg = _mm_cmpgt_epi16(neg, x1);
141 paddw %34, xmm8 ; x1 = _mm_add_epi16(x1, neg);
142 paddw %35, xmm9 ; x1 = _mm_add_epi16(x1, neg);
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/i386/
Djchuff-sse2.asm84 pxor xmm4, xmm4 ; __m128i neg = _mm_setzero_si128();
85 pxor xmm5, xmm5 ; __m128i neg = _mm_setzero_si128();
86 pxor xmm6, xmm6 ; __m128i neg = _mm_setzero_si128();
87 pxor xmm7, xmm7 ; __m128i neg = _mm_setzero_si128();
124 pcmpgtw xmm4, %34 ; neg = _mm_cmpgt_epi16(neg, x1);
125 pcmpgtw xmm5, %35 ; neg = _mm_cmpgt_epi16(neg, x1);
126 pcmpgtw xmm6, %36 ; neg = _mm_cmpgt_epi16(neg, x1);
127 pcmpgtw xmm7, %37 ; neg = _mm_cmpgt_epi16(neg, x1);
128 paddw %34, xmm4 ; x1 = _mm_add_epi16(x1, neg);
129 paddw %35, xmm5 ; x1 = _mm_add_epi16(x1, neg);
[all …]
/third_party/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()
228 } else if (n.bc.src[0].abs && n.bc.src[0].neg) { in fold_setcc()
240 if (n.bc.src[1].abs && !n.bc.src[1].neg) { in fold_setcc()
245 } else if (n.bc.src[1].abs && n.bc.src[1].neg) { in fold_setcc()
257 if (s0.abs == s1.abs && s0.neg == s1.neg && cmp_type != AF_FLOAT_CMP) { in fold_setcc()
318 if (s.neg) in apply_alu_src_mod()
364 if (s0.abs != s1.abs || s0.neg != s1.neg) in ops_equal()
388 if (n.bc.op == ALU_OP1_MOV && n.bc.src[0].neg && !n.bc.src[1].abs in fold_alu_op1()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/outline/
Dpowerpc64.s24 neg 3, 3
39 neg 3, 3
67 neg 3, 3
82 neg 3, 3
97 neg 3, 3
112 neg 3, 3
127 neg 3, 3
/third_party/mesa3d/src/nouveau/codegen/lib/
Dgm107.asm20 i2i u32 u32 $r1 neg $r1
37 i2i u32 u32 $r2 neg $r1
41 $p0 iadd $r1 $r1 neg $r2
45 $p0 iadd $r1 $r1 neg $r2
69 i2i u32 u32 $r1 neg $r1
87 i2i u32 u32 $r2 neg $r1
91 $p0 iadd $r1 $r1 neg $r2
95 $p0 iadd $r1 $r1 neg $r2
97 $p3 i2i s32 s32 $r0 neg $r0
99 $p2 i2i s32 s32 $r1 neg $r1
[all …]
/third_party/musl/porting/uniproton/kernel/src/internal/
Dintscan.c29 int c, neg=0; in __intscan() local
38 neg = -(c=='-'); in __intscan()
86 if (lim&1) neg = 0; in __intscan()
91 if (!(lim&1) && !neg) { in __intscan()
99 return (y^neg)-neg; in __intscan()
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dintscan.c29 int c, neg=0; in __intscan() local
38 neg = -(c=='-'); in __intscan()
86 if (lim&1) neg = 0; in __intscan()
91 if (!(lim&1) && !neg) { in __intscan()
99 return (y^neg)-neg; in __intscan()
/third_party/musl/src/internal/
Dintscan.c29 int c, neg=0; in __intscan() local
38 neg = -(c=='-'); in __intscan()
86 if (lim&1) neg = 0; in __intscan()
91 if (!(lim&1) && !neg) { in __intscan()
99 return (y^neg)-neg; in __intscan()
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dintscan.c29 int c, neg=0; in __intscan() local
38 neg = -(c=='-'); in __intscan()
86 if (lim&1) neg = 0; in __intscan()
91 if (!(lim&1) && !neg) { in __intscan()
99 return (y^neg)-neg; in __intscan()
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
Dfd-clouds.log2065 :3:0013:0013[6380000cx_800c1003x] mad.f32 r3.x, c0.w, r0.x, (neg)r3.x
2071 :2:0019:0019[40100004x_40100004x] add.f r1.x, r1.x, (neg)r4.x
2072 :2:0020:0020[4010000dx_4011000dx] add.f r3.y, r3.y, (neg)r4.y
2074 :2:0022:0022[4010000ex_4012000ex] add.f r3.z, r3.z, (neg)r4.z
2079 :2:0027:0027[4010001bx_40141066x] add.f r6.w, c25.z, (neg)r5.x
2098 :2:0046:0048[40180804x_400e1029x] (nop3) add.f r1.x, c10.y, (neg)r3.z
2100 :2:0048:0053[40100017x_40160013x] add.f r5.w, r4.w, (neg)r5.z
2101 :2:0049:0054[40100013x_401b0013x] add.f r4.w, r4.w, (neg)r6.w
2108 :2:0056:0061[40100016x_40161004x] add.f r5.z, c1.x, (neg)r5.z
2118 :2:0066:0071[4018081ax_401c001ax] (nop3) add.f r6.z, r6.z, (neg)r7.x
[all …]

12345678910>>...23