Home
last modified time | relevance | path

Searched refs:Py_False (Results 1 – 25 of 94) sorted by relevance

1234

/external/python/cpython3/Include/
Dboolobject.h21 #define Py_False ((PyObject *) &_Py_FalseStruct) macro
26 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
/external/python/cpython2/Include/
Dboolobject.h23 #define Py_False ((PyObject *) &_Py_ZeroStruct) macro
28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
Dpy_curses.h157 Py_INCREF(Py_False); \
158 return Py_False; \
/external/python/cpython3/Doc/c-api/
Dbool.rst9 two booleans, :const:`Py_False` and :const:`Py_True`. As such, the normal
19 .. c:var:: PyObject* Py_False
33 Return :const:`Py_False` from a function, properly incrementing its reference
45 Return a new reference to :const:`Py_True` or :const:`Py_False` depending on the
/external/python/cpython2/Doc/c-api/
Dbool.rst9 two booleans, :const:`Py_False` and :const:`Py_True`. As such, the normal
21 .. c:var:: PyObject* Py_False
35 Return :const:`Py_False` from a function, properly incrementing its reference
51 Return a new reference to :const:`Py_True` or :const:`Py_False` depending on the
/external/python/cpython3/Objects/
Dboolobject.c35 result = Py_False; in PyBool_FromLong()
45 PyObject *x = Py_False; in bool_new()
Dclassobject.c234 res = eq ? Py_True : Py_False; in method_richcompare()
236 res = eq ? Py_False : Py_True; in method_richcompare()
524 res = eq ? Py_True : Py_False; in instancemethod_richcompare()
526 res = eq ? Py_False : Py_True; in instancemethod_richcompare()
Dmethodobject.c240 res = eq ? Py_True : Py_False; in meth_richcompare()
242 res = eq ? Py_False : Py_True; in meth_richcompare()
Dcodeobject.c539 key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False); in _PyCode_ConstantKey()
679 res = Py_False; in code_richcompare()
688 res = Py_False; in code_richcompare()
/external/python/cpython2/Objects/
Dboolobject.c45 result = Py_False; in PyBool_FromLong()
56 PyObject *x = Py_False; in bool_new()
Dmethodobject.c253 res = eq ? Py_True : Py_False; in meth_richcompare()
255 res = eq ? Py_False : Py_True; in meth_richcompare()
Dcodeobject.c463 key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False); in _PyCode_ConstantKey()
611 res = Py_False; in code_richcompare()
620 res = Py_False; in code_richcompare()
Dtupleobject.c619 res = Py_False; in tuplerichcompare()
626 Py_INCREF(Py_False); in tuplerichcompare()
627 return Py_False; in tuplerichcompare()
/external/python/cpython3/Modules/
D_abc.c511 result = Py_False; in _abc__abc_instancecheck_impl()
610 result = Py_False; in _abc__abc_subclasscheck_impl()
629 if (ok == Py_False) { in _abc__abc_subclasscheck_impl()
634 result = Py_False; in _abc__abc_subclasscheck_impl()
696 result = Py_False; in _abc__abc_subclasscheck_impl()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h193 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h231 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
/external/python/cpython2/Modules/
D_curses_panel.c152 if (X (self->pan) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
DcStringIO.c89 PyObject *result = Py_False; in IO_get_closed()
152 Py_INCREF(Py_False); in IO_isatty()
153 return Py_False; in IO_isatty()
D_cursesmodule.c256 if (X (self->win) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
1246 Py_INCREF(Py_False); in PyCursesWindow_Is_LineTouched()
1247 return Py_False; in PyCursesWindow_Is_LineTouched()
1909 Py_INCREF(Py_False); in PyCurses_has_key()
1910 return Py_False; in PyCurses_has_key()
2147 Py_INCREF(Py_False); in PyCurses_Is_Term_Resized()
2148 return Py_False; in PyCurses_Is_Term_Resized()
D_json.c1553 Py_INCREF(Py_False); in scan_once_str()
1555 return Py_False; in scan_once_str()
1645 Py_INCREF(Py_False); in scan_once_unicode()
1647 return Py_False; in scan_once_unicode()
1907 else if (obj == Py_False) { in _encoded_const()
1971 if (obj == Py_None || obj == Py_True || obj == Py_False) { in encoder_listencode_obj()
2139 else if (key == Py_True || key == Py_False || key == Py_None) { in encoder_listencode_dict()
/external/python/cpython2/Mac/Modules/
DMacOS.c604 rv = Py_False;
611 rv = Py_False;
/external/python/cpython3/Modules/_sqlite/
Drow.c204 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
/external/python/cpython2/Modules/_sqlite/
Drow.c206 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
Dmodule.c102 result = Py_False; in module_complete()
/external/python/cpython2/Python/
Dmarshal.c233 else if (v == Py_False) { in w_object()
685 Py_INCREF(Py_False); in r_object()
686 retval = Py_False; in r_object()

1234