/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | setprogname.c | 45 setprogname(const char *argv0) argument 51 if(argv0 == NULL) 53 p = strrchr(argv0, '/'); 59 pb = strrchr((p != NULL)? p : argv0, '\\'); 66 p = argv0;
|
/freebsd-current/contrib/kyua/utils/cmdline/ |
H A D | globals.cpp | 53 /// \param argv0 The value of argv[0]; i.e. the program name. 58 cmdline::init(const char* argv0, const bool override_for_testing) argument 62 Progname = utils::fs::path(argv0).leaf_name();
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Main.h | 27 int TableGenMain(const char *argv0,
|
/freebsd-current/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Main.cpp | 80 static int createDependencyFile(const TGParser &Parser, const char *argv0) { argument 82 return reportError(argv0, "the option -d must be used together with -o\n"); 87 return reportError(argv0, "error opening " + DependFilename + ":" + 98 int llvm::TableGenMain(const char *argv0, argument 111 return reportError(argv0, "Could not open input file '" + InputFilename + 150 if (int Ret = createDependencyFile(Parser, argv0)) 169 return reportError(argv0, "error opening " + OutputFilename + ": " + 180 return reportError(argv0, Twine(ErrorsPrinted) + " errors.\n");
|
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-link/ |
H A D | llvm-link.cpp | 137 static std::unique_ptr<Module> loadFile(const char *argv0, argument 152 Err.print(argv0, errs()); 247 std::function<std::unique_ptr<Module>(const char *argv0, 254 const char *argv0, const std::string &FileName)> 259 Module &operator()(const char *argv0, const std::string &FileName); 271 Module &ModuleLazyLoaderCache::operator()(const char *argv0, argument 275 Module = createLazyModule(argv0, Identifier); 309 static bool importFunctions(const char *argv0, Module &DestModule) { argument 318 auto ModuleLoader = [&DestModule](const char *argv0, 322 return loadFile(argv0, st 253 ModuleLazyLoaderCache(std::function<std::unique_ptr<Module>( const char *argv0, const std::string &FileName)> createLazyModule) argument 382 linkFiles(const char *argv0, LLVMContext &Context, Linker &L, const cl::list<std::string> &Files, unsigned Flags) argument [all...] |
/freebsd-current/crypto/openssh/ |
H A D | log.c | 60 static const char *argv0; variable 201 argv0 = av0; 268 openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); 271 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); 280 if (argv0 == NULL) 349 const char *progname = argv0 != NULL ? argv0 : __progname;
|
/freebsd-current/crypto/heimdal/appl/login/ |
H A D | login.c | 52 char *prog, *argv0; local 56 argv0 = strrchr(prog, '/'); 58 if(argv0) 59 argv0++; 61 argv0 = prog; 63 return simple_execle(prog, argv0, NULL, env); 69 char *prog, *argv0; local 75 argv0 = strrchr(prog, '/'); 77 if(argv0) 78 argv0 [all...] |
/freebsd-current/usr.sbin/autofs/ |
H A D | popen.c | 74 auto_popen(const char *argv0, ...) argument 94 argv[0] = checked_strdup(argv0); 97 va_start(ap, argv0);
|
H A D | common.h | 103 FILE *auto_popen(const char *argv0, ...);
|
/freebsd-current/contrib/ofed/libibverbs/examples/ |
H A D | asyncwatch.c | 78 static void usage(const char *argv0) argument 81 printf(" %s start an asyncwatch process\n", argv0);
|
/freebsd-current/bin/pax/ |
H A D | tty_subs.c | 146 (void)fprintf(stderr, "%s: ", argv0); 174 (void)fprintf(stderr, "%s: ", argv0);
|
H A D | ar_io.c | 315 argv0); 382 argv0, (uintmax_t)rdcnt); 388 if (strcmp(NM_CPIO, argv0) == 0) 391 else if (strcmp(NM_TAR, argv0) != 0) 394 argv0, frmt->name, arvol-1, (uintmax_t)flcnt, 488 rdblksz, argv0); 1110 if (done || !wr_trail || Oflag || strcmp(NM_TAR, argv0) == 0) 1113 tty_prnt("\nATTENTION! %s archive volume change required.\n", argv0); 1138 argv0); 1146 tty_prnt("Quitting %s!\n", argv0); [all...] |
H A D | options.c | 151 if ((argv0 = strrchr(argv[0], '/')) != NULL) 152 argv0++; 154 argv0 = argv[0]; 156 if (strcmp(NM_TAR, argv0) == 0) { 160 else if (strcmp(NM_CPIO, argv0) == 0) { 167 argv0 = NM_PAX; 1280 (void)fprintf(stderr,"%s: Invalid combination of options:", argv0);
|
H A D | pax.c | 89 const char *argv0; /* root of argv[0] */ variable
|
/freebsd-current/contrib/googletest/googlemock/src/ |
H A D | gmock.cc | 219 char* argv0 = const_cast<char*>(arg0); local 220 char** argv = &argv0;
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.c | 44 char *ssh_get_progname(char *argv0) argument 52 if (argv0 == NULL) 54 p = strrchr(argv0, '/'); 56 p = argv0;
|
/freebsd-current/contrib/llvm-project/lld/MachO/ |
H A D | Driver.h | 32 void printHelp(const char *argv0, bool showHidden) const;
|
/freebsd-current/tools/tools/ifinfo/ |
H A D | ifinfo.c | 54 usage(const char *argv0) argument 56 fprintf(stderr, "%s: usage:\n\t%s [-l]\n", argv0, argv0);
|
/freebsd-current/contrib/atf/atf-c++/ |
H A D | tests.cpp | 123 set_program_name(const char* argv0) argument 125 const std::string program_name = atf::fs::path(argv0).leaf_name(); 431 handle_srcdir(const char* argv0, const std::string& srcdir_arg) argument 436 srcdir = atf::fs::path(argv0).branch_path(); 559 const char* argv0 = argv[0]; local 608 vars["srcdir"] = handle_srcdir(argv0, srcdir_arg).str();
|
/freebsd-current/contrib/atf/atf-c/detail/ |
H A D | tp_main.c | 148 argv0_to_dir(const char *argv0, atf_fs_path_t *dir) argument 153 err = atf_fs_path_init_fmt(&temp, "%s", argv0); 166 params_init(struct params *p, const char *argv0) argument 174 err = argv0_to_dir(argv0, &p->m_srcdir);
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | opt.c | 66 char *opt_progname(const char *argv0) argument 72 p = opt_path_end(argv0); 104 char *opt_progname(const char *argv0) argument 109 p = opt_path_end(argv0); 134 char *opt_progname(const char *argv0) argument 138 p = opt_path_end(argv0); 146 char *opt_appname(const char *argv0) argument 150 if (argv0 != NULL) 151 BIO_snprintf(prog + len, sizeof(prog) - len - 1, " %s", argv0);
|
/freebsd-current/crypto/openssl/apps/include/ |
H A D | opt.h | 358 char *opt_progname(const char *argv0); 359 char *opt_appname(const char *argv0);
|
/freebsd-current/usr.bin/dtc/ |
H A D | dtc.cc | 69 void usage(const string &argv0) argument 78 "\t\t-W [no-]checker_name] input_file\n", basename(argv0).c_str());
|
/freebsd-current/contrib/llvm-project/lld/COFF/ |
H A D | Driver.h | 87 void addClangLibSearchPaths(const std::string &argv0); 212 void printHelp(const char *argv0);
|
/freebsd-current/contrib/llvm-project/llvm/tools/llc/ |
H A D | llc.cpp | 420 static bool addPass(PassManagerBase &PM, const char *argv0, argument 428 WithColor::error(errs(), argv0) 437 WithColor::error(errs(), argv0) 678 const char *argv0 = argv[0]; local 708 if (addPass(PM, argv0, RunPassName, TPC))
|