/external/oprofile/libpopt/ |
findme.h | 14 * @param argv0 name of executable 17 /*@null@*/ const char * findProgramPath(/*@null@*/ const char * argv0)
|
findme.c | 13 const char * findProgramPath(const char * argv0) 20 if (argv0 == NULL) return NULL; /* XXX can't happen */ 22 if (strchr(argv0, '/')) 23 return xstrdup(argv0); 28 buf = malloc(strlen(path) + strlen(argv0) + sizeof("/")); 37 sprintf(buf, "%s/%s", start, argv0);
|
/external/llvm/include/llvm/TableGen/ |
Main.h | 22 int TableGenMain(char *argv0, TableGenAction &Action);
|
/external/llvm/lib/TableGen/ |
Main.cpp | 50 int TableGenMain(char *argv0, TableGenAction &Action) { 78 errs() << argv0 << ": error opening " << OutputFilename 84 errs() << argv0 << ": the option -d must be used together with -o\n"; 89 errs() << argv0 << ": error opening " << DependFilename 118 errs() << argv0 << ": Unknown unexpected exception occurred.\n";
|
/frameworks/base/cmds/app_process/ |
app_main.cpp | 124 * sets argv0 to as much of newArgv0 as will fit 126 static void setArgv0(const char *argv0, const char *newArgv0) 128 strlcpy(const_cast<char *>(argv0), newArgv0, strlen(argv0)); 144 const char* argv0 = argv[0]; local 182 setArgv0(argv0, niceName);
|
/external/v8/test/mjsunit/ |
arguments.js | 57 function argv0() { function 70 assertEquals(7, argv0(7)); 71 assertEquals(7, argv0(7, 8)); 72 assertEquals(7, argv0(7, 8, 9)); 81 assertEquals(8, argv0(7, 8)); 82 assertEquals(8, argv0(7, 8)); 89 assertEquals(9, argv0(7, 8, 9));
|
/external/qemu/ |
qemu-error.h | 37 void error_set_progname(const char *argv0);
|
qemu-error.c | 154 void error_set_progname(const char *argv0) 156 const char *p = strrchr(argv0, '/'); 157 progname = p ? p + 1 : argv0;
|
os-posix.c | 95 char *os_find_datadir(const char *argv0) 128 p = realpath(argv0, buf);
|
/dalvik/dvz/ |
dvz.cpp | 85 static void usage(const char *argv0) { 87 "\t[additional zygote args] fully.qualified.java.ClassName [args]\n", argv0);
|
/external/bluetooth/glib/tests/ |
child-test.c | 51 char *argv0; variable 70 if (!CreateProcess (argv0, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) 153 argv0 = argv[0];
|
mapping-test.c | 168 test_child_private (gchar *argv0) 185 child_argv[0] = argv0;
|
/external/dropbear/ |
scpmisc.c | 204 char *ssh_get_progname(char *argv0) 208 if (argv0 == NULL) 210 p = strrchr(argv0, '/'); 212 p = argv0;
|
/external/chromium/net/tools/dnssec_chain_verify/ |
dnssec_chain_verify.cc | 13 static int usage(const char* argv0) { 15 "<input file>\n", argv0);
|
/external/iproute2/ip/ |
ip.c | 84 static int do_cmd(const char *argv0, int argc, char **argv) 89 if (matches(argv0, c->cmd) == 0) 93 fprintf(stderr, "Object \"%s\" is unknown, try \"ip help\".\n", argv0);
|
/external/chromium/sdch/open-vcdiff/src/ |
gflags_reporting.cc | 268 static void ShowUsageWithFlagsMatching(const char *argv0, 270 fprintf(stdout, "%s: %s\n", Basename(argv0), ProgramUsage()); 304 void ShowUsageWithFlagsRestrict(const char *argv0, const char *restrict) { 309 ShowUsageWithFlagsMatching(argv0, substrings); 312 void ShowUsageWithFlags(const char *argv0) { 313 ShowUsageWithFlagsRestrict(argv0, "");
|
gflags.cc | 1439 static const char* argv0 = "UNKNOWN"; \/\/ just the program name member in namespace:google [all...] |
/external/llvm/tools/llvm-link/ |
llvm-link.cpp | 55 static inline std::auto_ptr<Module> LoadFile(const char *argv0, 72 Err.print(argv0, errs());
|
/external/valgrind/main/cachegrind/ |
cg_merge.c | 114 static char* argv0 = "cg_merge"; variable 128 fprintf(stderr, "%s: near %s line %u\n", argv0, s->filename, s->lno-1); 134 fprintf(stderr, "%s: out of memory in %s\n", argv0, who ); 142 fprintf(stderr, "%s: parse error: %s\n", argv0, msg ); 150 fprintf(stderr, "%s: %s\n", argv0, msg ); 178 perror(argv0); 842 argv0); 844 argv0, argv0); 859 argv0 = argv[0] [all...] |
/external/chromium/net/base/ |
ssl_false_start_blacklist_process.cc | 25 usage(const char* argv0) { 26 fprintf(stderr, "Usage: %s <blacklist file> <output .c file>\n", argv0);
|
/external/chromium/sdch/open-vcdiff/src/gflags/ |
gflags.h | 177 extern void ShowUsageWithFlags(const char *argv0); // what --help does 178 extern void ShowUsageWithFlagsRestrict(const char *argv0, const char *restrict); 190 extern const char* GetArgv0(); // only argv0 192 extern const char* ProgramInvocationName(); // argv0, or "UNKNOWN" if not set 193 extern const char* ProgramInvocationShortName(); // basename(argv0)
|
/external/ipsec-tools/src/racoon/ |
plainrsa-gen.c | 67 usage (char *argv0) 72 fprintf(stderr, "Usage: %s [options]\n", argv0);
|
/hardware/ril/rild/ |
rild.c | 42 static void usage(const char *argv0) 44 fprintf(stderr, "Usage: %s -l <ril impl library> [-- <args for impl library>]\n", argv0);
|
/system/bluetooth/brcm_patchram_plus/ |
brcm_patchram_plus.c | 396 usage(char *argv0) 398 printf("Usage %s:\n", argv0);
|
/external/llvm/include/llvm/Support/ |
FileSystem.h | 438 /// @param argv0 The program name as it was spelled on the command line. 443 error_code GetMainExecutable(const char *argv0, void *MainAddr,
|