Home
last modified time | relevance | path

Searched refs:progpath (Results 1 – 25 of 26) 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/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/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/python/cpython3/Modules/
Dgetpath.c416 wchar_t *progpath = *progpath_p; in add_exe_suffix() local
419 size_t n = wcslen(progpath); in add_exe_suffix()
421 if (wcsncasecmp(EXE_SUFFIX, progpath + n - s, s) == 0) { in add_exe_suffix()
430 memcpy(progpath2, progpath, n * sizeof(wchar_t)); in add_exe_suffix()
/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/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/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/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/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/libconfig/aux-build/
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.sh451 progpath=$0
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
462 progpath=$progdir/$progname
473 progpath=$progdir/$progname
2159 /^Written by/q' < "$progpath"
2205 p; q' < "$progpath"
2382 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2386 … $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/sg3_utils/
Dltmain.sh451 progpath=$0
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
462 progpath=$progdir/$progname
473 progpath=$progdir/$progname
2159 /^Written by/q' < "$progpath"
2205 p; q' < "$progpath"
2382 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2386 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/pcre/
Dltmain.sh451 progpath=$0
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
462 progpath=$progdir/$progname
473 progpath=$progdir/$progname
2157 /^Written by/q' < "$progpath"
2203 p; q' < "$progpath"
2380 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2384 … $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 …]
/external/libpng/
Dltmain.sh451 progpath=$0
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
462 progpath=$progdir/$progname
473 progpath=$progdir/$progname
2157 /^Written by/q' < "$progpath"
2203 p; q' < "$progpath"
2380 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2384 … $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/speex/
Dltmain.sh451 progpath=$0
454 progname=`$ECHO "$progpath" |$SED "$sed_basename"`
457 case $progpath in
460 progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
462 progpath=$progdir/$progname
473 progpath=$progdir/$progname
2159 /^Written by/q' < "$progpath"
2205 p; q' < "$progpath"
2382 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
2386 … $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
[all …]
/external/iperf3/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 …]

12