Searched refs:py_list (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | gcmodule.c | 305 append_objects(PyObject *py_list, PyGC_Head *gc_list) in append_objects() argument 310 if (op != py_list) { in append_objects() 311 if (PyList_Append(py_list, op)) { in append_objects()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 267 TFE_Context* ctx, TFE_Op* op, const char* key, PyObject* py_list, in SetOpAttrList() argument 271 if (!PySequence_Check(py_list)) { in SetOpAttrList() 275 ", got ", py_list->ob_type->tp_name) in SetOpAttrList() 279 const int num_values = PySequence_Size(py_list); in SetOpAttrList() 285 tensorflow::Safe_PyObjectPtr py_value(PySequence_ITEM(py_list, i)); \ in SetOpAttrList() 294 tensorflow::Safe_PyObjectPtr py_value(PySequence_ITEM(py_list, i)); in SetOpAttrList() 319 tensorflow::Safe_PyObjectPtr py_value(PySequence_ITEM(py_list, i)); in SetOpAttrList() 344 tensorflow::Safe_PyObjectPtr py_value(PySequence_ITEM(py_list, i)); in SetOpAttrList() 376 tensorflow::Safe_PyObjectPtr py_value(PySequence_ITEM(py_list, i)); in SetOpAttrList()
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 216 append_objects(PyObject *py_list, PyGC_Head *gc_list) in append_objects() argument 221 if (op != py_list) { in append_objects() 222 if (PyList_Append(py_list, op)) { in append_objects()
|