Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 186) 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()
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()
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()
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()
/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/security/keystore/
Dkeystore_cli.cpp52 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
65 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
70 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
83 fprintf(stderr, "Usage: %s " #cmd " <name> <uid>\n", argv[0]); \
89 fprintf(stderr, "Running as uid %d\n", uid); \
93 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
106 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
114 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
127 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
134 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
[all …]
/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/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.c52 fprintf(stderr, "%s [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]\n", basename(path)); in usage()
53 fprintf(stderr, " [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]\n"); in usage()
54 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n"); in usage()
55 fprintf(stderr, " [ -S file_contexts ]\n"); in usage()
56 fprintf(stderr, " [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ]\n"); in usage()
57 fprintf(stderr, " <filename> [<directory>]\n"); in usage()
110 fprintf(stderr, "can't set android permissions - built without android support\n"); in main()
131 fprintf(stderr, "Warning: -t (initialize inode tables) is deprecated\n"); in main()
165 fprintf(stderr, "Cannot specifiy both wipe and sparse\n"); in main()
171 fprintf(stderr, "Cannot specifiy both wipe and gzip\n"); in main()
[all …]
/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/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/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/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/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 …]

12345678