/external/python/cpython3/Modules/ |
getpath.c | 565 wchar_t program_full_path[MAXPATHLEN+1]; local 566 memset(program_full_path, 0, sizeof(program_full_path)); 583 wcsncpy(program_full_path, core_config->program_name, MAXPATHLEN); 604 wcsncpy(program_full_path, path, MAXPATHLEN); 618 wcsncpy(program_full_path, path, len); 619 program_full_path[len] = '\0'; 622 wcsncpy(program_full_path, path, MAXPATHLEN); 625 joinpath(program_full_path, core_config->program_name); 626 if (isxfile(program_full_path)) { [all...] |
main.c | 1215 const wchar_t *program_full_path = _Py_path_config.program_full_path; local [all...] |
/external/python/cpython3/Python/ |
pathconfig.c | 32 CLEAR(config->program_full_path); 63 /* Calculate program_full_path, prefix, exec_prefix (Unix) 144 new_config.program_full_path = _PyMem_RawWcsdup(Py_GetProgramName()); 209 _Py_SetProgramFullPath(const wchar_t *program_full_path) 211 if (program_full_path == NULL || program_full_path[0] == L'\0') { 218 PyMem_RawFree(_Py_path_config.program_full_path); 219 _Py_path_config.program_full_path = _PyMem_RawWcsdup(program_full_path); 223 if (_Py_path_config.program_full_path == NULL) [all...] |
/external/python/cpython3/Include/internal/ |
pystate.h | 42 wchar_t *program_full_path; member in struct:__anon37086
|
/external/python/cpython3/PC/ |
getpathp.c | 540 wchar_t program_full_path[MAXPATHLEN+1]; local 541 memset(program_full_path, 0, sizeof(program_full_path)); 547 wcscpy_s(program_full_path, MAXPATHLEN+1, pyvenv_launcher); 548 } else if (!GetModuleFileNameW(NULL, program_full_path, MAXPATHLEN)) { 553 config->program_full_path = PyMem_RawMalloc( 556 return canonicalize(config->program_full_path, 557 program_full_path); 677 if (config->program_full_path[0]) { 678 if (!change_ext(spbuffer, config->program_full_path, L"._pth") & [all...] |