/external/bison/lib/ |
D | progname.c | 39 set_program_name (const char *argv0) in set_program_name() argument 51 if (argv0 == NULL) in set_program_name() 59 slash = strrchr (argv0, '/'); in set_program_name() 60 base = (slash != NULL ? slash + 1 : argv0); in set_program_name() 61 if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) in set_program_name() 63 argv0 = base; in set_program_name() 66 argv0 = base + 3; in set_program_name() 70 program_invocation_short_name = (char *) argv0; in set_program_name() 84 program_name = argv0; in set_program_name() 90 program_invocation_name = (char *) argv0; in set_program_name()
|
D | progname.h | 37 extern void set_program_name (const char *argv0); 43 extern void set_program_name_and_installdir (const char *argv0,
|
/external/avahi/avahi-utils/ |
D | avahi-resolve.c | 155 static void help(FILE *f, const char *argv0) { in help() argument 166 argv0, strstr(argv0, "host-name") ? "[-n]" : "-n", in help() 167 argv0, strstr(argv0, "address") ? "[-a]" : "-a"); in help() 170 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { in parse_command_line() argument 184 …c->command = strstr(argv0, "address") ? COMMAND_RESOLVE_ADDRESS : (strstr(argv0, "host-name") ? CO… in parse_command_line() 230 const char *argv0; in main() local 235 if ((argv0 = strrchr(argv[0], '/'))) in main() 236 argv0++; in main() 238 argv0 = argv[0]; in main() 240 if (parse_command_line(&config, argv0, argc, argv) < 0) in main() [all …]
|
D | avahi-publish.c | 214 static void help(FILE *f, const char *argv0) { in help() argument 228 argv0, strstr(argv0, "service") ? "[-s]" : "-s", in help() 229 argv0, strstr(argv0, "address") ? "[-a]" : "-a"); in help() 232 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { in parse_command_line() argument 255 …c->command = strstr(argv0, "address") ? COMMAND_PUBLISH_ADDRESS : (strstr(argv0, "service") ? COMM… in parse_command_line() 345 const char *argv0; in main() local 350 if ((argv0 = strrchr(argv[0], '/'))) in main() 351 argv0++; in main() 353 argv0 = argv[0]; in main() 355 if (parse_command_line(&config, argv0, argc, argv) < 0) in main() [all …]
|
D | avahi-set-host-name.c | 71 static void help(FILE *f, const char *argv0) { in help() argument 77 argv0); in help() 125 const char *argv0; in main() local 130 if ((argv0 = strrchr(argv[0], '/'))) in main() 131 argv0++; in main() 133 argv0 = argv[0]; in main() 140 help(stdout, argv0); in main() 145 printf("%s "PACKAGE_VERSION"\n", argv0); in main()
|
D | avahi-browse.c | 629 static void help(FILE *f, const char *argv0) { in help() argument 630 if (strstr(argv0, "domain")) in help() 631 fprintf(f, "%s [options] \n\n", argv0); in help() 642 argv0, in help() 644 argv0, argv0, argv0); in help() 668 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { in parse_command_line() argument 693 c->command = strstr(argv0, "domain") ? COMMAND_BROWSE_DOMAINS : COMMAND_BROWSE_SERVICES; in parse_command_line() 785 const char *argv0; in main() local 791 if ((argv0 = strrchr(argv[0], '/'))) in main() 792 argv0++; in main() [all …]
|
/external/llvm/lib/TableGen/ |
D | Main.cpp | 52 static int createDependencyFile(const TGParser &Parser, const char *argv0) { in createDependencyFile() argument 54 errs() << argv0 << ": the option -d must be used together with -o\n"; in createDependencyFile() 60 errs() << argv0 << ": error opening " << DependFilename << ":" in createDependencyFile() 73 int llvm::TableGenMain(char *argv0, TableGenMainFn *MainFn) { in TableGenMain() argument 100 errs() << argv0 << ": error opening " << OutputFilename << ":" in TableGenMain() 105 if (int Ret = createDependencyFile(Parser, argv0)) in TableGenMain() 113 errs() << argv0 << ": " << ErrorsPrinted << " errors.\n"; in TableGenMain()
|
/external/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 109 static std::unique_ptr<Module> loadFile(const char *argv0, in loadFile() argument 118 Err.print(argv0, errs()); in loadFile() 154 static bool importFunctions(const char *argv0, LLVMContext &Context, in importFunctions() argument 169 std::unique_ptr<Module> M = loadFile(argv0, FileName, Context, false); in importFunctions() 171 errs() << argv0 << ": error loading file '" << FileName << "'\n"; in importFunctions() 176 errs() << argv0 << ": " << FileName in importFunctions() 230 std::unique_ptr<Module> M = loadFile(argv0, SME.getKey(), Context, true); in importFunctions() 232 errs() << argv0 << ": error loading file '" << SME.getKey() << "'\n"; in importFunctions() 237 errs() << argv0 << ": " << SME.getKey() in importFunctions() 249 static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L, in linkFiles() argument [all …]
|
/external/v8/test/mjsunit/ |
D | 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/avahi/avahi-ui/ |
D | bssh.c | 53 static void help(FILE *f, const char *argv0) { in help() argument 61 argv0); in help() 111 const char *argv0; in main() local 116 if ((argv0 = strrchr(argv[0], '/'))) in main() 117 argv0++; in main() 119 argv0 = argv[0]; in main() 132 help(stderr, argv0); in main() 144 help(stdout, argv0); in main()
|
/external/avahi/avahi-autoipd/ |
D | main.c | 131 static char *argv0 = NULL; variable 408 avahi_set_proc_title(argv0, "%s: [%s] sleeping", argv0, interface_name); in set_state() 410 …avahi_set_proc_title(argv0, "%s: [%s] announcing %s", argv0, interface_name, inet_ntop(AF_INET, &a… in set_state() 412 …avahi_set_proc_title(argv0, "%s: [%s] bound %s", argv0, interface_name, inet_ntop(AF_INET, &addres… in set_state() 414 …avahi_set_proc_title(argv0, "%s: [%s] probing %s", argv0, interface_name, inet_ntop(AF_INET, &addr… in set_state() 824 avahi_set_proc_title(argv0, "%s: [%s] callout dispatcher", argv0, interface_name); in fork_dispatcher() 1594 if ((argv0 = strrchr(argv[0], '/'))) in main() 1595 argv0 = avahi_strdup(argv0 + 1); in main() 1597 argv0 = avahi_strdup(argv[0]); in main() 1599 daemon_log_ident = argv0; in main() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_procmaps_test.cc | 21 extern const char *argv0; 36 const char *last_slash = strrchr(argv0, '/'); in TEST() 37 const char *binary_name = last_slash ? last_slash + 1 : argv0; in TEST()
|
D | sanitizer_test_main.cc | 16 const char *argv0; variable 19 argv0 = argv[0]; in main()
|
D | sanitizer_nolibc_test.cc | 21 extern const char *argv0; 25 std::string NolibcTestPath = argv0; in TEST()
|
/external/avahi/avahi-daemon/ |
D | main.c | 92 static char *argv0 = NULL; variable 362 … avahi_set_proc_title(argv0, "%s: running [%s]", argv0, avahi_server_get_host_name_fqdn(s)); in server_callback() 391 avahi_set_proc_title(argv0, "%s: collision [%s]", argv0, n); in server_callback() 410 … avahi_set_proc_title(argv0, "%s: registering [%s]", argv0, avahi_server_get_host_name_fqdn(s)); in server_callback() 443 argv0); in help() 1561 if ((argv0 = strrchr(argv[0], '/'))) 1562 argv0 = avahi_strdup(argv0 + 1); 1564 argv0 = avahi_strdup(argv[0]); 1566 daemon_pid_file_ident = (const char *) argv0; 1567 daemon_log_ident = (char*) argv0; [all …]
|
/external/libdaemon/libdaemon/ |
D | dlog.c | 86 char *daemon_ident_from_argv0(char *argv0) { in daemon_ident_from_argv0() argument 89 if ((p = strrchr(argv0, '/'))) in daemon_ident_from_argv0() 92 return argv0; in daemon_ident_from_argv0()
|
/external/avahi/avahi-dnsconfd/ |
D | main.c | 373 static void help(FILE *f, const char *argv0) { in help() argument 383 argv0); in help() 566 char *argv0; in main() local 570 if ((argv0 = strrchr(argv[0], '/'))) in main() 571 argv0++; in main() 573 argv0 = argv[0]; in main() 575 daemon_pid_file_ident = daemon_log_ident = argv0; in main() 634 help(stdout, argv0); in main() 638 printf("%s "PACKAGE_VERSION"\n", argv0); in main()
|
/external/valgrind/cachegrind/ |
D | cg_merge.c | 114 static const char* argv0 = "cg_merge"; variable 128 fprintf(stderr, "%s: near %s line %u\n", argv0, s->filename, s->lno-1); in printSrcLoc() 134 fprintf(stderr, "%s: out of memory in %s\n", argv0, who ); in mallocFail() 142 fprintf(stderr, "%s: parse error: %s\n", argv0, msg ); in parseError() 150 fprintf(stderr, "%s: %s\n", argv0, msg ); in barf() 183 perror(argv0); in readline() 853 argv0); in usage() 855 argv0, argv0); in usage() 870 argv0 = argv[0]; in main() 903 fprintf(stderr, "%s: parsing %s\n", argv0, argv[i]); in main() [all …]
|
/external/dbus/dbus/ |
D | dbus-spawn-win.c | 844 DBusString argv0; in check_spawn_segfault() local 852 argv[0] = get_test_exec ("test-segfault", &argv0); in check_spawn_segfault() 868 _dbus_string_free (&argv0); in check_spawn_segfault() 899 DBusString argv0; in check_spawn_exit() local 907 argv[0] = get_test_exec ("test-exit", &argv0); in check_spawn_exit() 923 _dbus_string_free (&argv0); in check_spawn_exit() 954 DBusString argv0; in check_spawn_and_kill() local 962 argv[0] = get_test_exec ("test-sleep-forever", &argv0); in check_spawn_and_kill() 981 _dbus_string_free (&argv0); in check_spawn_and_kill()
|
/external/google-breakpad/src/tools/linux/core2md/ |
D | core2md.cc | 41 static int ShowUsage(const char* argv0) { in ShowUsage() argument 42 fprintf(stderr, "Usage: %s <core file> <procfs dir> <output>\n", argv0); in ShowUsage()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test.cc | 48 const char *argv0; variable 58 argv0 = argv[0]; in main()
|
/external/iproute2/bridge/ |
D | bridge.c | 64 static int do_cmd(const char *argv0, int argc, char **argv) in do_cmd() argument 69 if (matches(argv0, c->cmd) == 0) in do_cmd() 74 "Object \"%s\" is unknown, try \"bridge help\".\n", argv0); in do_cmd()
|
/external/skia/debugger/ |
D | debuggermain.cpp | 17 static void usage(const char * argv0) { in usage() argument 18 SkDebugf("%s <input> \n", argv0); in usage()
|
/external/shflags/bin/ |
D | continuous_build.sh | 121 argv0=`echo "${ARGV0}" |sed 's/_test$//;s/_test\.sh$//'` 122 if [ "${ARGV0}" = "${argv0}" ]; then
|
/external/iproute2/ip/ |
D | ip.c | 104 static int do_cmd(const char *argv0, int argc, char **argv) in do_cmd() argument 109 if (matches(argv0, c->cmd) == 0) in do_cmd() 113 fprintf(stderr, "Object \"%s\" is unknown, try \"ip help\".\n", argv0); in do_cmd()
|