| /third_party/python/Objects/ |
| D | abstract.c | 127 else if (result == Py_NotImplemented) { in PyObject_LengthHint() 886 if (x != Py_NotImplemented) in binary_op1() 893 if (x != Py_NotImplemented) { in binary_op1() 901 if (x != Py_NotImplemented) { in binary_op1() 931 if (result == Py_NotImplemented) { in binary_op() 994 if (x != Py_NotImplemented) { in ternary_op() 1002 if (x != Py_NotImplemented) { in ternary_op() 1010 if (x != Py_NotImplemented) { in ternary_op() 1025 if (x != Py_NotImplemented) { in ternary_op() 1072 if (result != Py_NotImplemented) { in PyNumber_Add() [all …]
|
| D | complexobject.c | 451 Py_INCREF(Py_NotImplemented); in to_complex() 452 *pobj = Py_NotImplemented; in to_complex()
|
| D | object.c | 688 if (res != Py_NotImplemented) in do_richcompare() 694 if (res != Py_NotImplemented) in do_richcompare() 700 if (res != Py_NotImplemented) in do_richcompare()
|
| D | floatobject.c | 338 Py_INCREF(Py_NotImplemented); in convert_to_double() 339 *v = Py_NotImplemented; in convert_to_double()
|
| D | typeobject.c | 4564 res = (self == other) ? Py_True : Py_NotImplemented; in object_richcompare() 4572 res = Py_NotImplemented; in object_richcompare() 4577 if (res != NULL && res != Py_NotImplemented) { in object_richcompare() 4593 res = Py_NotImplemented; in object_richcompare() 7119 if (r != Py_NotImplemented) \ 7128 if (r != Py_NotImplemented || \
|
| D | dictobject.c | 2938 res = Py_NotImplemented; in dict_richcompare() 2947 res = Py_NotImplemented; in dict_richcompare()
|
| D | memoryobject.c | 2912 res = Py_NotImplemented; in memory_richcompare()
|
| D | listobject.c | 2043 if (res_obj == Py_NotImplemented) { in unsafe_object_compare()
|
| /third_party/python/Modules/ |
| D | xxmodule.c | 269 Py_INCREF(Py_NotImplemented); in null_richcompare() 270 return Py_NotImplemented; in null_richcompare()
|
| D | _datetimemodule.c | 2059 PyObject *result = Py_NotImplemented; in delta_add() 2073 if (result == Py_NotImplemented) in delta_add() 2118 PyObject *result = Py_NotImplemented; in delta_subtract() 2132 if (result == Py_NotImplemented) in delta_subtract() 2180 PyObject *result = Py_NotImplemented; in delta_multiply() 2198 if (result == Py_NotImplemented) in delta_multiply() 2206 PyObject *result = Py_NotImplemented; in delta_divide() 2220 if (result == Py_NotImplemented) in delta_divide() 2228 PyObject *result = Py_NotImplemented; in delta_truedivide() 2243 if (result == Py_NotImplemented) in delta_truedivide() [all …]
|
| D | _abc.c | 744 if (ok != Py_NotImplemented) { in _abc__abc_subclasscheck_impl()
|
| D | _pickle.c | 3857 return save_singleton_type(self, obj, Py_NotImplemented); in save_type() 4357 if (reduce_value != Py_NotImplemented) { in save()
|
| /third_party/protobuf/python/google/protobuf/pyext/ |
| D | extension_dict.cc | 331 Py_INCREF(Py_NotImplemented); in RichCompare() 332 return Py_NotImplemented; in RichCompare()
|
| D | repeated_composite_container.cc | 355 Py_INCREF(Py_NotImplemented); in Subscript() 356 return Py_NotImplemented; in Subscript()
|
| D | repeated_scalar_container.cc | 565 Py_INCREF(Py_NotImplemented); in Subscript() 566 return Py_NotImplemented; in Subscript()
|
| D | descriptor_containers.cc | 425 Py_INCREF(Py_NotImplemented); in RichCompare() 426 return Py_NotImplemented; in RichCompare()
|
| D | message.cc | 2165 Py_INCREF(Py_NotImplemented); in RichCompare() 2166 return Py_NotImplemented; in RichCompare()
|
| /third_party/python/Include/ |
| D | object.h | 620 #define Py_NotImplemented (&_Py_NotImplementedStruct) macro 623 #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
|
| /third_party/python/Modules/_decimal/ |
| D | _decimal.c | 630 PyObject *res = Py_NotImplemented; in signaldict_richcompare() 2846 Py_INCREF(Py_NotImplemented); in convert_op() 2847 *conv = Py_NotImplemented; in convert_op() 3039 Py_INCREF(Py_NotImplemented); in convert_op_cmp() 3040 *wcmp = Py_NotImplemented; in convert_op_cmp() 3058 Py_INCREF(Py_NotImplemented); in convert_op_cmp() 3059 *wcmp = Py_NotImplemented; in convert_op_cmp() 3063 if (*wcmp == NULL || *wcmp == Py_NotImplemented) { in convert_op_cmp()
|
| /third_party/python/Doc/c-api/ |
| D | object.rst | 9 .. c:var:: PyObject* Py_NotImplemented 17 Properly handle returning :c:data:`Py_NotImplemented` from within a C
|
| /third_party/python/Doc/whatsnew/ |
| D | 2.1.rst | 521 failure by returning a reference to the ``Py_NotImplemented`` singleton value. 523 handle the operation; if the other type also returns ``Py_NotImplemented``, then 525 return ``Py_NotImplemented``, causing the interpreter to act as if the method
|
| /third_party/flutter/skia/third_party/externals/libwebp/swig/ |
| D | libwebp_python_wrap.c | 857 # ifndef Py_NotImplemented 858 # define Py_NotImplemented PyExc_RuntimeError macro 1624 Py_INCREF(Py_NotImplemented); in SwigPyObject_richcompare() 1625 return Py_NotImplemented; in SwigPyObject_richcompare()
|
| /third_party/skia/third_party/externals/libwebp/swig/ |
| D | libwebp_python_wrap.c | 861 # ifndef Py_NotImplemented 862 # define Py_NotImplemented PyExc_RuntimeError macro 1637 Py_INCREF(Py_NotImplemented); in SwigPyObject_richcompare() 1638 return Py_NotImplemented; in SwigPyObject_richcompare()
|
| /third_party/python/Python/ |
| D | bltinmodule.c | 3010 SETBUILTIN("NotImplemented", Py_NotImplemented); in _PyBuiltin_Init()
|
| /third_party/python/Doc/extending/ |
| D | newtypes.rst | 399 successful, ``Py_NotImplemented`` to indicate that comparison is not
|