/third_party/mesa3d/src/compiler/nir/ |
D | nir_opcodes.py | 559 def binop(name, ty, alg_props, const_expr): function 620 binop("fadd", tfloat, _2src_commutative + associative,""" 630 binop("iadd", tint, _2src_commutative + associative, "(uint64_t)src0 + (uint64_t)src1") 631 binop("iadd_sat", tint, _2src_commutative, """ 636 binop("uadd_sat", tuint, _2src_commutative, 638 binop("isub_sat", tint, "", """ 643 binop("usub_sat", tuint, "", "src0 < src1 ? 0 : src0 - src1") 645 binop("fsub", tfloat, "", """ 655 binop("isub", tint, "", "src0 - src1") 660 binop("uabs_usub", tuint, "", "(src1 > src0) ? (src1 - src0) : (src0 - src1)") [all …]
|
/third_party/python/Lib/test/ |
D | test_fstring.py | 105 binop = t.body[1].value.values[0].value 106 self.assertEqual(type(binop), ast.BinOp) 107 self.assertEqual(type(binop.left), ast.Name) 108 self.assertEqual(type(binop.op), ast.Mult) 109 self.assertEqual(type(binop.right), ast.Call) 110 self.assertEqual(binop.lineno, 3) 111 self.assertEqual(binop.left.lineno, 3) 112 self.assertEqual(binop.right.lineno, 3) 113 self.assertEqual(binop.col_offset, 3) 114 self.assertEqual(binop.left.col_offset, 3) [all …]
|
D | test_ast.py | 1736 binop = tree.body[0].value 1739 ast.copy_location(new_left, binop.left) 1740 binop.left = new_left 1743 ast.copy_location(new_right, binop.right) 1744 binop.right = new_right 1746 self.assertEqual(ast.literal_eval(binop), 10+20j) 1901 binop = fstr.values[1].value 1902 self._check_content(s, binop, 'x + y') 1915 binop = fstr.values[1].value 1916 self._check_end_pos(binop, 5, 7) [all …]
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_helper.cpp | 267 llvm::AtomicRMWInst::BinOp binop; in ac_build_atomic_rmw() local 270 binop = llvm::AtomicRMWInst::Xchg; in ac_build_atomic_rmw() 273 binop = llvm::AtomicRMWInst::Add; in ac_build_atomic_rmw() 276 binop = llvm::AtomicRMWInst::Sub; in ac_build_atomic_rmw() 279 binop = llvm::AtomicRMWInst::And; in ac_build_atomic_rmw() 282 binop = llvm::AtomicRMWInst::Nand; in ac_build_atomic_rmw() 285 binop = llvm::AtomicRMWInst::Or; in ac_build_atomic_rmw() 288 binop = llvm::AtomicRMWInst::Xor; in ac_build_atomic_rmw() 291 binop = llvm::AtomicRMWInst::Max; in ac_build_atomic_rmw() 294 binop = llvm::AtomicRMWInst::Min; in ac_build_atomic_rmw() [all …]
|
/third_party/gn/src/gn/ |
D | parse_tree_unittest.cc | 191 const BinaryOpNode* binop = in TEST() local 193 ASSERT_TRUE(binop->right()->AsList()); in TEST() 194 const ListNode* list = binop->right()->AsList(); in TEST() 217 const BinaryOpNode* binop = in TEST() local 219 ASSERT_TRUE(binop->right()->AsList()); in TEST() 220 const ListNode* list = binop->right()->AsList(); in TEST() 239 const BinaryOpNode* binop = in TEST() local 241 ASSERT_TRUE(binop->right()->AsList()); in TEST() 242 const ListNode* list = binop->right()->AsList(); in TEST() 261 const BinaryOpNode* binop = in TEST() local [all …]
|
D | command_format.cc | 171 void SortIfApplicable(const BinaryOpNode* binop); 395 void Printer::SortIfApplicable(const BinaryOpNode* binop) { in SortIfApplicable() argument 396 if (const Comments* comments = binop->comments()) { in SortIfApplicable() 405 const IdentifierNode* ident = binop->left()->AsIdentifier(); in SortIfApplicable() 406 const ListNode* list = binop->right()->AsList(); in SortIfApplicable() 407 if ((binop->op().value() == "=" || binop->op().value() == "+=" || in SortIfApplicable() 408 binop->op().value() == "-=") && in SortIfApplicable() 527 } else if (const BinaryOpNode* binop = node->AsBinaryOp()) { in SuffixCommentTreeWalk() local 528 RETURN_IF_SET(SuffixCommentTreeWalk(binop->right())); in SuffixCommentTreeWalk() 735 } else if (const BinaryOpNode* binop = root->AsBinaryOp()) { in Expr() local [all …]
|
D | parser.cc | 789 } else if (const BinaryOpNode* binop = root->AsBinaryOp()) { in TraverseOrder() local 790 TraverseOrder(binop->left(), pre, post); in TraverseOrder() 791 TraverseOrder(binop->right(), pre, post); in TraverseOrder()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 31 bool float_binop_evaluates_to(T lhs, T rhs, SpvOp binop, bool required_value) { in float_binop_evaluates_to() argument 39 switch (binop) { in float_binop_evaluates_to() 64 bool signed_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in signed_int_binop_evaluates_to() argument 67 switch (binop) { in signed_int_binop_evaluates_to() 88 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in unsigned_int_binop_evaluates_to() argument 91 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 31 bool float_binop_evaluates_to(T lhs, T rhs, SpvOp binop, bool required_value) { in float_binop_evaluates_to() argument 39 switch (binop) { in float_binop_evaluates_to() 64 bool signed_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in signed_int_binop_evaluates_to() argument 67 switch (binop) { in signed_int_binop_evaluates_to() 88 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in unsigned_int_binop_evaluates_to() argument 91 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 31 bool float_binop_evaluates_to(T lhs, T rhs, SpvOp binop, bool required_value) { in float_binop_evaluates_to() argument 39 switch (binop) { in float_binop_evaluates_to() 64 bool signed_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in signed_int_binop_evaluates_to() argument 67 switch (binop) { in signed_int_binop_evaluates_to() 88 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in unsigned_int_binop_evaluates_to() argument 91 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/boost/boost/fusion/view/transform_view/ |
D | transform_view.hpp | 60 transform_view(Sequence1& in_seq1, Sequence2& in_seq2, F const& binop) in transform_view() 61 : f(binop) in transform_view()
|
/third_party/musl/src/locale/ |
D | pleval.c | 67 static int binop(struct st *st, int op, unsigned long left) in binop() function 129 if (binop(st, op, left)) in evalbinop()
|
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
D | Pp.cpp | 385 } binop[] = { variable 503 for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) { in eval() 504 if (binop[op].token == token) in eval() 507 if (op < 0 || binop[op].precedence <= precedence) in eval() 520 token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken); in eval() 522 if (binop[op].op == op_div || binop[op].op == op_mod) { in eval() 528 res = binop[op].op(leftSide, res); in eval()
|
/third_party/python/Modules/clinic/ |
D | itertoolsmodule.c.h | 500 PyObject *binop, PyObject *initial); 513 PyObject *binop = Py_None; in itertools_accumulate() local 525 binop = fastargs[1]; in itertools_accumulate() 536 return_value = itertools_accumulate_impl(type, iterable, binop, initial); in itertools_accumulate()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | compiler.py | 1471 def binop(operator, interceptable=True): member in CodeGenerator 1501 visit_Add = binop('+') 1502 visit_Sub = binop('-') 1503 visit_Mul = binop('*') 1504 visit_Div = binop('/') 1505 visit_FloorDiv = binop('//') 1506 visit_Pow = binop('**') 1507 visit_Mod = binop('%') 1508 visit_And = binop('and', interceptable=False) 1509 visit_Or = binop('or', interceptable=False) [all …]
|
/third_party/jinja2/ |
D | compiler.py | 1565 def binop(operator, interceptable=True): # noqa: B902 member in CodeGenerator 1601 visit_Add = binop("+") 1602 visit_Sub = binop("-") 1603 visit_Mul = binop("*") 1604 visit_Div = binop("/") 1605 visit_FloorDiv = binop("//") 1606 visit_Pow = binop("**") 1607 visit_Mod = binop("%") 1608 visit_And = binop("and", interceptable=False) 1609 visit_Or = binop("or", interceptable=False) [all …]
|
/third_party/skia/third_party/externals/jinja2/ |
D | compiler.py | 1565 def binop(operator, interceptable=True): # noqa: B902 member in CodeGenerator 1601 visit_Add = binop("+") 1602 visit_Sub = binop("-") 1603 visit_Mul = binop("*") 1604 visit_Div = binop("/") 1605 visit_FloorDiv = binop("//") 1606 visit_Pow = binop("**") 1607 visit_Mod = binop("%") 1608 visit_And = binop("and", interceptable=False) 1609 visit_Or = binop("or", interceptable=False) [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_dump.c | 398 case INSTR_BINOP: dump_instr_binop(d, &instr->binop); break; in dump_instrs() 422 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop) in dump_instr_binop() argument 424 const char *str = binop->opcode < DXIL_BINOP_INSTR_COUNT ? in dump_instr_binop() 425 binop_strings[binop->opcode] : "INVALID"; in dump_instr_binop() 428 dump_instr_print_operands(d, 2, binop->operands); in dump_instr_binop()
|
D | dxil_module.c | 2595 instr->binop.opcode = opcode; in dxil_emit_binop() 2596 instr->binop.operands[0] = op0; in dxil_emit_binop() 2597 instr->binop.operands[1] = op1; in dxil_emit_binop() 2598 instr->binop.flags = flags; in dxil_emit_binop() 2976 assert(instr->value.id > instr->binop.operands[0]->id); in emit_binop() 2977 assert(instr->value.id > instr->binop.operands[1]->id); in emit_binop() 2979 if (instr->binop.flags) { in emit_binop() 2982 instr->value.id - instr->binop.operands[0]->id, in emit_binop() 2983 instr->value.id - instr->binop.operands[1]->id, in emit_binop() 2984 instr->binop.opcode, in emit_binop() [all …]
|
D | dxil_dump_decls.h | 59 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop);
|
D | dxil_internal.h | 232 struct dxil_instr_binop binop; member
|
/third_party/python/Modules/ |
D | itertoolsmodule.c | 3610 PyObject *binop; member 3626 PyObject *binop, PyObject *initial) in itertools_accumulate_impl() argument 3644 if (binop != Py_None) { in itertools_accumulate_impl() 3645 Py_XINCREF(binop); in itertools_accumulate_impl() 3646 lz->binop = binop; in itertools_accumulate_impl() 3659 Py_XDECREF(lz->binop); in accumulate_dealloc() 3669 Py_VISIT(lz->binop); in accumulate_traverse() 3698 if (lz->binop == NULL) in accumulate_next() 3701 newtotal = PyObject_CallFunctionObjArgs(lz->binop, lz->total, val, NULL); in accumulate_next() 3725 it, lz->binop?lz->binop:Py_None, Py_None); in accumulate_reduce() [all …]
|
/third_party/node/deps/acorn/acorn/dist/ |
D | acorn.js | 129 this.binop = conf.binop || null; 133 function binop(name, prec) { function 134 return new TokenType(name, {beforeExpr: true, binop: prec}) property 196 logicalOR: binop("||", 1), 197 logicalAND: binop("&&", 2), 198 bitwiseOR: binop("|", 3), 199 bitwiseXOR: binop("^", 4), 200 bitwiseAND: binop("&", 5), 201 equality: binop("==/!=/===/!==", 6), 202 relational: binop("</>/<=/>=", 7), [all …]
|
D | acorn.d.ts | 82 binop: number
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | scheck.c | 143 static void binop(Btor *btor, struct instruction *insn) in binop() function 300 binop(btor, insn); in check_function()
|