Home
last modified time | relevance | path

Searched refs:Py_NotImplemented (Results 1 - 21 of 21) sorted by relevance

/third_party/python/Objects/
H A Dabstract.c126 else if (result == Py_NotImplemented) { in PyObject_LengthHint()
888 if (x != Py_NotImplemented) in binary_op1()
895 if (x != Py_NotImplemented) { in binary_op1()
903 if (x != Py_NotImplemented) { in binary_op1()
933 if (result == Py_NotImplemented) { in binary_op()
996 if (x != Py_NotImplemented) { in ternary_op()
1004 if (x != Py_NotImplemented) { in ternary_op()
1012 if (x != Py_NotImplemented) { in ternary_op()
1027 if (x != Py_NotImplemented) { in ternary_op()
1074 if (result != Py_NotImplemented) { in PyNumber_Add()
[all...]
H A Dcomplexobject.c452 Py_INCREF(Py_NotImplemented); in to_complex()
453 *pobj = Py_NotImplemented; in to_complex()
H A Dobject.c674 if (res != Py_NotImplemented) in do_richcompare()
680 if (res != Py_NotImplemented) in do_richcompare()
686 if (res != Py_NotImplemented) in do_richcompare()
H A Dfloatobject.c350 obj is not of float or int type, Py_NotImplemented is incref'ed,
374 Py_INCREF(Py_NotImplemented); in convert_to_double()
375 *v = Py_NotImplemented; in convert_to_double()
H A Dtypeobject.c4636 res = (self == other) ? Py_True : Py_NotImplemented; in object_richcompare()
4644 res = Py_NotImplemented; in object_richcompare()
4649 if (res != NULL && res != Py_NotImplemented) { in object_richcompare()
4665 res = Py_NotImplemented; in object_richcompare()
7274 if (r != Py_NotImplemented) \
7283 if (r != Py_NotImplemented || \
H A Ddictobject.c3217 res = Py_NotImplemented; in dict_richcompare()
3226 res = Py_NotImplemented; in dict_richcompare()
H A Dlistobject.c2112 if (res_obj == Py_NotImplemented) { in unsafe_object_compare()
H A Dmemoryobject.c2848 goto result; /* Py_NotImplemented */ in memory_richcompare()
2867 goto result; /* Py_NotImplemented */ in memory_richcompare()
2921 res = Py_NotImplemented; in memory_richcompare()
/third_party/python/Modules/
H A Dxxmodule.c269 Py_INCREF(Py_NotImplemented); in null_richcompare()
270 return Py_NotImplemented; in null_richcompare()
H A D_datetimemodule.c2156 PyObject *result = Py_NotImplemented; in delta_add()
2170 if (result == Py_NotImplemented) in delta_add()
2215 PyObject *result = Py_NotImplemented; in delta_subtract()
2229 if (result == Py_NotImplemented) in delta_subtract()
2277 PyObject *result = Py_NotImplemented; in delta_multiply()
2295 if (result == Py_NotImplemented) in delta_multiply()
2303 PyObject *result = Py_NotImplemented; in delta_divide()
2317 if (result == Py_NotImplemented) in delta_divide()
2325 PyObject *result = Py_NotImplemented; in delta_truedivide()
2340 if (result == Py_NotImplemented) in delta_truedivide()
[all...]
H A D_abc.c741 if (ok != Py_NotImplemented) { in _abc__abc_subclasscheck_impl()
H A D_pickle.c3879 return save_singleton_type(self, obj, Py_NotImplemented); in save_type()
4373 if (reduce_value != Py_NotImplemented) { in save()
/third_party/python/Include/
H A Dobject.h657 Py_NotImplemented is a singleton used to signal that an operation is
661 #define Py_NotImplemented (&_Py_NotImplementedStruct) macro
663 /* Macro for returning Py_NotImplemented from a function */
664 #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
/third_party/protobuf/python/google/protobuf/pyext/
H A Dextension_dict.cc331 Py_INCREF(Py_NotImplemented); in RichCompare()
332 return Py_NotImplemented; in RichCompare()
H A Drepeated_composite_container.cc355 Py_INCREF(Py_NotImplemented); in Subscript()
356 return Py_NotImplemented; in Subscript()
H A Drepeated_scalar_container.cc565 Py_INCREF(Py_NotImplemented); in Subscript()
566 return Py_NotImplemented; in Subscript()
H A Ddescriptor_containers.cc425 Py_INCREF(Py_NotImplemented); in RichCompare()
426 return Py_NotImplemented; in RichCompare()
H A Dmessage.cc2165 Py_INCREF(Py_NotImplemented); in RichCompare()
2166 return Py_NotImplemented; in RichCompare()
/third_party/python/Modules/_decimal/
H A D_decimal.c633 PyObject *res = Py_NotImplemented; in signaldict_richcompare()
645 /* non-comparable: Py_NotImplemented */ in signaldict_richcompare()
2858 implemented, set conv to Py_NotImplemented. */
2884 Py_INCREF(Py_NotImplemented); in convert_op()
2885 *conv = Py_NotImplemented; in convert_op()
3033 case wcmp is either NULL or Py_NotImplemented (new reference) and vcmp
3077 Py_INCREF(Py_NotImplemented); in convert_op_cmp()
3078 *wcmp = Py_NotImplemented; in convert_op_cmp()
3096 Py_INCREF(Py_NotImplemented); in convert_op_cmp()
3097 *wcmp = Py_NotImplemented; in convert_op_cmp()
[all...]
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_python_wrap.c859 /* Py_NotImplemented is defined in 2.1 and up. */
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/
H A Dbltinmodule.c3057 SETBUILTIN("NotImplemented", Py_NotImplemented); in _PyBuiltin_Init()

Completed in 76 milliseconds