Lines Matching refs:program_full_path

565     wchar_t program_full_path[MAXPATHLEN+1];  in calculate_program_full_path()  local
566 memset(program_full_path, 0, sizeof(program_full_path)); in calculate_program_full_path()
583 wcsncpy(program_full_path, core_config->program_name, MAXPATHLEN); in calculate_program_full_path()
604 wcsncpy(program_full_path, path, MAXPATHLEN); in calculate_program_full_path()
618 wcsncpy(program_full_path, path, len); in calculate_program_full_path()
619 program_full_path[len] = '\0'; in calculate_program_full_path()
622 wcsncpy(program_full_path, path, MAXPATHLEN); in calculate_program_full_path()
625 joinpath(program_full_path, core_config->program_name); in calculate_program_full_path()
626 if (isxfile(program_full_path)) { in calculate_program_full_path()
631 program_full_path[0] = L'\0'; in calculate_program_full_path()
638 program_full_path[0] = '\0'; in calculate_program_full_path()
640 if (program_full_path[0] != SEP && program_full_path[0] != '\0') { in calculate_program_full_path()
641 absolutize(program_full_path); in calculate_program_full_path()
649 if (program_full_path[0] != '\0') { in calculate_program_full_path()
650 add_exe_suffix(program_full_path); in calculate_program_full_path()
654 config->program_full_path = _PyMem_RawWcsdup(program_full_path); in calculate_program_full_path()
655 if (config->program_full_path == NULL) { in calculate_program_full_path()
663 calculate_argv0_path(PyCalculatePath *calculate, const wchar_t *program_full_path) in calculate_argv0_path() argument
665 wcsncpy(calculate->argv0_path, program_full_path, MAXPATHLEN); in calculate_argv0_path()
701 wcsncpy(calculate->argv0_path, program_full_path, MAXPATHLEN); in calculate_argv0_path()
713 int linklen = _Py_wreadlink(program_full_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
945 err = calculate_argv0_path(calculate, config->program_full_path); in calculate_path_impl()