/external/kmod/testsuite/ |
D | test-modprobe.c | 30 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() 103 const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe"; in modprobe_show_exports() local [all …]
|
D | test-depmod.c | 33 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() 63 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_search_order_simple() local 65 progname, in depmod_search_order_simple() 69 test_spawn_prog(progname, args); in depmod_search_order_simple() 89 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_search_order_same_prefix() local 91 progname, in depmod_search_order_same_prefix() 95 test_spawn_prog(progname, args); in depmod_search_order_same_prefix() 115 const char *progname = ABS_TOP_BUILDDIR "/tools/depmod"; in depmod_detect_loop() local [all …]
|
D | test-tools.c | 30 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()
|
D | test-modinfo.c | 28 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/ |
D | mount_util.c | 85 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 …]
|
D | mount_util.h | 11 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/ |
D | semodule_unpackage.c | 14 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()
|
/external/libgsm/src/ |
D | toast.c | 14 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 …]
|
D | toast_audio.c | 19 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/libjpeg-turbo/ |
D | jpegtran.c | 42 static const char *progname; /* program name for error messages */ variable 57 fprintf(stderr, "usage: %s [switches] ", progname); in usage() 123 progname); in select_transform() 128 progname); in select_transform() 187 progname); in parse_switches() 212 progname, argv[argn]); in parse_switches() 228 progname, argv[argn]); in parse_switches() 310 progname); in parse_switches() 332 progname); in parse_switches() 380 progname); in parse_switches() [all …]
|
D | cjpeg.c | 145 static const char *progname; /* program name for error messages */ variable 195 fprintf(stderr, "usage: %s [switches] ", progname); in usage() 310 progname); in parse_switches() 385 progname); in parse_switches() 402 progname); in parse_switches() 412 progname); in parse_switches() 480 progname); in parse_switches() 578 progname = argv[0]; in cjpeg() 579 if (progname == NULL || progname[0] == 0) in cjpeg() 580 progname = "cjpeg"; /* in case C library doesn't provide it */ in cjpeg() [all …]
|
D | djpeg.c | 95 static const char *progname; /* program name for error messages */ variable 112 fprintf(stderr, "usage: %s [switches] ", progname); in usage() 340 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches() 394 progname); in parse_switches() 562 progname = argv[0]; in djpeg() 563 if (progname == NULL || progname[0] == 0) in djpeg() 564 progname = "djpeg"; /* in case C library doesn't provide it */ in djpeg() 601 progname); in djpeg() 608 progname); in djpeg() 615 fprintf(stderr, "%s: only one input file\n", progname); in djpeg() [all …]
|
D | wrjpgcom.c | 341 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 …]
|
D | rdjpgcom.c | 400 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/utility/ |
D | crossystem.c | 105 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()
|
D | bmpblk_font.c | 23 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()
|
D | efidecompress.c | 1014 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/ |
D | cgpt.c | 17 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/e2fsprogs/tests/fuzz/ |
D | ext2fs_image_read_write_fuzzer.cc | 37 const char *progname = "ext2fs_image_read_write_fuzzer"; in LLVMFuzzerTestOneInput() local 83 com_err(progname, retval, "while trying to open file system"); in LLVMFuzzerTestOneInput() 93 com_err(progname, retval, "while trying to read image bitmap"); in LLVMFuzzerTestOneInput() 99 com_err(progname, retval, "while trying to read image inode"); in LLVMFuzzerTestOneInput() 105 com_err(progname, retval, "while trying to read image superblock"); in LLVMFuzzerTestOneInput() 111 com_err(progname, retval, "while trying to write image bitmap"); in LLVMFuzzerTestOneInput() 117 com_err(progname, retval, "while trying to write image inode"); in LLVMFuzzerTestOneInput() 123 com_err(progname, retval, "while trying to write image superblock"); in LLVMFuzzerTestOneInput()
|
D | ext2fs_read_bitmap_fuzzer.cc | 37 const char *progname = "ext2fs_read_bitmap_fuzzer"; in LLVMFuzzerTestOneInput() local 79 com_err(progname, retval, "while trying to open file system"); in LLVMFuzzerTestOneInput() 88 com_err(progname, retval, "while trying to read block bitmap"); in LLVMFuzzerTestOneInput() 94 com_err(progname, retval, "while trying to read inode bitmap"); in LLVMFuzzerTestOneInput() 103 com_err(progname, retval, "while trying to close file system"); in LLVMFuzzerTestOneInput()
|
/external/selinux/checkpolicy/ |
D | parse_util.c | 35 int read_source_policy(policydb_t * p, const char *file, const char *progname) in read_source_policy() argument 39 fprintf(stderr, "%s: unable to open %s: %s\n", progname, file, strerror(errno)); in read_source_policy() 45 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/ |
D | gflags_reporting.cc | 355 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/ |
D | semodule_link.c | 24 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/ |
D | testptp.c | 116 static void usage(char *progname) in usage() argument 145 progname); in usage() 160 char *progname; in main() local 187 progname = strrchr(argv[0], '/'); in main() 188 progname = progname ? 1+progname : argv[0]; in main() 222 usage(progname); in main() 252 usage(progname); in main() 256 usage(progname); in main() 471 usage(progname); in main()
|
/external/python/cpython3/Tools/scripts/ |
D | mkreal.py | 46 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')
|