/external/python/cpython2/Modules/ |
D | glmodule.c | 254 if ((arg2 = PyMem_NEW(double, arg1 )) == NULL) { in gl_nurbssurface() 261 if ((arg4 = PyMem_NEW(double, arg3 )) == NULL) { in gl_nurbssurface() 288 if ((arg5 = PyMem_NEW(double, s_nctl*t_nctl*ncoords )) == NULL) { in gl_nurbssurface() 336 if ((arg2 = PyMem_NEW(double, arg1 )) == NULL) { in gl_nurbscurve() 360 if ((arg4 = PyMem_NEW(double, npoints*ncoords )) == NULL) { in gl_nurbscurve() 404 if ((data = PyMem_NEW(double, npoints*ncoords)) == NULL) { in gl_pwlcurve() 435 if ((pickbuffer = PyMem_NEW(short, pickbuffersize)) == NULL) { in pick_select() 2905 if ((arg2 = (float(*)[3]) PyMem_NEW(float , 3 * arg1 )) == NULL) in gl_polf() 2925 if ((arg2 = (float(*)[2]) PyMem_NEW(float , 2 * arg1 )) == NULL) in gl_polf2() 2945 if ((arg2 = (float(*)[3]) PyMem_NEW(float , 3 * arg1 )) == NULL) in gl_poly() [all …]
|
D | almodule.c | 170 param->value.ptr = PyMem_NEW(int, param->sizeIn); in python2param() 176 param->value.ptr = PyMem_NEW(long long, param->sizeIn); in python2param() 216 pvs = PyMem_NEW(ALpv, npvs); in python2params() 217 pinfo = PyMem_NEW(ALparamInfo, npvs); in python2params() 1183 PVbuffer = PyMem_NEW(long, length); in alp_getstatus() 1426 pvs = PyMem_NEW(ALpv, npvs); in al_GetParams() 1427 pinfo = PyMem_NEW(ALparamInfo, npvs); in al_GetParams() 1452 pvs[i].value.ptr = PyMem_NEW(int, pinfo[i].maxElems); in al_GetParams() 1457 pvs[i].value.ptr = PyMem_NEW(long long, pinfo[i].maxElems); in al_GetParams() 1461 pvs[i].value.ptr = PyMem_NEW(char, 32); in al_GetParams() [all …]
|
D | _localemodule.c | 318 ws1 = PyMem_NEW(wchar_t, len1); in PyLocale_strcoll() 327 ws2 = PyMem_NEW(wchar_t, len2); in PyLocale_strcoll()
|
D | cstubs | 271 if ((arg2 = PyMem_NEW(double, arg1 )) == NULL) { 278 if ((arg4 = PyMem_NEW(double, arg3 )) == NULL) { 305 if ((arg5 = PyMem_NEW(double, s_nctl*t_nctl*ncoords )) == NULL) { 356 if ((arg2 = PyMem_NEW(double, arg1 )) == NULL) { 380 if ((arg4 = PyMem_NEW(double, npoints*ncoords )) == NULL) { 427 if ((data = PyMem_NEW(double, npoints*ncoords)) == NULL) { 460 if ((pickbuffer = PyMem_NEW(short, pickbuffersize)) == NULL) {
|
D | svmodule.c | 672 if (!(mapp = PyMem_NEW(rgb_tuple, 256))) in sv_LoadMap() 751 PVbuffer = PyMem_NEW(long, length); in doParams()
|
D | selectmodule.c | 240 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select() 241 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select() 242 efd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select()
|
D | sunaudiodev.c | 84 ctldev = PyMem_NEW(char, strlen(basedev) + 4); in newsadobject()
|
D | posixmodule.c | 3191 argvlist = PyMem_NEW(char *, argc+1); in posix_execv() 3267 argvlist = PyMem_NEW(char *, argc+1); in posix_execve() 3288 envlist = PyMem_NEW(char *, i + 1); in posix_execve() 3336 p = PyMem_NEW(char, len); in posix_execve() 3412 argvlist = PyMem_NEW(char *, argc+1); in posix_spawnv() 3508 argvlist = PyMem_NEW(char *, argc+1); in posix_spawnve() 3529 envlist = PyMem_NEW(char *, i + 1); in posix_spawnve() 3572 p = PyMem_NEW(char, len); in posix_spawnve() 3660 argvlist = PyMem_NEW(char *, argc+1); in posix_spawnvp() 3747 argvlist = PyMem_NEW(char *, argc+1); in posix_spawnvpe() [all …]
|
D | clmodule.c | 71 self->ob_paramtypes = PyMem_NEW(int, bufferlength); in param_type_is_float() 325 PVbuffer = PyMem_NEW(int, length); in doParams() 492 PVbuffer = PyMem_NEW(int, bufferlength); in clm_QueryParams() 753 PVbuffer = PyMem_NEW(int, bufferlength); in cl_QueryAlgorithms()
|
D | threadmodule.c | 678 boot = PyMem_NEW(struct bootstate, 1); in thread_PyThread_start_new_thread()
|
/external/python/cpython2/Include/ |
D | pymem.h | 95 #define PyMem_NEW(type, n) \ macro
|
/external/python/cpython3/PC/ |
D | winreg.c | 551 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, 1); in Py2Reg() 569 *retDataBuf = (BYTE *)PyMem_NEW(DWORD64, 1); in Py2Reg() 599 *retDataBuf = (BYTE *)PyMem_NEW(wchar_t, 1); in Py2Reg() 638 *retDataBuf = (BYTE *)PyMem_NEW(char, in Py2Reg() 685 *retDataBuf = (BYTE *)PyMem_NEW(char, view.len); in Py2Reg()
|
/external/python/cpython3/Include/ |
D | pymem.h | 144 #define PyMem_NEW(type, n) \ macro
|
/external/python/cpython3/Objects/stringlib/ |
D | join.h | 43 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()
|
/external/python/cpython2/PC/ |
D | _winreg.c | 758 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, 1); in Py2Reg() 795 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, *retDataSize); in Py2Reg() 848 *retDataBuf = (BYTE *)PyMem_NEW(char, in Py2Reg() 903 *retDataBuf = (BYTE *)PyMem_NEW(char, *retDataSize); in Py2Reg()
|
/external/python/cpython3/Python/ |
D | getargs.c | 331 freelist.entries = PyMem_NEW(freelistentry_t, max); in vgetargs1_impl() 1189 *buffer = PyMem_NEW(char, size + 1); in convertsimple() 1233 *buffer = PyMem_NEW(char, size + 1); in convertsimple() 1648 freelist.entries = PyMem_NEW(freelistentry_t, len); in vgetargskeywords() 2066 freelist.entries = PyMem_NEW(freelistentry_t, len); in vgetargskeywordsfast_impl()
|
/external/python/cpython3/Modules/ |
D | selectmodule.c | 235 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select() 236 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select() 237 efd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select() 1091 fds = PyMem_NEW(struct pollfd, limit.rlim_cur); in newDevPollObject()
|
D | unicodedata.c | 511 output = PyMem_NEW(Py_UCS4, space); in nfd_nfkd() 658 output = PyMem_NEW(Py_UCS4, len); in nfc_nfkc()
|
D | _threadmodule.c | 1051 boot = PyMem_NEW(struct bootstate, 1); in thread_PyThread_start_new_thread()
|
/external/python/cpython3/Objects/ |
D | structseq.c | 358 members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); in PyStructSequence_InitType2()
|
D | codeobject.c | 158 cell2arg = PyMem_NEW(Py_ssize_t, n_cellvars); in PyCode_New()
|
/external/python/cpython2/Objects/ |
D | structseq.c | 504 members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); in PyStructSequence_InitType()
|
/external/python/cpython2/Python/ |
D | getargs.c | 1133 *buffer = PyMem_NEW(char, size + 1); in convertsimple() 1181 *buffer = PyMem_NEW(char, size + 1); in convertsimple()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b3.rst | 124 PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been
|
/external/python/cpython2/Mac/Modules/ |
D | Nav.c | 150 if ( (defaultLocation_storage = PyMem_NEW(AEDesc, 1)) == NULL ) { in filldialogoptions()
|