Searched refs:_PyObject_LookupSpecial (Results 1 - 14 of 14) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_object.h | 278 PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, PyObject *);
|
/third_party/python/Include/cpython/ |
H A D | object.h | 268 #define _PyObject_LookupSpecial _PyObject_LookupSpecialId macro
|
/third_party/python/Objects/ |
H A D | abstract.c | 109 hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__)); in PyObject_LengthHint() 801 meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__)); in PyObject_Format() 1565 trunc_func = _PyObject_LookupSpecial(o, &_Py_ID(__trunc__)); in PyNumber_Long() 2653 PyObject *checker = _PyObject_LookupSpecial(cls, &_Py_ID(__instancecheck__)); in object_recursive_isinstance() 2744 checker = _PyObject_LookupSpecial(cls, &_Py_ID(__subclasscheck__)); in object_issubclass()
|
H A D | enumobject.c | 360 reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__)); in reversed_new_impl()
|
H A D | complexobject.c | 285 f = _PyObject_LookupSpecial(op, &_Py_ID(__complex__)); in try_complex_special_method()
|
H A D | weakrefobject.c | 173 name = _PyObject_LookupSpecial(obj, &_Py_ID(__name__)); in weakref_repr()
|
H A D | object.c | 554 func = _PyObject_LookupSpecial(v, &_Py_ID(__bytes__)); in PyObject_Bytes() 1579 PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__)); in _dir_object()
|
H A D | bytesobject.c | 543 func = _PyObject_LookupSpecial(v, &_Py_ID(__bytes__)); in format_obj() 2625 else if ((func = _PyObject_LookupSpecial(x, &_Py_ID(__bytes__))) != NULL) { in bytes_new_impl()
|
H A D | typeobject.c | 1568 - _PyObject_LookupSpecial() returns NULL without raising an exception 1572 to _PyObject_LookupSpecial(), but can return unbound PyFunction 1578 _PyObject_LookupSpecial(PyObject *self, PyObject *attr) in _PyObject_LookupSpecial() function 1599 return _PyObject_LookupSpecial(self, attr); in _PyObject_LookupSpecialId() 5144 getnewargs_ex = _PyObject_LookupSpecial(obj, &_Py_ID(__getnewargs_ex__)); in _PyObject_GetNewArguments() 5197 getnewargs = _PyObject_LookupSpecial(obj, &_Py_ID(__getnewargs__)); in _PyObject_GetNewArguments() 8584 PyObject *set_name = _PyObject_LookupSpecial(value, in type_new_set_names()
|
H A D | dictobject.c | 2507 missing = _PyObject_LookupSpecial( in dict_subscript()
|
/third_party/python/Python/ |
H A D | ceval.c | 4367 PyObject *enter = _PyObject_LookupSpecial(mgr, &_Py_ID(__aenter__)); 4377 PyObject *exit = _PyObject_LookupSpecial(mgr, &_Py_ID(__aexit__)); 4403 PyObject *enter = _PyObject_LookupSpecial(mgr, &_Py_ID(__enter__)); 4413 PyObject *exit = _PyObject_LookupSpecial(mgr, &_Py_ID(__exit__));
|
H A D | sysmodule.c | 1674 method = _PyObject_LookupSpecial(o, &_Py_ID(__sizeof__)); in _PySys_GetSizeOf()
|
H A D | bltinmodule.c | 2325 round = _PyObject_LookupSpecial(number, &_Py_ID(__round__)); in builtin_round_impl()
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 33 #include "pycore_object.h" // _PyObject_LookupSpecial() 1188 func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__)); in path_converter() 14578 func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__)); in PyOS_FSPath()
|
Completed in 73 milliseconds