Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 24 of 24) 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 …]
Dcheck_elf_alignment.sh2 progname="${0##*/}"
3 progname="${progname%.sh}"
19 echo "Usage: ${progname} [input-path|input-APK|input-APEX]"
/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()
/system/extras/kcmdlinectrl/
Dkcmdlinectrl.cc30 void PrintUsage(const char* progname) { in PrintUsage() argument
31 std::cerr << "USAGE: " << progname << " get [PROPERTY]" << std::endl; in PrintUsage()
32 std::cerr << " " << progname << " store [PROPERTY] [VALUE]" << std::endl; in PrintUsage()
33 std::cerr << " " << progname << " update-props" << std::endl; in PrintUsage()
/system/netd/netutils_wrappers/
DNetUtilsWrapper-1.0.cpp107 char *progname = argv[0]; in doMain() local
110 basename = strrchr(progname, '/'); in doMain()
111 basename = basename ? basename + 1 : progname; in doMain()
/system/core/fs_mgr/
Dfs_mgr_remount.cpp57 const std::string progname = getprogname(); in usage() local
58 if (progname == "disable-verity" || progname == "enable-verity" || in usage()
59 progname == "set-verity-state") { in usage()
70 std::cout << "Usage: " << progname << " [-h] [-R] [-T fstab_file] [partition]...\n" in usage()
592 const std::string progname = getprogname(); in main() local
593 if (progname == "enable-verity") { in main()
595 } else if (progname == "disable-verity") { in main()
597 } else if (progname == "set-verity-state") { in main()
657 reboot(progname); in main()
/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.cpp45 static void usage(char* progname);
219 static void usage(char* progname) { in usage() argument
220 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/libbase/
Dlogging.cpp69 static char progname[MAX_PATH] = {}; in getprogname() local
72 snprintf(progname, sizeof(progname), "%s", in getprogname()
77 return progname; in getprogname()
/system/logging/liblog/
Dlogger_write.cpp127 static char progname[MAX_PATH] = {}; in getprogname() local
137 snprintf(progname, sizeof(progname), "%s", path_basename); in getprogname()
141 return progname; in getprogname()
/system/extras/mtectrl/
Dmtectrl.cc61 void PrintUsage(const char* progname) { in PrintUsage() argument
70 << "USAGE: " << progname in PrintUsage()
/system/core/bootstat/
Dboot_reason_test.sh28 progname="${0##*/}"
29 progpath="${0%${progname}}"
1306 [ "USAGE: ${progname} [-s SERIAL] [tests]...
1321 echo "USAGE: ${progname} [-s SERIAL] [tests]..."