• Home
  • Raw
  • Download

Lines Matching refs:PyObject

6     PyObject *itemgetter_type;
7 PyObject *attrgetter_type;
8 PyObject *methodcaller_type;
12 get_operator_state(PyObject *module) in get_operator_state()
44 _operator_truth_impl(PyObject *module, PyObject *a) in _operator_truth_impl()
60 static PyObject *
61 _operator_add_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_add_impl()
73 static PyObject *
74 _operator_sub_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_sub_impl()
86 static PyObject *
87 _operator_mul_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_mul_impl()
99 static PyObject *
100 _operator_matmul_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_matmul_impl()
112 static PyObject *
113 _operator_floordiv_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_floordiv_impl()
125 static PyObject *
126 _operator_truediv_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_truediv_impl()
138 static PyObject *
139 _operator_mod_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_mod_impl()
154 static PyObject *
155 _operator_neg(PyObject *module, PyObject *a) in _operator_neg()
167 static PyObject *
168 _operator_pos(PyObject *module, PyObject *a) in _operator_pos()
180 static PyObject *
181 _operator_abs(PyObject *module, PyObject *a) in _operator_abs()
193 static PyObject *
194 _operator_inv(PyObject *module, PyObject *a) in _operator_inv()
206 static PyObject *
207 _operator_invert(PyObject *module, PyObject *a) in _operator_invert()
219 static PyObject *
220 _operator_lshift_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_lshift_impl()
232 static PyObject *
233 _operator_rshift_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_rshift_impl()
246 _operator_not__impl(PyObject *module, PyObject *a) in _operator_not__impl()
258 static PyObject *
259 _operator_and__impl(PyObject *module, PyObject *a, PyObject *b) in _operator_and__impl()
271 static PyObject *
272 _operator_xor_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_xor_impl()
284 static PyObject *
285 _operator_or__impl(PyObject *module, PyObject *a, PyObject *b) in _operator_or__impl()
297 static PyObject *
298 _operator_iadd_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_iadd_impl()
310 static PyObject *
311 _operator_isub_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_isub_impl()
323 static PyObject *
324 _operator_imul_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_imul_impl()
336 static PyObject *
337 _operator_imatmul_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_imatmul_impl()
349 static PyObject *
350 _operator_ifloordiv_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ifloordiv_impl()
362 static PyObject *
363 _operator_itruediv_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_itruediv_impl()
375 static PyObject *
376 _operator_imod_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_imod_impl()
388 static PyObject *
389 _operator_ilshift_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ilshift_impl()
401 static PyObject *
402 _operator_irshift_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_irshift_impl()
414 static PyObject *
415 _operator_iand_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_iand_impl()
427 static PyObject *
428 _operator_ixor_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ixor_impl()
440 static PyObject *
441 _operator_ior_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ior_impl()
453 static PyObject *
454 _operator_concat_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_concat_impl()
466 static PyObject *
467 _operator_iconcat_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_iconcat_impl()
484 _operator_contains_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_contains_impl()
501 _operator_indexOf_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_indexOf_impl()
514 _operator_countOf_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_countOf_impl()
530 static PyObject *
531 _operator_getitem_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_getitem_impl()
548 static PyObject *
549 _operator_setitem_impl(PyObject *module, PyObject *a, PyObject *b, in _operator_setitem_impl()
550 PyObject *c) in _operator_setitem_impl()
564 static PyObject *
565 _operator_delitem_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_delitem_impl()
583 static PyObject *
584 _operator_eq_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_eq_impl()
596 static PyObject *
597 _operator_ne_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ne_impl()
609 static PyObject *
610 _operator_lt_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_lt_impl()
622 static PyObject *
623 _operator_le_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_le_impl()
635 static PyObject *
636 _operator_gt_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_gt_impl()
648 static PyObject *
649 _operator_ge_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ge_impl()
661 static PyObject *
662 _operator_pow_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_pow_impl()
674 static PyObject *
675 _operator_ipow_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_ipow_impl()
690 static PyObject *
691 _operator_index(PyObject *module, PyObject *a) in _operator_index()
703 static PyObject *
704 _operator_is__impl(PyObject *module, PyObject *a, PyObject *b) in _operator_is__impl()
707 PyObject *result; in _operator_is__impl()
719 static PyObject *
720 _operator_is_not_impl(PyObject *module, PyObject *a, PyObject *b) in _operator_is_not_impl()
723 PyObject *result; in _operator_is_not_impl()
794 _operator_length_hint_impl(PyObject *module, PyObject *obj, in _operator_length_hint_impl()
819 static PyObject *
820 _operator__compare_digest_impl(PyObject *module, PyObject *a, PyObject *b) in _operator__compare_digest_impl()
954 PyObject *item;
959 static PyObject *
960 itemgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in itemgetter_new()
963 PyObject *item; in itemgetter_new()
1004 return (PyObject *)ig; in itemgetter_new()
1032 static PyObject *
1033 itemgetter_call(itemgetterobject *ig, PyObject *args, PyObject *kw) in itemgetter_call()
1035 PyObject *obj, *result; in itemgetter_call()
1065 PyObject *item, *val; in itemgetter_call()
1077 static PyObject *
1080 PyObject *repr; in itemgetter_repr()
1083 int status = Py_ReprEnter((PyObject *)ig); in itemgetter_repr()
1092 Py_ReprLeave((PyObject *)ig); in itemgetter_repr()
1096 static PyObject *
1097 itemgetter_reduce(itemgetterobject *ig, PyObject *Py_UNUSED(ignored)) in itemgetter_reduce()
1146 PyObject *attr;
1150 static PyObject *
1151 attrgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in attrgetter_new()
1154 PyObject *attr; in attrgetter_new()
1172 PyObject *item = PyTuple_GET_ITEM(args, idx); in attrgetter_new()
1204 PyObject *attr_chain = PyTuple_New(dot_count + 1); in attrgetter_new()
1205 PyObject *attr_chain_item; in attrgetter_new()
1260 return (PyObject *)ag; in attrgetter_new()
1288 static PyObject *
1289 dotted_getattr(PyObject *obj, PyObject *attr) in dotted_getattr()
1291 PyObject *newobj; in dotted_getattr()
1297 PyObject *attr_name; in dotted_getattr()
1321 static PyObject *
1322 attrgetter_call(attrgetterobject *ag, PyObject *args, PyObject *kw) in attrgetter_call()
1324 PyObject *obj, *result; in attrgetter_call()
1343 PyObject *attr, *val; in attrgetter_call()
1355 static PyObject *
1356 dotjoinattr(PyObject *attr, PyObject **attrsep) in dotjoinattr()
1371 static PyObject *
1375 PyObject *attrsep = NULL; in attrgetter_args()
1376 PyObject *attrstrings = PyTuple_New(ag->nattrs); in attrgetter_args()
1381 PyObject *attr = PyTuple_GET_ITEM(ag->attr, i); in attrgetter_args()
1382 PyObject *attrstr = dotjoinattr(attr, &attrsep); in attrgetter_args()
1394 static PyObject *
1397 PyObject *repr = NULL; in attrgetter_repr()
1398 int status = Py_ReprEnter((PyObject *)ag); in attrgetter_repr()
1406 PyObject *attrsep = NULL; in attrgetter_repr()
1407 PyObject *attr = dotjoinattr(PyTuple_GET_ITEM(ag->attr, 0), &attrsep); in attrgetter_repr()
1415 PyObject *attrstrings = attrgetter_args(ag); in attrgetter_repr()
1422 Py_ReprLeave((PyObject *)ag); in attrgetter_repr()
1426 static PyObject *
1427 attrgetter_reduce(attrgetterobject *ag, PyObject *Py_UNUSED(ignored)) in attrgetter_reduce()
1429 PyObject *attrstrings = attrgetter_args(ag); in attrgetter_reduce()
1478 PyObject *name;
1479 PyObject *args;
1480 PyObject *kwds;
1484 static PyObject *
1485 methodcaller_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in methodcaller_new()
1488 PyObject *name; in methodcaller_new()
1525 return (PyObject *)mc; in methodcaller_new()
1557 static PyObject *
1558 methodcaller_call(methodcallerobject *mc, PyObject *args, PyObject *kw) in methodcaller_call()
1560 PyObject *method, *obj, *result; in methodcaller_call()
1575 static PyObject *
1578 PyObject *argreprs, *repr = NULL, *sep, *joinedargreprs; in methodcaller_repr()
1580 int status = Py_ReprEnter((PyObject *)mc); in methodcaller_repr()
1593 Py_ReprLeave((PyObject *)mc); in methodcaller_repr()
1599 Py_ReprLeave((PyObject *)mc); in methodcaller_repr()
1604 PyObject *onerepr = PyObject_Repr(PyTuple_GET_ITEM(mc->args, i)); in methodcaller_repr()
1611 PyObject *key, *value; in methodcaller_repr()
1614 PyObject *onerepr = PyUnicode_FromFormat("%U=%R", key, value); in methodcaller_repr()
1647 Py_ReprLeave((PyObject *)mc); in methodcaller_repr()
1651 static PyObject *
1652 methodcaller_reduce(methodcallerobject *mc, PyObject *Py_UNUSED(ignored)) in methodcaller_reduce()
1654 PyObject *newargs; in methodcaller_reduce()
1664 PyObject *arg = PyTuple_GET_ITEM(mc->args, i); in methodcaller_reduce()
1671 PyObject *functools; in methodcaller_reduce()
1672 PyObject *partial; in methodcaller_reduce()
1673 PyObject *constructor; in methodcaller_reduce()
1674 PyObject *newargs[2]; in methodcaller_reduce()
1685 newargs[0] = (PyObject *)Py_TYPE(mc); in methodcaller_reduce()
1730 operator_exec(PyObject *module) in operator_exec()
1767 operator_traverse(PyObject *module, visitproc visit, void *arg) in operator_traverse()
1777 operator_clear(PyObject *module) in operator_clear()
1789 operator_clear((PyObject *)module); in operator_free()