Home
last modified time | relevance | path

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

123

/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 …]
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 …]
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()
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()
802 if (x != Py_NotImplemented) in binary_op1()
808 if (x != Py_NotImplemented) in binary_op1()
814 if (x != Py_NotImplemented) in binary_op1()
837 if (result == Py_NotImplemented) { in binary_op()
893 if (x != Py_NotImplemented) in ternary_op()
899 if (x != Py_NotImplemented) in ternary_op()
905 if (x != Py_NotImplemented) in ternary_op()
916 if (x != Py_NotImplemented) in ternary_op()
958 if (result == Py_NotImplemented) { in PyNumber_Add()
[all …]
Dcomplexobject.c455 Py_INCREF(Py_NotImplemented); in to_complex()
456 *pobj = Py_NotImplemented; in to_complex()
Dfloatobject.c308 Py_INCREF(Py_NotImplemented); in convert_to_double()
309 *v = Py_NotImplemented; in convert_to_double()
670 if (t == NULL || t == Py_NotImplemented) in float_floor_div()
Dobject.c692 if (res != Py_NotImplemented) in do_richcompare()
698 if (res != Py_NotImplemented) in do_richcompare()
704 if (res != Py_NotImplemented) in do_richcompare()
/external/python/cpython2/Modules/
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 …]
Dxxmodule.c266 Py_INCREF(Py_NotImplemented); in null_richcompare()
267 return Py_NotImplemented; in null_richcompare()
/external/python/cpython3/Modules/
Dxxmodule.c266 Py_INCREF(Py_NotImplemented); in null_richcompare()
267 return Py_NotImplemented; in null_richcompare()
D_datetimemodule.c2050 PyObject *result = Py_NotImplemented; in delta_add()
2064 if (result == Py_NotImplemented) in delta_add()
2109 PyObject *result = Py_NotImplemented; in delta_subtract()
2123 if (result == Py_NotImplemented) in delta_subtract()
2171 PyObject *result = Py_NotImplemented; in delta_multiply()
2189 if (result == Py_NotImplemented) in delta_multiply()
2197 PyObject *result = Py_NotImplemented; in delta_divide()
2211 if (result == Py_NotImplemented) in delta_divide()
2219 PyObject *result = Py_NotImplemented; in delta_truedivide()
2234 if (result == Py_NotImplemented) in delta_truedivide()
[all …]
/external/python/cpython3/Include/
Dobject.h931 #define Py_NotImplemented (&_Py_NotImplementedStruct) macro
935 return Py_INCREF(Py_NotImplemented), Py_NotImplemented
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc332 Py_INCREF(Py_NotImplemented); in RichCompare()
333 return Py_NotImplemented; in RichCompare()
Drepeated_scalar_container.cc566 Py_INCREF(Py_NotImplemented); in RichCompare()
567 return Py_NotImplemented; in RichCompare()

123