Home
last modified time | relevance | path

Searched refs:progpath (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython2/PC/os2emx/
Dgetpathp.c83 static char progpath[MAXPATHLEN+1]; variable
207 (DosQueryModuleName(pib->pib_hmte, sizeof(progpath), progpath) == 0)) in get_progpath()
223 strncpy(progpath, prog, MAXPATHLEN); in get_progpath()
236 strncpy(progpath, path, len); in get_progpath()
237 *(progpath + len) = '\0'; in get_progpath()
240 strncpy(progpath, path, MAXPATHLEN); in get_progpath()
243 join(progpath, prog); in get_progpath()
244 if (exists(progpath)) in get_progpath()
248 progpath[0] = '\0'; in get_progpath()
255 progpath[0] = '\0'; in get_progpath()
[all …]
/external/python/cpython2/Modules/
Dgetpath.c110 static char progpath[MAXPATHLEN+1]; variable
403 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
415 else if(0 == _NSGetExecutablePath(progpath, &nsexeclength) && progpath[0] == SEP) in calculate_path()
426 strncpy(progpath, path, len); in calculate_path()
427 *(progpath + len) = '\0'; in calculate_path()
430 strncpy(progpath, path, MAXPATHLEN); in calculate_path()
432 joinpath(progpath, prog); in calculate_path()
433 if (isxfile(progpath)) in calculate_path()
437 progpath[0] = '\0'; in calculate_path()
444 progpath[0] = '\0'; in calculate_path()
[all …]
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c53 static char progpath[MAXPATHLEN+1]; variable
252 if (GetModuleFileName(NULL, progpath, MAXPATHLEN)) in get_progpath()
268 strcpy(progpath, prog); in get_progpath()
275 strncpy(progpath, path, len); in get_progpath()
276 *(progpath + len) = '\0'; in get_progpath()
279 strcpy(progpath, path); in get_progpath()
281 join(progpath, prog); in get_progpath()
282 if (exists(progpath)) in get_progpath()
286 progpath[0] = '\0'; in get_progpath()
293 progpath[0] = '\0'; in get_progpath()
[all …]
/external/python/cpython2/PC/
Dgetpathp.c89 static char progpath[MAXPATHLEN+1]; variable
401 progpath, MAXPATHLEN+1, in get_progpath()
414 if (GetModuleFileName(NULL, progpath, MAXPATHLEN)) in get_progpath()
431 strncpy(progpath, prog, MAXPATHLEN); in get_progpath()
440 strncpy(progpath, path, len); in get_progpath()
441 *(progpath + len) = '\0'; in get_progpath()
444 strncpy(progpath, path, MAXPATHLEN); in get_progpath()
447 join(progpath, prog); in get_progpath()
448 if (exists(progpath)) in get_progpath()
452 progpath[0] = '\0'; in get_progpath()
[all …]
/external/python/cpython2/RISCOS/Modules/
Dgetpath_riscos.c4 static char *prefix, *exec_prefix, *progpath, *module_search_path=NULL; variable
25 progpath = Py_GetProgramName(); in calculate_path()
59 return progpath; in Py_GetProgramFullPath()
/external/libnetfilter_conntrack/
Dltmain.sh178 progpath="$0"
183 func_dirname_and_basename "$progpath"
190 case $progpath in
195 progpath="$progdir/$progname"
206 progpath="$progdir/$progname"
504 }' < "$progpath"
517 }' < "$progpath"
540 }' < "$progpath"
571 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
625 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/external/google-breakpad/autotools/
Dltmain.sh178 progpath="$0"
183 func_dirname_and_basename "$progpath"
190 case $progpath in
195 progpath="$progdir/$progname"
206 progpath="$progdir/$progname"
504 }' < "$progpath"
517 }' < "$progpath"
540 }' < "$progpath"
571 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
625 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/external/libnfnetlink/
Dltmain.sh178 progpath="$0"
183 func_dirname_and_basename "$progpath"
190 case $progpath in
195 progpath="$progdir/$progname"
206 progpath="$progdir/$progname"
504 }' < "$progpath"
517 }' < "$progpath"
540 }' < "$progpath"
571 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
625 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/external/libogg/
Dltmain.sh178 progpath="$0"
183 func_dirname_and_basename "$progpath"
190 case $progpath in
195 progpath="$progdir/$progname"
206 progpath="$progdir/$progname"
504 }' < "$progpath"
517 }' < "$progpath"
540 }' < "$progpath"
571 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
625 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/external/python/cpython3/Modules/
Dgetpath.c417 wchar_t *progpath = *progpath_p; in add_exe_suffix() local
420 size_t n = wcslen(progpath); in add_exe_suffix()
422 if (wcsncasecmp(EXE_SUFFIX, progpath + n - s, s) == 0) { in add_exe_suffix()
431 memcpy(progpath2, progpath, n * sizeof(wchar_t)); in add_exe_suffix()
/external/libcap-ng/libcap-ng-0.7/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/lmfit/build-aux/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/libnfnetlink/build-aux/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/llvm-project/polly/lib/External/ppcg/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/speex/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/libexif/
Dltmain.sh136 progpath="$0"
380 func_dirname_and_basename "$progpath"
384 case $progpath in
389 progpath="$progdir/$progname"
400 progpath="$progdir/$progname"
738 }' < "$progpath"
753 }' < "$progpath"
784 ' < "$progpath"
915 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
919 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/libnetfilter_conntrack/build-aux/
Dltmain.sh134 progpath="$0"
373 func_dirname_and_basename "$progpath"
377 case $progpath in
382 progpath="$progdir/$progname"
393 progpath="$progdir/$progname"
731 }' < "$progpath"
746 }' < "$progpath"
777 ' < "$progpath"
908 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
912 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/curl/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
2005 /^Written by/q' < "$progpath"
2038 /^warranty; /q' < "$progpath"
2215 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2219 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/
Dltmain.sh298 progpath=$0
301 progname=`$bs_echo "$progpath" |$SED "$sed_basename"`
304 case $progpath in
307 progdir=`$bs_echo "$progpath" |$SED "$sed_dirname"`
309 progpath=$progdir/$progname
320 progpath=$progdir/$progname
1838 /^Written by/q' < "$progpath"
1871 /^warranty; /q' < "$progpath"
2041 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2045 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/llvm-project/polly/lib/External/isl/interface/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
1932 /^Written by/q' < "$progpath"
1965 /^warranty; /q' < "$progpath"
2142 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2146 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/libpng/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
1932 /^Written by/q' < "$progpath"
1965 /^warranty; /q' < "$progpath"
2142 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2146 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/llvm-project/polly/lib/External/isl/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
1932 /^Written by/q' < "$progpath"
1965 /^warranty; /q' < "$progpath"
2142 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2146 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/libevent/build-aux/
Dltmain.sh416 progpath=$0
419 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
422 case $progpath in
425 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
427 progpath=$progdir/$progname
438 progpath=$progdir/$progname
2118 /^Written by/q' < "$progpath"
2164 p; q' < "$progpath"
2341 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2345 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/ImageMagick/config/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
1932 /^Written by/q' < "$progpath"
1965 /^warranty; /q' < "$progpath"
2142 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2146 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/e2fsprogs/config/
Dltmain.sh408 progpath=$0
411 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
414 case $progpath in
417 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
419 progpath=$progdir/$progname
430 progpath=$progdir/$progname
2005 /^Written by/q' < "$progpath"
2038 /^warranty; /q' < "$progpath"
2215 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2219 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]

12