Lines Matching refs:retDataSize
751 Py2Reg(PyObject *value, DWORD typ, BYTE **retDataBuf, DWORD *retDataSize) in Py2Reg() argument
763 *retDataSize = sizeof(DWORD); in Py2Reg()
778 *retDataSize = 1; in Py2Reg()
791 *retDataSize = 1 + strlen( in Py2Reg()
795 *retDataBuf = (BYTE *)PyMem_NEW(DWORD, *retDataSize); in Py2Reg()
847 *retDataSize = size + 1; in Py2Reg()
849 *retDataSize); in Py2Reg()
886 *retDataSize = 0; in Py2Reg()
899 *retDataSize = (*pb->bf_getreadbuffer)(value, 0, &src_buf); in Py2Reg()
900 if (*retDataSize < 0) { in Py2Reg()
903 *retDataBuf = (BYTE *)PyMem_NEW(char, *retDataSize); in Py2Reg()
908 memcpy(*retDataBuf, src_buf, *retDataSize); in Py2Reg()
917 Reg2Py(char *retDataBuf, DWORD retDataSize, DWORD typ) in Reg2Py() argument
923 if (retDataSize == 0) in Reg2Py()
933 if (retDataSize && retDataBuf[retDataSize-1] == '\0') in Reg2Py()
934 --retDataSize; in Reg2Py()
935 if (retDataSize ==0) in Reg2Py()
938 retDataSize, in Reg2Py()
942 if (retDataSize == 0) in Reg2Py()
947 int s = countStrings(retDataBuf, retDataSize); in Reg2Py()
952 fixupMultiSZ(str, retDataBuf, retDataSize); in Reg2Py()
984 if (retDataSize == 0) { in Reg2Py()
991 retDataSize); in Reg2Py()
1199 DWORD retDataSize, bufDataSize; in PyEnumValue() local
1211 &retValueSize, &retDataSize, NULL, NULL)) in PyEnumValue()
1216 ++retDataSize; in PyEnumValue()
1217 bufDataSize = retDataSize; in PyEnumValue()
1222 retDataBuf = (char *)PyMem_Malloc(retDataSize); in PyEnumValue()
1237 &retDataSize); in PyEnumValue()
1251 retDataSize = bufDataSize; in PyEnumValue()
1260 obData = Reg2Py(retDataBuf, retDataSize, typ); in PyEnumValue()