Home
last modified time | relevance | path

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

1234567891011

/external/kmod/testsuite/
Dtest-modprobe.c30 const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe"; in modprobe_show_depends() local
32 progname, in modprobe_show_depends()
37 test_spawn_prog(progname, args); in modprobe_show_depends()
52 const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe"; in modprobe_show_depends2() local
54 progname, in modprobe_show_depends2()
59 test_spawn_prog(progname, args); in modprobe_show_depends2()
75 const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe"; in modprobe_show_alias_to_none() local
77 progname, in modprobe_show_alias_to_none()
82 test_spawn_prog(progname, args); in modprobe_show_alias_to_none()
100 const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe"; in modprobe_builtin() local
[all …]
Dtest-depmod.c33 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_modules_order_for_compressed() local
35 progname, in depmod_modules_order_for_compressed()
39 test_spawn_prog(progname, args); in depmod_modules_order_for_compressed()
62 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_search_order_simple() local
64 progname, in depmod_search_order_simple()
68 test_spawn_prog(progname, args); in depmod_search_order_simple()
88 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_search_order_same_prefix() local
90 progname, in depmod_search_order_same_prefix()
94 test_spawn_prog(progname, args); in depmod_search_order_same_prefix()
114 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_detect_loop() local
[all …]
Dtest-tools.c30 const char *progname = ABS_TOP_BUILDDIR "/tools/kmod"; in kmod_tool_insert() local
32 progname, in kmod_tool_insert()
37 test_spawn_prog(progname, args); in kmod_tool_insert()
52 const char *progname = ABS_TOP_BUILDDIR "/tools/kmod"; in kmod_tool_remove() local
54 progname, in kmod_tool_remove()
59 test_spawn_prog(progname, args); in kmod_tool_remove()
Dtest-modinfo.c28 static const char *progname = ABS_TOP_BUILDDIR "/tools/modinfo"; variable
34 progname, "-F", #_field ,\
38 test_spawn_prog(progname, args); \
76 progname,
80 test_spawn_prog(progname, args);
/external/ltp/tools/pounder21/
Dinfinite_loop.c33 static char *progname; variable
41 progname, res); in int_func()
81 progname = rindex(argv[3], '/'); in main()
82 if (progname == NULL) { in main()
83 progname = argv[3]; in main()
85 progname++; in main()
88 progname = rindex(argv[1], '/'); in main()
89 if (progname == NULL) { in main()
90 progname = argv[1]; in main()
92 progname++; in main()
[all …]
Dtimed_loop.c33 static char *progname; variable
41 progname, res); in int_func()
49 progname, res); in alarm_func()
98 progname = rindex(argv[4], '/'); in main()
99 if (progname == NULL) { in main()
100 progname = argv[4]; in main()
102 progname++; in main()
105 progname = rindex(argv[2], '/'); in main()
106 if (progname == NULL) { in main()
107 progname = argv[2]; in main()
[all …]
Dfancy_timed_loop.c33 static char *progname; variable
43 progname, res); in int_func()
51 progname, res); in alarm_func()
96 progname = rindex(argv[7], '/'); in main()
97 if (progname == NULL) { in main()
98 progname = argv[7]; in main()
100 progname++; in main()
103 progname = rindex(argv[5], '/'); in main()
104 if (progname == NULL) { in main()
105 progname = argv[5]; in main()
[all …]
/external/selinux/semodule-utils/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()
82 fprintf(stderr, "%s: Failed to mmap %s: %s\n", progname, path, in file_to_data()
185 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 …]
/external/libjpeg-turbo/
Djpegtran.c42 static const char *progname; /* program name for error messages */ variable
52 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
111 progname); in select_transform()
116 progname); in select_transform()
171 progname); in parse_switches()
195 progname, argv[argn]); in parse_switches()
260 progname); in parse_switches()
282 progname); in parse_switches()
327 progname); in parse_switches()
394 progname = argv[0]; in main()
[all …]
Dcjpeg.c141 static const char *progname; /* program name for error messages */ variable
150 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
261 progname); in parse_switches()
329 progname); in parse_switches()
346 progname); in parse_switches()
356 progname); in parse_switches()
421 progname); in parse_switches()
509 progname = argv[0]; in main()
510 if (progname == NULL || progname[0] == 0) in main()
511 progname = "cjpeg"; /* in case C library doesn't provide it */ in main()
[all …]
Dwrjpgcom.c341 static const char *progname; /* program name for error messages */ variable
351 fprintf(stderr, "Usage: %s [switches] ", progname); in usage()
422 progname = argv[0]; in main()
423 if (progname == NULL || progname[0] == 0) in main()
424 progname = "wrjpgcom"; /* in case C library doesn't provide it */ in main()
437 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
495 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
505 fprintf(stderr, "%s: can't open stdin\n", progname); in main()
518 progname); in main()
522 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn+1]); in main()
[all …]
Ddjpeg.c92 static const char *progname; /* program name for error messages */ variable
105 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
315 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
363 progname); in parse_switches()
512 progname = argv[0]; in main()
513 if (progname == NULL || progname[0] == 0) in main()
514 progname = "djpeg"; /* in case C library doesn't provide it */ in main()
548 progname); in main()
555 progname); in main()
562 fprintf(stderr, "%s: only one input file\n", progname); in main()
[all …]
Drdjpgcom.c400 static const char *progname; /* program name for error messages */ variable
409 fprintf(stderr, "Usage: %s [switches] [inputfile]\n", progname); in usage()
460 progname = argv[0]; in main()
461 if (progname == NULL || progname[0] == 0) in main()
462 progname = "rdjpgcom"; /* in case C library doesn't provide it */ in main()
481 fprintf(stderr, "%s: only one input file\n", progname); in main()
486 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
496 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()
/external/selinux/semodule-utils/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/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()
/external/ltp/tools/pounder21/src/memxfer5b/
Dmemxfer5b.c58 char *progname; variable
79 progname = av[0]; in main()
80 if (strrchr(progname, SLASHC)) in main()
81 progname = strrchr(progname, SLASHC) + 1; in main()
110 progname); in main()
148 printf("%s ", progname); in main()
180 progname, size, cnt, in main()
/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.c273 char *progname; in do_freefrag() local
286 progname = argv[0]; in do_freefrag()
295 progname, optarg); in do_freefrag()
296 usage(progname); in do_freefrag()
302 usage(progname); in do_freefrag()
308 usage(progname); in do_freefrag()
315 fprintf(stderr, "%s: missing device name.\n", progname); in do_freefrag()
316 usage(progname); in do_freefrag()
328 "to filesystem blocksize.\n", progname); in do_freefrag()

1234567891011