/external/oprofile/libpopt/ |
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);
|
findme.h | 14 * @param argv0 name of executable 17 /*@null@*/ const char * findProgramPath(/*@null@*/ const char * argv0)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
exec_cmd.c | 25 const char *perf_extract_argv0_path(const char *argv0) 29 if (!argv0 || !*argv0) 31 slash = argv0 + strlen(argv0); 33 while (argv0 <= slash && !is_dir_sep(*slash)) 36 if (slash >= argv0) { 37 argv0_path = strndup(argv0, slash - argv0); 41 return argv0; [all...] |
/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/chromium_org/third_party/sqlite/src/test/ |
quick.test | 10 set testdir [file dirname $argv0]
|
rtree.test | 11 set testdir [file dirname $argv0]
|
fts3.test | 12 set testdir [file dirname $argv0]
|
tkt1514.test | 17 set testdir [file dirname $argv0]
|
veryquick.test | 13 set testdir [file dirname $argv0]
|
all.test | 14 set testdir [file dirname $argv0]
|
filectrl.test | 14 set testdir [file dirname $argv0]
|
pager3.test | 13 set testdir [file dirname $argv0]
|
tkt-02a8e81d44.test | 17 set testdir [file dirname $argv0]
|
tkt-26ff0c2d1e.test | 15 set testdir [file dirname $argv0]
|
tkt-2ea2425d34.test | 17 set testdir [file dirname $argv0]
|
tkt-752e1646fc.test | 17 set testdir [file dirname $argv0]
|
tkt1501.test | 17 set testdir [file dirname $argv0]
|
tkt1512.test | 17 set testdir [file dirname $argv0]
|
/external/ceres-solver/google3/glog/ |
logging.h | 14 inline void InitGoogleLogging(const char* argv0) {
|
/external/chromium_org/third_party/skia/debugger/ |
debuggermain.cpp | 12 static void usage(const char * argv0) { 13 SkDebugf("%s <input> \n", argv0);
|
/external/skia/debugger/ |
debuggermain.cpp | 12 static void usage(const char * argv0) { 13 SkDebugf("%s <input> \n", argv0);
|
/external/chromium_org/v8/test/mjsunit/ |
arguments.js | 55 function argv0() { function 68 assertEquals(7, argv0(7)); 69 assertEquals(7, argv0(7, 8)); 70 assertEquals(7, argv0(7, 8, 9)); 79 assertEquals(8, argv0(7, 8)); 80 assertEquals(8, argv0(7, 8)); 87 assertEquals(9, argv0(7, 8, 9));
|
/external/llvm/lib/TableGen/ |
Main.cpp | 54 static int createDependencyFile(const TGParser &Parser, const char *argv0) { 56 errs() << argv0 << ": the option -d must be used together with -o\n"; 62 errs() << argv0 << ": error opening " << DependFilename 80 int TableGenMain(char *argv0, TableGenMainFn *MainFn) { 108 errs() << argv0 << ": error opening " << OutputFilename 113 if (int Ret = createDependencyFile(Parser, argv0)) 121 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;
|