Home
last modified time | relevance | path

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

/system/extras/tools/
Dgraph_lockdep_chains2 progname="${0##*/}"
3 progname="${progname%.sh}"
10 echo "Usage: ${progname} [flags...] [regex...] < input-file > output-file"
16 echo " Leave intermediate files /tmp/${progname}.*"
40 rm -f /tmp/${progname}.*
202 b loop' > /tmp/${progname}.formed
204 if [ ! -s /tmp/${progname}.formed ]; then
207 rm -f /tmp/${progname}.*
213 grep "${filter}" /tmp/${progname}.formed |
217 sort -u > /tmp/${progname}.symbols
[all …]
/system/extras/ioshark/
Dioshark_bench.c47 char *progname; variable
84 progname); in usage()
86 progname); in usage()
179 progname); in create_files()
234 progname, files_db_get_filename(db_node), in do_one_io()
248 progname, in do_one_io()
263 progname, in do_one_io()
278 progname, in do_one_io()
293 progname, in do_one_io()
323 progname, in do_one_io()
[all …]
Dconvert_format.c31 char *progname; variable
85 fprintf(stderr, "%s in_file out_file\n", progname); in usage()
103 progname = argv[0]; in main()
112 progname, infile); in main()
117 progname, infile); in main()
123 progname, infile); in main()
129 progname); in main()
137 progname); in main()
151 progname); in main()
160 progname); in main()
[all …]
Ddump_ioshark_filenames.c36 char *progname; in main() local
44 progname = argv[0]; in main()
47 progname); in main()
55 progname); in main()
72 progname); in main()
Dcompile_ioshark_subr.c29 extern char *progname;
55 progname); in files_db_write_objects()
123 progname); in init_filename_cache()
137 progname); in init_filename_cache()
155 progname); in init_filename_cache()
202 progname); in store_filename_cache()
210 progname); in store_filename_cache()
275 progname, op); in ioshark_write_file_op()
Dioshark_bench_subr.c38 extern char *progname;
125 progname, db_node->filename, in files_db_fsync_discard_files()
279 fprintf(stderr, "%s Cannot create file %s: %m\n", progname, path); in create_file()
287 "%s Cannot write file %s: %m\n", progname, path); in create_file()
296 fprintf(stderr, "%s Cannot fsync file %s: %m\n", progname, path); in create_file()
301 "%s Cannot fadvise(DONTNEED) file %s: %m\n", progname, path); in create_file()
388 progname); in get_blockdev_name()
394 progname); in get_blockdev_name()
416 progname, dev_name); in get_blockdev_name()
440 progname); in read_disk_util_state()
[all …]
Dcompile_ioshark.c31 char *progname; variable
95 fprintf(stderr, "%s in_file out_file\n", progname); in usage()
132 progname, __func__); in get_tracetype()
140 progname, __func__); in get_tracetype()
147 progname, __func__); in get_tracetype()
157 progname, __func__); in get_tracetype()
168 progname, __func__, buf); in get_tracetype()
539 progname = argv[0]; in main()
548 progname, infile); in main()
553 progname, infile); in main()
[all …]
Dioshark_bench_mmap.c40 extern char *progname;
122 progname, files_db_get_filename(db_node), in mmap_do_io()
139 progname, in mmap_do_io()
153 progname, files_db_get_filename(db_node), in mmap_do_io()
/system/logging/logcat/
Dlogpersist3 progname="${0##*/}"
6 *) echo "${progname} - Permission denied"
15 *) echo "${progname} - Disabled"
73 case ${progname} in
76 echo WARNING: Can not use --clear, --size or --buffer with ${progname%.*}.cat >&2
/system/netd/server/
Dndc.cpp24 void usage(char* progname) { in usage() argument
25 fprintf(stderr, "Usage: %s (<cmd> [arg ...])\n", progname); in usage()
DClatdController.cpp491 std::string progname("clatd-"); in startClatd() local
492 progname += tracker.iface; in startClatd()
495 const char* args[] = {progname.c_str(), in startClatd()
/system/netd/netutils_wrappers/
DNetUtilsWrapper-1.0.cpp106 char *progname = argv[0]; in doMain() local
109 basename = strrchr(progname, '/'); in doMain()
110 basename = basename ? basename + 1 : progname; in doMain()
/system/vold/
Dsecdiscard.cpp46 void usage(const char* progname);
162 void usage(const char* progname) { in usage() argument
163 fprintf(stderr, "Usage: %s [--no-unlink] -- <absolute path> ...\n", progname); in usage()
Dvdc.cpp43 static void usage(char* progname);
169 static void usage(char* progname) { in usage() argument
170 LOG(INFO) << "Usage: " << progname << " [--wait] <system> <subcommand> [args...]"; in usage()
Dvold_prepare_subdirs.cpp43 static void usage(const char* progname) { in usage() argument
44 std::cerr << "Usage: " << progname << " [ prepare | destroy ] <volume_uuid> <user_id> <flags>" in usage()
/system/extras/multinetwork/
Dcommon.cpp56 void printUsage(const char *progname) { in printUsage() argument
57 std::cerr << "Usage: " << progname << " [--nethandle <nethandle>]" in printUsage()
Dcommon.h54 void printUsage(const char *progname);
/system/libufdt/utils/src/
Dmkdtboimg.py921 def print_default_usage(progname): argument
928 sb.append(' ' + progname + ' help all')
929 sb.append(' ' + progname + ' help <command>\n')
934 def print_dump_usage(progname): argument
941 sb.append(' ' + progname + ' dump <image_file> (<option>...)\n')
949 def print_create_usage(progname): argument
956 …sb.append(' ' + progname + ' create <image_file> (<global_option>...) (<dtb_file> (<entry_option>…
975 def print_cfg_create_usage(progname): argument
982 sb.append(' ' + progname + ' cfg_create <image_file> <config_file> (<option>...)\n')
/system/logging/liblog/
Dlogger_write.cpp117 static char progname[MAX_PATH] = {}; in getprogname()
127 snprintf(progname, sizeof(progname), "%s", path_basename); in getprogname()
131 return progname; in getprogname()
/system/libbase/
Dlogging.cpp71 static char progname[MAX_PATH] = {}; in getprogname()
74 snprintf(progname, sizeof(progname), "%s", in getprogname()
79 return progname; in getprogname()
/system/extras/puncture_fs/
Dpuncture_fs.cpp41 static void usage(const char * const progname) { in usage() argument
45 progname); in usage()
/system/memory/libmeminfo/tools/
Dshowmap.cpp61 [[noreturn]] static void usage(const char* progname, int exit_status) { in usage() argument
69 progname); in usage()
/system/core/bootstat/
Dboot_reason_test.sh28 progname="${0##*/}"
29 progpath="${0%${progname}}"
1309 [ "USAGE: ${progname} [-s SERIAL] [tests]...
1324 echo "USAGE: ${progname} [-s SERIAL] [tests]..."