Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 25 of 251) 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_show_exports() local
[all …]
Dtest-depmod.c34 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_modules_order_for_compressed() local
36 progname, in depmod_modules_order_for_compressed()
40 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); \
85 progname,
89 test_spawn_prog(progname, args);
105 progname, "-F", "filename", in test_modinfo_external()
109 test_spawn_prog(progname, args); in test_modinfo_external()
/external/libfuse/lib/
Dmount_util.c85 static int add_mount(const char *progname, const char *fsname, in add_mount() argument
97 fprintf(stderr, "%s: sigprocmask: %s\n", progname, strerror(errno)); in add_mount()
103 fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); in add_mount()
112 fprintf(stderr, "%s: setuid: %s\n", progname, strerror(errno)); in add_mount()
120 progname, strerror(errno)); in add_mount()
125 fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); in add_mount()
136 int fuse_mnt_add_mount(const char *progname, const char *fsname, in fuse_mnt_add_mount() argument
142 return add_mount(progname, fsname, mnt, type, opts); in fuse_mnt_add_mount()
145 static int exec_umount(const char *progname, const char *rel_mnt, int lazy) in exec_umount() argument
156 fprintf(stderr, "%s: sigprocmask: %s\n", progname, strerror(errno)); in exec_umount()
[all …]
Dmount_util.h11 int fuse_mnt_add_mount(const char *progname, const char *fsname,
13 int fuse_mnt_remove_mount(const char *progname, const char *mnt);
14 int fuse_mnt_umount(const char *progname, const char *abs_mnt,
16 char *fuse_mnt_resolve_path(const char *progname, const char *orig);
/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/libjpeg-turbo/
Djpegtran.c42 static const char *progname; /* program name for error messages */ variable
53 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
113 progname); in select_transform()
118 progname); in select_transform()
174 progname); in parse_switches()
198 progname, argv[argn]); in parse_switches()
270 progname); in parse_switches()
292 progname); in parse_switches()
337 progname); in parse_switches()
407 progname = argv[0]; in main()
[all …]
Dcjpeg.c146 static const char *progname; /* program name for error messages */ variable
156 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
269 progname); in parse_switches()
344 progname); in parse_switches()
361 progname); in parse_switches()
371 progname); in parse_switches()
436 progname); in parse_switches()
527 progname = argv[0]; in main()
528 if (progname == NULL || progname[0] == 0) in main()
529 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()
517 fprintf(stderr, "%s: must name one input and one output file\n", progname); in main()
521 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn + 1]); in main()
[all …]
Ddjpeg.c95 static const char *progname; /* program name for error messages */ variable
109 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
330 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
378 progname); in parse_switches()
527 progname = argv[0]; in main()
528 if (progname == NULL || progname[0] == 0) in main()
529 progname = "djpeg"; /* in case C library doesn't provide it */ in main()
563 progname); in main()
570 progname); in main()
577 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/libgsm/src/
Dtoast.c14 char * progname; variable
125 progname = av0 = endname(av0 ? av0 : "toast");
180 progname, s > name ? name : ".");
192 progname, endname(name), max_filename_length );
255 progname, (int)len);
326 progname, outname); in P0()
333 progname, outname); in P0()
407 fprintf(stderr, "%s: cannot stat \"%s\"\n", progname, name);
414 progname, name);
420 progname, name, (int)(st->st_nlink - 1),
[all …]
Dtoast_audio.c19 extern char * progname;
71 progname, inname ? inname : "stdin", progname); in P0()
82 progname, enc, inname); in P0()
92 progname, inname ? inname : "stdin", progname); in P0()
/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/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/gflags/src/
Dgflags_reporting.cc355 const char* progname) { in AppendPrognameStrings() argument
358 r += progname; in AppendPrognameStrings()
373 const char* progname = ProgramInvocationShortName(); in HandleCommandLineHelpFlags() local
378 AppendPrognameStrings(&substrings, progname); in HandleCommandLineHelpFlags()
383 ShowUsageWithFlagsMatching(progname, substrings); in HandleCommandLineHelpFlags()
388 ShowUsageWithFlagsRestrict(progname, ""); // empty restrict in HandleCommandLineHelpFlags()
393 ShowUsageWithFlagsRestrict(progname, restrict_.c_str()); in HandleCommandLineHelpFlags()
397 ShowUsageWithFlagsRestrict(progname, FLAGS_helpmatch.c_str()); in HandleCommandLineHelpFlags()
416 ShowUsageWithFlagsRestrict(progname, package.c_str()); in HandleCommandLineHelpFlags()
419 LOG(WARNING) << "Multiple packages contain a file=" << progname; in HandleCommandLineHelpFlags()
[all …]
/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/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c114 static void usage(char *progname) in usage() argument
141 progname); in usage()
156 char *progname; in main() local
181 progname = strrchr(argv[0], '/'); in main()
182 progname = progname ? 1+progname : argv[0]; in main()
213 usage(progname); in main()
240 usage(progname); in main()
244 usage(progname); in main()
434 usage(progname); in main()
/external/python/cpython2/Tools/scripts/
Dmkreal.py47 progname = os.path.basename(sys.argv[0])
48 if progname == '-c': progname = 'mkreal'
51 print 'usage:', progname, 'path ...'
56 print progname+':', name+':', 'not a symlink'
/external/python/cpython3/Tools/scripts/
Dmkreal.py46 progname = os.path.basename(sys.argv[0])
47 if progname == '-c': progname = 'mkreal'
50 print('usage:', progname, 'path ...')
55 print(progname+':', name+':', 'not a symlink')

1234567891011