/external/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);
|
/external/python/cpython2/Objects/stringlib/ |
D | split.h | 62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_whitespace() 111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_char() 163 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split() 201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit_whitespace() 252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit_char() 305 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_rsplit() 353 PyObject *list = PyList_New(0); in stringlib_splitlines()
|
/external/python/cpython3/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()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session.i | 155 $result = PyList_New($1.size()); 174 $result = PyList_New($1.size()); 193 $result = PyList_New($1.size()); 210 $result = PyList_New($1.size()); 229 $result = PyList_New($1.size()); 261 temp_string_list = tensorflow::make_safe(PyList_New(len)); 313 $result = PyList_New($1->size()); 398 $result = PyList_New(*$1); 417 $result = PyList_New(*$1); 633 $result = PyList_New($1.size()); [all …]
|
/external/libxml2/python/ |
D | types.c | 427 ret = PyList_New(0); in libxml_xmlXPathObjectPtrWrap() 437 ret = PyList_New(len); in libxml_xmlXPathObjectPtrWrap() 452 ret = PyList_New(0); in libxml_xmlXPathObjectPtrWrap() 457 ret = PyList_New(obj->nodesetval->nodeNr); in libxml_xmlXPathObjectPtrWrap() 510 list = PyList_New(1); in libxml_xmlXPathObjectPtrWrap() 528 list = PyList_New(2); in libxml_xmlXPathObjectPtrWrap() 561 list = PyList_New(set->locNr); in libxml_xmlXPathObjectPtrWrap()
|
/external/python/cpython3/Objects/ |
D | accu.c | 22 acc->small = PyList_New(0); in _PyAccu_Init() 36 acc->large = PyList_New(0); in flush_accumulator()
|
/external/python/cpython3/Modules/ |
D | _weakref.c | 91 result = PyList_New(count); in weakref_getweakrefs() 103 result = PyList_New(0); in weakref_getweakrefs()
|
D | grpmodule.c | 50 if ((w = PyList_New(0)) == NULL) { in mkgrent() 184 if ((d = PyList_New(0)) == NULL) in grp_getgrall_impl()
|
D | gcmodule.c | 658 _PyRuntime.gc.garbage = PyList_New(0); in handle_legacy_finalizers() 1269 PyObject *result = PyList_New(0); in gc_get_referrers() 1296 PyObject *result = PyList_New(0); in gc_get_referents() 1331 result = PyList_New(0); in gc_get_objects_impl() 1363 result = PyList_New(0); in gc_get_stats_impl() 1534 _PyRuntime.gc.garbage = PyList_New(0); in PyInit_gc() 1543 _PyRuntime.gc.callbacks = PyList_New(0); in PyInit_gc()
|
D | _elementtree.c | 933 children = PyList_New(self->extra ? self->extra->length : 0); in _elementtree_Element___getstate___impl() 1321 out = PyList_New(0); in _elementtree_Element_findall_impl() 1414 return PyList_New(0); in _elementtree_Element_getchildren_impl() 1416 list = PyList_New(self->extra->length); in _elementtree_Element_getchildren_impl() 1565 return PyList_New(0); in _elementtree_Element_items_impl() 1580 return PyList_New(0); in _elementtree_Element_keys_impl() 1778 return PyList_New(0); in element_subscr() 1787 return PyList_New(0); in element_subscr() 1789 list = PyList_New(slicelen); in element_subscr() 1864 if (!(recycle = PyList_New(slicelen))) { in element_ass_subscr() [all …]
|
/external/python/cpython2/Modules/ |
D | _weakref.c | 79 result = PyList_New(count); in weakref_getweakrefs() 91 result = PyList_New(0); in weakref_getweakrefs()
|
D | grpmodule.c | 45 if ((w = PyList_New(0)) == NULL) { in mkgrent() 141 if ((d = PyList_New(0)) == NULL) in grp_getgrall()
|
D | gcmodule.c | 781 garbage = PyList_New(0); in handle_finalizers() 1251 PyObject *result = PyList_New(0); in gc_get_referrers() 1278 PyObject *result = PyList_New(0); in gc_get_referents() 1312 result = PyList_New(0); in gc_get_objects() 1396 garbage = PyList_New(0); in initgc()
|
D | _elementtree.c | 901 out = PyList_New(0); in element_findall() 978 return PyList_New(0); in element_getchildren() 980 list = PyList_New(self->extra->length); in element_getchildren() 1139 return PyList_New(0); in element_items() 1151 return PyList_New(0); in element_keys() 1369 return PyList_New(0); 1378 return PyList_New(0); 1380 list = PyList_New(slicelen); 1483 recycle = PyList_New(slicelen); 1730 self->stack = PyList_New(20); [all …]
|
/external/tensorflow/tensorflow/python/grappler/ |
D | cluster.i | 193 PyObject* result = PyList_New(devices.size()); in TF_ListDevices() 220 PyObject* result = PyList_New(op_names.size()); in TF_ListAvailableOps() 298 PyObject* dev = PyList_New(device_names.size()); in TF_GetSupportedDevices() 349 PyObject* op_perf_objs = PyList_New( in TF_MeasureCosts() 412 PyObject* per_device = PyList_New(usage.live_tensors.size()); in TF_DeterminePeakMemoryUsage()
|
D | item.i | 135 PyObject* result = PyList_New(ops.size()); in TF_IdentifyImportantOps() 160 PyObject* prop = PyList_New(output_props.size()); in TF_GetOpProperties() 291 PyObject* result = PyList_New(groups.size()); in TF_GetColocationGroups()
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 46 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_cursor_init() 134 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_build_row_cast_map() 437 parameters_list = PyList_New(0); in _pysqlite_query_execute() 825 list = PyList_New(0); in pysqlite_cursor_fetchmany() 860 list = PyList_New(0); in pysqlite_cursor_fetchall()
|
/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 241 result=PyList_New(n); in block_slice() 297 { PyObject *list = PyList_New(3); in PyBlock_GetAttr() 451 result=PyList_New(0); in swi_integers() 485 result=PyList_New(0); in swi_tuples()
|
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 85 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_cursor_init() 172 Py_XSETREF(self->row_cast_map, PyList_New(0)); in pysqlite_build_row_cast_map() 501 parameters_list = PyList_New(0); in _pysqlite_query_execute() 949 list = PyList_New(0); in pysqlite_cursor_fetchmany() 984 list = PyList_New(0); in pysqlite_cursor_fetchall()
|
/external/tensorflow/tensorflow/python/ |
D | pywrap_tfe.i | 122 PyObject* list = PyList_New(1); 277 $result = PyList_New(num_outputs);
|
/external/python/cpython2/Include/ |
D | listobject.h | 47 PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);
|
/external/python/cpython2/Doc/c-api/ |
D | abstract.rst | 16 initialized, such as a list object that has been created by :c:func:`PyList_New`,
|
/external/python/cpython3/Doc/c-api/ |
D | abstract.rst | 15 initialized, such as a list object that has been created by :c:func:`PyList_New`,
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | strings.i | 86 auto temp_string_list = tensorflow::make_safe(PyList_New(size));
|
/external/python/cpython3/Include/ |
D | listobject.h | 52 PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);
|