/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 | 1535 binop = tree.body[0].value 1538 ast.copy_location(new_left, binop.left) 1539 binop.left = new_left 1542 ast.copy_location(new_right, binop.right) 1543 binop.right = new_right 1545 self.assertEqual(ast.literal_eval(binop), 10+20j) 1700 binop = fstr.values[1].value 1701 self._check_content(s, binop, 'x + y') 1714 binop = fstr.values[1].value 1715 self._check_end_pos(binop, 5, 7) [all …]
|
/third_party/gn/src/gn/ |
D | parse_tree_unittest.cc | 183 const BinaryOpNode* binop = in TEST() local 185 ASSERT_TRUE(binop->right()->AsList()); in TEST() 186 const ListNode* list = binop->right()->AsList(); in TEST() 209 const BinaryOpNode* binop = in TEST() local 211 ASSERT_TRUE(binop->right()->AsList()); in TEST() 212 const ListNode* list = binop->right()->AsList(); in TEST() 231 const BinaryOpNode* binop = in TEST() local 233 ASSERT_TRUE(binop->right()->AsList()); in TEST() 234 const ListNode* list = binop->right()->AsList(); in TEST() 253 const BinaryOpNode* binop = in TEST() local [all …]
|
D | command_format.cc | 163 void SortIfSourcesOrDeps(const BinaryOpNode* binop); 385 void Printer::SortIfSourcesOrDeps(const BinaryOpNode* binop) { in SortIfSourcesOrDeps() argument 386 if (const Comments* comments = binop->comments()) { in SortIfSourcesOrDeps() 395 const IdentifierNode* ident = binop->left()->AsIdentifier(); in SortIfSourcesOrDeps() 396 const ListNode* list = binop->right()->AsList(); in SortIfSourcesOrDeps() 397 if ((binop->op().value() == "=" || binop->op().value() == "+=" || in SortIfSourcesOrDeps() 398 binop->op().value() == "-=") && in SortIfSourcesOrDeps() 511 } else if (const BinaryOpNode* binop = node->AsBinaryOp()) { in SuffixCommentTreeWalk() local 512 RETURN_IF_SET(SuffixCommentTreeWalk(binop->right())); in SuffixCommentTreeWalk() 719 } else if (const BinaryOpNode* binop = root->AsBinaryOp()) { in Expr() local [all …]
|
D | parser.cc | 790 } else if (const BinaryOpNode* binop = root->AsBinaryOp()) { in TraverseOrder() local 791 TraverseOrder(binop->left(), pre, post); in TraverseOrder() 792 TraverseOrder(binop->right(), pre, post); in TraverseOrder()
|
/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/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/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/python/Modules/clinic/ |
D | itertoolsmodule.c.h | 484 PyObject *binop, PyObject *initial); 497 PyObject *binop = Py_None; in itertools_accumulate() local 509 binop = fastargs[1]; in itertools_accumulate() 520 return_value = itertools_accumulate_impl(type, iterable, binop, initial); in itertools_accumulate()
|
/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/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/python/Modules/ |
D | itertoolsmodule.c | 3476 PyObject *binop; member 3492 PyObject *binop, PyObject *initial) in itertools_accumulate_impl() argument 3510 if (binop != Py_None) { in itertools_accumulate_impl() 3511 Py_XINCREF(binop); in itertools_accumulate_impl() 3512 lz->binop = binop; in itertools_accumulate_impl() 3525 Py_XDECREF(lz->binop); in accumulate_dealloc() 3535 Py_VISIT(lz->binop); in accumulate_traverse() 3564 if (lz->binop == NULL) in accumulate_next() 3567 newtotal = PyObject_CallFunctionObjArgs(lz->binop, lz->total, val, NULL); in accumulate_next() 3591 it, lz->binop?lz->binop:Py_None, Py_None); in accumulate_reduce() [all …]
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | binop.c | 149 binop, 6, 1, do_binop,
|
D | Makefile | 24 obj-$(CONFIG_CMD_BINOP) += binop.o
|
D | Kconfig | 561 bool "binop"
|
/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
|
D | acorn.mjs | 123 this.binop = conf.binop || null; 127 function binop(name, prec) { function 128 return new TokenType(name, {beforeExpr: true, binop: prec}) property 176 // `binop`, when present, specifies that this operator is a binary 190 logicalOR: binop("||", 1), 191 logicalAND: binop("&&", 2), 192 bitwiseOR: binop("|", 3), 193 bitwiseXOR: binop("^", 4), 194 bitwiseAND: binop("&", 5), 195 equality: binop("==/!=/===/!==", 6), [all …]
|
/third_party/python/Lib/ |
D | ast.py | 864 self.write(" " + self.binop[node.op.__class__.__name__] + "= ") 1324 binop = { variable in _Unparser 1358 operator = self.binop[node.op.__class__.__name__]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | FLATInstructions.td | 719 // atomic store follows atomic binop convention so the address comes 726 // atomic store follows atomic binop convention so the address comes
|
/third_party/python/Python/ |
D | compile.c | 3479 binop(operator_ty op) in binop() function 5004 ADDOP(c, binop(e->v.BinOp.op)); in compiler_visit_expr1()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrInfo.td | 1391 /// binop that produces a value.
|