Home
last modified time | relevance | path

Searched refs:Py_NotImplemented (Results 1 – 25 of 28) sorted by relevance

12

/third_party/python/Objects/
Dabstract.c127 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 …]
Dcomplexobject.c451 Py_INCREF(Py_NotImplemented); in to_complex()
452 *pobj = Py_NotImplemented; in to_complex()
Dobject.c688 if (res != Py_NotImplemented) in do_richcompare()
694 if (res != Py_NotImplemented) in do_richcompare()
700 if (res != Py_NotImplemented) in do_richcompare()
Dfloatobject.c338 Py_INCREF(Py_NotImplemented); in convert_to_double()
339 *v = Py_NotImplemented; in convert_to_double()
Dtypeobject.c4564 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 || \
Ddictobject.c2938 res = Py_NotImplemented; in dict_richcompare()
2947 res = Py_NotImplemented; in dict_richcompare()
Dmemoryobject.c2912 res = Py_NotImplemented; in memory_richcompare()
Dlistobject.c2043 if (res_obj == Py_NotImplemented) { in unsafe_object_compare()
/third_party/python/Modules/
Dxxmodule.c269 Py_INCREF(Py_NotImplemented); in null_richcompare()
270 return Py_NotImplemented; in null_richcompare()
D_datetimemodule.c2059 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.c744 if (ok != Py_NotImplemented) { in _abc__abc_subclasscheck_impl()
D_pickle.c3857 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/
Dextension_dict.cc331 Py_INCREF(Py_NotImplemented); in RichCompare()
332 return Py_NotImplemented; in RichCompare()
Drepeated_composite_container.cc355 Py_INCREF(Py_NotImplemented); in Subscript()
356 return Py_NotImplemented; in Subscript()
Drepeated_scalar_container.cc565 Py_INCREF(Py_NotImplemented); in Subscript()
566 return Py_NotImplemented; in Subscript()
Ddescriptor_containers.cc425 Py_INCREF(Py_NotImplemented); in RichCompare()
426 return Py_NotImplemented; in RichCompare()
Dmessage.cc2165 Py_INCREF(Py_NotImplemented); in RichCompare()
2166 return Py_NotImplemented; in RichCompare()
/third_party/python/Include/
Dobject.h620 #define Py_NotImplemented (&_Py_NotImplementedStruct) macro
623 #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
/third_party/python/Modules/_decimal/
D_decimal.c630 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/
Dobject.rst9 .. c:var:: PyObject* Py_NotImplemented
17 Properly handle returning :c:data:`Py_NotImplemented` from within a C
/third_party/python/Doc/whatsnew/
D2.1.rst521 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/
Dlibwebp_python_wrap.c857 # 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/
Dlibwebp_python_wrap.c861 # 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/
Dbltinmodule.c3010 SETBUILTIN("NotImplemented", Py_NotImplemented); in _PyBuiltin_Init()
/third_party/python/Doc/extending/
Dnewtypes.rst399 successful, ``Py_NotImplemented`` to indicate that comparison is not

12