Home
last modified time | relevance | path

Searched refs:prog_name (Results 1 – 25 of 56) sorted by relevance

123

/external/u-boot/tools/
Dmkexynosspl.c37 static const char *prog_name; variable
45 prog_name, strerror(errno)); in write_to_file()
87 prog_name = strrchr(argv[0], '/'); in main()
88 if (prog_name) in main()
89 prog_name++; in main()
91 prog_name = argv[0]; in main()
97 prog_name); in main()
107 prog_name, argv[if_index], strerror(errno)); in main()
114 prog_name, argv[of_index], strerror(errno)); in main()
120 prog_name, argv[if_index], strerror(errno)); in main()
[all …]
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py14 prog_name = "" variable
18 " " + prog_name + " merge FILE [FILE...] > OUTPUT\n" \
19 " " + prog_name + " print FILE [FILE...]\n" \
20 " " + prog_name + " unpack FILE [FILE...]\n" \
21 " " + prog_name + " rawunpack FILE [FILE ...]\n" \
22 " " + prog_name + " missing BINARY < LIST_OF_PCS\n"
72 print >>sys.stderr, "%s: read %d %d-bit PCs from %s" % (prog_name, size * 8 / bits, bits, path)
80 (prog_name, len(files), len(s))
89 (prog_name, len(s))
107 print >> sys.stderr, "%s: unpacking %s" % (prog_name, path)
[all …]
/external/python/cpython3/Lib/test/
Dtest__osx_support.py20 self.prog_name = 'bogus_program_xxxx'
42 test.support.unlink(self.prog_name)
43 self.assertIsNone(_osx_support._find_executable(self.prog_name))
44 self.addCleanup(test.support.unlink, self.prog_name)
45 with open(self.prog_name, 'w') as f:
47 os.chmod(self.prog_name, stat.S_IRWXU)
48 self.assertEqual(self.prog_name,
49 _osx_support._find_executable(self.prog_name))
55 test.support.unlink(self.prog_name)
56 self.addCleanup(test.support.unlink, self.prog_name)
[all …]
/external/python/cpython2/Lib/test/
Dtest__osx_support.py21 self.prog_name = 'bogus_program_xxxx'
43 test.test_support.unlink(self.prog_name)
44 self.assertIsNone(_osx_support._find_executable(self.prog_name))
45 self.addCleanup(test.test_support.unlink, self.prog_name)
46 with open(self.prog_name, 'w') as f:
48 os.chmod(self.prog_name, stat.S_IRWXU)
49 self.assertEqual(self.prog_name,
50 _osx_support._find_executable(self.prog_name))
56 test.test_support.unlink(self.prog_name)
57 self.addCleanup(test.test_support.unlink, self.prog_name)
[all …]
/external/e2fsprogs/contrib/android/
De2fsdroid.c25 static char *prog_name = "e2fsdroid"; variable
46 prog_name); in usage()
297 com_err(prog_name, retval, "while opening file %s\n", in_file); in main()
306 com_err(prog_name, retval, "%s", in main()
318 com_err(prog_name, retval, "%s", in main()
331 com_err(prog_name, retval, "%s", in main()
341 com_err(prog_name, retval, "%s", in main()
351 com_err(prog_name, retval, "%s", in main()
364 com_err(prog_name, retval, "%s", in main()
/external/epid-sdk/example/util/src/
Denvutil.c26 static char const* prog_name = NULL; variable
28 void set_prog_name(char const* name) { prog_name = name; } in set_prog_name()
30 char const* get_prog_name() { return prog_name; } in get_prog_name()
38 local_result = fprintf(stderr, "%s: ", prog_name); in log_error()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_socket_cookie.c142 const char *prog_name; in run_test() local
159 prog_name = bpf_program__title(prog, /*needs_copy*/ false); in run_test()
161 if (libbpf_attach_type_by_name(prog_name, &attach_type)) { in run_test()
162 log_err("Unexpected prog: %s", prog_name); in run_test()
169 log_err("Failed to attach prog %s", prog_name); in run_test()
/external/vboot_reference/utility/
Dbmpblk_utility.cc647 static void usagehelp_exit(const char *prog_name) { in usagehelp_exit() argument
658 "\n", prog_name); in usagehelp_exit()
665 "\n", prog_name); in usagehelp_exit()
673 "\n", prog_name); in usagehelp_exit()
682 const char *prog_name = strrchr(argv[0], '/'); in main() local
683 if (prog_name) in main()
684 prog_name++; in main()
686 prog_name = argv[0]; in main()
714 prog_name, opt, optarg); in main()
719 prog_name, MAX_COMPRESS); in main()
[all …]
/external/ltp/lib/
Dget_path.c53 int tst_get_path(const char *prog_name, char *buf, size_t buf_len) in tst_get_path() argument
89 prog_name); in tst_get_path()
93 prog_name); in tst_get_path()
/external/iptables/iptables/
Dxtables.c160 #define prog_name xtables_globals.program_name macro
169 prog_name, prog_name); in exit_tryhelp()
188 prog_name, prog_vers, prog_name, prog_name, in exit_printhelp()
189 prog_name, prog_name, prog_name, prog_name, in exit_printhelp()
190 prog_name, prog_name, prog_name, prog_name); in exit_printhelp()
263 fprintf(stderr, "%s v%s: ", prog_name, prog_vers); in xtables_exit_error()
995 prog_name, prog_vers); in do_parse()
Diptables-xml.c31 #define prog_name iptables_xml_globals.program_name macro
296 prog_name, line); in saveChain()
697 prog_name, line); in iptables_xml_main()
714 prog_name, line); in iptables_xml_main()
725 prog_name, line); in iptables_xml_main()
852 prog_name, line); in iptables_xml_main()
863 prog_name, line); in iptables_xml_main()
869 prog_name, line + 1); in iptables_xml_main()
Diptables.c176 #define prog_name iptables_globals.program_name macro
185 prog_name, prog_name); in exit_tryhelp()
204 prog_name, prog_vers, prog_name, prog_name, in exit_printhelp()
205 prog_name, prog_name, prog_name, prog_name, in exit_printhelp()
206 prog_name, prog_name, prog_name, prog_name); in exit_printhelp()
279 fprintf(stderr, "%s v%s: ", prog_name, prog_vers); in iptables_exit_error()
1642 prog_name, prog_vers); in do_command4()
Dip6tables.c176 #define prog_name ip6tables_globals.program_name macro
191 prog_name, prog_name); in exit_tryhelp()
210 prog_name, prog_vers, prog_name, prog_name, in exit_printhelp()
211 prog_name, prog_name, prog_name, prog_name, in exit_printhelp()
212 prog_name, prog_name, prog_name, prog_name); in exit_printhelp()
286 fprintf(stderr, "%s v%s: ", prog_name, prog_vers); in ip6tables_exit_error()
1651 prog_name, prog_vers); in do_command6()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_cpu_hog.c90 void usage(char *prog_name, int status) in usage() argument
94 if (prog_name == NULL) in usage()
95 prog_name = "cpu-hog"; in usage()
102 fprintf(output, USAGE, prog_name); in usage()
/external/ltp/testcases/commands/which/
Dwhich01.sh64 local prog_name=$2
66 local which_cmd="which $which_op $prog_name"
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_list_compute.c24 static void usage(char *prog_name, int status) in usage() argument
26 fprintf(stderr, USAGE, prog_name); in usage()
/external/rmi4utils/f54test/
Dmain.cpp41 void printHelp(const char *prog_name) in printHelp() argument
43 fprintf(stdout, "Usage: %s [OPTIONS]\n", prog_name); in printHelp()
/external/rmi4utils/rmi4update/
Dmain.cpp40 void printHelp(const char *prog_name) in printHelp() argument
42 fprintf(stdout, "Usage: %s [OPTIONS] FIRMWAREFILE\n", prog_name); in printHelp()
/external/google-breakpad/src/third_party/linux/include/gflags/
Dgflags.h294 const char* prog_name,
299 extern bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
301 extern bool ReadFromFlagsFile(const std::string& filename, const char* prog_name,
/external/libyuv/files/third_party/gflags/gen/posix/include/gflags/
Dgflags.h297 const char* prog_name,
302 extern GFLAGS_DLL_DECL bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
303 extern GFLAGS_DLL_DECL bool ReadFromFlagsFile(const std::string& filename, const char* prog_name, b…
/external/libyuv/files/third_party/gflags/gen/win/include/gflags/
Dgflags.h297 const char* prog_name,
302 extern GFLAGS_DLL_DECL bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
303 extern GFLAGS_DLL_DECL bool ReadFromFlagsFile(const std::string& filename, const char* prog_name, b…
/external/webrtc/third_party/gflags/gen/posix/include/gflags/
Dgflags.h316 const char* prog_name,
321 extern bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
323 extern bool ReadFromFlagsFile(const std::string& filename, const char* prog_name,
/external/gflags/android/gflags/
Dgflags.h298 const char* prog_name,
303 extern GFLAGS_DLL_DECL bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
304 extern GFLAGS_DLL_DECL bool ReadFromFlagsFile(const std::string& filename, const char* prog_name, b…
/external/toybox/toys/pending/
Dfsck.c58 char *prog_name, *dev_name; member
236 child->prog_name = args[0]; in do_fsck()
286 temp->prog_name, temp->dev_name, status); in wait_for()
291 free(temp->prog_name); in wait_for()
/external/webrtc/third_party/gflags/gen/win/include/gflags/
Dgflags.h338 const char* prog_name,
343 extern GFLAGS_DLL_DECL bool AppendFlagsIntoFile(const std::string& filename, const char* prog_name);
345 extern GFLAGS_DLL_DECL bool ReadFromFlagsFile(const std::string& filename, const char* prog_name,

123