Home
last modified time | relevance | path

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

12345678

/system/extras/tests/bionic/libc/bionic/
Dtest_dlclose_destruction.c47 fprintf(stderr, "Could not load shared library %s: %s\n", libname, dlerror()); in check_library()
51 fprintf(stderr, "%s loaded.\n", libname); in check_library()
55 fprintf(stderr, "Could not access global DLL variable (x) in %s: %s\n", libname, dlerror()); in check_library()
60 fprintf(stderr, "Constructor was not run on dlopen(\"%s\") !\n", libname); in check_library()
66 … fprintf(stderr, "Could not access global DLL function (set_y) in %s: %s\n", libname, dlerror()); in check_library()
74 fprintf(stderr, "Could not unload shared library %s: %s\n", libname, dlerror()); in check_library()
78 fprintf(stderr, "%s unloaded.\n", libname); in check_library()
80 fprintf(stderr, "Static destructors was not called on dlclose()!\n"); in check_library()
Dlibdlclosetest2.c46 fprintf(stderr, "%s: setting x to 1\n", __FUNCTION__); in Foo_create()
62 fprintf(stderr, "%s: to_y uninitialized!!\n", __FUNCTION__); in Foo_destroy()
66 fprintf(stderr, "%s: setting y(%p) to 2!\n", __FUNCTION__, to_y); in Foo_destroy()
72 fprintf(stderr, "%s: setting to_y=%p\n", __FUNCTION__, y); in set_y()
/system/extras/tests/ext4/
Dcorrupt_gdt_free_blocks.c23 fprintf(stderr, "%s: Usage: %s <ext4_block_device>\n", me, me); in main()
30 fprintf(stderr, "%s: Cannot open block device %s\n", me, argv[1]); in main()
35 fprintf(stderr, "%s: Cannot lseek to superblock to read\n", me); in main()
40 fprintf(stderr, "%s: Cannot read superblock\n", me); in main()
45 fprintf(stderr, "%s: invalid superblock magic\n", me); in main()
51 fprintf(stderr, "%s: block size not 2K or 4K\n", me); in main()
59 fprintf(stderr, "%s: Can't handle block group descriptor size of %d\n", in main()
68 fprintf(stderr, "%s: Cannot lseek to block group descriptor table to read\n", me); in main()
76 fprintf(stderr, "%s: Cannot read group descriptor %d\n", me, i); in main()
87 fprintf(stderr, "%s: Cannot lseek to block group descriptor table to write\n", me); in main()
[all …]
Dset_ext4_err_bit.c19 fprintf(stderr, "%s: Usage: %s <ext4_block_device>\n", me, me); in main()
26 fprintf(stderr, "%s: Cannot open block device %s\n", me, argv[1]); in main()
31 fprintf(stderr, "%s: Cannot lseek to superblock to read\n", me); in main()
36 fprintf(stderr, "%s: Cannot read superblock\n", me); in main()
41 fprintf(stderr, "%s: invalid superblock magic\n", me); in main()
49 fprintf(stderr, "%s: Cannot lseek to superblock to write\n", me); in main()
54 fprintf(stderr, "%s: Cannot write superblock\n", me); in main()
Drand_emmc_perf.c38 fprintf(stderr, "Usage: rand_emmc_perf [ -r | -w ] [-o] <size_in_mb> <block_dev>\n"); in usage()
87 fprintf(stderr, "Cannot open block device %s\n", argv[optind + 1]); in main()
93 fprintf(stderr, "Cannot open /dev/urandom\n"); in main()
96 fprintf(stderr, "Cannot read /dev/urandom\n"); in main()
105 fprintf(stderr, "lseek64 failed\n"); in main()
109 fprintf(stderr, "Short write\n"); in main()
113 fprintf(stderr, "Short read\n"); in main()
/system/core/toolbox/
Dsetconsole.c22 …fprintf(stderr, "ioctl( vcfd, VT_ACTIVATE, vtnum) failed, %d %d %s for %d\n", res, errno, strerror… in activate_thread()
54 fprintf(stderr, "%s: cannot specify both -g and -t\n", argv[0]); in setconsole_main()
61 fprintf(stderr, "%s: cannot specify both -g and -t\n", argv[0]); in setconsole_main()
82 fprintf(stderr, "%s [-d <dev>] [-v <vc>] [-gtncpoh]\n" in setconsole_main()
94 fprintf(stderr, "%s: invalid option -%c\n", in setconsole_main()
100 fprintf(stderr,"%s [-d <dev>] [-v <vc>] [-gtncpoh]\n", argv[0]); in setconsole_main()
106 fprintf(stderr, "cannot open %s\n", ttydev); in setconsole_main()
115 fprintf(stderr, "ioctl(vcfd, VT_GETSTATE, &vs) failed, %d\n", res); in setconsole_main()
124 … fprintf(stderr, "ioctl(vcfd, VT_OPENQRY, &vtnum) failed, res %d, vtnum %d\n", res, vtnum); in setconsole_main()
141 …fprintf(stderr, "ioctl( vcfd, VT_WAITACTIVE, vtnum) failed, %d %d %s for %d\n", res, errno, strerr… in setconsole_main()
[all …]
Dalarm.c54 fprintf(stderr, "%s: invalid option -%c\n", in alarm_main()
60 fprintf(stderr,"%s [-uwa] [-t type] [seconds]\n", argv[0]); in alarm_main()
66 fprintf(stderr, "Unable to open rtc: %s\n", strerror(errno)); in alarm_main()
77 fprintf(stderr, "Unable to read alarm: %s\n", strerror(errno)); in alarm_main()
97 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main()
116 fprintf(stderr, "Unable to get current time: %s\n", strerror(errno)); in alarm_main()
128 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main()
135 fprintf(stderr, "Unable to set alarm: %s\n", strerror(errno)); in alarm_main()
140 fprintf(stderr, "Unable to enable alarm: %s\n", strerror(errno)); in alarm_main()
146 fprintf(stderr,"%s [-u] [date]\n", argv[0]); in alarm_main()
[all …]
Dgetsebool.c11 fprintf(stderr, "usage: %s -a or %s boolean...\n", progname, progname); in usage()
26 fprintf(stderr, "%s: SELinux is disabled\n", in getsebool_main()
33 fprintf(stderr, in getsebool_main()
50 fprintf(stderr, "%s: SELinux is disabled\n", argv[0]); in getsebool_main()
59 fprintf(stderr, "%s: out of memory\n", argv[0]); in getsebool_main()
65 fprintf(stderr, "%s: out of memory\n", in getsebool_main()
77 fprintf(stderr, "Error getting active value for %s\n", in getsebool_main()
84 fprintf(stderr, "Error getting pending value for %s\n", in getsebool_main()
Dtouch.c11 fprintf(stderr, "touch: usage: touch [-alm] [-t time_t] <file>\n"); in usage()
36 fprintf(stderr, "touch: invalid time_t\n"); in touch_main()
57 fprintf(stderr, "touch: no file specified\n"); in touch_main()
79 fprintf(stderr, "file = %s\n", file); in touch_main()
80 …fprintf(stderr, "times[0].tv_sec = %ld, times[0].tv_nsec = %ld\n", times[0].tv_sec, times[0].tv_ns… in touch_main()
81 …fprintf(stderr, "times[1].tv_sec = %ld, times[1].tv_nsec = %ld\n", times[1].tv_sec, times[1].tv_ns… in touch_main()
82 fprintf(stderr, "flags = 0x%8.8x\n", flags); in touch_main()
Dchmod.c29 fprintf(stderr, "Invalid path specified: too long\n"); in recurse_chmod()
38 fprintf(stderr, "Unable to chmod %s: %s\n", subpath, strerror(errno)); in recurse_chmod()
50 fprintf(stderr, "Usage: chmod [OPTION] <MODE> <FILE>\n"); in usage()
51 fprintf(stderr, " -R, --recursive change files and directories recursively\n"); in usage()
52 fprintf(stderr, " --help display this help and exit\n"); in usage()
84 fprintf(stderr, "Bad mode\n"); in chmod_main()
92 fprintf(stderr, "Unable to chmod %s: %s\n", argv[i], strerror(errno)); in chmod_main()
Dr.c9 fprintf(stderr,"r [-b|-s] <address> [<value>]\n"); in usage()
44 fprintf(stderr, "invalid end address\n"); in r_main()
55 fprintf(stderr,"cannot open /dev/mem\n"); in r_main()
67 fprintf(stderr,"cannot mmap region\n"); in r_main()
76 fprintf(stderr,"%08x: %08x\n", addr, *x); in r_main()
82 fprintf(stderr,"%08x: %04x\n", addr, *x); in r_main()
88 fprintf(stderr,"%08x: %02x\n", addr, *x); in r_main()
Dmkdir.c10 fprintf(stderr,"mkdir [OPTION] <target>\n"); in usage()
11 fprintf(stderr," --help display usage and exit\n"); in usage()
12 fprintf(stderr," -p, --parents create parent directories as needed\n"); in usage()
54 fprintf(stderr, "Invalid path specified: too long\n"); in mkdir_main()
62 fprintf(stderr, "mkdir failed for %s, %s\n", currpath, strerror(errno)); in mkdir_main()
71 fprintf(stderr, "mkdir failed for %s, %s\n", argv[0], strerror(errno)); in mkdir_main()
Drestorecon.c19 fprintf(stderr, "usage: %s [-nrRv] pathname...\n", progname); in usage()
28 fprintf(stderr, "Could not get context of %s: %s\n", in restore()
33 fprintf(stderr, "Could not lookup context for %s: %s\n", pathname, in restore()
43 fprintf(stderr, "Could not label %s with %s: %s\n", in restore()
89 fprintf(stderr, "Could not load file_contexts: %s\n", in restorecon_main()
99 fprintf(stderr, "Could not traverse filesystems (first was %s): %s\n", in restorecon_main()
110 fprintf(stderr, "Could not access %s: %s\n", ftsent->fts_path, in restorecon_main()
127 fprintf(stderr, "Could not stat %s: %s\n", argv[i], in restorecon_main()
Dionice.c17 fprintf(stderr, "usage: ionice <pid> [none|rt|be|idle] [prio]\n"); in ionice_main()
22 fprintf(stderr, "Invalid pid specified\n"); in ionice_main()
28 fprintf(stderr, "Failed to read priority (%s)\n", strerror(errno)); in ionice_main()
44 fprintf(stderr, "Unsupported class '%s'\n", argv[2]); in ionice_main()
52 fprintf(stderr, "Failed to set priority (%s)\n", strerror(errno)); in ionice_main()
/system/extras/tests/bionic/libc/glibc/assert/
Dtest-assert.c52 fclose (stderr); in main()
53 stderr = tmpfile (); in main()
54 if(!stderr) in main()
74 rewind (stderr); in main()
75 fgets (buf, 160, stderr); in main()
79 fgets (buf, 160, stderr); in main()
83 fgets (buf, 160, stderr); in main()
/system/core/libsparse/
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/tests/bionic/libc/common/
Dtest_pthread_cleanup_push.c95 fprintf(stderr, "cleanup1 not called !!\n"); in test()
97 fprintf(stderr, "cleanup1 called with wrong argument\n" ); in test()
103 fprintf(stderr, "cleanup2 not called !!\n"); in test()
105 fprintf(stderr, "cleanup2 called with wrong argument\n"); in test()
110 fprintf(stderr, "cleanup3 not called !!\n"); in test()
112 fprintf(stderr, "cleanup3 called with bad argument !!\n"); in test()
118 fprintf(stderr, "cleanup3 wrongly called !!\n"); in test()
120 fprintf(stderr, "cleanup3 wrongly called with bad argument !!\n"); in test()
Dtest_libgen.c25 fprintf(stderr, in test_basename()
30 fprintf(stderr, in test_basename()
40 fprintf(stderr, "KO: basename(\"%s\") returned NULL with error %d\n", in test_basename()
45 fprintf(stderr, "KO: basename(\"%s\") returned \"%s\", instead of \"%s\"\n", in test_basename()
64 fprintf(stderr, in test_basename_r()
72 fprintf(stderr, in test_basename_r()
80 fprintf(stderr, in test_basename_r()
97 fprintf(stderr, in test_dirname_r()
105 fprintf(stderr, in test_dirname_r()
113 fprintf(stderr, in test_dirname_r()
[all …]
/system/extras/ext4_utils/
Dsetup_fs.c28 fprintf(stderr,"not a block device name: %s\n", blockdev); in setup_fs()
34 fprintf(stderr,"device %s already has a filesystem\n", blockdev); in setup_fs()
40 fprintf(stderr,"device %s not wiped, probably encrypted, not wiping\n", blockdev); in setup_fs()
44 fprintf(stderr,"+++\n"); in setup_fs()
48 fprintf(stderr,"error: setup_fs: fork failed\n"); in setup_fs()
58 fprintf(stderr, "error: setup_fs: waitpid failed!\n"); in setup_fs()
63 fprintf(stderr,"---\n"); in setup_fs()
80 fprintf(stderr,"REBOOT!\n"); in main()
Dmake_ext4fs_main.c42 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage()
43 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n"); in usage()
44 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n"); in usage()
45 fprintf(stderr, " [ -S file_contexts ]\n"); in usage()
46 fprintf(stderr, " [ -z | -s ] [ -t ] [ -w ] [ -c ] [ -J ]\n"); in usage()
47 fprintf(stderr, " <filename> [<directory>]\n"); in usage()
100 fprintf(stderr, "can't set android permissions - built without android support\n"); in main()
140 fprintf(stderr, "Cannot specifiy both wipe and sparse\n"); in main()
146 fprintf(stderr, "Cannot specifiy both wipe and gzip\n"); in main()
152 fprintf(stderr, "Expected filename after options\n"); in main()
[all …]
/system/core/fastboot/
Dusbtest.c99 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/extras/atrace/
Datrace.c112 fprintf(stderr, "error opening %s: %s (%d)\n", filename, in writeStr()
120 fprintf(stderr, "error writing to %s: %s (%d)\n", filename, in writeStr()
236 fprintf(stderr, "error truncating %s: %s (%d)\n", k_tracePath, in clearTrace()
293 fprintf(stderr, "error: unable to start trace\n"); in startTrace()
328 fprintf(stderr, "error opening %s: %s (%d)\n", k_tracePath, in dumpTrace()
341 fprintf(stderr, "error initializing zlib: %d\n", result); in dumpTrace()
360 fprintf(stderr, "error reading trace: %s (%d)\n", in dumpTrace()
376 fprintf(stderr, "error writing deflated trace: %s (%d)\n", in dumpTrace()
389 fprintf(stderr, "error deflating trace: %s\n", zs.msg); in dumpTrace()
396 fprintf(stderr, "error writing deflated trace: %s (%d)\n", in dumpTrace()
[all …]
/system/extras/latencytop/
Dlatencytop.c82 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, "If you provide a thread ID with -t, you must provide a process ID with -p.\n"); in main()
181 fprintf(stderr, "Could not open global latency stats file: %s\n", strerror(errno)); 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()
212 fprintf(stderr, "Perhaps the process has terminated?\n"); in read_process_stats()
[all …]
/system/core/gpttool/
Dgpttool.c125 fprintf(stderr,"partition '%s' overlaps partition table\n", name); in add_ptn()
130 fprintf(stderr,"partition '%s' does not fit on disk\n", name); in add_ptn()
144 fprintf(stderr,"out of partition table entries\n"); in add_ptn()
150 fprintf(stderr, in usage()
166 fprintf(stderr,"ptn start block end block name\n"); in show()
167 fprintf(stderr,"---- ------------- ------------- --------------------\n"); in show()
176 fprintf(stderr,"#%03d %13lld %13lld %s\n", in show()
224 fprintf(stderr,"invalid partition entry: %s\n", x); in parse_ptn()
234 fprintf(stderr,"partition size must be multiple of 512\n"); in parse_ptn()
241 fprintf(stderr,"zero size partitions not allowed\n"); in parse_ptn()
[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 …]

12345678