Home
last modified time | relevance | path

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

/external/python/cpython3/PC/
Dwinreg.c544 Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) in Py2Reg() argument
551 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, 1); in Py2Reg()
552 if (*retDataBuf == NULL){ in Py2Reg()
559 memcpy(*retDataBuf, &zero, sizeof(DWORD)); in Py2Reg()
563 memcpy(*retDataBuf, &d, sizeof(DWORD)); in Py2Reg()
569 *retDataBuf = (BYTE *)PyMem_NEW(DWORD64, 1); in Py2Reg()
570 if (*retDataBuf == NULL){ in Py2Reg()
577 memcpy(*retDataBuf, &zero, sizeof(DWORD64)); in Py2Reg()
581 memcpy(*retDataBuf, &d, sizeof(DWORD64)); in Py2Reg()
591 *retDataBuf = (BYTE*)PyUnicode_AsWideCharString(value, &len); in Py2Reg()
[all …]
/external/python/cpython2/PC/
D_winreg.c751 Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) in Py2Reg() argument
758 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, 1); in Py2Reg()
759 if (*retDataBuf==NULL){ in Py2Reg()
766 memcpy(*retDataBuf, &zero, sizeof(DWORD)); in Py2Reg()
770 memcpy(*retDataBuf, &d, sizeof(DWORD)); in Py2Reg()
795 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, *retDataSize); in Py2Reg()
796 if (*retDataBuf==NULL){ in Py2Reg()
801 strcpy((char *)*retDataBuf, ""); in Py2Reg()
803 strcpy((char *)*retDataBuf, in Py2Reg()
848 *retDataBuf = (BYTE *)PyMem_NEW(char, in Py2Reg()
[all …]