/third_party/python/Python/ |
H A D | errors.c | 73 while ((exc_info->exc_value == NULL || exc_info->exc_value == Py_None) && in _PyErr_GetTopmostException() 86 if (value == NULL || value == Py_None) { in _PyErr_CreateException() 124 if (exc_value != NULL && exc_value != Py_None) { in _PyErr_SetObject() 329 value = Py_None; in _PyErr_NormalizeException() 462 if (exc_value == NULL || exc_value == Py_None) { in get_exc_type() 463 return Py_None; in get_exc_type() 476 if (exc_value == NULL || exc_value == Py_None) { in get_exc_traceback() 477 return Py_None; in get_exc_traceback() 483 return tb ? tb : Py_None; in get_exc_traceback() 507 if (exc == NULL || exc == Py_None) { in _PyErr_GetHandledException() [all...] |
H A D | thread.c | 219 value = Py_NewRef(Py_None); in PyThread_GetInfo() 231 value = Py_NewRef(Py_None); in PyThread_GetInfo() 247 Py_INCREF(Py_None); in PyThread_GetInfo() 248 value = Py_None; in PyThread_GetInfo()
|
H A D | _warnings.c | 80 modname_obj = Py_NewRef(Py_None); in create_filter() 84 PyObject *filter = PyTuple_Pack(5, action_str, Py_None, in create_filter() 166 if (obj == Py_None) in check_matched() 385 Py_INCREF(Py_None); in get_filter() 386 *item = Py_None; in get_filter() 603 filename, lineno_obj, Py_None, Py_None, source, in call_show_warning() 640 if (module == Py_None) in warn_explicit() 643 if (registry && !PyDict_Check(registry) && (registry != Py_None)) { in warn_explicit() 680 if (source == Py_None) { in warn_explicit() [all...] |
/third_party/python/Modules/ |
H A D | testcapi_long.h | 184 Py_INCREF(Py_None); in error() 186 out = F_PY_TO_S(Py_None); in error() 194 uout = F_PY_TO_U(Py_None); in error() 202 Py_DECREF(Py_None); in error() 205 Py_INCREF(Py_None); in error() 206 return Py_None; in error()
|
H A D | xxmodule.c | 55 Py_INCREF(Py_None); in Xxo_demo() 56 return Py_None; in Xxo_demo() 198 Py_INCREF(Py_None); in xx_bug() 199 return Py_None; in xx_bug() 211 Py_INCREF(Py_None); in xx_roj() 212 return Py_None; in xx_roj()
|
H A D | xxsubtype.c | 42 Py_INCREF(Py_None); in spamlist_setstate() 43 return Py_None; in spamlist_setstate() 53 self = Py_None; in spamlist_specialmeth() 55 kw = Py_None; in spamlist_specialmeth() 167 Py_INCREF(Py_None); in spamdict_setstate() 168 return Py_None; in spamdict_setstate()
|
H A D | _posixsubprocess.c | 676 if (preexec_fn != Py_None && preexec_fn_args_tuple) { in child_exec() 782 assert(preexec_fn == Py_None); in do_fork_exec() 806 if (preexec_fn != Py_None) { in do_fork_exec() 868 if ((preexec_fn != Py_None) && in subprocess_fork_exec() 893 if (preexec_fn != Py_None) { in subprocess_fork_exec() 904 if (process_args != Py_None) { in subprocess_fork_exec() 934 if (env_list != Py_None) { in subprocess_fork_exec() 940 if (cwd_obj != Py_None) { in subprocess_fork_exec() 948 if (groups_list != Py_None) { in subprocess_fork_exec() 1002 if (gid_object != Py_None) { in subprocess_fork_exec() [all...] |
H A D | _elementtree.c | 285 Py_INCREF(Py_None); in create_new_element() 286 self->text = Py_None; in create_new_element() 288 Py_INCREF(Py_None); in create_new_element() 289 self->tail = Py_None; in create_new_element() 310 Py_INCREF(Py_None); in element_new() 311 e->tag = Py_None; in element_new() 313 Py_INCREF(Py_None); in element_new() 314 e->text = Py_None; in element_new() 316 Py_INCREF(Py_None); in element_new() 317 e->tail = Py_None; in element_new() [all...] |
H A D | _opcode.c | 34 if (oparg == Py_None) { in _opcode_stack_effect_impl() 44 else if (oparg != Py_None) { in _opcode_stack_effect_impl() 49 if (jump == Py_None) { in _opcode_stack_effect_impl()
|
H A D | _datetimemodule.c | 976 result = new_datetime_ex(year, month, day, 0, 0, 0, 0, Py_None, in new_date_subclass_ex() 992 char aware = tzinfo != Py_None; in new_datetime_ex2() 1073 char aware = tzinfo != Py_None; in new_time_ex2() 1217 if (p == Py_None || PyTZInfo_Check(p)) in check_tzinfo_subclass() 1256 assert(PyTZInfo_Check(tzinfo) || tzinfo == Py_None); in call_tzinfo_method() 1259 if (tzinfo == Py_None) in call_tzinfo_method() 1262 if (offset == Py_None || offset == NULL) in call_tzinfo_method() 1332 if (tzinfo == Py_None) in call_tzname() 1337 if (result == NULL || result == Py_None) in call_tzname() 1363 if (tzinfo == Py_None) in append_keyword_tzinfo() [all...] |
/third_party/python/Objects/ |
H A D | funcobject.c | 36 Py_INCREF(Py_None); in _PyFunction_FromConstructor() 37 op->func_doc = Py_None; in _PyFunction_FromConstructor() 76 doc = Py_None; in PyFunction_NewWithQualName() 80 doc = Py_None; in PyFunction_NewWithQualName() 200 if (defaults == Py_None) in PyFunction_SetDefaults() 231 if (defaults == Py_None) in PyFunction_SetKwDefaults() 263 if (closure == Py_None) in PyFunction_SetClosure() 326 if (annotations == Py_None) in PyFunction_SetAnnotations() 463 if (value == Py_None) in func_set_defaults() 503 if (value == Py_None) in func_set_kwdefaults() [all...] |
H A D | sliceobject.c | 117 step = Py_None; in PySlice_New() 120 start = Py_None; in PySlice_New() 123 stop = Py_None; in PySlice_New() 176 if (r->step == Py_None) { in PySlice_GetIndices() 182 if (r->start == Py_None) { in PySlice_GetIndices() 189 if (r->stop == Py_None) { in PySlice_GetIndices() 212 if (r->step == Py_None) { in PySlice_Unpack() 231 if (r->start == Py_None) { in PySlice_Unpack() 238 if (r->stop == Py_None) { in PySlice_Unpack() 391 if (self->step == Py_None) { in _PySlice_GetLongIndices() [all...] |
/third_party/python/Modules/clinic/ |
H A D | _codecsmodule.c.h | 262 if (args[1] == Py_None) { in _codecs_escape_decode() 322 if (args[1] == Py_None) { in _codecs_escape_encode() 380 if (args[1] == Py_None) { in _codecs_utf_7_decode() 450 if (args[1] == Py_None) { in _codecs_utf_8_decode() 520 if (args[1] == Py_None) { in _codecs_utf_16_decode() 590 if (args[1] == Py_None) { in _codecs_utf_16_le_decode() 660 if (args[1] == Py_None) { in _codecs_utf_16_be_decode() 732 if (args[1] == Py_None) { in _codecs_utf_16_ex_decode() 809 if (args[1] == Py_None) { in _codecs_utf_32_decode() 879 if (args[1] == Py_None) { in _codecs_utf_32_le_decode() [all...] |
H A D | _elementtree.c.h | 176 PyObject *namespaces = Py_None; in _elementtree_Element_find() 216 PyObject *default_value = Py_None; in _elementtree_Element_findtext() 217 PyObject *namespaces = Py_None; in _elementtree_Element_findtext() 262 PyObject *namespaces = Py_None; in _elementtree_Element_findall() 301 PyObject *namespaces = Py_None; in _elementtree_Element_iterfind() 340 PyObject *default_value = Py_None; in _elementtree_Element_get() 377 PyObject *tag = Py_None; in _elementtree_Element_iter() 599 PyObject *element_factory = Py_None; in _elementtree_TreeBuilder___init__() 600 PyObject *comment_factory = Py_None; in _elementtree_TreeBuilder___init__() 601 PyObject *pi_factory = Py_None; in _elementtree_TreeBuilder___init__() [all...] |
H A D | readline.c.h | 32 PyObject *filename_obj = Py_None; in readline_read_init_file() 66 PyObject *filename_obj = Py_None; in readline_read_history_file() 100 PyObject *filename_obj = Py_None; in readline_write_history_file() 138 PyObject *filename_obj = Py_None; in readline_append_history_file() 229 PyObject *function = Py_None; in readline_set_completion_display_matches_hook() 264 PyObject *function = Py_None; in readline_set_startup_hook() 302 PyObject *function = Py_None; in readline_set_pre_input_hook() 530 PyObject *function = Py_None; in readline_set_completer()
|
H A D | _asynciomodule.c.h | 35 PyObject *loop = Py_None; in _asyncio_Future___init__() 200 PyObject *msg = Py_None; in _asyncio_Future_cancel() 316 PyObject *loop = Py_None; in _asyncio_Task___init__() 317 PyObject *name = Py_None; in _asyncio_Task___init__() 318 PyObject *context = Py_None; in _asyncio_Task___init__() 408 PyObject *msg = Py_None; in _asyncio_Task_cancel() 507 PyObject *limit = Py_None; in _asyncio_Task_get_stack() 551 PyObject *limit = Py_None; in _asyncio_Task_print_stack() 552 PyObject *file = Py_None; in _asyncio_Task_print_stack()
|
/third_party/python/Modules/_ctypes/ |
H A D | callbacks.c | 107 if (f != NULL && f != Py_None) in PrintError() 264 have returned Py_None. in _CallPythonObject() 280 if (keep == Py_None) { in _CallPythonObject() 379 if (restype == Py_None) { in _ctypes_alloc_callback() 488 PyErr_WriteUnraisable(context ? context : Py_None); in Call_GetClassObject() 496 PyErr_WriteUnraisable(context ? context : Py_None); in Call_GetClassObject() 509 PyErr_WriteUnraisable(context ? context : Py_None); in Call_GetClassObject() 523 PyErr_WriteUnraisable(context ? context : Py_None); in Call_GetClassObject() 529 PyErr_WriteUnraisable(context ? context : Py_None); in Call_GetClassObject() 571 PyErr_WriteUnraisable(context ? context : Py_None); in Call_CanUnloadNow() [all...] |
/third_party/python/Include/ |
H A D | datetime.h | 136 ((PyDateTime_DateTime *)(o))->tzinfo : Py_None) 148 ((PyDateTime_Time *)(o))->tzinfo : Py_None) 228 min, sec, usec, Py_None, PyDateTimeAPI->DateTimeType) 232 min, sec, usec, Py_None, fold, PyDateTimeAPI->DateTimeType) 236 Py_None, PyDateTimeAPI->TimeType) 240 Py_None, fold, PyDateTimeAPI->TimeType)
|
/third_party/python/Modules/_sqlite/ |
H A D | cursor.c | 102 Py_INCREF(Py_None); in pysqlite_cursor_init_impl() 103 Py_XSETREF(self->description, Py_None); in pysqlite_cursor_init_impl() 105 Py_INCREF(Py_None); in pysqlite_cursor_init_impl() 106 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init_impl() 112 Py_INCREF(Py_None); in pysqlite_cursor_init_impl() 113 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init_impl() 281 converter = Py_None; in pysqlite_build_row_cast_map() 352 converter = Py_None; in _pysqlite_fetch_one_row() 361 if (converter != Py_None) { in _pysqlite_fetch_one_row() 368 converted = Py_NewRef(Py_None); in _pysqlite_fetch_one_row() [all...] |
/third_party/python/Objects/stringlib/ |
H A D | find.h | 93 PyObject *obj_start=Py_None, *obj_end=Py_None; in parse_args_finds() 106 if (obj_start != Py_None) in parse_args_finds() 109 if (obj_end != Py_None) in parse_args_finds()
|
/third_party/python/Objects/clinic/ |
H A D | funcobject.c.h | 38 PyObject *name = Py_None; in func_new() 39 PyObject *defaults = Py_None; in func_new() 40 PyObject *closure = Py_None; in func_new()
|
/third_party/python/Modules/_io/clinic/ |
H A D | _iomodule.c.h | 147 PyObject *opener = Py_None; in _io_open() 185 if (args[3] == Py_None) { in _io_open() 208 if (args[4] == Py_None) { in _io_open() 231 if (args[5] == Py_None) { in _io_open()
|
H A D | textio.c.h | 193 PyObject *errors = Py_None; in _io_TextIOWrapper___init__() 207 if (fastargs[1] == Py_None) { in _io_TextIOWrapper___init__() 236 if (fastargs[3] == Py_None) { in _io_TextIOWrapper___init__() 304 PyObject *encoding = Py_None; in _io_TextIOWrapper_reconfigure() 305 PyObject *errors = Py_None; in _io_TextIOWrapper_reconfigure() 307 PyObject *line_buffering_obj = Py_None; in _io_TextIOWrapper_reconfigure() 308 PyObject *write_through_obj = Py_None; in _io_TextIOWrapper_reconfigure() 540 PyObject *pos = Py_None; in _io_TextIOWrapper_truncate()
|
/third_party/python/Modules/_io/ |
H A D | stringio.c | 658 if (newline_obj == Py_None) { in _io_StringIO___init___impl() 681 if (value && value != Py_None && !PyUnicode_Check(value)) { in _io_StringIO___init___impl() 695 assert((newline != NULL && newline_obj != Py_None) || in _io_StringIO___init___impl() 696 (newline == NULL && newline_obj == Py_None)); in _io_StringIO___init___impl() 719 Py_None, self->readtranslate ? Py_True : Py_False, NULL); in _io_StringIO___init___impl() 727 if (value && value != Py_None) in _io_StringIO___init___impl() 825 Py_INCREF(Py_None); in stringio_getstate() 826 dict = Py_None; in stringio_getstate() 837 self->readnl ? self->readnl : Py_None, in stringio_getstate() 922 if (dict != Py_None) { in stringio_setstate() [all...] |
/third_party/python/Python/clinic/ |
H A D | bltinmodule.c.h | 388 PyObject *globals = Py_None; in builtin_eval() 389 PyObject *locals = Py_None; in builtin_eval() 440 PyObject *globals = Py_None; in builtin_exec() 441 PyObject *locals = Py_None; in builtin_exec() 752 PyObject *mod = Py_None; in builtin_pow() 802 PyObject *sep = Py_None; in builtin_print() 803 PyObject *end = Py_None; in builtin_print() 804 PyObject *file = Py_None; in builtin_print() 918 PyObject *ndigits = Py_None; in builtin_round()
|