Searched refs:progpath (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
D | getpath.c | 88 static char progpath[MAXPATHLEN+1]; variable 421 strncpy(progpath, prog, MAXPATHLEN); in calculate_path() 430 strncpy(progpath, path, len); in calculate_path() 431 *(progpath + len) = '\0'; in calculate_path() 434 strncpy(progpath, path, MAXPATHLEN); in calculate_path() 436 joinpath(progpath, prog); in calculate_path() 437 if (isxfile(progpath)) in calculate_path() 441 progpath[0] = '\0'; in calculate_path() 448 progpath[0] = '\0'; in calculate_path() 449 if ( (!is_absolute(progpath)) && (progpath[0] != '\0') ) in calculate_path() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | getpath.c | 130 static char progpath[MAXPATHLEN+1]; variable 406 strncpy(progpath, prog, MAXPATHLEN); in calculate_path() 418 else if(0 == _NSGetExecutablePath(progpath, &nsexeclength) && progpath[0] == SEP) in calculate_path() 429 strncpy(progpath, path, len); in calculate_path() 430 *(progpath + len) = '\0'; in calculate_path() 433 strncpy(progpath, path, MAXPATHLEN); in calculate_path() 435 joinpath(progpath, prog); in calculate_path() 436 if (isxfile(progpath)) in calculate_path() 440 progpath[0] = '\0'; in calculate_path() 447 progpath[0] = '\0'; in calculate_path() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/ |
D | getpath.c | 82 static char progpath[MAXPATHLEN+1]; variable 490 strncpy(progpath, prog, MAXPATHLEN); in calculate_path() 499 strncpy(progpath, path, len); in calculate_path() 500 *(progpath + len) = '\0'; in calculate_path() 503 strncpy(progpath, path, MAXPATHLEN); in calculate_path() 505 joinpath(progpath, prog); in calculate_path() 506 if (isxfile(progpath)) in calculate_path() 510 progpath[0] = '\0'; in calculate_path() 517 progpath[0] = '\0'; in calculate_path() 518 if ( (!is_absolute(progpath)) && (progpath[0] != '\0') ) in calculate_path() [all …]
|