/external/python/cpython3/Objects/ |
D | funcobject.c | 139 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults); in PyFunction_SetDefaults() 170 Py_XSETREF(((PyFunctionObject *)op)->func_kwdefaults, defaults); in PyFunction_SetKwDefaults() 202 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); in PyFunction_SetClosure() 233 Py_XSETREF(((PyFunctionObject *)op)->func_annotations, annotations); in PyFunction_SetAnnotations() 292 Py_XSETREF(op->func_code, value); in func_set_code() 314 Py_XSETREF(op->func_name, value); in func_set_name() 336 Py_XSETREF(op->func_qualname, value); in func_set_qualname() 376 Py_XSETREF(op->func_defaults, value); in func_set_defaults() 417 Py_XSETREF(op->func_kwdefaults, value); in func_set_kwdefaults() 447 Py_XSETREF(op->func_annotations, value); in func_set_annotations() [all …]
|
D | exceptions.c | 70 Py_XSETREF(self->args, args); in BaseException_init() 206 Py_XSETREF(self->args, seq); in BaseException_set_args() 234 Py_XSETREF(self->traceback, tb); in BaseException_set_tb() 334 Py_XSETREF(((PyBaseExceptionObject *)self)->cause, cause); in PyException_SetCause() 348 Py_XSETREF(((PyBaseExceptionObject *)self)->context, context); in PyException_SetContext() 571 Py_XSETREF(self->code, PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 575 Py_XSETREF(self->code, args); in SystemExit_init() 646 Py_XSETREF(self->name, name); in ImportError_init() 649 Py_XSETREF(self->path, path); in ImportError_init() 655 Py_XSETREF(self->msg, msg); in ImportError_init() [all …]
|
D | cellobject.c | 149 Py_XSETREF(op->ob_ref, obj); in cell_set_contents()
|
D | descrobject.c | 1616 Py_XSETREF(self->prop_get, fget); in property_init_impl() 1617 Py_XSETREF(self->prop_set, fset); in property_init_impl() 1618 Py_XSETREF(self->prop_del, fdel); in property_init_impl() 1619 Py_XSETREF(self->prop_doc, doc); in property_init_impl() 1631 Py_XSETREF(self->prop_doc, get_doc); in property_init_impl()
|
D | frameobject.c | 356 Py_XSETREF(f->f_trace, v); in frame_settrace() 864 Py_XSETREF(values[j], value); in dict_to_map()
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 66 Py_XSETREF(self->message, PyTuple_GET_ITEM(self->args, 0)); in BaseException_init() 282 Py_XSETREF(self->dict, val); in BaseException_set_dict() 308 Py_XSETREF(self->args, seq); in BaseException_set_args() 518 Py_XSETREF(self->code, PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 522 Py_XSETREF(self->code, args); in SystemExit_init() 607 Py_XSETREF(self->myerrno, myerrno); in EnvironmentError_init() 610 Py_XSETREF(self->strerror, strerror); in EnvironmentError_init() 615 Py_XSETREF(self->filename, filename); in EnvironmentError_init() 872 Py_XSETREF(self->winerror, self->myerrno); in WindowsError_init() 1058 Py_XSETREF(self->msg, PyTuple_GET_ITEM(args, 0)); in SyntaxError_init() [all …]
|
D | funcobject.c | 119 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults); in PyFunction_SetDefaults() 151 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); in PyFunction_SetClosure()
|
D | frameobject.c | 409 Py_XSETREF(f->f_trace, v); in frame_settrace() 896 Py_XSETREF(values[j], value); in dict_to_map()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 112 Py_XSETREF(self->row_factory, Py_None); in pysqlite_connection_init() 115 Py_XSETREF(self->text_factory, (PyObject*)&PyUnicode_Type); in pysqlite_connection_init() 193 Py_XSETREF(self->collations, PyDict_New()); in pysqlite_connection_init() 326 Py_XSETREF(((pysqlite_Cursor *)cursor)->row_factory, self->row_factory); in pysqlite_connection_cursor() 1014 Py_XSETREF(self->function_pinboard_authorizer_cb, NULL); in pysqlite_connection_set_authorizer() 1018 Py_XSETREF(self->function_pinboard_authorizer_cb, authorizer_cb); in pysqlite_connection_set_authorizer() 1042 Py_XSETREF(self->function_pinboard_progress_handler, NULL); in pysqlite_connection_set_progress_handler() 1046 Py_XSETREF(self->function_pinboard_progress_handler, progress_handler); in pysqlite_connection_set_progress_handler() 1069 Py_XSETREF(self->function_pinboard_trace_callback, NULL); in pysqlite_connection_set_trace_callback() 1073 Py_XSETREF(self->function_pinboard_trace_callback, trace_callback); in pysqlite_connection_set_trace_callback() [all …]
|
D | cursor.c | 42 Py_XSETREF(self->connection, connection); in pysqlite_cursor_init() 48 Py_XSETREF(self->description, Py_None); in pysqlite_cursor_init() 51 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init() 60 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init() 134 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_build_row_cast_map() 466 Py_XSETREF(self->statement, in _pysqlite_query_execute()
|
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 81 Py_XSETREF(self->connection, connection); in pysqlite_cursor_init() 85 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_cursor_init() 91 Py_XSETREF(self->description, Py_None); in pysqlite_cursor_init() 94 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init() 103 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init() 172 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_build_row_cast_map() 560 Py_XSETREF(self->statement, in _pysqlite_query_execute()
|
/external/python/cpython3/Modules/ |
D | zlibmodule.c | 970 Py_XSETREF(retval->unused_data, self->unused_data); in zlib_Compress_copy_impl() 972 Py_XSETREF(retval->unconsumed_tail, self->unconsumed_tail); in zlib_Compress_copy_impl() 974 Py_XSETREF(retval->zdict, self->zdict); in zlib_Compress_copy_impl() 1052 Py_XSETREF(retval->unused_data, self->unused_data); in zlib_Decompress_copy_impl() 1054 Py_XSETREF(retval->unconsumed_tail, self->unconsumed_tail); in zlib_Decompress_copy_impl() 1056 Py_XSETREF(retval->zdict, self->zdict); in zlib_Decompress_copy_impl()
|
D | _elementtree.c | 429 Py_XSETREF(self_elem->tag, tag); in element_init() 1012 Py_XSETREF(self->tag, tag); in element_setstate_from_attributes() 1079 Py_XSETREF(self->extra->attrib, attrib); in element_setstate_from_attributes() 2487 Py_XSETREF(self->element_factory, element_factory); in _elementtree_TreeBuilder___init___impl() 2498 Py_XSETREF(self->comment_factory, comment_factory); in _elementtree_TreeBuilder___init___impl() 2511 Py_XSETREF(self->pi_factory, pi_factory); in _elementtree_TreeBuilder___init___impl() 2615 Py_XSETREF(st->comment_factory, comment_factory); in _elementtree__set_factories_impl() 2621 Py_XSETREF(st->pi_factory, pi_factory); in _elementtree__set_factories_impl() 2873 Py_XSETREF(self->last_for_tail, self->last); in treebuilder_handle_end() 2906 Py_XSETREF(self->last_for_tail, comment); in treebuilder_handle_comment() [all …]
|
D | itertoolsmodule.c | 146 Py_XSETREF(gbo->currkey, newkey); in groupby_step() 177 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next() 219 Py_XSETREF(lz->currkey, currkey); in groupby_setstate() 221 Py_XSETREF(lz->currvalue, currvalue); in groupby_setstate() 223 Py_XSETREF(lz->tgtkey, tgtkey); in groupby_setstate() 818 Py_XSETREF(to->dataobj, tdo); in tee_setstate() 1082 Py_XSETREF(lz->saved, saved); in cycle_setstate() 2024 Py_XSETREF(lz->source, source); in chain_setstate() 2026 Py_XSETREF(lz->active, active); in chain_setstate() 2371 Py_XSETREF(lz->result, result); in product_setstate() [all …]
|
D | _bz2module.c | 519 Py_XSETREF(d->unused_data, in decompress() 634 Py_XSETREF(self->unused_data, PyBytes_FromStringAndSize(NULL, 0)); in _bz2_BZ2Decompressor___init___impl()
|
D | faulthandler.c | 505 Py_XSETREF(fatal_error.file, file); in faulthandler_py_enable() 696 Py_XSETREF(thread.file, file); in faulthandler_dump_traceback_later() 874 Py_XSETREF(user->file, file); in faulthandler_register_py()
|
D | _functoolsmodule.c | 372 Py_XSETREF(pto->dict, dict); in partial_setstate() 631 Py_XSETREF(_PyTuple_ITEMS(args)[0], result); in functools_reduce() 632 Py_XSETREF(_PyTuple_ITEMS(args)[1], op2); in functools_reduce()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 789 Py_XSETREF(retval->unused_data, self->unused_data); in PyZlib_copy() 791 Py_XSETREF(retval->unconsumed_tail, self->unconsumed_tail); in PyZlib_copy() 838 Py_XSETREF(retval->unused_data, self->unused_data); in PyZlib_uncopy() 840 Py_XSETREF(retval->unconsumed_tail, self->unconsumed_tail); in PyZlib_uncopy()
|
D | cdmodule.c | 632 Py_XSETREF(self->ob_cdcallbacks[type].ob_cdcallback, func); in CD_addcallback() 634 Py_XSETREF(self->ob_cdcallbacks[type].ob_cdcallbackarg, funcarg); in CD_addcallback()
|
D | _functoolsmodule.c | 327 Py_XSETREF(pto->dict, dict); in partial_setstate()
|
D | _elementtree.c | 2847 Py_XSETREF(target->events, events); 2872 Py_XSETREF(target->start_event_obj, item); 2874 Py_XSETREF(target->end_event_obj, item); 2876 Py_XSETREF(target->start_ns_event_obj, item); 2883 Py_XSETREF(target->end_ns_event_obj, item);
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 972 Py_XSETREF(self->decoder, incrementalDecoder); in textiowrapper_init() 1352 Py_XSETREF(self->decoded_chars, chars); in textiowrapper_set_decoded_chars() 1481 Py_XSETREF(self->snapshot, Py_BuildValue("NN", dec_flags, next_input)); in textiowrapper_read_chunk() 1582 Py_XSETREF(result, PyUnicode_Join(_PyIO_empty_str, chunks)); in textiowrapper_read() 1839 Py_XSETREF(line, PyUnicode_Join(_PyIO_empty_str, chunks)); in _textiowrapper_readline()
|
D | bufferedio.c | 1030 Py_XSETREF(res, _PyBytes_Join(_PyIO_empty_bytes, chunks)); in _buffered_readline() 1266 Py_XSETREF(self->raw, raw); in bufferedreader_init() 1688 Py_XSETREF(self->raw, raw); in bufferedwriter_init() 2344 Py_XSETREF(self->raw, raw); in bufferedrandom_init()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 378 #define Py_XSETREF(op, op2) \ macro
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1704 Py_XSETREF(self->decoded_chars, chars); in textiowrapper_set_decoded_chars() 1859 Py_XSETREF(self->snapshot, snapshot); in textiowrapper_read_chunk() 1966 Py_XSETREF(result, PyUnicode_Join(_PyIO_empty_str, chunks)); in _io_TextIOWrapper_read_impl() 2553 Py_XSETREF(self->snapshot, snapshot); in _io_TextIOWrapper_seek_impl() 2574 Py_XSETREF(self->snapshot, snapshot); in _io_TextIOWrapper_seek_impl()
|