Home
last modified time | relevance | path

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

/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c192 long reqdSize = 0; in getpythonregpath() local
196 rc = RegQueryValue(newKey, keyBuf, NULL, &reqdSize); in getpythonregpath()
198 if (bWin32s && reqdSize==0) reqdSize = 512; in getpythonregpath()
199 dataSize += reqdSize + 1; /* 1 for the ";" */ in getpythonregpath()
208 long reqdSize = dataSize; in getpythonregpath() local
213 keyBuf, dataBuf+off, &reqdSize); in getpythonregpath()
215 if (reqdSize>1) { in getpythonregpath()
/external/python/cpython2/PC/
Dgetpathp.c276 DWORD reqdSize = MAX_PATH+1; in getpythonregpath() local
278 DWORD rc = RegEnumKeyEx(newKey, index, keyBuf, &reqdSize, in getpythonregpath()
289 RegQueryValueEx(subKey, NULL, 0, NULL, NULL, &reqdSize); in getpythonregpath()
290 if (reqdSize) { in getpythonregpath()
291 ppPaths[index] = malloc(reqdSize); in getpythonregpath()
295 &reqdSize); in getpythonregpath()
296 dataSize += reqdSize + 1; /* 1 for the ";" */ in getpythonregpath()
309 DWORD reqdSize = dataSize; in getpythonregpath() local
343 retval = (char *)malloc(reqdSize+1); in getpythonregpath()
347 retval, reqdSize+1, /* dest */ in getpythonregpath()
/external/python/cpython3/PC/
Dgetpathp.c419 DWORD reqdSize = MAX_PATH+1; in getpythonregpath() local
421 DWORD rc = RegEnumKeyExW(newKey, index, keyBuf, &reqdSize, in getpythonregpath()
436 RegQueryValueExW(subKey, NULL, 0, NULL, NULL, &reqdSize); in getpythonregpath()
437 if (reqdSize) { in getpythonregpath()
438 ppPaths[index] = PyMem_RawMalloc(reqdSize); in getpythonregpath()
442 &reqdSize); in getpythonregpath()
443 dataSize += reqdSize + 1; /* 1 for the ";" */ in getpythonregpath()