• Home
  • Raw
  • Download

Lines Matching refs:exec_prefix

108 static char exec_prefix[MAXPATHLEN+1];  variable
313 strncpy(exec_prefix, delim+1, MAXPATHLEN); in search_for_exec_prefix()
315 strncpy(exec_prefix, home, MAXPATHLEN); in search_for_exec_prefix()
316 joinpath(exec_prefix, lib_python); in search_for_exec_prefix()
317 joinpath(exec_prefix, "lib-dynload"); in search_for_exec_prefix()
324 strcpy(exec_prefix, argv0_path); in search_for_exec_prefix()
325 joinpath(exec_prefix, "pybuilddir.txt"); in search_for_exec_prefix()
326 if (isfile(exec_prefix)) { in search_for_exec_prefix()
327 FILE *f = fopen(exec_prefix, "r"); in search_for_exec_prefix()
336 strcpy(exec_prefix, argv0_path); in search_for_exec_prefix()
337 joinpath(exec_prefix, rel_builddir_path); in search_for_exec_prefix()
343 copy_absolute(exec_prefix, argv0_path); in search_for_exec_prefix()
345 n = strlen(exec_prefix); in search_for_exec_prefix()
346 joinpath(exec_prefix, lib_python); in search_for_exec_prefix()
347 joinpath(exec_prefix, "lib-dynload"); in search_for_exec_prefix()
348 if (isdir(exec_prefix)) in search_for_exec_prefix()
350 exec_prefix[n] = '\0'; in search_for_exec_prefix()
351 reduce(exec_prefix); in search_for_exec_prefix()
352 } while (exec_prefix[0]); in search_for_exec_prefix()
355 strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN); in search_for_exec_prefix()
356 joinpath(exec_prefix, lib_python); in search_for_exec_prefix()
357 joinpath(exec_prefix, "lib-dynload"); in search_for_exec_prefix()
358 if (isdir(exec_prefix)) in search_for_exec_prefix()
536 strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN); in calculate_path()
537 joinpath(exec_prefix, "lib/lib-dynload"); in calculate_path()
574 bufsz += strlen(exec_prefix) + 1; in calculate_path()
632 strcat(buf, exec_prefix); in calculate_path()
656 reduce(exec_prefix); in calculate_path()
657 reduce(exec_prefix); in calculate_path()
658 reduce(exec_prefix); in calculate_path()
659 if (!exec_prefix[0]) in calculate_path()
660 strcpy(exec_prefix, separator); in calculate_path()
663 strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN); in calculate_path()
690 return exec_prefix; in Py_GetExecPrefix()