/third_party/selinux/libselinux/src/ |
D | selinuxswig_python.i | 67 PyObject* list = PyList_New(*$2); 101 plist = PyList_New(len); 106 plist = PyList_New(0); 118 plist = PyList_New(result); 123 plist = PyList_New(0);
|
/third_party/python/Objects/stringlib/ |
D | split.h | 59 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 108 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 160 list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 198 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 249 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 302 list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB() 350 PyObject *list = PyList_New(0); in STRINGLIB()
|
/third_party/python/Objects/ |
D | accu.c | 22 acc->small = PyList_New(0); in _PyAccu_Init() 36 acc->large = PyList_New(0); in flush_accumulator()
|
D | namespaceobject.c | 83 pairs = PyList_New(0); in namespace_repr()
|
/third_party/libxml2/python/ |
D | types.c | 551 ret = PyList_New(0); in libxml_xmlXPathObjectPtrWrap() 561 ret = PyList_New(len); in libxml_xmlXPathObjectPtrWrap() 576 ret = PyList_New(0); in libxml_xmlXPathObjectPtrWrap() 581 ret = PyList_New(obj->nodesetval->nodeNr); in libxml_xmlXPathObjectPtrWrap() 634 list = PyList_New(1); in libxml_xmlXPathObjectPtrWrap() 652 list = PyList_New(2); in libxml_xmlXPathObjectPtrWrap() 685 list = PyList_New(set->locNr); in libxml_xmlXPathObjectPtrWrap()
|
/third_party/python/Modules/ |
D | _weakref.c | 92 result = PyList_New(count); in weakref_getweakrefs() 104 result = PyList_New(0); in weakref_getweakrefs()
|
D | grpmodule.c | 64 if ((w = PyList_New(0)) == NULL) { in mkgrent() 273 if ((d = PyList_New(0)) == NULL) in grp_getgrall_impl()
|
D | gcmodule.c | 168 gcstate->garbage = PyList_New(0); in _PyGC_Init() 173 gcstate->callbacks = PyList_New(0); in _PyGC_Init() 1694 PyObject *result = PyList_New(0); in gc_get_referrers() 1727 PyObject *result = PyList_New(0); in gc_get_referents() 1773 result = PyList_New(0); in gc_get_objects_impl() 1834 PyObject *result = PyList_New(0); in gc_get_stats_impl()
|
D | spwdmodule.c | 181 if ((d = PyList_New(0)) == NULL) in spwd_getspall_impl()
|
D | _elementtree.c | 953 children = PyList_New(self->extra ? self->extra->length : 0); in _elementtree_Element___getstate___impl() 1338 out = PyList_New(0); in _elementtree_Element_findall_impl() 1524 return PyList_New(0); in _elementtree_Element_items_impl() 1539 return PyList_New(0); in _elementtree_Element_keys_impl() 1742 return PyList_New(0); in element_subscr() 1751 return PyList_New(0); in element_subscr() 1753 list = PyList_New(slicelen); in element_subscr() 1829 if (!(recycle = PyList_New(slicelen))) { in element_ass_subscr() 1916 recycle = PyList_New(slicelen); in element_ass_subscr() 2378 t->stack = PyList_New(20); in treebuilder_new() [all …]
|
D | termios.c | 92 PyObject *cc = PyList_New(NCCS); in termios_tcgetattr_impl() 121 if (!(v = PyList_New(7))) in termios_tcgetattr_impl()
|
D | _localemodule.c | 74 return PyList_New(0); in copy_grouping() 80 result = PyList_New(i+1); in copy_grouping()
|
D | selectmodule.c | 184 list = PyList_New(count); in set2list() 669 result_list = PyList_New(poll_result); in select_poll_poll_impl() 976 result_list = PyList_New(poll_result); in select_devpoll_poll_impl() 1602 elist = PyList_New(nfds); in select_epoll_poll_impl() 2209 result = PyList_New(gotevents); in select_kqueue_control_impl()
|
/third_party/python/Include/internal/ |
D | pycore_blocks_output_buffer.h | 126 buffer->list = PyList_New(1); in _BlocksOutputBuffer_InitAndGrow() 167 buffer->list = PyList_New(1); in _BlocksOutputBuffer_InitWithSize()
|
/third_party/python/Include/ |
D | listobject.h | 28 PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);
|
/third_party/python/Doc/c-api/ |
D | abstract.rst | 15 initialized, such as a list object that has been created by :c:func:`PyList_New`,
|
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 165 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_build_row_cast_map() 453 parameters_list = PyList_New(0); in _pysqlite_query_execute() 873 list = PyList_New(0); in pysqlite_cursor_fetchmany_impl() 911 list = PyList_New(0); in pysqlite_cursor_fetchall_impl()
|
D | row.c | 188 list = PyList_New(0); in pysqlite_row_keys_impl()
|
/third_party/boost/libs/python/src/ |
D | list.cpp | 21 : object(detail::new_reference(PyList_New(0))) in list_base()
|
/third_party/python/Python/ |
D | pyarena.c | 141 arena->a_objects = PyList_New(0); in _PyArena_New()
|
D | sysmodule.c | 460 interp->audit_hooks = PyList_New(0); in sys_addaudithook_impl() 2037 PyObject *list = PyList_New(0); in list_builtin_module_names() 2231 warnoptions = PyList_New(0); in get_warnoptions() 2864 SET_SYS("meta_path", PyList_New(0)); in _PySys_InitCore() 2866 SET_SYS("path_hooks", PyList_New(0)); in _PySys_InitCore() 3102 v = PyList_New(n); in makepathobject() 3138 PyObject *list = PyList_New(argc); in make_sys_argv()
|
D | marshal.c | 1196 v = PyList_New(n); in r_object() 1538 rf.refs = PyList_New(0); in PyMarshal_ReadObjectFromFile() 1559 rf.refs = PyList_New(0); in PyMarshal_ReadObjectFromString() 1693 if ((rf.refs = PyList_New(0)) != NULL) { in marshal_load() 1752 if ((rf.refs = PyList_New(0)) == NULL) in marshal_loads_impl()
|
/third_party/python/Modules/_ssl/ |
D | cert.c | 51 result = PyList_New(len); in _PySSL_CertificateFromX509Stack()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 692 result = PyList_New(0); in _io__IOBase_readlines_impl() 963 PyObject *chunks = PyList_New(0); in _io__RawIOBase_readall_impl()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 261 return PyList_New(0); in Subscript() 263 result = PyList_New(slicelength); in Subscript()
|