Home
last modified time | relevance | path

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

/external/python/cpython2/PC/
Dgetpathp.c237 TCHAR *keyBufPtr; in getpythonregpath() local
243 keyBuf = keyBufPtr = malloc(sizeof(keyPrefix) + in getpythonregpath()
248 memcpy(keyBufPtr, keyPrefix, sizeof(keyPrefix)-sizeof(TCHAR)); in getpythonregpath()
249 keyBufPtr += sizeof(keyPrefix)/sizeof(TCHAR) - 1; in getpythonregpath()
250 memcpy(keyBufPtr, PyWin_DLLVersionString, versionLen * sizeof(TCHAR)); in getpythonregpath()
251 keyBufPtr += versionLen; in getpythonregpath()
253 memcpy(keyBufPtr, keySuffix, sizeof(keySuffix)); in getpythonregpath()
/external/python/cpython3/PC/
Dgetpathp.c369 WCHAR *keyBufPtr; in getpythonregpath() local
378 keyBuf = keyBufPtr = PyMem_RawMalloc(keyBufLen); in getpythonregpath()
383 memcpy_s(keyBufPtr, keyBufLen, keyPrefix, sizeof(keyPrefix)-sizeof(WCHAR)); in getpythonregpath()
384 keyBufPtr += Py_ARRAY_LENGTH(keyPrefix) - 1; in getpythonregpath()
385 mbstowcs(keyBufPtr, PyWin_DLLVersionString, versionLen); in getpythonregpath()
386 keyBufPtr += versionLen; in getpythonregpath()
388 memcpy(keyBufPtr, keySuffix, sizeof(keySuffix)); in getpythonregpath()