/system/core/debuggerd/crasher/ |
D | crasher.cpp | 169 fprintf(sneaky_null, "oops"); in fprintf_null() 183 fprintf(stderr, "usage: %s KIND\n", getprogname()); in usage() 184 fprintf(stderr, "\n"); in usage() 185 fprintf(stderr, "where KIND is:\n"); in usage() 186 fprintf(stderr, " smash-stack overwrite a -fstack-protector guard\n"); in usage() 187 fprintf(stderr, " stack-overflow recurse until the stack overflows\n"); in usage() 188 fprintf(stderr, " nostack crash with a NULL stack pointer\n"); in usage() 189 fprintf(stderr, "\n"); in usage() 190 fprintf(stderr, " heap-usage cause a libc abort by abusing a heap function\n"); in usage() 191 fprintf(stderr, " call-null cause a crash by calling through a nullptr\n"); in usage() [all …]
|
/system/extras/memory_replay/ |
D | FilterTrace.cpp | 39 fprintf( in Usage() 43 fprintf(stderr, " --min_size SIZE\n"); in Usage() 44 fprintf(stderr, " Display all allocations that are greater than or equal to SIZE\n"); in Usage() 45 fprintf(stderr, " --max_size SIZE\n"); in Usage() 46 fprintf(stderr, " Display all allocations that are less than or equal to SIZE\n"); in Usage() 47 fprintf(stderr, " --print_trace_format\n"); in Usage() 48 fprintf(stderr, " Display all allocations from the trace in the trace format\n"); in Usage() 49 fprintf(stderr, " --help\n"); in Usage() 50 fprintf(stderr, " Display this usage message\n"); in Usage() 51 fprintf(stderr, " TRACE_FILE\n"); in Usage() [all …]
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 50 fprintf(stderr, "USAGE: unwind_for_offline [-t] [-e FILE] [-f[FILE]] <PID>\n\n"); in usage() 51 fprintf(stderr, "OPTIONS:\n"); in usage() 52 fprintf(stderr, "-t\n"); in usage() 53 fprintf(stderr, " Dump offline snapshot for all threads of <PID>.\n"); in usage() 54 fprintf(stderr, "-e FILE\n"); in usage() 55 fprintf(stderr, " If FILE is a valid ELF file included in /proc/<PID>/maps,\n"); in usage() 56 fprintf(stderr, " unwind_for_offline will wait until the current frame (PC)\n"); in usage() 57 fprintf(stderr, " lies within the .so file given by FILE. FILE should be\n"); in usage() 58 fprintf(stderr, " base name of the path (the component following the final\n"); in usage() 59 fprintf(stderr, " '/') rather than the fully qualified path.\n"); in usage() [all …]
|
/system/sepolicy/tools/ |
D | seamendc.c | 44 fprintf(stderr, "Could not open %s: %s.\n", path, strerror(errno)); in read_binary_policy() 52 fprintf(stderr, "Could not stat %s: %s.\n", path, strerror(errno)); in read_binary_policy() 58 fprintf(stderr, "Binary policy file is empty.\n"); in read_binary_policy() 72 fprintf(stderr, "Failure reading %s: %s.\n", path, strerror(errno)); in read_binary_policy() 86 fprintf(stderr, "Failed to read binary policy: %d.\n", rc); in read_binary_policy() 117 fprintf(stderr, "Could not open %s: %s.\n", path, strerror(errno)); in read_cil_files() 124 fprintf(stderr, "Could not stat %s: %s.\n", path, strerror(errno)); in read_cil_files() 138 fprintf(stderr, "Failure reading %s: %s.\n", path, strerror(errno)); in read_cil_files() 148 fprintf(stderr, "Failure adding %s to parse tree.\n", path); in read_cil_files() 173 fprintf(stderr, "Could not open %s: %s.\n", path, strerror(errno)); in write_binary_policy() [all …]
|
D | version_policy.c | 39 fprintf(stderr, "Could not open file: %s\n", path); in read_cil_file() 44 fprintf(stderr, "Could not stat file: %s - %s\n", path, strerror(errno)); in read_cil_file() 50 fprintf(stderr, "OOM!\n"); in read_cil_file() 56 fprintf(stderr, "Failure reading file: %s\n", path); in read_cil_file() 66 fprintf(stderr, "Failure adding %s to parse tree\n", path); in read_cil_file() 130 fprintf(stderr, "Unsupported option: %s\n", optarg); in main() 135 fprintf(stderr, "Unknown arguments supplied\n"); in main() 139 fprintf(stderr, "Please specify required arguments\n"); in main() 151 fprintf(stderr, "Please select only one mode between --mapping and --tgt_policy\n"); in main() 183 fprintf(stderr, "Could not open file: %s\n", output); in main() [all …]
|
D | checkfc.c | 69 fprintf(stderr, "Error: Invalid mode of operation: %d\n", mode); in filemode_to_assert_attrs() 77 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", attr_name); in get_attr_bit() 82 fprintf(stderr, "Error: \"%s\" is not an attribute in this policy.\n", attr_name); in get_attr_bit() 102 fprintf(stderr, "Error: setting bit on assertion ebitmap!\n"); in ebitmap_attribute_assertion_init() 115 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", type_name); in is_type_of_attribute_set() 120 fprintf(stderr, "Error: \"%s\" is not a type in this policy.\n", type_name); in is_type_of_attribute_set() 130 fprintf(stderr, "Error: Could not perform ebitmap_and: %d\n", rc); in is_type_of_attribute_set() 145 fprintf(stream, "\""); in dump_char_array() 150 fprintf(stream, fmt, s); in dump_char_array() 163 fprintf(stderr, "Error: Could not allocate context from string"); in validate() [all …]
|
/system/extras/tests/storage/ |
D | opentest.c | 37 fprintf(stderr, "Usage: opentest <directory> <num_files>\n"); in main() 45 fprintf(stderr, "num_files must be between 1 and 65536\n"); in main() 50 fprintf(stderr, "Cannot stat %s\n", dir); in main() 55 fprintf(stderr, "%s is not a directory!\n", dir); in main() 60 fprintf(stderr, "No access to %s\n", dir); in main() 66 fprintf(stderr, "Unable to malloc array of %d fds\n", nfiles); in main() 71 fprintf(stderr, "Cannot chdir to %s\n", dir); in main() 78 fprintf(stderr, "Unable to raise RLIMIT_NOFILE to %ld\n", rlim.rlim_cur); in main() 86 fprintf(stderr, "Unable to open %d fd\n", i); in main()
|
/system/core/libsparse/ |
D | append2simg.cpp | 44 fprintf(stderr, "Usage: append2simg <output> <input>\n"); in usage() 72 fprintf(stderr, "Couldn't allocate filename\n"); in main() 78 fprintf(stderr, "Couldn't open output file (%s)\n", strerror(errno)); in main() 84 fprintf(stderr, "Couldn't import output file\n"); in main() 90 fprintf(stderr, "Couldn't open input file (%s)\n", strerror(errno)); in main() 96 fprintf(stderr, "Couldn't get input file length (%s)\n", strerror(errno)); in main() 99 fprintf(stderr, "Input file is not a multiple of the output file's block size"); in main() 106 fprintf(stderr, "Couldn't add input file\n"); in main() 113 fprintf(stderr, "Couldn't open temporary file (%s)\n", strerror(errno)); in main() 119 fprintf(stderr, "Failed to write sparse file\n"); in main() [all …]
|
/system/libufdt/tests/src/ |
D | ufdt_gen_test_dts.c | 77 fprintf(fp, "/dts-v1/;\n"); in output_header() 79 fprintf(fp, "/plugin/;\n"); in output_header() 81 fprintf(fp, "\n"); in output_header() 85 fprintf(fp, "/ {\n"); in output_root_begin() 89 fprintf(fp, "level%d {\n", i); in output_root_begin() 96 fprintf(fp, "};\n"); in output_root_end() 99 fprintf(fp, "};\n\n"); in output_root_end() 105 fprintf(fp, "unused%d {};\n", i); in output_unused_nodes() 111 fprintf(fp, "%s=\"%s\";\n", prop, value); in output_prop_str() 117 fprintf(fp, "node%d: node%d {\n", i, i); in output_nodes() [all …]
|
D | extract_dtb.c | 58 fprintf(stderr, "malloc(%u) failed.\n", buf_size - tag_pos); in find_and_write_dtb() 66 fprintf(stderr, "Bad DTB.\n"); in find_and_write_dtb() 73 fprintf(stderr, in find_and_write_dtb() 82 fprintf(stderr, "Can not get the root node.\n"); in find_and_write_dtb() 95 fprintf(stderr, "Write file error: %s\n", filename); in find_and_write_dtb() 116 fprintf(stderr, "Can not load file: %s\n", in_filename); in extract_dtbs() 139 fprintf(stderr, "Can not find any DTB.\n"); in extract_dtbs() 147 fprintf(stderr, "Write file error: %s\n", out_image_filename); in extract_dtbs() 162 fprintf(stderr, "Usage: %s <image.gz-dtb_file> <out_dtb_name> (<out_image_name>)\n\n", argv[0]); in main() 163 fprintf(stderr, " Note: If there are more than one DTB, it outputs DTB files named\n" \ in main()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.cpp | 47 fprintf(stderr, "WARNING: Error getting information about part %s: %s\n", name, in get_dev_t_for_partition() 62 fprintf(stderr, "WARNING: Error getting information about /system: %s\n", strerror(errno)); in module_getCurrentSlot() 75 fprintf(stderr, in module_getCurrentSlot() 102 fprintf(stderr, "Error reading %zd bytes from source: %s\n", num_to_read, strerror(errno)); in copy_data() 113 fprintf(stderr, "Error writing %zd bytes to destination: %s\n", num_to_write, in copy_data() 134 fprintf(stderr, "WARNING: Error loading boot-info. Resetting.\n"); in module_setActiveBootSlot() 138 fprintf(stderr, "WARNING: boot-info is invalid. Resetting.\n"); in module_setActiveBootSlot() 148 fprintf(stderr, "Error saving boot-info.\n"); in module_setActiveBootSlot() 156 fprintf(stderr, "Error opening \"%s\" partition.\n", src_name); in module_setActiveBootSlot() 162 fprintf(stderr, "Error opening \"boot\" partition.\n"); in module_setActiveBootSlot() [all …]
|
/system/unwinding/libunwindstack/utils/ |
D | ProcessTracer.cpp | 58 fprintf(stderr, in InitProcessTids() 65 fprintf(stderr, in InitProcessTids() 80 fprintf(stderr, "Failed to send stop signal to pid %d: %s\n", pid_, strerror(errno)); in Stop() 91 fprintf(stderr, "Failed to send continue signal to pid %d: %s\n", pid_, strerror(errno)); in Resume() 102 fprintf(stderr, "Tid %d does not belong to proc %d.\n", tid, pid_); in Detach() 107 fprintf(stderr, "Cannot detach because no thread is currently attached.\n"); in Detach() 113 fprintf(stderr, "Failed to detach from tid %d: %s\n", tid, strerror(errno)); in Detach() 123 fprintf(stderr, "Tid %d does not belong to proc %d.\n", tid, pid_); in Attach() 129 fprintf(stderr, "Cannot attatch to tid %d. Already attached to tid %d.\n", tid, in Attach() 135 fprintf(stderr, "Failed to attached to tid %d: %s\n", tid, strerror(errno)); in Attach() [all …]
|
/system/extras/tests/pagingtest/ |
D | pagingtest.c | 29 fprintf(stderr, "unable to create temp file: %s\n", strerror(errno)); in create_tmp_file() 35 fprintf(stderr, "unable to open urandom: %s\n", strerror(errno)); in create_tmp_file() 40 fprintf(stderr, "unable to unlink temp file: %s\n", strerror(errno)); in create_tmp_file() 45 fprintf(stderr, "unable to allocate temp file: %s\n", strerror(errno)); in create_tmp_file() 51 fprintf(stderr, "unable to mmap temp file: %s\n", strerror(errno)); in create_tmp_file() 61 fprintf(stderr, "write random data failed: %s\n", strerror(errno)); in create_tmp_file() 70 fprintf(stderr, "madvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() 75 fprintf(stderr, "fsync failed: %s\n", strerror(errno)); in create_tmp_file() 81 fprintf(stderr, "fadvise DONTNEED failed: %s\n", strerror(errno)); in create_tmp_file() 106 fprintf(stderr, "malloc failed\n"); in alloc_mincore_vec() [all …]
|
/system/extras/ioshark/ |
D | compile_ioshark.c | 95 fprintf(stderr, "%s in_file out_file\n", progname); in usage() 130 fprintf(stderr, in get_tracetype() 138 fprintf(stderr, in get_tracetype() 145 fprintf(stderr, in get_tracetype() 155 fprintf(stderr, in get_tracetype() 166 fprintf(stderr, in get_tracetype() 183 fprintf(stderr, "%s: Malformed line: %s\n", in get_pathname() 189 fprintf(stderr, "%s: Malformed line: %s\n", in get_pathname() 199 fprintf(stderr, "%s: Malformed line: %s\n", in get_pathname() 209 fprintf(stderr, "%s: Malformed line: %s\n", in get_pathname() [all …]
|
D | ioshark_bench.c | 83 …fprintf(stderr, "%s [-b blockdev_name] [-d preserve_delays] [-n num_iterations] [-t num_threads] -… in usage() 85 fprintf(stderr, "%s -s, -v are mutually exclusive\n", in usage() 178 fprintf(stderr, "%s read error tracefile\n", in create_files() 232 fprintf(stderr, in do_one_io() 246 fprintf(stderr, in do_one_io() 261 fprintf(stderr, in do_one_io() 276 fprintf(stderr, in do_one_io() 291 fprintf(stderr, in do_one_io() 321 fprintf(stderr, in do_one_io() 338 fprintf(stderr, in do_one_io() [all …]
|
/system/libufdt/utils/src/ |
D | mkdtimg.c | 55 fprintf(stderr, "Unknown command: %s\n", command); in search_command() 65 fprintf(out_fp, ", "); in print_all_commands() 67 fprintf(out_fp, "%s", info->command); in print_all_commands() 69 fprintf(out_fp, "\n"); in print_all_commands() 73 fprintf(out_fp, " %s <command>\n\n", prog_name); in output_all_usage() 74 fprintf(out_fp, " commands:\n "); in output_all_usage() 76 fprintf(out_fp, "\n"); in output_all_usage() 81 fprintf(out_fp, "\n"); in output_all_usage() 86 fprintf(out_fp, " %s help all\n", prog_name); in handle_usage_help() 87 fprintf(out_fp, " %s help <command>\n\n", prog_name); in handle_usage_help() [all …]
|
D | mkdtimg_dump.c | 44 fprintf(stderr, "malloc(%" PRIu32 ") failed.\n", dt_size); in read_fdt_from_image() 50 fprintf(stderr, "Read FDT data error.\n"); in read_fdt_from_image() 66 fprintf(stderr, "Can not create file: %s\n", filename); in write_fdt_to_file() 72 fprintf(stderr, "Write FDT data error.\n"); in write_fdt_to_file() 95 fprintf(out_fp, "%20s = %d\n", name, fdt32_to_cpu(value)); in output_prop_int() 99 fprintf(out_fp, "%20s = %d\n", name, value); in output_prop_int_cpu() 103 fprintf(out_fp, "%20s = %08x\n", name, fdt32_to_cpu(value)); in output_prop_hex() 107 fprintf(out_fp, "%20s = %s\n", name, value); in output_prop_str() 111 fprintf(out_fp, "dt_table_header:\n"); in output_table_header() 123 fprintf(out_fp, "dt_table_entry[%d]:\n", index); in output_table_entry() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 82 fprintf(stderr, "Option -d expects an argument.\n"); in main() 90 fprintf(stderr, "Option -n expects an argument.\n"); in main() 102 fprintf(stderr, "Option -p expects an argument.\n"); in main() 110 fprintf(stderr, "Option -t expects an argument.\n"); in main() 116 fprintf(stderr, "Invalid argument \"%s\".\n", argv[i]); in main() 122 fprintf(stderr, in main() 181 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 184 fprintf(f, "erase\n"); in read_global_stats() 190 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats() 211 fprintf(stderr, "Could not open task dir for process %d.\n", pid); in read_process_stats() [all …]
|
/system/extras/partition_tools/ |
D | lpmake.cc | 54 fprintf(stderr, in usage() 201 fprintf(stderr, "Could not open file: %s: %s\n", path.c_str(), strerror(errno)); in GetFileSize() 207 fprintf(stderr, "Failed to seek file: %s: %s\n", path.c_str(), strerror(errno)); in GetFileSize() 267 fprintf(stderr, "Invalid argument to --device-size.\n"); in main() 274 fprintf(stderr, "Invalid argument to --metadata-size.\n"); in main() 280 fprintf(stderr, "Invalid argument to --metadata-slots.\n"); in main() 286 fprintf(stderr, "%s\n", res.error().message().c_str()); in main() 300 fprintf(stderr, "Invalid argument to --alignment-offset.\n"); in main() 307 fprintf(stderr, "Invalid argument to --alignment.\n"); in main() 317 fprintf(stderr, "Invalid argument to --block-size.\n"); in main() [all …]
|
/system/extras/verity/ |
D | verity_verifier.cpp | 37 fprintf(stderr, "Failed to load key from %s\n", path); in load_key() 44 fprintf(stderr, "Failed to parse key!\n"); in load_key() 60 fprintf(stderr, "Couldn't load verity keys\n"); in verify_table() 66 fprintf(stderr, "Couldn't verify table\n"); in verify_table() 84 fprintf(stderr, "failed to open %s: %s\n", argv[1], strerror(errno)); in main() 90 fprintf(stderr, "failed to read file %s\n", argv[1]); in main() 96 fprintf(stderr, "failed to write output file\n"); in main() 109 fprintf(stderr, "failed to get verity metadata\n"); in main()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 45 …fprintf(stderr, "Usage: rand_emmc_perf [ -r | -w ] [-o] [-s count] [-f full_stats_filename] <size_… in usage() 67 fprintf(stderr, "Cannot open full stats output file %s, ignoring\n", in print_stats() 78 fprintf(full_stats, "%lld\n", (t.tv_sec * 1000000LL) + t.tv_usec); in print_stats() 119 fprintf(stderr, "Cannot allocate stats_buf\n"); in stats_test() 127 fprintf(stderr, "lseek64 failed\n"); in stats_test() 132 fprintf(stderr, "Short write\n"); in stats_test() 136 fprintf(stderr, "Short read\n"); in stats_test() 157 fprintf(stderr, "lseek64 failed\n"); in perf_test() 161 fprintf(stderr, "Short write\n"); in perf_test() 165 fprintf(stderr, "Short read\n"); in perf_test() [all …]
|
/system/extras/showslab/ |
D | showslab.c | 74 fprintf(stderr, "cannot read from " SLABINFO_FILE "\n"); in get_slabinfo() 79 fprintf(stderr, "unable to parse slabinfo version!\n"); in get_slabinfo() 84 fprintf(stderr, "we only support slabinfo 2.0 and 2.1!\n"); in get_slabinfo() 116 fprintf(stderr, "unrecognizable data in slabinfo!\n"); in get_slabinfo() 291 fprintf(stderr, "usage: %s [options]\n\n", argv[0]); in main() 292 fprintf(stderr, "options:\n"); in main() 293 fprintf(stderr, " -s S specify sort criteria S\n"); in main() 294 fprintf(stderr, " -h display this help\n\n"); in main() 295 fprintf(stderr, "Valid sort criteria:\n"); in main() 296 fprintf(stderr, " a: number of Active objects\n"); in main() [all …]
|
/system/extras/sound/ |
D | playwav.c | 69 fprintf(stderr,"too big\n"); in pcm_play() 73 fprintf(stderr,"prefill\n"); in pcm_play() 81 fprintf(stderr,"start\n"); in pcm_play() 87 fprintf(stderr,"%10d\n", stats.out_bytes); in pcm_play() 143 fprintf(stderr,"could not allocate %d bytes\n", count); in play_file() 147 fprintf(stderr,"could not read %d bytes\n", count); in play_file() 160 fprintf(stderr, "playwav: cannot open '%s'\n", fn); in wav_play() 164 fprintf(stderr, "playwav: cannot read header\n"); in wav_play() 167 fprintf(stderr,"playwav: %d ch, %d hz, %d bit, %s\n", in wav_play() 174 fprintf(stderr, "playwav: '%s' is not a riff/wave file\n", fn); in wav_play() [all …]
|
/system/extras/bootctl/ |
D | bootctl.cpp | 33 fprintf(where, in usage() 52 fprintf(where, in usage() 59 fprintf(where, in usage() 78 fprintf(stdout, "HAL Version: %s\n", ToString(module->GetVersion())); in do_hal_info() 84 fprintf(stdout, "%u\n", numSlots); in do_get_number_slots() 90 fprintf(stdout, "%u\n", curSlot); in do_get_current_slot() 96 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return() 99 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return() 112 fprintf(stdout, "%u\n", slot); in do_get_active_boot_slot() 128 fprintf(stderr, errStr, ""); in handle_return() [all …]
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 154 fprintf(stderr, usage, prog); in print_usage_and_exit() 155 if (verbose) fprintf(stderr, "%s", usage_long); in print_usage_and_exit() 228 fprintf(stderr, "Failed to connect to '%s' service\n", params->srv_name); in connect_test() 236 fprintf(stderr, "Failed to connect to '%s' service\n", "echo"); in connect_test() 240 fprintf(stderr, "Failed to connect to '%s' service\n", "datasink"); in connect_test() 270 fprintf(stderr, "succeeded to connect to '%s' service\n", "foo"); in connect_foo() 293 fprintf(stderr, "Failed to connect to '%s' service\n", "closer1"); in closer1_test() 325 fprintf(stderr, "connected to '%s' service\n", "closer2"); in closer2_test() 352 fprintf(stderr, "fd[%d]: failed to connect to '%s' service\n", j, "closer3"); in closer3_test() 413 fprintf(stderr, "Failed to connect to service\n"); in echo_test() [all …]
|