Home
last modified time | relevance | path

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

12345678

/external/selinux/policycoreutils/semodule_package/
Dsemodule_unpackage.c14 char *progname = NULL; variable
19 printf("usage: %s ppfile modfile [fcfile]\n", progname); in usage()
28 fprintf(stderr, "%s: Out of memory\n", progname); in file_to_policy_file()
34 fprintf(stderr, "%s: Could not open file %s: %s\n", progname, strerror(errno), filename); in file_to_policy_file()
49 progname = argv[0]; in main()
65 fprintf(stderr, "%s: Out of memory\n", progname); in main()
71 progname, ppfile); in main()
79 fprintf(stderr, "%s: Error while writing module to %s\n", progname, modfile); in main()
90 fprintf(stderr, "%s: Could not open file %s: %s\n", progname, strerror(errno), fcfile); in main()
95 fprintf(stderr, "%s: Could not write file %s: %s\n", progname, strerror(errno), fcfile); in main()
Dsemodule_package.c22 char *progname = NULL; variable
46 fprintf(stderr, "%s: Out of memory\n", progname); in file_to_policy_file()
52 fprintf(stderr, "%s: Could not open file %s: %s\n", progname, in file_to_policy_file()
66 fprintf(stderr, "%s: Failed to open %s: %s\n", progname, path, in file_to_data()
71 fprintf(stderr, "%s: Failed to fstat %s: %s\n", progname, in file_to_data()
78 fprintf(stderr, "%s: Failed to mmap %s: %s\n", progname, path, in file_to_data()
181 progname = argv[0]; in main()
/external/vboot_reference/utility/
Dcrossystem.c105 void PrintHelp(const char *progname) { in PrintHelp() argument
120 "Valid parameters:\n", progname, progname, progname, progname); in PrintHelp()
237 char* progname = strrchr(argv[0], '/'); in main() local
238 if (progname) in main()
239 progname++; in main()
241 progname = argv[0]; in main()
257 PrintHelp(progname); in main()
272 PrintHelp(progname); in main()
279 PrintHelp(progname); in main()
287 PrintHelp(progname); in main()
Dbmpblk_font.c23 static char *progname; variable
29 fprintf(stderr, "%s: ", progname); in error()
65 "\n", progname, progname, DEFAULT_OUTFILE); in HelpAndDie()
128 progname = strrchr(argv[0], '/'); in main()
129 if (progname) in main()
130 progname++; in main()
132 progname = argv[0]; in main()
Defidecompress.c1014 char *progname; in main() local
1017 progname = strrchr(argv[0], '/'); in main()
1018 if (progname) in main()
1019 progname++; in main()
1021 progname = argv[0]; in main()
1025 fprintf(stderr, "\nUsage: %s INFILE OUTFILE\n\n", progname); in main()
1035 progname, in main()
1048 progname, in main()
1058 progname, in main()
1065 progname, in main()
[all …]
DdumpRSAPublicKey.c142 char *progname; in main() local
145 progname = strrchr(argv[0], '/'); in main()
146 if (progname) in main()
147 progname++; in main()
149 progname = argv[0]; in main()
150 fprintf(stderr, "Usage: %s <-cert | -pub> <file>\n", progname); in main()
/external/libjpeg-turbo/
Djpegtran.c41 static const char * progname; /* program name for error messages */ variable
51 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
110 progname); in select_transform()
115 progname); in select_transform()
170 progname); in parse_switches()
194 progname, argv[argn]); in parse_switches()
259 progname); in parse_switches()
281 progname); in parse_switches()
326 progname); in parse_switches()
393 progname = argv[0]; in main()
[all …]
Dcjpeg.c140 static const char * progname; /* program name for error messages */ variable
149 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
259 progname); in parse_switches()
327 progname); in parse_switches()
344 progname); in parse_switches()
354 progname); in parse_switches()
419 progname); in parse_switches()
507 progname = argv[0]; in main()
508 if (progname == NULL || progname[0] == 0) in main()
509 progname = "cjpeg"; /* in case C library doesn't provide it */ in main()
[all …]
Dwrjpgcom.c340 static const char * progname; /* program name for error messages */ variable
350 fprintf(stderr, "Usage: %s [switches] ", progname); in usage()
421 progname = argv[0]; in main()
422 if (progname == NULL || progname[0] == 0) in main()
423 progname = "wrjpgcom"; /* in case C library doesn't provide it */ in main()
436 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
494 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
504 fprintf(stderr, "%s: can't open stdin\n", progname); in main()
517 progname); in main()
521 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn+1]); in main()
[all …]
Ddjpeg.c90 static const char *progname; /* program name for error messages */ variable
103 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
313 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
361 progname); in parse_switches()
510 progname = argv[0]; in main()
511 if (progname == NULL || progname[0] == 0) in main()
512 progname = "djpeg"; /* in case C library doesn't provide it */ in main()
546 progname); in main()
553 progname); in main()
560 fprintf(stderr, "%s: only one input file\n", progname); in main()
[all …]
Drdjpgcom.c399 static const char * progname; /* program name for error messages */ variable
408 fprintf(stderr, "Usage: %s [switches] [inputfile]\n", progname); in usage()
459 progname = argv[0]; in main()
460 if (progname == NULL || progname[0] == 0) in main()
461 progname = "rdjpgcom"; /* in case C library doesn't provide it */ in main()
480 fprintf(stderr, "%s: only one input file\n", progname); in main()
485 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
495 fprintf(stderr, "%s: can't open stdin\n", progname); in main()
/external/vboot_reference/cgpt/
Dcgpt.c17 const char* progname; variable
47 progname); in Usage()
52 printf("\nFor more detailed usage, use %s COMMAND -h\n\n", progname); in Usage()
61 progname = strrchr(argv[0], '/'); in main()
62 if (progname) in main()
63 progname++; in main()
65 progname = argv[0]; in main()
/external/selinux/checkpolicy/
Dparse_util.c36 int read_source_policy(policydb_t * p, const char *file, const char *progname) in read_source_policy() argument
40 fprintf(stderr, "%s: unable to open %s\n", progname, file); in read_source_policy()
46 fprintf(stderr, "%s: out of memory!\n", progname); in read_source_policy()
57 progname); in read_source_policy()
67 progname); in read_source_policy()
Dcheckmodule.c51 static int read_binary_policy(policydb_t * p, const char *file, const char *progname) in read_binary_policy() argument
85 progname); in read_binary_policy()
91 progname); in read_binary_policy()
99 " is specified\n", progname); in read_binary_policy()
105 " is specified\n", progname); in read_binary_policy()
126 static void usage(char *progname) in usage() argument
128 …intf("usage: %s [-h] [-V] [-b] [-C] [-U handle_unknown] [-m] [-M] [-o FILE] [INPUT]\n", progname); in usage()
/external/selinux/policycoreutils/semodule_link/
Dsemodule_link.c24 char *progname; variable
43 fprintf(stderr, "%s: Out of memory\n", progname); in load_module()
47 fprintf(stderr, "%s: Out of memory\n", progname); in load_module()
52 fprintf(stderr, "%s: Could not open package %s: %s", progname, in load_module()
58 printf("%s: loading package from file %s\n", progname, filename); in load_module()
63 progname, filename); in load_module()
85 progname = argv[0]; in main()
/external/chromium-trace/catapult/tracing/third_party/devscripts/
Dlicensecheck.pl.vanilla144 my $progname = basename($0);
235 or die "Usage: $progname [options] filelist\nRun $progname --help for more details\n";
247 die "Usage: $progname [options] filelist\nRun $progname --help for more details\n" unless @ARGV;
263 or die "$progname: couldn't exec find: $!\n";
363 Usage: $progname [options] filename [filename ...]
392 This is $progname, from the Debian devscripts package, version ###VERSION###
574 (my $msg = "$progname: fatal error at line $line:\n@_\n") =~ tr/\0//d;
Dlicensecheck.pl147 my $progname = basename($0);
239 or die "Usage: $progname [options] filelist\nRun $progname --help for more details\n";
249 die "Usage: $progname [options] filelist\nRun $progname --help for more details\n" unless @ARGV;
271 or die "$progname: couldn't exec find: $!\n";
397 Usage: $progname [options] filename [filename ...]
426 This is $progname, from the Debian devscripts package, version ###VERSION###
668 (my $msg = "$progname: fatal error at line $line:\n@_\n") =~ tr/\0//d;
/external/bison/lib/
Dwait-process.c193 wait_subprocess (pid_t child, const char *progname, in wait_subprocess() argument
223 _("%s subprocess"), progname); in wait_subprocess()
255 _("%s subprocess"), progname); in wait_subprocess()
275 progname, info.si_status); in wait_subprocess()
282 _("%s subprocess failed"), progname); in wait_subprocess()
317 _("%s subprocess"), progname); in wait_subprocess()
347 progname, (int) WTERMSIG (status)); in wait_subprocess()
356 _("%s subprocess failed"), progname); in wait_subprocess()
Dspawn-pipe.c109 create_pipe (const char *progname, in create_pipe() argument
234 _("%s subprocess failed"), progname); in create_pipe()
348 _("%s subprocess failed"), progname); in create_pipe()
393 create_pipe_bidi (const char *progname, in create_pipe_bidi() argument
399 pid_t result = create_pipe (progname, prog_path, prog_argv, in create_pipe_bidi()
414 create_pipe_in (const char *progname, in create_pipe_in() argument
421 pid_t result = create_pipe (progname, prog_path, prog_argv, in create_pipe_in()
438 create_pipe_out (const char *progname, in create_pipe_out() argument
445 pid_t result = create_pipe (progname, prog_path, prog_argv, in create_pipe_out()
Dspawn-pipe.h85 extern pid_t create_pipe_out (const char *progname,
98 extern pid_t create_pipe_in (const char *progname,
126 extern pid_t create_pipe_bidi (const char *progname,
/external/mesa3d/src/gallium/tests/unit/
DSConscript22 for progname in progs:
24 target = progname,
25 source = progname + '.c',
28 env.Alias(progname, env.InstallProgram(prog))
/external/e2fsprogs/misc/
De2freefrag.c272 char *progname; in do_freefrag() local
284 progname = argv[0]; in do_freefrag()
293 progname, optarg); in do_freefrag()
294 usage(progname); in do_freefrag()
300 usage(progname); in do_freefrag()
306 usage(progname); in do_freefrag()
313 fprintf(stderr, "%s: missing device name.\n", progname); in do_freefrag()
314 usage(progname); in do_freefrag()
326 "to filesystem blocksize.\n", progname); in do_freefrag()
/external/vboot_reference/futility/
Dcmd_dump_fmap.c27 static char *progname; variable
123 progname, outname, strerror(errno)); in dump_fmap()
128 progname, buf); in dump_fmap()
132 " than the image\n", progname, buf); in dump_fmap()
137 progname, buf, strerror(errno)); in dump_fmap()
424 progname = argv[0]; in do_dump_fmap()
447 progname, optopt); in do_dump_fmap()
452 progname, optopt); in do_dump_fmap()
462 print_help(progname); in do_dump_fmap()
468 progname, argv[optind], strerror(errno)); in do_dump_fmap()
[all …]
/external/selinux/libselinux/utils/
Dselabel_lookup.c9 static void usage(const char *progname) in usage() argument
29 progname, progname, progname); in usage()
/external/e2fsprogs/e2fsck/
Dflushb.c30 const char *progname; variable
34 fprintf(stderr, _("Usage: %s disk\n"), progname); in usage()
42 progname = argv[0]; in main()

12345678