Home
last modified time | relevance | path

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

12345

/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.c267 res = eq ? Py_True : Py_False; in method_richcompare()
269 res = eq ? Py_False : Py_True; in method_richcompare()
498 res = eq ? Py_True : Py_False; in instancemethod_richcompare()
500 res = eq ? Py_False : Py_True; in instancemethod_richcompare()
Dmethodobject.c313 res = eq ? Py_True : Py_False; in meth_richcompare()
315 res = eq ? Py_False : Py_True; in meth_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.c550 result = Py_False; in _abc__abc_instancecheck_impl()
651 result = Py_False; in _abc__abc_subclasscheck_impl()
670 if (ok == Py_False) { in _abc__abc_subclasscheck_impl()
675 result = Py_False; in _abc__abc_subclasscheck_impl()
737 result = Py_False; in _abc__abc_subclasscheck_impl()
D_opcode.c53 else if (jump == Py_False) { in _opcode_stack_effect_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/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc133 array.attr("flags").attr("writeable") = Py_False; in AsNumPyArray()
148 array.attr("flags").attr("writeable") = Py_False; in AsNumPyArray()
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter_wrapper.cc107 PyTuple_SET_ITEM(result, 2, used_fallback ? Py_True : Py_False); in Convert()
/external/python/cpython3/Modules/_io/
D_iomodule.c386 closefd ? Py_True : Py_False, in _io_open_impl()
482 line_buffering ? Py_True : Py_False); in _io_open_impl()
/external/python/cpython2/Mac/Modules/
DMacOS.c604 rv = Py_False;
611 rv = Py_False;
/external/python/cpython2/Modules/_sqlite/
Drow.c206 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()

12345