Lines Matching refs:n
41 #define to_1d_ptr(obj, t, n, ptr) \ argument
42 __to_1d_ptr(obj, t, n, (void **)(ptr))
47 #define to_1d_copy(obj, t, ptr, n) \ argument
48 __to_1d_copy(obj, t, ptr, n)
61 #define new_1d_ptr(t, n, ptr) \ argument
62 __new_1d_ptr(t, n, (void **)(ptr))
67 #define new_1d_copy(t, n, src) \ argument
68 __new_1d_copy(t, n, src)
90 static PyObject *__to_1d_ptr(PyObject *obj, int t, int n, void **ptr) in __to_1d_ptr() argument
94 if (!obj || (n && PyArray_SIZE((PyArrayObject *)obj) != n)) in __to_1d_ptr()
115 static PyObject *__to_1d_copy(PyObject *obj, int t, void *v, int n) in __to_1d_copy() argument
119 if ((obj = to_1d_ptr(obj, t, n, &src))) in __to_1d_copy()
150 static PyObject *__new_1d_ptr(int t, int n, void **ptr) in __new_1d_ptr() argument
152 PyObject *obj = PyArray_SimpleNew(1, (const npy_intp []){ n }, t); in __new_1d_ptr()
170 static PyObject *__new_1d_copy(int t, int n, const void *src) in __new_1d_copy() argument
175 if ((obj = new_1d_ptr(t, n, &dst))) in __new_1d_copy()