Searched defs:argv0 (Results 1 - 25 of 55) sorted by relevance

123

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_test_main.cc16 const char *argv0; variable
19 argv0 = argv[0];
/external/bison/lib/
H A Dprogname.c36 argv0 must be a string allocated with indefinite extent, and must not be
39 set_program_name (const char *argv0) argument
51 if (argv0 == NULL)
59 slash = strrchr (argv0, '/');
60 base = (slash != NULL ? slash + 1 : argv0);
61 if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0)
63 argv0 = base;
66 argv0 = base + 3;
70 program_invocation_short_name = (char *) argv0;
84 program_name = argv0;
[all...]
/external/llvm/lib/Fuzzer/test/
H A DInitializeTest.cpp12 static char *argv0; variable
16 argv0 = **argv;
21 if (strncmp(reinterpret_cast<const char*>(Data), argv0, Size)) {
/external/clang/
H A Dcompiler_wrapper14 argv0 = real_compiler variable
26 argv0 = gomacc variable
31 os.execv(argv0, execargs)
/external/llvm/lib/TableGen/
H A DMain.cpp52 static int createDependencyFile(const TGParser &Parser, const char *argv0) { argument
54 errs() << argv0 << ": the option -d must be used together with -o\n";
60 errs() << argv0 << ": error opening " << DependFilename << ":"
73 int llvm::TableGenMain(char *argv0, TableGenMainFn *MainFn) { argument
100 errs() << argv0 << ": error opening " << OutputFilename << ":"
105 if (int Ret = createDependencyFile(Parser, argv0))
113 errs() << argv0 << ": " << ErrorsPrinted << " errors.\n";
/external/skia/debugger/
H A Ddebuggermain.cpp13 static void usage(const char * argv0) { argument
14 SkDebugf("%s <input> \n", argv0);
/external/swiftshader/third_party/LLVM/lib/TableGen/
H A DMain.cpp50 int TableGenMain(char *argv0, TableGenAction &Action) { argument
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";
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test.cc48 const char *argv0; variable
64 argv0 = argv[0];
/external/google-breakpad/src/tools/linux/core2md/
H A Dcore2md.cc41 static int ShowUsage(const char* argv0) { argument
42 fprintf(stderr, "Usage: %s <core file> <procfs dir> <output>\n", argv0);
/external/libdaemon/libdaemon/
H A Ddlog.c86 char *daemon_ident_from_argv0(char *argv0) { argument
89 if ((p = strrchr(argv0, '/')))
92 return argv0;
/external/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace05.c47 int usage(const char *argv0) argument
49 fprintf(stderr, "usage: %s [start-signum] [end-signum]\n", argv0);
/external/swiftshader/third_party/LLVM/tools/llvm-link/
H A Dllvm-link.cpp55 static inline std::auto_ptr<Module> LoadFile(const char *argv0, argument
72 Err.Print(argv0, errs());
/external/ipsec-tools/src/racoon/
H A Dplainrsa-gen.c65 usage (char *argv0) argument
70 fprintf(stderr, "Usage: %s [options]\n", argv0);
/external/libopus/src/
H A Drepacketizer_demo.c39 void usage(char *argv0) argument
41 fprintf(stderr, "usage: %s [options] input_file output_file\n", argv0);
/external/ltp/lib/
H A Dself_exec.c167 int self_exec(const char *argv0, const char *fmt, ...) argument
225 return execlp(argv0, argv0, "-C", arg, (char *)NULL);
/external/ltp/testcases/kernel/syscalls/capset/
H A Dcapset02.c205 void test_setup(int i, char *argv0) argument
241 if (self_exec(argv0, "") < 0) {
/external/ltp/testcases/kernel/syscalls/setsid/
H A Dsetsid01.c53 static char *argv0; variable
72 argv0 = av[0];
102 if (self_exec(argv0, "n", 1) < 0) {
169 if (self_exec(argv0, "n", 2) < 0) {
/external/autotest/client/deps/glbench/src/
H A Dutils.cc29 // Sets the base path for MmapFile to `dirname($argv0)`/$relative.
30 void SetBasePathFromArgv0(const char* argv0, const char* relative) { argument
34 FilePath argv0_path = FilePath(argv0).DirName();
/external/iproute2/bridge/
H A Dbridge.c64 static int do_cmd(const char *argv0, int argc, char **argv) argument
69 if (matches(argv0, c->cmd) == 0)
74 "Object \"%s\" is unknown, try \"bridge help\".\n", argv0);
/external/iproute2/ip/
H A Dip.c104 static int do_cmd(const char *argv0, int argc, char **argv) argument
109 if (matches(argv0, c->cmd) == 0)
113 fprintf(stderr, "Object \"%s\" is unknown, try \"ip help\".\n", argv0);
/external/ltp/testcases/kernel/syscalls/sendfile/
H A Dsendfile02.c94 static char *argv0; variable
243 if (self_exec(argv0, "") < 0) {
275 argv0 = av[0];
H A Dsendfile04.c96 static char *argv0; variable
241 if (self_exec(argv0, "") < 0) {
273 argv0 = av[0];
H A Dsendfile05.c77 static char *argv0; variable
205 if (self_exec(argv0, "") < 0) {
236 argv0 = av[0];
H A Dsendfile06.c63 static char *argv0; variable
184 if (self_exec(argv0, "") < 0) {
218 argv0 = av[0];
/external/skia/tools/skdiff/
H A Dskdiff_image.cpp79 static void usage (char * argv0) { argument
83 " %s <baseFile> <comparisonFile>\n" , argv0);

Completed in 5848 milliseconds

123