Home
last modified time | relevance | path

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

12345678910>>...26

/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/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_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_print.c34 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()
191 ret->neg = neg; in BN_hex2bn()
203 int neg = 0, i, j; in BN_dec2bn() local
209 neg = 1; in BN_dec2bn()
219 num = i + neg; in BN_dec2bn()
261 ret->neg = neg; in BN_dec2bn()
285 (*bn)->neg = 1; in BN_asc2bn()
[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_lib.c351 a->neg = b->neg; in BN_copy()
379 tmp_neg = a->neg; in BN_swap()
384 a->neg = b->neg; in BN_swap()
389 b->neg = tmp_neg; in BN_swap()
404 a->neg = 0; in BN_clear()
424 a->neg = 0; in BN_set_word()
459 ret->neg = 0; in BN_bin2bn()
570 ret->neg = 0; in BN_lebin2bn()
636 if (a->neg != b->neg) { in BN_cmp()
637 if (a->neg) in BN_cmp()
[all …]
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/openssl/crypto/asn1/
Dx_int64.c53 int neg = 0; in uint64_i2c() local
67 neg = 1; in uint64_i2c()
70 return i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
78 int neg = 0; in uint64_c2i() local
94 if (!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()
91 static size_t i2c_ibuf(const unsigned char *b, size_t blen, int neg, in i2c_ibuf() argument
101 if (!neg && (i > 127)) { in i2c_ibuf()
104 } else if (neg) { in i2c_ibuf()
151 int neg, pad; in c2i_ibuf() local
157 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/boost/boost/polygon/detail/
Dvoronoi_robust_fpt.hpp257 robust_dif(const T& pos, const T& neg) : in robust_dif() argument
259 negative_sum_(neg) {} in robust_dif()
269 T neg() const { in neg() function in boost::polygon::detail::robust_dif
351 return robust_dif<T>(lhs.pos() + rhs.pos(), lhs.neg() + rhs.neg()); in operator +()
357 return robust_dif<T>(lhs.pos() + rhs, lhs.neg()); in operator +()
359 return robust_dif<T>(lhs.pos(), lhs.neg() - rhs); in operator +()
366 return robust_dif<T>(lhs + rhs.pos(), rhs.neg()); in operator +()
368 return robust_dif<T>(rhs.pos(), rhs.neg() - lhs); in operator +()
375 return robust_dif<T>(lhs.pos() + rhs.neg(), lhs.neg() + rhs.pos()); in operator -()
381 return robust_dif<T>(lhs.pos(), lhs.neg() + rhs); in operator -()
[all …]
/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 …]
/third_party/libjpeg-turbo/simd/x86_64/
Djchuff-sse2.asm95 pxor xmm8, xmm8 ; __m128i neg = _mm_setzero_si128();
96 pxor xmm9, xmm9 ; __m128i neg = _mm_setzero_si128();
97 pxor xmm10, xmm10 ; __m128i neg = _mm_setzero_si128();
98 pxor xmm11, xmm11 ; __m128i neg = _mm_setzero_si128();
135 pcmpgtw xmm8, %34 ; neg = _mm_cmpgt_epi16(neg, x1);
136 pcmpgtw xmm9, %35 ; neg = _mm_cmpgt_epi16(neg, x1);
137 pcmpgtw xmm10, %36 ; neg = _mm_cmpgt_epi16(neg, x1);
138 pcmpgtw xmm11, %37 ; neg = _mm_cmpgt_epi16(neg, x1);
139 paddw %34, xmm8 ; x1 = _mm_add_epi16(x1, neg);
140 paddw %35, xmm9 ; x1 = _mm_add_epi16(x1, neg);
[all …]
/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/boost/boost/spirit/home/x3/support/numeric_utils/
Dextract_real.hpp90 negate(bool neg, float n) in negate() argument
92 return neg ? x3::changesign(n) : n; in negate()
96 negate(bool neg, double n) in negate() argument
98 return neg ? x3::changesign(n) : n; in negate()
102 negate(bool neg, long double n) in negate() argument
104 return neg ? x3::changesign(n) : n; in negate()
109 negate(bool neg, T const& n) in negate() argument
111 return neg ? -n : n; in negate()
138 bool neg = p.parse_sign(first, last); in parse() local
153 traits::move_to(extension::negate(neg, n), attr); in parse()
[all …]
/third_party/boost/boost/spirit/home/qi/numeric/detail/
Dreal_impl.hpp122 negate(bool neg, float n) in negate() argument
124 return neg ? spirit::detail::changesign(n) : n; in negate()
128 negate(bool neg, double n) in negate() argument
130 return neg ? spirit::detail::changesign(n) : n; in negate()
134 negate(bool neg, long double n) in negate() argument
136 return neg ? spirit::detail::changesign(n) : n; in negate()
141 negate(bool neg, T const& n) in negate() argument
143 return neg ? -n : n; in negate()
205 bool neg = p.parse_sign(first, last); in parse() local
223 traits::assign_to(traits::negate(neg, n), attr); in parse()
[all …]
/third_party/libjpeg-turbo/simd/i386/
Djchuff-sse2.asm82 pxor xmm4, xmm4 ; __m128i neg = _mm_setzero_si128();
83 pxor xmm5, xmm5 ; __m128i neg = _mm_setzero_si128();
84 pxor xmm6, xmm6 ; __m128i neg = _mm_setzero_si128();
85 pxor xmm7, xmm7 ; __m128i neg = _mm_setzero_si128();
122 pcmpgtw xmm4, %34 ; neg = _mm_cmpgt_epi16(neg, x1);
123 pcmpgtw xmm5, %35 ; neg = _mm_cmpgt_epi16(neg, x1);
124 pcmpgtw xmm6, %36 ; neg = _mm_cmpgt_epi16(neg, x1);
125 pcmpgtw xmm7, %37 ; neg = _mm_cmpgt_epi16(neg, x1);
126 paddw %34, xmm4 ; x1 = _mm_add_epi16(x1, neg);
127 paddw %35, xmm5 ; 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()
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 …]
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/
Dassembler-cases.txt9 01 02 00 00 10 c0 a4 00 FADD.f32 r0, r1, r2.neg
10 01 02 00 00 30 c0 a4 00 FADD.f32 r0, r1, r2.neg.abs
11 01 02 00 00 32 c0 a4 00 FADD.f32.clamp_m1_1 r0, r1, r2.neg.abs
16 01 d0 00 00 10 c0 a4 00 FADD.f32 r0, r1, 0x3F800000.neg
18 01 c0 00 00 10 c0 a4 00 FADD.f32 r0, r1, 0x0.neg
51 40 c0 00 28 90 c0 a5 48 FADD.v2f16.barrier r0, `r0.abs, 0x0.neg
57 00 dd c0 08 14 c2 b2 00 FMA.f32 r2, r0, 0x44000000.neg.h1, 0x0.neg
58 41 88 c0 00 04 c1 b2 00 FMA.f32 r1, `r1, u8, 0x0.neg
59 40 88 c0 00 04 c0 b2 10 FMA.f32.wait1 r0, `r0, u8, 0x0.neg
80 42 00 0d 80 40 c2 90 00 FROUND.f32.rtn r2, `r2.neg
[all …]
/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_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()

12345678910>>...26