Home
last modified time | relevance | path

Searched refs:PyDataMem_RENEW (Results 1 – 21 of 21) sorted by relevance

/dports/devel/py-qutip/qutip-4.6.2/qutip/cy/
H A Dsparse_routines.pxi48 void PyDataMem_RENEW(void * ptr, size_t size)
274 mat.data = <double complex *>PyDataMem_RENEW(mat.data, N * sizeof(double complex))
275 mat.indices = <int *>PyDataMem_RENEW(mat.indices, N * sizeof(int))
297 new_data = <double complex *>PyDataMem_RENEW(mat.data, new_size * sizeof(double complex))
306 new_ind = <int *>PyDataMem_RENEW(mat.indices, new_size * sizeof(int))
470 _tmp_rows = <int *>PyDataMem_RENEW(mat.rows, (mat.nrows+1) * sizeof(int))
502 _tmp_rows = <int *>PyDataMem_RENEW(mat.rows, (mat.nrows+1) * sizeof(int))
H A Dgraph_utils.pyx46 void PyDataMem_RENEW(void * ptr, size_t size)
180 temp_degrees = <int *>PyDataMem_RENEW(temp_degrees, (N-N_old)*sizeof(int))
H A Dsparse_utils.pyx45 void PyDataMem_RENEW(void * ptr, size_t size)
H A Dcqobjevo.pyx96 void PyDataMem_RENEW(void * ptr, size_t size)
H A Dchecks.cpp4578 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_6checks_shorten_CSR()
4587 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_6checks_shorten_CSR()
4778 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_6checks_expand_CSR()
4871 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_6checks_expand_CSR()
6252 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_6checks_COO_to_CSR_inplace()
6546 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_6checks_COO_to_CSR_inplace()
H A Dbrtools_checks.cpp4710 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_14brtools_checks_shorten_CSR()
4719 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_14brtools_checks_shorten_CSR()
4910 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_14brtools_checks_expand_CSR()
5003 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_14brtools_checks_expand_CSR()
6384 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_14brtools_checks_COO_to_CSR_inplace()
6678 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_14brtools_checks_COO_to_CSR_inplace()
H A Dspconvert.cpp4626 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_9spconvert_shorten_CSR()
4635 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_9spconvert_shorten_CSR()
4826 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_9spconvert_expand_CSR()
4919 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_9spconvert_expand_CSR()
6300 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_9spconvert_COO_to_CSR_inplace()
6594 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_9spconvert_COO_to_CSR_inplace()
H A Dbr_tensor.cpp4710 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_9br_tensor_shorten_CSR()
4719 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_9br_tensor_shorten_CSR()
4910 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_9br_tensor_expand_CSR()
5003 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_9br_tensor_expand_CSR()
6384 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_9br_tensor_COO_to_CSR_inplace()
6678 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_9br_tensor_COO_to_CSR_inplace()
H A Dbrtools.cpp4886 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_7brtools_shorten_CSR()
4895 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_7brtools_shorten_CSR()
5086 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_7brtools_expand_CSR()
5179 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_7brtools_expand_CSR()
6560 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_7brtools_COO_to_CSR_inplace()
6854 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_7brtools_COO_to_CSR_inplace()
H A Dspmath.cpp4763 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_6spmath_shorten_CSR()
4772 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_6spmath_shorten_CSR()
4963 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_6spmath_expand_CSR()
5056 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_6spmath_expand_CSR()
6437 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_6spmath_COO_to_CSR_inplace()
6731 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_6spmath_COO_to_CSR_inplace()
H A Dcqobjevo.cpp5192 …__pyx_v_mat->data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_N * (si… in __pyx_f_5qutip_2cy_8cqobjevo_shorten_CSR()
5201 …__pyx_v_mat->indices = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_N * (sizeof(int))))); in __pyx_f_5qutip_2cy_8cqobjevo_shorten_CSR()
5392 …__pyx_v_new_data = ((__pyx_t_double_complex *)PyDataMem_RENEW(__pyx_v_mat->data, (__pyx_v_new_size… in __pyx_f_5qutip_2cy_8cqobjevo_expand_CSR()
5485 …__pyx_v_new_ind = ((int *)PyDataMem_RENEW(__pyx_v_mat->indices, (__pyx_v_new_size * (sizeof(int)))… in __pyx_f_5qutip_2cy_8cqobjevo_expand_CSR()
6866 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_8cqobjevo_COO_to_CSR_inplace()
7160 …__pyx_v__tmp_rows = ((int *)PyDataMem_RENEW(__pyx_v_mat->rows, ((__pyx_v_mat->nrows + 1) * (sizeof… in __pyx_f_5qutip_2cy_8cqobjevo_COO_to_CSR_inplace()
H A Dgraph_utils.cpp4268 …__pyx_v_temp_degrees = ((int *)PyDataMem_RENEW(__pyx_v_temp_degrees, ((__pyx_v_N - __pyx_v_N_old) … in __pyx_pf_5qutip_2cy_11graph_utils_4_reverse_cuthill_mckee()
/dports/science/qiskit-aer/qiskit-aer-0.5.2/qiskit/providers/aer/pulse/qutip_lite/cy/
H A Dsparse_routines.pxi49 void PyDataMem_RENEW(void * ptr, size_t size)
280 mat.data = <double complex *>PyDataMem_RENEW(mat.data, N * sizeof(double complex))
281 mat.indices = <int *>PyDataMem_RENEW(mat.indices, N * sizeof(int))
303 new_data = <double complex *>PyDataMem_RENEW(mat.data, new_size * sizeof(double complex))
312 new_ind = <int *>PyDataMem_RENEW(mat.indices, new_size * sizeof(int))
477 _tmp_rows = <int *>PyDataMem_RENEW(mat.rows, (mat.nrows+1) * sizeof(int))
509 _tmp_rows = <int *>PyDataMem_RENEW(mat.rows, (mat.nrows+1) * sizeof(int))
H A Dsparse_utils.pyx47 void PyDataMem_RENEW(void * ptr, size_t size)
/dports/databases/py-tiledb/tiledb-0.8.11/tiledb/
H A Dcommon.pxi54 void* PyDataMem_RENEW(void* data, size_t nbytes)
/dports/science/py-scipy/scipy-1.7.1/scipy/ndimage/src/
H A D_ni_label.pyx31 void *PyDataMem_RENEW(void *, size_t)
364 PyDataMem_RENEW(<void *> mergetable,
388 PyDataMem_RENEW(<void *> mergetable,
/dports/math/py-pandas/pandas-1.2.5/pandas/_libs/src/ujson/python/
H A DJSONtoObj.c195 new_data = PyDataMem_RENEW(PyArray_DATA(ret), i * npyarr->elsize); in Object_npyEndArray()
305 new_data = PyDataMem_RENEW(PyArray_DATA(npyarr->ret), in Object_npyArrayAddItem()
/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/multiarray/
H A Dalloc.c305 PyDataMem_RENEW(void *ptr, size_t size) in PyDataMem_RENEW() function
H A Dctors.c3380 tmp = PyDataMem_RENEW(PyArray_DATA(r), totalbytes); in array_from_text()
3402 tmp = PyDataMem_RENEW(PyArray_DATA(r), nsize); in array_from_text()
3507 if ((tmp = PyDataMem_RENEW(PyArray_DATA(ret), nsize)) == NULL) { in PyArray_FromFile()
3791 new_data = PyDataMem_RENEW(PyArray_DATA(ret), nbytes); in PyArray_FromIter()
3832 new_data = PyDataMem_RENEW(PyArray_DATA(ret), i * elsize); in PyArray_FromIter()
H A Dshape.c123 new_data = PyDataMem_RENEW( in PyArray_Resize()
/dports/math/py-numpy/numpy-1.20.3/doc/source/reference/c-api/
H A Darray.rst3261 .. c:function:: char* PyDataMem_RENEW(void * ptr, size_t newbytes)