Home
last modified time | relevance | path

Searched refs:versionLen (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c159 int versionLen; in getpythonregpath() local
163 versionLen = strlen(PyWin_DLLVersionString); in getpythonregpath()
166 … keyBuf = alloca(sizeof(keyPrefix)-1 + versionLen + sizeof(keySuffix)); // chars only, plus 1 NULL. in getpythonregpath()
169 memcpy(keyBuf+sizeof(keyPrefix)-1, PyWin_DLLVersionString, versionLen); in getpythonregpath()
170 …memcpy(keyBuf+sizeof(keyPrefix)-1+versionLen, keySuffix, sizeof(keySuffix)); // NULL comes with th… in getpythonregpath()
/external/python/cpython2/PC/
Dgetpathp.c234 size_t versionLen; in getpythonregpath() local
241 versionLen = _tcslen(PyWin_DLLVersionString); in getpythonregpath()
244 sizeof(TCHAR)*(versionLen-1) + in getpythonregpath()
250 memcpy(keyBufPtr, PyWin_DLLVersionString, versionLen * sizeof(TCHAR)); in getpythonregpath()
251 keyBufPtr += versionLen; in getpythonregpath()
/external/python/cpython3/PC/
Dgetpathp.c366 size_t versionLen, keyBufLen; in getpythonregpath() local
373 versionLen = strlen(PyWin_DLLVersionString); in getpythonregpath()
376 sizeof(WCHAR)*(versionLen-1) + in getpythonregpath()
385 mbstowcs(keyBufPtr, PyWin_DLLVersionString, versionLen); in getpythonregpath()
386 keyBufPtr += versionLen; in getpythonregpath()