Home
last modified time | relevance | path

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

123

/external/python/cffi/c/
Dminibuffer.h181 Py_INCREF(Py_NotImplemented); in mb_richcompare()
182 return Py_NotImplemented; in mb_richcompare()
187 Py_INCREF(Py_NotImplemented); in mb_richcompare()
188 return Py_NotImplemented; in mb_richcompare()
196 Py_INCREF(Py_NotImplemented); in mb_richcompare()
197 return Py_NotImplemented; in mb_richcompare()
/external/python/cpython2/Modules/_sqlite/
Drow.c199 Py_INCREF(Py_NotImplemented); in pysqlite_row_richcompare()
200 return Py_NotImplemented; in pysqlite_row_richcompare()
211 Py_INCREF(Py_NotImplemented); in pysqlite_row_richcompare()
212 return Py_NotImplemented; in pysqlite_row_richcompare()
/external/python/cpython2/Objects/
Dsetobject.c1211 Py_INCREF(Py_NotImplemented); in set_or()
1212 return Py_NotImplemented; in set_or()
1231 Py_INCREF(Py_NotImplemented); in set_ior()
1232 return Py_NotImplemented; in set_ior()
1384 Py_INCREF(Py_NotImplemented); in set_and()
1385 return Py_NotImplemented; in set_and()
1396 Py_INCREF(Py_NotImplemented); in set_iand()
1397 return Py_NotImplemented; in set_iand()
1617 Py_INCREF(Py_NotImplemented); in set_sub()
1618 return Py_NotImplemented; in set_sub()
[all …]
Dmethodobject.c240 Py_INCREF(Py_NotImplemented); in meth_richcompare()
241 return Py_NotImplemented; in meth_richcompare()
244 Py_INCREF(Py_NotImplemented); in meth_richcompare()
245 return Py_NotImplemented; in meth_richcompare()
Dabstract.c940 if (x != Py_NotImplemented)
946 if (x != Py_NotImplemented)
952 if (x != Py_NotImplemented)
978 Py_INCREF(Py_NotImplemented);
979 return Py_NotImplemented;
998 if (result == Py_NotImplemented) {
1060 if (x != Py_NotImplemented)
1066 if (x != Py_NotImplemented)
1072 if (x != Py_NotImplemented)
1083 if (x != Py_NotImplemented)
[all …]
Dclassobject.c1433 Py_INCREF(Py_NotImplemented); in generic_binary_op()
1434 return Py_NotImplemented; in generic_binary_op()
1462 Py_INCREF(Py_NotImplemented); in half_binop()
1463 return Py_NotImplemented; in half_binop()
1490 if (coerced == Py_None || coerced == Py_NotImplemented) { in half_binop()
1525 if (result == Py_NotImplemented) { in do_binop()
1537 if (result == Py_NotImplemented) { in do_binop_inplace()
1578 if (coerced == Py_None || coerced == Py_NotImplemented) { in instance_coerce()
1706 if (result == Py_NotImplemented) { in half_cmp()
2013 res = Py_NotImplemented; in half_richcompare()
[all …]
Dtypeobject.c665 result = Py_NotImplemented; in type_richcompare()
688 result = Py_NotImplemented; in type_richcompare()
1304 Py_INCREF(Py_NotImplemented); in call_maybe()
1305 return Py_NotImplemented; in call_maybe()
3580 Py_INCREF(Py_NotImplemented); in object_subclasshook()
3581 return Py_NotImplemented; in object_subclasshook()
4441 Py_INCREF(Py_NotImplemented);
4442 return Py_NotImplemented;
4458 Py_INCREF(Py_NotImplemented);
4459 return Py_NotImplemented;
[all …]
Dcomplexobject.c513 Py_INCREF(Py_NotImplemented); in to_complex()
514 *pobj = Py_NotImplemented; in to_complex()
852 Py_INCREF(Py_NotImplemented); in complex_richcompare()
853 return Py_NotImplemented; in complex_richcompare()
Dobject.c622 if (res != Py_NotImplemented) in try_rich_compare()
628 if (res != Py_NotImplemented) in try_rich_compare()
635 res = Py_NotImplemented; in try_rich_compare()
658 if (res == Py_NotImplemented) { in try_rich_compare_bool()
936 if (res != Py_NotImplemented) in do_richcmp()
967 if (res != Py_NotImplemented) in PyObject_RichCompare()
Dfloatobject.c325 Py_INCREF(Py_NotImplemented); in convert_to_double()
326 *v = Py_NotImplemented; in convert_to_double()
625 Py_INCREF(Py_NotImplemented); in float_richcompare()
626 return Py_NotImplemented; in float_richcompare()
804 if (t == NULL || t == Py_NotImplemented) in float_floor_div()
Dcodeobject.c565 Py_INCREF(Py_NotImplemented); in code_richcompare()
566 return Py_NotImplemented; in code_richcompare()
Dmemoryobject.c754 Py_INCREF(Py_NotImplemented); in memory_richcompare()
755 return Py_NotImplemented; in memory_richcompare()
Dbytearrayobject.c1064 Py_INCREF(Py_NotImplemented); in bytearray_richcompare()
1065 return Py_NotImplemented; in bytearray_richcompare()
1072 Py_INCREF(Py_NotImplemented); in bytearray_richcompare()
1073 return Py_NotImplemented; in bytearray_richcompare()
1080 Py_INCREF(Py_NotImplemented); in bytearray_richcompare()
1081 return Py_NotImplemented; in bytearray_richcompare()
Dweakrefobject.c200 Py_INCREF(Py_NotImplemented); in weakref_richcompare()
201 return Py_NotImplemented; in weakref_richcompare()
Dtupleobject.c573 Py_INCREF(Py_NotImplemented); in tuplerichcompare()
574 return Py_NotImplemented; in tuplerichcompare()
/external/python/cpython3/Objects/
Dabstract.c120 else if (result == Py_NotImplemented) { in PyObject_LengthHint()
803 if (x != Py_NotImplemented) in binary_op1()
809 if (x != Py_NotImplemented) in binary_op1()
815 if (x != Py_NotImplemented) in binary_op1()
838 if (result == Py_NotImplemented) { in binary_op()
894 if (x != Py_NotImplemented) in ternary_op()
900 if (x != Py_NotImplemented) in ternary_op()
906 if (x != Py_NotImplemented) in ternary_op()
917 if (x != Py_NotImplemented) in ternary_op()
959 if (result == Py_NotImplemented) { in PyNumber_Add()
[all …]
Dcomplexobject.c456 Py_INCREF(Py_NotImplemented); in to_complex()
457 *pobj = Py_NotImplemented; in to_complex()
/external/python/cpython2/Modules/
Dxxmodule.c266 Py_INCREF(Py_NotImplemented); in null_richcompare()
267 return Py_NotImplemented; in null_richcompare()
Ddatetimemodule.c1679 PyObject *result = Py_NotImplemented; in delta_add()
1693 if (result == Py_NotImplemented) in delta_add()
1738 PyObject *result = Py_NotImplemented; in delta_subtract()
1752 if (result == Py_NotImplemented) in delta_subtract()
1802 PyObject *result = Py_NotImplemented; in delta_multiply()
1814 if (result == Py_NotImplemented) in delta_multiply()
1822 PyObject *result = Py_NotImplemented; in delta_divide()
1832 if (result == Py_NotImplemented) in delta_divide()
2431 Py_INCREF(Py_NotImplemented); in date_add()
2432 return Py_NotImplemented; in date_add()
[all …]
/external/python/cpython3/Modules/
Dxxmodule.c269 Py_INCREF(Py_NotImplemented); in null_richcompare()
270 return Py_NotImplemented; in null_richcompare()
D_datetimemodule.c2068 PyObject *result = Py_NotImplemented; in delta_add()
2082 if (result == Py_NotImplemented) in delta_add()
2127 PyObject *result = Py_NotImplemented; in delta_subtract()
2141 if (result == Py_NotImplemented) in delta_subtract()
2189 PyObject *result = Py_NotImplemented; in delta_multiply()
2207 if (result == Py_NotImplemented) in delta_multiply()
2215 PyObject *result = Py_NotImplemented; in delta_divide()
2229 if (result == Py_NotImplemented) in delta_divide()
2237 PyObject *result = Py_NotImplemented; in delta_truedivide()
2252 if (result == Py_NotImplemented) in delta_truedivide()
[all …]
/external/python/cpython3/Include/
Dobject.h571 #define Py_NotImplemented (&_Py_NotImplementedStruct) macro
575 return Py_INCREF(Py_NotImplemented), Py_NotImplemented
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc327 Py_INCREF(Py_NotImplemented); in RichCompare()
328 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()

123