Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
Dsetprogname.c49 setprogname(const char *progname) in setprogname() argument
51 __progname = strrchr(progname, '/'); in setprogname()
53 __progname = progname; in setprogname()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dmkreal.py47 progname = os.path.basename(sys.argv[0])
48 if progname == '-c': progname = 'mkreal'
51 print 'usage:', progname, 'path ...'
56 print progname+':', name+':', 'not a symlink'
Dfixcid.py48 progname = sys.argv[0]
49 err('Usage: ' + progname +
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DcProfile.py183 progname = args[0]
184 sys.path.insert(0, os.path.dirname(progname))
185 with open(progname, 'rb') as fp:
186 code = compile(fp.read(), progname, 'exec')
188 '__file__': progname,
Dprofile.py603 progname = args[0]
604 sys.path.insert(0, os.path.dirname(progname))
605 with open(progname, 'rb') as fp:
606 code = compile(fp.read(), progname, 'exec')
608 '__file__': progname,
Dtrace.py798 progname = prog_argv[0]
799 sys.path[0] = os.path.split(progname)[0]
806 with open(progname) as fp:
807 code = compile(fp.read(), progname, 'exec')
810 '__file__': progname,
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlua.c90 static const char *progname = LUA_PROGNAME; variable
109 luai_writestringerror("%s: ", progname); in print_usage()
125 progname); in print_usage()
139 l_message(progname, msg); in report()
154 l_message(progname, msg); in finalreport()
305 const char *oldprogname = progname; in dotty()
306 progname = NULL; in dotty()
315 l_message(progname, lua_pushfstring(L, in dotty()
322 progname = oldprogname; in dotty()
444 if (argv[0] && argv[0][0]) progname = argv[0]; in pmain()
Dluac.c33 static const char* progname=PROGNAME; /* actual program name */ variable
37 fprintf(stderr,"%s: %s\n",progname,message); in fatal()
43 fprintf(stderr,"%s: cannot %s %s: %s\n",progname,what,output,strerror(errno)); in cannot()
50 fprintf(stderr,"%s: unrecognized option " LUA_QS "\n",progname,message); in usage()
52 fprintf(stderr,"%s: %s\n",progname,message); in usage()
63 ,progname,Output); in usage()
73 if (argv[0]!=NULL && *argv[0]!=0) progname=argv[0]; in doargs()
/device/generic/goldfish/libqemu/
Dtest_host_1.c126 char* progname; variable
130 printf("Usage: %s [options]\n\n", progname); in usage()
153 progname = argv[0]; in main()
155 progname = p+1; in main()
Dtest_guest_2.c32 char* progname; variable
36 printf("Usage: %s [options]\n\n", progname); in usage()
67 progname = argv[0]; in main()
69 progname = p+1; in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddynload_aix.c43 char *progname = Py_GetProgramName(); in aix_getoldmodules() local
71 if (strstr(progname, ldiptr->ldinfo_filename) == NULL && in aix_getoldmodules()
Dpythonrun.c657 static char *progname = "python"; variable
663 progname = pn; in Py_SetProgramName()
669 return progname; in Py_GetProgramName()
/device/linaro/bootloader/edk2/StdLib/Include/
Dstdlib.h894 void setprogname(const char *progname);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpythonrun.c670 static char *progname = "python"; variable
676 progname = pn; in Py_SetProgramName()
682 return progname; in Py_GetProgramName()