/netbsd-src/external/apache2/llvm/dist/libcxx/src/ |
H A D | ios.cpp | 283 ios_base::copyfmt(const ios_base& rhs) in copyfmt() argument 291 if (__event_cap_ < rhs.__event_size_) in copyfmt() 293 size_t newesize = sizeof(event_callback) * rhs.__event_size_; in copyfmt() 298 size_t newisize = sizeof(int) * rhs.__event_size_; in copyfmt() 303 if (__iarray_cap_ < rhs.__iarray_size_) in copyfmt() 305 size_t newsize = sizeof(long) * rhs.__iarray_size_; in copyfmt() 310 if (__parray_cap_ < rhs.__parray_size_) in copyfmt() 312 size_t newsize = sizeof(void*) * rhs.__parray_size_; in copyfmt() 318 __fmtflags_ = rhs.__fmtflags_; in copyfmt() 319 __precision_ = rhs.__precision_; in copyfmt() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | intrange.d | 107 SignExtendedNumber opBinary(string op : "&")(SignExtendedNumber rhs) const 109 return SignExtendedNumber(value & rhs.value); 112 SignExtendedNumber opBinary(string op : "|")(SignExtendedNumber rhs) 114 return SignExtendedNumber(value | rhs.value); 117 SignExtendedNumber opBinary(string op : "^")(SignExtendedNumber rhs) 119 return SignExtendedNumber(value ^ rhs.value); 122 SignExtendedNumber opBinary(string op : "+")(SignExtendedNumber rhs) 124 uinteger_t sum = value + rhs.value; 125 bool carry = sum < value && sum < rhs.value; 126 if (negative != rhs.negative) [all …]
|
/netbsd-src/external/lgpl3/gmp/dist/demos/ |
H A D | pexpr.c | 105 struct {struct expr *lhs, *rhs;} ops; member 866 makeexp (expr_t *r, enum op_t op, expr_t lhs, expr_t rhs) in makeexp() argument 872 res -> operands.ops.rhs = rhs; in makeexp() 884 if (e->operands.ops.rhs != NULL) in free_expr() 885 free_expr (e->operands.ops.rhs); in free_expr() 897 mpz_t lhs, rhs; in mpz_eval_expr() local 905 mpz_init (lhs); mpz_init (rhs); in mpz_eval_expr() 907 mpz_eval_expr (rhs, e->operands.ops.rhs); in mpz_eval_expr() 908 mpz_add (r, lhs, rhs); in mpz_eval_expr() 909 mpz_clear (lhs); mpz_clear (rhs); in mpz_eval_expr() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | intrange.c | 85 SignExtendedNumber SignExtendedNumber::operator&(const SignExtendedNumber& rhs) const 87 return SignExtendedNumber(value & rhs.value); 90 SignExtendedNumber SignExtendedNumber::operator|(const SignExtendedNumber& rhs) const 92 return SignExtendedNumber(value | rhs.value); 95 SignExtendedNumber SignExtendedNumber::operator^(const SignExtendedNumber& rhs) const 97 return SignExtendedNumber(value ^ rhs.value); 100 SignExtendedNumber SignExtendedNumber::operator+(const SignExtendedNumber& rhs) const 102 uinteger_t sum = value + rhs.value; 103 bool carry = sum < value && sum < rhs.value; 104 if (negative != rhs.negative) [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrFloat.td | 27 defm _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins), 28 [(set F32:$dst, (node F32:$lhs, F32:$rhs))], 29 !strconcat("f32.", !strconcat(name, "\t$dst, $lhs, $rhs")), 31 defm _F64 : I<(outs F64:$dst), (ins F64:$lhs, F64:$rhs), (outs), (ins), 32 [(set F64:$dst, (node F64:$lhs, F64:$rhs))], 33 !strconcat("f64.", !strconcat(name, "\t$dst, $lhs, $rhs")), 37 defm _F32 : I<(outs I32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins), 38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))], 39 !strconcat("f32.", !strconcat(name, "\t$dst, $lhs, $rhs")), 41 defm _F64 : I<(outs I32:$dst), (ins F64:$lhs, F64:$rhs), (outs), (ins), [all …]
|
H A D | WebAssemblyInstrInteger.td | 27 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins), 28 [(set I32:$dst, (node I32:$lhs, I32:$rhs))], 29 !strconcat("i32.", !strconcat(name, "\t$dst, $lhs, $rhs")), 31 defm _I64 : I<(outs I64:$dst), (ins I64:$lhs, I64:$rhs), (outs), (ins), 32 [(set I64:$dst, (node I64:$lhs, I64:$rhs))], 33 !strconcat("i64.", !strconcat(name, "\t$dst, $lhs, $rhs")), 37 defm _I32 : I<(outs I32:$dst), (ins I32:$lhs, I32:$rhs), (outs), (ins), 38 [(set I32:$dst, (setcc I32:$lhs, I32:$rhs, cond))], 39 !strconcat("i32.", !strconcat(name, "\t$dst, $lhs, $rhs")), 41 defm _I64 : I<(outs I32:$dst), (ins I64:$lhs, I64:$rhs), (outs), (ins), [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/ |
H A D | checkedint.d | 286 this(U)(U rhs) 288 !isIntegral!T && is(typeof(T(rhs))) || 290 is(typeof(Checked!(T, Hook)(rhs.get)))) 293 payload = rhs; 295 payload = rhs.payload; 309 void opAssign(U)(U rhs) if (is(typeof(Checked!(T, Hook)(rhs)))) 312 payload = rhs; 314 payload = rhs.payload; 400 bool opEquals(U, this _)(U rhs) 402 is(U == Checked!(V, W), V, W) && is(typeof(this == rhs.payload))) [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | checkedint.d | 346 this(U)(U rhs) 348 !isIntegral!T && is(typeof(T(rhs))) || 350 is(typeof(Checked!(T, Hook)(rhs.get)))) 353 payload = rhs; 355 payload = rhs.payload; 375 ref Checked opAssign(U)(U rhs) return 376 if (is(typeof(Checked!(T, Hook)(rhs)))) 379 payload = rhs; 381 payload = rhs.payload; 513 bool opEquals(U, this _)(U rhs) [all …]
|
/netbsd-src/external/mit/isl/dist/ |
H A D | isl_int_sioimath.h | 577 inline void isl_sioimath_swap(isl_sioimath_ptr lhs, isl_sioimath_ptr rhs) in isl_sioimath_swap() argument 580 *lhs = *rhs; in isl_sioimath_swap() 581 *rhs = tmp; in isl_sioimath_swap() 590 unsigned long rhs) in isl_sioimath_add_ui() argument 596 (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { in isl_sioimath_add_ui() 597 isl_sioimath_set_int64(dst, (int64_t) smalllhs + rhs); in isl_sioimath_add_ui() 602 isl_sioimath_bigarg_src(lhs, &lhsscratch), rhs); in isl_sioimath_add_ui() 613 unsigned long rhs) in isl_sioimath_sub_ui() argument 619 (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { in isl_sioimath_sub_ui() 620 isl_sioimath_set_int64(dst, (int64_t) smalllhs - rhs); in isl_sioimath_sub_ui() [all …]
|
H A D | isl_test_int.c | 234 static void int_test_divexact(isl_int expected, isl_int lhs, isl_int rhs) in int_test_divexact() argument 239 if (isl_int_sgn(rhs) == 0) in int_test_divexact() 244 isl_int_divexact(result, lhs, rhs); in int_test_divexact() 247 isl_int_tdiv_q(result, lhs, rhs); in int_test_divexact() 250 isl_int_fdiv_q(result, lhs, rhs); in int_test_divexact() 253 isl_int_cdiv_q(result, lhs, rhs); in int_test_divexact() 256 if (isl_int_fits_ulong(rhs)) { in int_test_divexact() 257 rhsulong = isl_int_get_ui(rhs); in int_test_divexact() 272 static void int_test_mul(isl_int expected, isl_int lhs, isl_int rhs) in int_test_mul() argument 277 isl_int_mul(result, lhs, rhs); in int_test_mul() [all …]
|
H A D | isl_int_sioimath.c | 52 extern void isl_sioimath_swap(isl_sioimath_ptr lhs, isl_sioimath_ptr rhs); 54 unsigned long rhs); 56 unsigned long rhs); 59 isl_sioimath_src rhs); 61 isl_sioimath_src rhs); 63 isl_sioimath_src rhs); 65 unsigned long rhs); 67 signed long rhs); 69 unsigned long rhs); 71 unsigned long rhs); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | logic.cc | 363 tree rhs = TREE_OPERAND (t, 1); in dnf_size_r() local 365 std::pair<int, bool> p2 = dnf_size_r (rhs); in dnf_size_r() 378 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 388 if ((disjunction_p (rhs) && d1) || (conjunction_p (rhs) && d1 && d2)) in dnf_size_r() 391 if (disjunction_p (rhs) in dnf_size_r() 392 || (conjunction_p (rhs) && d1 != d2) in dnf_size_r() 393 || (atomic_p (rhs) && d1)) in dnf_size_r() 402 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 420 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 430 if ((disjunction_p (rhs) && d1) || (conjunction_p (rhs) && d1 && d2)) in dnf_size_r() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | logic.cc | 372 tree rhs = TREE_OPERAND (t, 1); in dnf_size_r() local 374 std::pair<int, bool> p2 = dnf_size_r (rhs); in dnf_size_r() 387 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 397 if ((disjunction_p (rhs) && d1) || (conjunction_p (rhs) && d1 && d2)) in dnf_size_r() 400 if (disjunction_p (rhs) in dnf_size_r() 401 || (conjunction_p (rhs) && d1 != d2) in dnf_size_r() 402 || (atomic_p (rhs) && d1)) in dnf_size_r() 411 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 429 if (disjunction_p (rhs) || (conjunction_p (rhs) && d2)) in dnf_size_r() 439 if ((disjunction_p (rhs) && d1) || (conjunction_p (rhs) && d1 && d2)) in dnf_size_r() [all …]
|
/netbsd-src/external/gpl3/gdb.old/dist/libdecnumber/ |
H A D | decNumber.c | 237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag); 286 #define SPECIALARG (rhs->bits & DECSPECIAL) 287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument 744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs() 748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs() 749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs() 771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument 773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd() 797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libdecnumber/ |
H A D | decNumber.c | 237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag); 286 #define SPECIALARG (rhs->bits & DECSPECIAL) 287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument 744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs() 748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs() 749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs() 771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument 773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd() 797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument [all …]
|
/netbsd-src/external/gpl3/gdb/dist/libdecnumber/ |
H A D | decNumber.c | 237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag); 286 #define SPECIALARG (rhs->bits & DECSPECIAL) 287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument 744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs() 748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs() 749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs() 771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument 773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd() 797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libdecnumber/ |
H A D | decNumber.c | 237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag); 286 #define SPECIALARG (rhs->bits & DECSPECIAL) 287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL) 738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument 744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs() 748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs() 749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs() 771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument 773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd() 797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument [all …]
|
/netbsd-src/external/lgpl3/gmp/dist/ |
H A D | asl.h | 50 mp_limb_t& operator op##=(const type& rhs) { \ 51 limbo = (limbo op rhs.limbo) & GMP_NUMB_MASK; \ 55 mp_limb_t& operator op##=(const type& rhs) { \ 56 limbo = limbo op rhs.limbo; \ 66 mp_limb_t(const unsigned int rhs) { limbo = rhs & GMP_NUMB_MASK; } in mp_limb_t() argument 76 mp_limb_t& operator<<=(const unsigned int rhs) { 77 GMP_ASSERT_ALWAYS (rhs < GMP_LIMB_BITS); 78 limbo = (limbo << rhs) & GMP_NUMB_MASK; 81 mp_limb_t& operator>>=(const unsigned int rhs) { 82 GMP_ASSERT_ALWAYS (rhs < GMP_LIMB_BITS); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | diagnostic-spec.h | 78 nowarn_spec_t& operator|= (const nowarn_spec_t &rhs) 80 m_bits |= rhs.m_bits; 85 nowarn_spec_t& operator&= (const nowarn_spec_t &rhs) 87 m_bits &= rhs.m_bits; 92 nowarn_spec_t& operator^= (const nowarn_spec_t &rhs) 94 m_bits ^= rhs.m_bits; 106 operator| (const nowarn_spec_t &lhs, const nowarn_spec_t &rhs) 108 return nowarn_spec_t (lhs) |= rhs; 114 operator& (const nowarn_spec_t &lhs, const nowarn_spec_t &rhs) 116 return nowarn_spec_t (lhs) &= rhs; [all …]
|
H A D | tree-ssa-dom.cc | 226 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local 227 tree rhs_type = TREE_TYPE (rhs); in derive_equivalences() 232 derive_equivalences (rhs, in derive_equivalences() 335 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local 348 && TREE_CODE (rhs) == SSA_NAME in derive_equivalences() 349 && ssa_name_has_boolean_range (rhs)) in derive_equivalences() 352 res = build_one_cst (TREE_TYPE (rhs)); in derive_equivalences() 354 res = build_zero_cst (TREE_TYPE (rhs)); in derive_equivalences() 357 res = fold_build1 (code, TREE_TYPE (rhs), value); in derive_equivalences() 358 derive_equivalences (rhs, res, recursion_limit - 1); in derive_equivalences() [all …]
|
H A D | tree-stdarg.cc | 115 va_list_counter_bump (struct stdarg_info *si, tree counter, tree rhs, in va_list_counter_bump() argument 134 orig_lhs = lhs = rhs; in va_list_counter_bump() 190 rhs = gimple_assign_rhs1 (stmt); in va_list_counter_bump() 191 if (TREE_CODE (counter) != TREE_CODE (rhs)) in va_list_counter_bump() 196 if (get_base_address (counter) != get_base_address (rhs) in va_list_counter_bump() 197 || TREE_CODE (TREE_OPERAND (rhs, 1)) != FIELD_DECL in va_list_counter_bump() 198 || TREE_OPERAND (counter, 1) != TREE_OPERAND (rhs, 1)) in va_list_counter_bump() 201 else if (counter != rhs) in va_list_counter_bump() 459 check_va_list_escapes (struct stdarg_info *si, tree lhs, tree rhs) in check_va_list_escapes() argument 461 if (! POINTER_TYPE_P (TREE_TYPE (rhs))) in check_va_list_escapes() [all …]
|
/netbsd-src/sys/ddb/ |
H A D | db_expr.c | 147 db_expr_t lhs, rhs; in db_mult_expr() local 155 if (!db_term(&rhs)) { in db_mult_expr() 160 lhs *= rhs; in db_mult_expr() 162 if (rhs == 0) { in db_mult_expr() 167 lhs /= rhs; in db_mult_expr() 169 lhs %= rhs; in db_mult_expr() 171 lhs = ((lhs+rhs-1)/rhs)*rhs; in db_mult_expr() 183 db_expr_t lhs, rhs; in db_add_expr() local 191 if (!db_mult_expr(&rhs)) { in db_add_expr() 196 lhs += rhs; in db_add_expr() [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | po-gram-gen.c | 138 struct { struct msgstr_def rhs; lex_pos_ty pos; bool obsolete; } rhs; member 1056 check_obsolete (yyvsp[-3].message_intro, yyvsp[0].rhs); in yyparse() 1059 yyvsp[0].rhs.rhs.msgstr, yyvsp[0].rhs.rhs.msgstr_len, &yyvsp[0].rhs.pos, in yyparse() 1068 free (yyvsp[0].rhs.rhs.msgstr); in yyparse() 1087 check_obsolete (yyvsp[-2].message_intro, yyvsp[0].rhs); in yyparse() 1091 free (yyvsp[0].rhs.rhs.msgstr); in yyparse() 1207 yyval.rhs = yyvsp[0].rhs; in yyparse() 1213 check_obsolete (yyvsp[-1].rhs, yyvsp[0].rhs); in yyparse() 1214 …yyval.rhs.rhs.msgstr = (char *) xmalloc (yyvsp[-1].rhs.rhs.msgstr_len + yyvsp[0].rhs.rhs.msgstr_le… in yyparse() 1215 memcpy (yyval.rhs.rhs.msgstr, yyvsp[-1].rhs.rhs.msgstr, yyvsp[-1].rhs.rhs.msgstr_len); in yyparse() [all …]
|
H A D | po-gram-gen.y | 151 struct { struct msgstr_def rhs; lex_pos_ty pos; bool obsolete; } rhs; member 163 %type <rhs> pluralform pluralform_list 225 $4.rhs.msgstr, $4.rhs.msgstr_len, &$4.pos, 234 free ($4.rhs.msgstr); 253 free ($3.rhs.msgstr); 376 $$.rhs.msgstr = (char *) xmalloc ($1.rhs.msgstr_len + $2.rhs.msgstr_len); 377 memcpy ($$.rhs.msgstr, $1.rhs.msgstr, $1.rhs.msgstr_len); 378 memcpy ($$.rhs.msgstr + $1.rhs.msgstr_len, $2.rhs.msgstr, $2.rhs.msgstr_len); 379 $$.rhs.msgstr_len = $1.rhs.msgstr_len + $2.rhs.msgstr_len; 380 free ($1.rhs.msgstr); [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-ssa-dom.c | 226 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local 227 tree rhs_type = TREE_TYPE (rhs); in derive_equivalences() 232 derive_equivalences (rhs, in derive_equivalences() 335 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local 348 && TREE_CODE (rhs) == SSA_NAME in derive_equivalences() 349 && ssa_name_has_boolean_range (rhs)) in derive_equivalences() 352 res = build_one_cst (TREE_TYPE (rhs)); in derive_equivalences() 354 res = build_zero_cst (TREE_TYPE (rhs)); in derive_equivalences() 357 res = fold_build1 (code, TREE_TYPE (rhs), value); in derive_equivalences() 358 derive_equivalences (rhs, res, recursion_limit - 1); in derive_equivalences() [all …]
|