Lines Matching refs:path_env
127 wchar_t *path_env; /* PATH environment variable */ member
882 calculate_which(const wchar_t *path_env, wchar_t *program_name, in calculate_which() argument
886 wchar_t *delim = wcschr(path_env, DELIM); in calculate_which()
890 wchar_t *path = substring(path_env, delim - path_env); in calculate_which()
898 abs_path = joinpath2(path_env, program_name); in calculate_which()
914 path_env = delim + 1; in calculate_which()
988 if (calculate->path_env) { in calculate_program_impl()
990 status = calculate_which(calculate->path_env, pathconfig->program_name, in calculate_program_impl()
1440 calculate->path_env = Py_DecodeLocale(path, &len); in calculate_init()
1441 if (!calculate->path_env) { in calculate_init()
1487 PyMem_RawFree(calculate->path_env); in calculate_free()