Lines Matching refs:tmpbuffer
712 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_argv0_path() local
713 int linklen = _Py_wreadlink(program_full_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
715 if (tmpbuffer[0] == SEP) { in calculate_argv0_path()
718 wcsncpy(calculate->argv0_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
723 joinpath(calculate->argv0_path, tmpbuffer); in calculate_argv0_path()
725 linklen = _Py_wreadlink(calculate->argv0_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
743 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_read_pyenv() local
747 wcscpy(tmpbuffer, calculate->argv0_path); in calculate_read_pyenv()
749 joinpath(tmpbuffer, env_cfg); in calculate_read_pyenv()
750 env_file = _Py_wfopen(tmpbuffer, L"r"); in calculate_read_pyenv()
754 reduce(tmpbuffer); in calculate_read_pyenv()
755 reduce(tmpbuffer); in calculate_read_pyenv()
756 joinpath(tmpbuffer, env_cfg); in calculate_read_pyenv()
758 env_file = _Py_wfopen(tmpbuffer, L"r"); in calculate_read_pyenv()
769 if (_Py_FindEnvConfigValue(env_file, L"home", tmpbuffer, MAXPATHLEN)) { in calculate_read_pyenv()
770 wcscpy(calculate->argv0_path, tmpbuffer); in calculate_read_pyenv()