/external/bison/lib/ |
progname.c | 36 argv0 must be a string allocated with indefinite extent, and must not be 39 set_program_name (const char *argv0) 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...] |
progname.h | 35 argv0 must be a string allocated with indefinite extent, and must not be 37 extern void set_program_name (const char *argv0); 43 extern void set_program_name_and_installdir (const char *argv0,
|
/external/ceres-solver/google3/glog/ |
logging.h | 14 inline void InitGoogleLogging(const char* argv0) {
|
/external/avahi/avahi-utils/ |
avahi-resolve.c | 155 static void help(FILE *f, const char *argv0) { 166 argv0, strstr(argv0, "host-name") ? "[-n]" : "-n", 167 argv0, strstr(argv0, "address") ? "[-a]" : "-a"); 170 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { 184 c->command = strstr(argv0, "address") ? COMMAND_RESOLVE_ADDRESS : (strstr(argv0, "host-name") ? COMMAND_RESOLVE_HOST_NAME : COMMAND_UNSPEC); 230 const char *argv0; local 235 if ((argv0 = strrchr(argv[0], '/')) [all...] |
avahi-publish.c | 214 static void help(FILE *f, const char *argv0) { 228 argv0, strstr(argv0, "service") ? "[-s]" : "-s", 229 argv0, strstr(argv0, "address") ? "[-a]" : "-a"); 232 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { 255 c->command = strstr(argv0, "address") ? COMMAND_PUBLISH_ADDRESS : (strstr(argv0, "service") ? COMMAND_PUBLISH_SERVICE : COMMAND_UNSPEC); 345 const char *argv0; local 350 if ((argv0 = strrchr(argv[0], '/')) [all...] |
avahi-set-host-name.c | 71 static void help(FILE *f, const char *argv0) { 77 argv0); 125 const char *argv0; local 130 if ((argv0 = strrchr(argv[0], '/'))) 131 argv0++; 133 argv0 = argv[0]; 140 help(stdout, argv0); 145 printf("%s "PACKAGE_VERSION"\n", argv0);
|
/toolchain/binutils/binutils-2.25/libiberty/testsuite/ |
test-expandargv.c | 73 #define ARGV0 "test-expandargv" 78 ARGV0, 81 ARGV0, 88 ARGV0, 91 ARGV0, 98 ARGV0, 101 ARGV0, 107 ARGV0, 110 ARGV0, 115 ARGV0, [all...] |
/external/avahi/avahi-ui/ |
bssh.c | 53 static void help(FILE *f, const char *argv0) { 61 argv0); 111 const char *argv0; local 116 if ((argv0 = strrchr(argv[0], '/'))) 117 argv0++; 119 argv0 = argv[0]; 132 help(stderr, argv0); 144 help(stdout, argv0);
|
/prebuilts/go/darwin-x86/src/syscall/ |
exec_windows.go | 232 func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) { 233 if len(argv0) == 0 { 252 // StartProcess assumes that argv0 is relative to attr.Dir, 253 // because it implies Chdir(attr.Dir) before executing argv0. 255 // argv0 relative to the current directory, and, only once the new 257 // for that difference here by making argv0 absolute. 259 argv0, err = joinExeDirAndFName(attr.Dir, argv0) 264 argv0p, err := UTF16PtrFromString(argv0) 335 func Exec(argv0 string, argv []string, envv []string) (err error) [all...] |
exec_unix.go | 132 func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) { 150 argv0p, err := BytePtrFromString(argv0) 163 if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv[0]) > len(argv0) { 234 func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) { 235 return forkExec(argv0, argv, attr) 239 func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) { 240 pid, err = forkExec(argv0, argv, attr) 245 func Exec(argv0 string, argv []string, envv []string) (err error) { 246 argv0p, err := BytePtrFromString(argv0)
|
/prebuilts/go/linux-x86/src/syscall/ |
exec_windows.go | 232 func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) { 233 if len(argv0) == 0 { 252 // StartProcess assumes that argv0 is relative to attr.Dir, 253 // because it implies Chdir(attr.Dir) before executing argv0. 255 // argv0 relative to the current directory, and, only once the new 257 // for that difference here by making argv0 absolute. 259 argv0, err = joinExeDirAndFName(attr.Dir, argv0) 264 argv0p, err := UTF16PtrFromString(argv0) 335 func Exec(argv0 string, argv []string, envv []string) (err error) [all...] |
exec_unix.go | 132 func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) { 150 argv0p, err := BytePtrFromString(argv0) 163 if (runtime.GOOS == "freebsd" || runtime.GOOS == "dragonfly") && len(argv[0]) > len(argv0) { 234 func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) { 235 return forkExec(argv0, argv, attr) 239 func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) { 240 pid, err = forkExec(argv0, argv, attr) 245 func Exec(argv0 string, argv []string, envv []string) (err error) { 246 argv0p, err := BytePtrFromString(argv0)
|
/external/llvm/lib/TableGen/ |
Main.cpp | 52 static int createDependencyFile(const TGParser &Parser, const char *argv0) { 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) { 100 errs() << argv0 << ": error opening " << OutputFilename << ":" 105 if (int Ret = createDependencyFile(Parser, argv0)) 113 errs() << argv0 << ": " << ErrorsPrinted << " errors.\n";
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_procmaps_test.cc | 21 extern const char *argv0; 36 const char *last_slash = strrchr(argv0, '/'); 37 const char *binary_name = last_slash ? last_slash + 1 : argv0;
|
sanitizer_nolibc_test.cc | 21 extern const char *argv0; 25 std::string NolibcTestPath = argv0;
|
sanitizer_test_main.cc | 16 const char *argv0; variable 19 argv0 = argv[0];
|
/external/libdaemon/libdaemon/ |
dlog.c | 86 char *daemon_ident_from_argv0(char *argv0) { 89 if ((p = strrchr(argv0, '/'))) 92 return argv0;
|
/external/skia/debugger/ |
debuggermain.cpp | 17 static void usage(const char * argv0) { 18 SkDebugf("%s <input> \n", argv0);
|
/external/webrtc/webrtc/base/ |
iosfilesystem.mm | 51 NSString* argv0 = [[pInfo arguments] objectAtIndex:0]; 52 path->SetPathname([argv0 UTF8String]);
|
/external/shflags/bin/ |
continuous_build.sh | 17 ARGV0=`basename "$0"` 37 FLAGS_HELP="USAGE: ${ARGV0} [flags]" 121 argv0=`echo "${ARGV0}" |sed 's/_test$//;s/_test\.sh$//'` 122 if [ "${ARGV0}" = "${argv0}" ]; then
|
/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/llvm/tools/llvm-link/ |
llvm-link.cpp | 109 static std::unique_ptr<Module> loadFile(const char *argv0, 118 Err.print(argv0, errs()); 154 static bool importFunctions(const char *argv0, LLVMContext &Context, 169 std::unique_ptr<Module> M = loadFile(argv0, FileName, Context, false); 171 errs() << argv0 << ": error loading file '" << FileName << "'\n"; 176 errs() << argv0 << ": " << FileName 230 std::unique_ptr<Module> M = loadFile(argv0, SME.getKey(), Context, true); 232 errs() << argv0 << ": error loading file '" << SME.getKey() << "'\n"; 237 errs() << argv0 << ": " << SME.getKey() 249 static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L [all...] |
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test.cc | 48 const char *argv0; variable 58 argv0 = argv[0];
|
/external/google-breakpad/src/tools/linux/core2md/ |
core2md.cc | 41 static int ShowUsage(const char* argv0) { 42 fprintf(stderr, "Usage: %s <core file> <procfs dir> <output>\n", argv0);
|
/toolchain/binutils/binutils-2.25/gold/ |
incremental-dump.cc | 79 dump_incremental_inputs(const char* argv0, const char* filename, 89 fprintf(stderr, "%s: %s: no .gnu_incremental_inputs section\n", argv0, 101 fprintf(stderr, "%s: %s: unknown incremental version %d\n", argv0, 111 argv0, filename); 125 argv0, filename, i); 184 argv0, i, input_type); 202 argv0, filename, i); 235 fprintf(stderr, "%s: %s: no symbol table section\n", argv0, filename); 248 fprintf(stderr, "%s: %s: no string table section\n", argv0, filename); 285 argv0, filename, i) [all...] |