Home
last modified time | relevance | path

Searched refs:swapped_args (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
D_ctypes.c1848 PyObject *swapped_args; in CreateSwappedType() local
1852 swapped_args = PyTuple_New(PyTuple_GET_SIZE(args)); in CreateSwappedType()
1853 if (!swapped_args) in CreateSwappedType()
1863 Py_DECREF(swapped_args); in CreateSwappedType()
1869 Py_DECREF(swapped_args); in CreateSwappedType()
1873 PyTuple_SET_ITEM(swapped_args, 0, newname); in CreateSwappedType()
1877 PyTuple_SET_ITEM(swapped_args, i, v); in CreateSwappedType()
1882 result = (PyTypeObject *)PyType_Type.tp_new(type, swapped_args, kwds); in CreateSwappedType()
1883 Py_DECREF(swapped_args); in CreateSwappedType()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1923 PyObject *swapped_args; in CreateSwappedType() local
1927 swapped_args = PyTuple_New(PyTuple_GET_SIZE(args)); in CreateSwappedType()
1928 if (!swapped_args) in CreateSwappedType()
1941 Py_DECREF(swapped_args); in CreateSwappedType()
1945 PyTuple_SET_ITEM(swapped_args, 0, name); in CreateSwappedType()
1949 PyTuple_SET_ITEM(swapped_args, i, v); in CreateSwappedType()
1954 result = (PyTypeObject *)PyType_Type.tp_new(type, swapped_args, kwds); in CreateSwappedType()
1955 Py_DECREF(swapped_args); in CreateSwappedType()