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()77 free(argv0); in ExecuteBinary()99 execvp(argv0[0], const_cast<char* const*>(argv0)); in ExecuteBinary()103 free(argv0); in ExecuteBinary()
96 static inline std::unique_ptr<Module> LoadFile(const char *argv0, in LoadFile() argument105 Err.print(argv0, errs()); in LoadFile()
47 void setArgv0(const char* argv0, bool setProcName = false);
344 void AndroidRuntime::setArgv0(const char* argv0, bool setProcName) { in setArgv0() argument348 int len = strlen(argv0); in setArgv0()350 pthread_setname_np(pthread_self(), argv0); in setArgv0()352 pthread_setname_np(pthread_self(), argv0 + len - 15); in setArgv0()358 strlcpy(mArgBlockStart, argv0, mArgBlockLength); in setArgv0()