Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 10 of 10) sorted by relevance

/system/core/debuggerd/
Dsignal_sender.cpp54 char* progname = const_cast<char*>(getprogname()); in set_signal_sender_process_name() local
55 if (strlen(progname) <= strlen(long_process_name)) { in set_signal_sender_process_name()
56 ALOGE("debuggerd: unexpected progname %s", progname); in set_signal_sender_process_name()
60 memset(progname, 0, strlen(progname)); in set_signal_sender_process_name()
61 strcpy(progname, long_process_name); in set_signal_sender_process_name()
/system/vold/
Dvdc.cpp38 static void usage(char *progname);
47 char *progname; in main() local
49 progname = argv[0]; in main()
58 usage(progname); in main()
171 static void usage(char *progname) { in usage() argument
173 "Usage: %s [--wait] <monitor>|<cmd> [arg1] [arg2...]\n", progname); in usage()
Dsecdiscard.cpp45 void usage(const char *progname);
93 void usage(const char *progname) { in usage() argument
94 fprintf(stderr, "Usage: %s [--no-unlink] -- <absolute path> ...\n", progname); in usage()
/system/core/logcat/
Dlogpersist3 progname="${0##*/}"
6 *) echo "${progname} - Permission denied"
19 case ${progname} in
/system/netd/server/
DClatdController.cpp82 std::string progname("clatd-"); in startClatd() local
83 progname += interface; in startClatd()
92 (char *) progname.c_str(), in startClatd()
Dndc.c34 static void usage(char *progname);
183 static void usage(char *progname) { in usage() argument
184 …intf(stderr, "Usage: %s [<sockname>] ([monitor] | ([<cmd_seq_num>] <cmd> [arg ...]))\n", progname); in usage()
/system/extras/multinetwork/
Dcommon.cpp56 void printUsage(const char *progname) { in printUsage() argument
57 std::cerr << "Usage: " << progname in printUsage()
Dcommon.h49 void printUsage(const char *progname);
/system/core/base/
Dlogging.cpp103 static char progname[MAX_PATH] = {};
110 strcpy(progname, "<unknown>");
112 strcpy(progname, basename(longname));
117 return progname;
/system/extras/puncture_fs/
Dpuncture_fs.c41 static void usage(const char * const progname) { in usage() argument
45 progname); in usage()