Searched refs:argv0 (Results 1 – 3 of 3) sorted by relevance
26 def usage(argv0): argument32 """ % (argv0))
960 std::string argv0; in GetCompleteProcessName() local961 if (!android::base::ReadFileToString("/proc/" + std::to_string(pid) + "/cmdline", &argv0)) { in GetCompleteProcessName()965 size_t pos = argv0.find('\0'); in GetCompleteProcessName()967 argv0.resize(pos); in GetCompleteProcessName()971 return argv0.empty() ? std::string() : android::base::Basename(argv0); in GetCompleteProcessName()
504 void usage(const char* argv0) { in usage() argument505 fprintf(stderr, "Usage: %s [-d|--dev] <datafile> [--sock] <socket_path>\n", argv0); in usage()506 fprintf(stderr, "or: %s [-d|--dev] <datafile> [--size <size>] [--key key]\n", argv0); in usage()