/external/python/cpython2/Include/ |
D | boolobject.h | 23 #define Py_False ((PyObject *) &_Py_ZeroStruct) macro 28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
|
D | py_curses.h | 156 Py_INCREF(Py_False); \ 157 return Py_False; \
|
/external/python/cpython2/Doc/c-api/ |
D | bool.rst | 9 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/cpython2/Objects/ |
D | boolobject.c | 45 result = Py_False; in PyBool_FromLong() 56 PyObject *x = Py_False; in bool_new()
|
D | methodobject.c | 253 res = eq ? Py_True : Py_False; in meth_richcompare() 255 res = eq ? Py_False : Py_True; in meth_richcompare()
|
D | codeobject.c | 464 key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False); in _PyCode_ConstantKey() 612 res = Py_False; in code_richcompare() 621 res = Py_False; in code_richcompare()
|
D | tupleobject.c | 622 res = Py_False; in tuplerichcompare() 629 Py_INCREF(Py_False); in tuplerichcompare() 630 return Py_False; in tuplerichcompare()
|
D | complexobject.c | 846 res = Py_False; in complex_richcompare() 1145 r = Py_False; in complex_new()
|
D | listobject.c | 2388 res = Py_False; in list_richcompare() 2423 res = Py_False; in list_richcompare() 2430 Py_INCREF(Py_False); in list_richcompare() 2431 return Py_False; in list_richcompare()
|
D | memoryobject.c | 746 res = Py_False; in memory_richcompare()
|
/external/python/cpython2/Modules/ |
D | _curses_panel.c | 152 if (X (self->pan) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
|
D | cStringIO.c | 89 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.c | 254 if (X (self->win) == FALSE) { Py_INCREF(Py_False); return Py_False; } \ 1239 Py_INCREF(Py_False); in PyCursesWindow_Is_LineTouched() 1240 return Py_False; in PyCursesWindow_Is_LineTouched() 1885 Py_INCREF(Py_False); in PyCurses_has_key() 1886 return Py_False; in PyCurses_has_key() 2123 Py_INCREF(Py_False); in PyCurses_Is_Term_Resized() 2124 return Py_False; in PyCurses_Is_Term_Resized()
|
D | _json.c | 1556 Py_INCREF(Py_False); in scan_once_str() 1558 return Py_False; in scan_once_str() 1648 Py_INCREF(Py_False); in scan_once_unicode() 1650 return Py_False; in scan_once_unicode() 1952 else if (obj == Py_False) { in _encoded_const() 2016 if (obj == Py_None || obj == Py_True || obj == Py_False) { in encoder_listencode_obj() 2181 else if (key == Py_True || key == Py_False || key == Py_None) { in encoder_listencode_dict()
|
D | operator.c | 169 result = (a1 == a2) ? Py_True : Py_False; in is_() 180 result = (a1 != a2) ? Py_True : Py_False; in is_not()
|
D | arraymodule.c | 524 res = Py_False; in array_richcompare() 567 res = Py_False; in array_richcompare() 574 Py_INCREF(Py_False); in array_richcompare() 575 res = Py_False; in array_richcompare()
|
D | _ssl.c | 3313 PyObject *ci = NULL, *rlist = NULL, *py_binary_mode = Py_False; in get_ca_certs() 4291 r = Py_False; in init_ssl() 4299 r = Py_False; in init_ssl() 4305 r = Py_False; in init_ssl() 4315 r = Py_False; in init_ssl() 4323 r = Py_False; in init_ssl()
|
D | _hotshot.c | 1195 PyObject *result = (self->logfp == NULL) ? Py_True : Py_False; in profiler_get_closed() 1299 PyObject *result = (self->logfp == NULL) ? Py_True : Py_False; in logreader_get_closed()
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 604 rv = Py_False; 611 rv = Py_False;
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 206 || (opid == Py_NE && res == Py_False)) { in pysqlite_row_richcompare()
|
D | module.c | 102 result = Py_False; in module_complete()
|
D | connection.c | 1575 Py_INCREF(Py_False); in pysqlite_connection_exit() 1576 return Py_False; in pysqlite_connection_exit()
|
/external/python/cpython2/Python/ |
D | marshal.c | 233 else if (v == Py_False) { in w_object() 679 Py_INCREF(Py_False); in r_object() 680 retval = Py_False; in r_object()
|
D | ceval.c | 1354 Py_INCREF(Py_False); in PyEval_EvalFrameEx() 1355 SET_TOP(Py_False); in PyEval_EvalFrameEx() 2571 x = res ? Py_True : Py_False; in PyEval_EvalFrameEx() 2677 if (w == Py_False) { in PyEval_EvalFrameEx() 2697 if (w == Py_False) { in PyEval_EvalFrameEx() 2727 if (w == Py_False) { in PyEval_EvalFrameEx() 2747 if (w == Py_False) { in PyEval_EvalFrameEx() 4860 v = res ? Py_True : Py_False; in cmp_outcome()
|
D | bltinmodule.c | 910 Py_INCREF(Py_False); in builtin_hasattr() 911 return Py_False; in builtin_hasattr() 2708 SETBUILTIN("False", Py_False); in _PyBuiltin_Init()
|