Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 205) sorted by relevance

123456789

/system/core/debuggerd/crasher/
Dcrasher.cpp156 fprintf(stderr, "usage: %s KIND\n", getprogname()); in usage()
157 fprintf(stderr, "\n"); in usage()
158 fprintf(stderr, "where KIND is:\n"); in usage()
159 fprintf(stderr, " smash-stack overwrite a -fstack-protector guard\n"); in usage()
160 fprintf(stderr, " stack-overflow recurse until the stack overflows\n"); in usage()
161 fprintf(stderr, " nostack crash with a NULL stack pointer\n"); in usage()
162 fprintf(stderr, "\n"); in usage()
163 fprintf(stderr, " heap-corruption cause a libc abort by corrupting the heap\n"); in usage()
164 fprintf(stderr, " heap-usage cause a libc abort by abusing a heap function\n"); in usage()
165 fprintf(stderr, "\n"); in usage()
[all …]
/system/security/keystore/
Dkeystore_cli.cpp53 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
66 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
71 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
84 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
89 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
102 fprintf(stderr, "Usage: %s " #cmd " <name> <uid>\n", argv[0]); \
108 fprintf(stderr, "Running as uid %d\n", uid); \
112 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
125 fprintf(stderr, "Usage: %s " #cmd " <name> <uid>\n", argv[0]); \
132 fprintf(stderr, "Running as uid %d\n", uid); \
[all …]
/system/bt/tools/bdtool/
Dbdtool.c74 fprintf(stderr, "Can only select either bond or discoverable, not both\n"); in main()
79 fprintf(stderr, in main()
86 fprintf(stderr, "Must specify one command\n"); in main()
91 fprintf(stderr, "Will be unable to catch signals\n"); in main()
96 fprintf(stderr, "Unable to open Bluetooth HAL.\n"); in main()
133 fprintf(stderr, in main()
165 fprintf(stderr, "Unable to get adapter property\n"); in main()
186 fprintf(stderr, "Unable to set adapter property\n"); in main()
193 fprintf(stderr, "Unable to get adapter property\n"); in main()
220 fprintf(stderr, "Unable to listen for incoming RFCOMM socket: %d\n", in main()
[all …]
/system/extras/ext4_utils/
Dmake_ext4fs_main.c55 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage()
56 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n"); in usage()
57 fprintf(stderr, " [ -e <flash erase block size> ] [ -o <flash logical block size> ]\n"); in usage()
58 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ] [ -u ]\n"); in usage()
59 fprintf(stderr, " [ -S file_contexts ] [ -C fs_config ] [ -T timestamp ]\n"); in usage()
60 fprintf(stderr, " [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] [ -B <block_list_file> ]\n"); in usage()
61 fprintf(stderr, " [ -d <base_alloc_file_in> ] [ -D <base_alloc_file_out> ]\n"); in usage()
62 fprintf(stderr, " <filename> [[<directory>] <target_out_directory>]\n"); in usage()
127 fprintf(stderr, "can't set android permissions - built without android support\n"); in main()
151 fprintf(stderr, "Warning: -t (initialize inode tables) is deprecated\n"); in main()
[all …]
Dsetup_fs.c29 fprintf(stderr,"not a block device name: %s\n", blockdev); in setup_fs()
35 fprintf(stderr,"device %s already has a filesystem\n", blockdev); in setup_fs()
41 fprintf(stderr,"device %s not wiped, probably encrypted, not wiping\n", blockdev); in setup_fs()
45 fprintf(stderr,"+++\n"); in setup_fs()
49 fprintf(stderr,"error: setup_fs: fork failed\n"); in setup_fs()
59 fprintf(stderr, "error: setup_fs: waitpid failed!\n"); in setup_fs()
64 fprintf(stderr,"---\n"); in setup_fs()
81 fprintf(stderr,"REBOOT!\n"); in main()
/system/extras/tests/storage/
Dopentest.c37 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/
Dappend2simg.c46 fprintf(stderr, "Usage: append2simg <output> <input>\n"); in usage()
75 fprintf(stderr, "Couldn't allocate filename\n"); in main()
81 fprintf(stderr, "Couldn't open output file (%s)\n", strerror(errno)); in main()
87 fprintf(stderr, "Couldn't import output file\n"); in main()
93 fprintf(stderr, "Couldn't open input file (%s)\n", strerror(errno)); in main()
99 fprintf(stderr, "Couldn't get input file length (%s)\n", strerror(errno)); in main()
102 fprintf(stderr, "Input file is not a multiple of the output file's block size"); in main()
109 fprintf(stderr, "Couldn't add input file\n"); in main()
116 fprintf(stderr, "Couldn't open temporary file (%s)\n", strerror(errno)); in main()
122 fprintf(stderr, "Failed to write sparse file\n"); in main()
[all …]
Dsimg2simg.c39 fprintf(stderr, "Usage: simg2simg <sparse image file> <sparse_image_file> <max_size>\n"); in usage()
63 fprintf(stderr, "Cannot open input file %s\n", argv[1]); in main()
69 fprintf(stderr, "Failed to import sparse file\n"); in main()
75 fprintf(stderr, "Failed to resparse\n"); in main()
81 fprintf(stderr, "Failed to allocate sparse file array\n"); in main()
87 fprintf(stderr, "Failed to resparse\n"); in main()
94 fprintf(stderr, "Filename too long\n"); in main()
100 fprintf(stderr, "Cannot open output file %s\n", argv[2]); in main()
106 fprintf(stderr, "Failed to write sparse file\n"); in main()
/system/extras/boot_control_copy/
Dboot_control_copy.c51 fprintf(stderr, "WARNING: Error getting information about part %s: %s\n", in get_dev_t_for_partition()
67 fprintf(stderr, "WARNING: Error getting information about /system: %s\n", in module_getCurrentSlot()
81 fprintf(stderr, "WARNING: Error determining current slot " in module_getCurrentSlot()
110 fprintf(stderr, "Error reading %zd bytes from source: %s\n", in copy_data()
122 fprintf(stderr, "Error writing %zd bytes to destination: %s\n", in copy_data()
145 fprintf(stderr, "WARNING: Error loading boot-info. Resetting.\n"); in module_setActiveBootSlot()
149 fprintf(stderr, "WARNING: boot-info is invalid. Resetting.\n"); in module_setActiveBootSlot()
161 fprintf(stderr, "Error saving boot-info.\n"); in module_setActiveBootSlot()
169 fprintf(stderr, "Error opening \"%s\" partition.\n", src_name); in module_setActiveBootSlot()
175 fprintf(stderr, "Error opening \"boot\" partition.\n"); in module_setActiveBootSlot()
[all …]
/system/core/adb/
Dshell_service_test.cpp114 int ReadShellProtocol(int fd, std::string* stdout, std::string* stderr) { in ReadShellProtocol() argument
117 stderr->clear(); in ReadShellProtocol()
126 stderr->append(protocol->data(), protocol->data_length()); in ReadShellProtocol()
200 std::string stdout, stderr; in TEST_F() local
201 EXPECT_EQ(24, ReadShellProtocol(subprocess_fd_, &stdout, &stderr)); in TEST_F()
203 ExpectLinesEqual(stderr, {"bar"}); in TEST_F()
214 std::string stdout, stderr; in TEST_F() local
215 EXPECT_EQ(50, ReadShellProtocol(subprocess_fd_, &stdout, &stderr)); in TEST_F()
217 ExpectLinesEqual(stderr, {}); in TEST_F()
239 std::string stdout, stderr; in TEST_F() local
[all …]
Dcommandline.cpp78 fprintf(stderr, "adb: Product directory not specified; " in product_file()
552 fprintf(stderr,"\r\n[ disconnected ]\r\n"); in stdin_read_thread_loop()
625 fprintf(stderr,"error: %s\n", error.c_str()); in RemoteShell()
687 fprintf(stderr, "error: %s\n", error.c_str()); in adb_shell()
706 fprintf(stderr, "error: -e requires a single-character argument or 'none'\n"); in adb_shell()
752 fprintf(stderr, in adb_shell()
767 fprintf(stderr, "error: %s only supports allocating a pty\n", in adb_shell()
788 fprintf(stderr, "error: couldn't read %s: %s\n", filename, strerror(errno)); in adb_download_buffer()
798 fprintf(stderr,"error: %s\n", error.c_str()); in adb_download_buffer()
816 fprintf(stderr,"* failed to write data '%s' *\n", error.c_str()); in adb_download_buffer()
[all …]
/system/extras/tests/pagingtest/
Dpagingtest.c29 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/puncture_fs/
Dpuncture_fs.c42 fprintf(stderr, in usage()
52 fprintf(stderr, "\nerrno: %d. Failed to get free disk space on %s\n", in get_free_space()
90 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, file_path); in create_unique_file()
97 fprintf(stderr, "\nerrno: %d. Failed to write %lu bytes to %s\n", in create_unique_file()
107 fprintf(stderr, "\nerrno: %d. Failed to write last %lu bytes to %s\n", in create_unique_file()
115 fprintf(stderr, "\nFailed to close %s\n", file_path); in create_unique_file()
133 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, dir); in create_unique_dir()
160 fprintf(stderr, "\n"); in puncture_fs()
162 fprintf(stderr, "\rSTAGE 1/2: %d%% Complete", in puncture_fs()
189 fprintf(stderr, "\rSTAGE 1/2: 100%% Complete\n"); in puncture_fs()
[all …]
/system/extras/ioshark/
Dcompile_ioshark.c95 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 …]
Dioshark_bench.c81 …fprintf(stderr, "%s [-d preserve_delays] [-n num_iterations] [-t num_threads] -q -v | -s <list of … in usage()
83 fprintf(stderr, "%s -s, -v are mutually exclusive\n", in usage()
177 fprintf(stderr, "%s read error tracefile\n", in create_files()
231 fprintf(stderr, in do_one_io()
245 fprintf(stderr, in do_one_io()
260 fprintf(stderr, in do_one_io()
275 fprintf(stderr, in do_one_io()
290 fprintf(stderr, in do_one_io()
320 fprintf(stderr, in do_one_io()
337 fprintf(stderr, in do_one_io()
[all …]
/system/core/fastboot/
Dusbtest.cpp99 fprintf(stderr,"write failed (%s)\n", strerror(errno)); in test_null()
104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_null()
117 fprintf(stderr,"read failed (%s)\n", strerror(errno)); in test_zero()
122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_zero()
144 fprintf(stderr,"usage: usbtest <testname>\n\navailable tests:\n"); in usage()
146 fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help); in usage()
160 fprintf(stderr,"unknown argument: %s\n", arg); in process_args()
166 fprintf(stderr,"count may not be zero\n"); in process_args()
171 fprintf(stderr,"size may not be greater than 4096\n"); in process_args()
196 fprintf(stderr,"usbtest: %s: could not find interface\n", in main()
[all …]
/system/libufdt/tests/src/
Dextract_dtb.c57 fprintf(stderr, "Bad DTB header.\n"); in find_and_write_dtb()
66 fprintf(stderr, "Wrong size: actual size = %d FDT size = %d(%d)\n", in find_and_write_dtb()
73 fprintf(stderr, "Can not get the root node.\n"); in find_and_write_dtb()
86 fprintf(stderr, "Write file error: %s\n", filename); in find_and_write_dtb()
103 fprintf(stderr, "Can not load file: %s\n", in_filename); in extract_dtbs()
126 fprintf(stderr, "Can not find any DTB.\n"); in extract_dtbs()
134 fprintf(stderr, "Write file error: %s\n", out_image_filename); in extract_dtbs()
149 fprintf(stderr, "Usage: %s <image.gz-dtb_file> <out_dtb_name> (<out_image_name>)\n\n", argv[0]); in main()
150 fprintf(stderr, " Note: If there are more than one DTB, it outputs DTB files named\n" \ in main()
/system/extras/verity/
Dverity_verifier.cpp38 fprintf(stderr, "Failed to load key from %s\n", path); in load_key()
45 fprintf(stderr, "Failed to parse key!\n"); in load_key()
61 fprintf(stderr, "Couldn't load verity keys\n"); in verify_table()
67 fprintf(stderr, "Couldn't verify table\n"); in verify_table()
85 fprintf(stderr, "failed to open %s: %s\n", argv[1], strerror(errno)); in main()
91 fprintf(stderr, "failed to read file %s\n", argv[1]); in main()
97 fprintf(stderr, "failed to write output file\n"); in main()
110 fprintf(stderr, "failed to get verity metadata\n"); in main()
/system/bt/osi/include/
Dlog.h31 fprintf(stderr, "%s: " fmt "\n", tag, ##args)
55 (true) ? ((int)0) : fprintf(stderr, "%s" fmt, tag, ##args); \
61 : fprintf(stderr, "%s" fmt, tag, ##args); \
68 : fprintf(stderr, "%s" fmt, tag, ##args); \
73 : fprintf(stderr, "%s" fmt, tag, ##args); \
78 : fprintf(stderr, "%s" fmt, tag, ##args); \
83 : fprintf(stderr, "%s" fmt, tag, ##args); \
/system/extras/latencytop/
Dlatencytop.c83 fprintf(stderr, "Option -d expects an argument.\n"); in main()
91 fprintf(stderr, "Option -n expects an argument.\n"); in main()
103 fprintf(stderr, "Option -p expects an argument.\n"); in main()
111 fprintf(stderr, "Option -t expects an argument.\n"); in main()
117 fprintf(stderr, "Invalid argument \"%s\".\n", argv[i]); in main()
123 … fprintf(stderr, "If you provide a thread ID with -t, you must provide a process ID with -p.\n"); in main()
182 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats()
191 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); in read_global_stats()
212 fprintf(stderr, "Could not open task dir for process %d.\n", pid); in read_process_stats()
213 fprintf(stderr, "Perhaps the process has terminated?\n"); in read_process_stats()
[all …]
/system/extras/showslab/
Dshowslab.c74 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/sepolicy/tools/
Dsepolicy-check.c18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0); in usage()
25 fprintf(stderr, "Out of memory\n"); in cmalloc()
52 fprintf(stderr, "Bad op while checking!"); in check()
73 fputs("out of memory\n", stderr); in expand_and_check()
78 fputs("out of memory\n", stderr); in expand_and_check()
133 fprintf(stderr, "source type %s does not exist\n", s); in check_rule()
140 fprintf(stderr, "target type %s does not exist\n", t); in check_rule()
147 fprintf(stderr, "class %s does not exist\n", c); in check_rule()
155 fprintf(stderr, "perm %s does not exist in class %s\n", p, c); in check_rule()
160 fprintf(stderr, "perm %s does not exist in class %s\n", p, c); in check_rule()
[all …]
/system/extras/tests/ext4/
Drand_emmc_perf.c45 …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()
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()
223 fprintf(stderr, "Cannot get full stats filename\n"); in main()
[all …]
/system/extras/sound/
Dplaywav.c67 fprintf(stderr,"too big\n"); in pcm_play()
71 fprintf(stderr,"prefill\n"); in pcm_play()
79 fprintf(stderr,"start\n"); in pcm_play()
85 fprintf(stderr,"%10d\n", stats.out_bytes); in pcm_play()
142 fprintf(stderr,"could not allocate %d bytes\n", count); in play_file()
146 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/core/trusty/libtrusty/tipc-test/
Dtipc_test.c97 fprintf (stderr, usage, prog); in print_usage_and_exit()
99 fprintf (stderr, "%s", usage_long); in print_usage_and_exit()
167 fprintf(stderr, "Failed to connect to '%s' service\n", in connect_test()
172 fprintf(stderr, "Failed to connect to '%s' service\n", in connect_test()
203 fprintf(stderr, "succeeded to connect to '%s' service\n", in connect_foo()
229 fprintf(stderr, "Failed to connect to '%s' service\n", in closer1_test()
263 fprintf(stderr, "connected to '%s' service\n", "closer2"); in closer2_test()
292 fprintf(stderr, "fd[%d]: failed to connect to '%s' service\n", j, "closer3"); in closer3_test()
358 fprintf(stderr, "Failed to connect to service\n"); in echo_test()
384 fprintf(stderr, "data truncated (%zu vs. %zu)\n", in echo_test()
[all …]

123456789