Home
last modified time | relevance | path

Searched refs:progpath (Results 1 – 25 of 35) 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.c117 static char progpath[MAXPATHLEN+1]; variable
393 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
394 progpath[MAXPATHLEN] = '\0' /* In case of no NUL-termination. */; in calculate_path()
455 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
467 else if(0 == _NSGetExecutablePath(progpath, &nsexeclength) && progpath[0] == SEP) in calculate_path()
478 strncpy(progpath, path, len); in calculate_path()
479 *(progpath + len) = '\0'; in calculate_path()
482 strncpy(progpath, path, MAXPATHLEN); in calculate_path()
484 joinpath(progpath, prog); in calculate_path()
485 if (isxfile(progpath)) 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/cpython3/Modules/
Dgetpath.c114 static wchar_t progpath[MAXPATHLEN+1]; variable
516 wcsncpy(progpath, prog, MAXPATHLEN); in calculate_path()
529 size_t r = mbstowcs(progpath, execpath, MAXPATHLEN+1); in calculate_path()
532 progpath[0] = '\0'; in calculate_path()
544 wcsncpy(progpath, path, len); in calculate_path()
545 *(progpath + len) = '\0'; in calculate_path()
548 wcsncpy(progpath, path, MAXPATHLEN); in calculate_path()
550 joinpath(progpath, prog); in calculate_path()
551 if (isxfile(progpath)) in calculate_path()
555 progpath[0] = L'\0'; in calculate_path()
[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/cpython3/PC/
Dgetpathp.c120 static wchar_t progpath[MAXPATHLEN+1]; variable
446 if (GetModuleFileNameW(NULL, progpath, MAXPATHLEN)) in get_progpath()
461 wcsncpy(progpath, prog, MAXPATHLEN); in get_progpath()
470 wcsncpy(progpath, path, len); in get_progpath()
471 *(progpath + len) = '\0'; in get_progpath()
474 wcsncpy(progpath, path, MAXPATHLEN); in get_progpath()
477 join(progpath, prog); in get_progpath()
478 if (exists(progpath)) in get_progpath()
482 progpath[0] = '\0'; in get_progpath()
489 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/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/libusb-compat/
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+"$@"}
632 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/external/google-tv-pairing-protocol/cpp/
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 …]
Dlibtool679 progpath="$0"
684 func_dirname_and_basename "$progpath"
691 case $progpath in
696 progpath="$progdir/$progname"
707 progpath="$progdir/$progname"
1005 }' < "$progpath"
1018 }' < "$progpath"
1041 }' < "$progpath"
1072 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
1126 $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
[all …]
/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/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/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/swiftshader/third_party/LLVM/autoconf/
Dltmain.sh34 progpath="$0"
37 progname=`echo "$progpath" | $SED $basename`
67 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
247 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
249 …-e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
430 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
433 …BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
466 ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
469 …### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
854 until $run ln "$progpath" "$lockfile" 2>/dev/null; do
[all …]
/external/cmockery/cmockery_0_1_2/
Dltmain.sh34 progpath="$0"
37 progname=`echo "$progpath" | $SED $basename`
67 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
247 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
249 …-e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
430 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
433 …BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
466 ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
469 …### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
854 until $run ln "$progpath" "$lockfile" 2>/dev/null; do
[all …]
Dlibtool386 progpath="$0"
389 progname=`echo "$progpath" | $SED $basename`
419 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
599 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
601 …-e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
782 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
785 …BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
818 ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
821 …### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
1206 until $run ln "$progpath" "$lockfile" 2>/dev/null; do
[all …]
/external/protobuf/
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/libxkbcommon/xkbcommon/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/vulkan-validation-layers/tests/gtest-1.7.0/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/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/protobuf/gtest/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/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 …]

12