Home
last modified time | relevance | path

Searched refs:binary_op (Results 1 – 25 of 27) sorted by relevance

12

/AliOS-Things-master/components/py_engine/engine/py/
A Dopmethods.c50 return type->binary_op(MP_BINARY_OP_CONTAINS, lhs_in, rhs_in); in op_contains()
A Dobjbool.c94 .binary_op = bool_binary_op,
A Dobj.c252 if (type->binary_op != NULL && in mp_obj_equal_not_equal()
257 mp_obj_t r = type->binary_op(MP_BINARY_OP_NOT_EQUAL, o1, o2); in mp_obj_equal_not_equal()
264 mp_obj_t r = type->binary_op(MP_BINARY_OP_EQUAL, o1, o2); in mp_obj_equal_not_equal()
A Dobjattrtuple.c89 .binary_op = mp_obj_tuple_binary_op,
A Dcompile.c1463 EMIT_ARG(binary_op, MP_BINARY_OP_INPLACE_ADD); in compile_for_stmt_optimised_range()
1477 EMIT_ARG(binary_op, MP_BINARY_OP_LESS); in compile_for_stmt_optimised_range()
1479 EMIT_ARG(binary_op, MP_BINARY_OP_MORE); in compile_for_stmt_optimised_range()
1820 EMIT_ARG(binary_op, MP_BINARY_OP_EXCEPTION_MATCH); in compile_async_for_stmt()
2039 EMIT_ARG(binary_op, op); in compile_expr_stmt()
2200 EMIT_ARG(binary_op, op); in compile_comparison()
2206 EMIT_ARG(binary_op, MP_BINARY_OP_NOT_IN); in compile_comparison()
2210 EMIT_ARG(binary_op, MP_BINARY_OP_IS); in compile_comparison()
2243 EMIT_ARG(binary_op, binary_op); in compile_binary_op()
2254 EMIT_ARG(binary_op, op); in compile_term()
[all …]
A Dobjarray.c587 .binary_op = array_binary_op,
603 .binary_op = array_binary_op,
618 .binary_op = array_binary_op,
A Dobjdict.c519 .binary_op = dict_view_binary_op,
595 .binary_op = dict_binary_op,
608 .binary_op = dict_binary_op,
A Dobjnamedtuple.c162 o->base.binary_op = mp_obj_tuple_binary_op; in mp_obj_new_namedtuple_type()
A Dgrammar.h256 DEF_RULE(expr, c(binary_op), list, rule(xor_expr), tok(OP_PIPE))
257 DEF_RULE(xor_expr, c(binary_op), list, rule(and_expr), tok(OP_CARET))
258 DEF_RULE(and_expr, c(binary_op), list, rule(shift_expr), tok(OP_AMPERSAND))
A Dnativeglue.h107 mp_obj_t (*binary_op)(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs); member
A Dobjrange.c220 .binary_op = range_binary_op,
A Dobjcomplex.c160 .binary_op = complex_binary_op,
A Dobjfloat.c184 .binary_op = float_binary_op,
A Dobjset.c549 .binary_op = set_binary_op,
575 .binary_op = set_binary_op,
A Dobjstrunicode.c276 .binary_op = mp_obj_str_binary_op,
A Dobjtuple.c233 .binary_op = mp_obj_tuple_binary_op,
A Dobjint.c466 .binary_op = mp_obj_int_binary_op,
A Ddynruntime.h178 #define mp_binary_op(op, lhs, rhs) (mp_fun_table.binary_op((op), (lhs), (rhs)))
A Demit.h144 void (*binary_op)(emit_t *emit, mp_binary_op_t op); member
A Dobj.h548 mp_binary_op_fun_t binary_op; member
717 …r(o) || (mp_obj_is_obj(o) && ((mp_obj_base_t *)MP_OBJ_TO_PTR(o))->type->binary_op == mp_obj_str_bi…
A Dobjtype.c540 .meth_offset = offsetof(mp_obj_type_t, binary_op), in instance_binary_op()
1151 o->binary_op = instance_binary_op; in mp_obj_new_type()
A Druntime.c578 if (type->binary_op != NULL) { in mp_binary_op()
579 mp_obj_t result = type->binary_op(op, lhs, rhs); in mp_binary_op()
A Dobjlist.c461 .binary_op = list_binary_op,
A Dobjstr.c2001 .binary_op = mp_obj_str_binary_op,
2015 .binary_op = mp_obj_str_binary_op,
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodbtree.c323 .binary_op = btree_binary_op,

Completed in 61 milliseconds

12