Searched refs:argv0 (Results 1 – 4 of 4) sorted by relevance
70 char const** argv0 = (char const**)malloc(sizeof(char*) * (argv.size() + 1)); in ExecuteBinary() local72 argv0[i] = argv[i].c_str(); in ExecuteBinary()74 argv0[argv.size()] = nullptr; in ExecuteBinary()78 free(argv0); in ExecuteBinary()100 execvp(argv0[0], const_cast<char* const*>(argv0)); in ExecuteBinary()104 free(argv0); in ExecuteBinary()
96 static inline std::unique_ptr<Module> LoadFile(const char *argv0, in LoadFile() argument105 Err.print(argv0, errs()); in LoadFile()
45 void setArgv0(const char* argv0, bool setProcName = false);
316 void AndroidRuntime::setArgv0(const char* argv0, bool setProcName) { in setArgv0() argument320 int len = strlen(argv0); in setArgv0()322 pthread_setname_np(pthread_self(), argv0); in setArgv0()324 pthread_setname_np(pthread_self(), argv0 + len - 15); in setArgv0()330 strlcpy(mArgBlockStart, argv0, mArgBlockLength); in setArgv0()