Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
Derror.cpp47 fprintf(stderr, "%s:", getprogname()); in __error_head()
53 fprintf(stderr, ": %s", strerror(error)); in __error_tail()
56 putc('\n', stderr); in __error_tail()
57 fflush(stderr); in __error_tail()
66 putc(' ', stderr); in error()
70 vfprintf(stderr, fmt, ap); in error()
88 fprintf(stderr, "%s:%d: ", file, line); in error_at_line()
92 vfprintf(stderr, fmt, ap); in error_at_line()
Dtime64.c171 # define TRACE(format) (fprintf(stderr, format))
172 # define TRACE1(format, var1) (fprintf(stderr, format, var1))
173 # define TRACE2(format, var1, var2) (fprintf(stderr, format, var1, var2))
174 # define TRACE3(format, var1, var2, var3) (fprintf(stderr, format, var1, var2, var3))
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dvwarn.c45 (void)fprintf(stderr, "%s: ", __progname); in _vwarn()
47 (void)vfprintf(stderr, fmt, ap); in _vwarn()
48 (void)fprintf(stderr, ": "); in _vwarn()
50 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in _vwarn()
Dverr.c46 (void)fprintf(stderr, "%s: ", __progname); in _verr()
48 (void)vfprintf(stderr, fmt, ap); in _verr()
49 (void)fprintf(stderr, ": "); in _verr()
51 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in _verr()
Dvwarnx.c40 (void)fprintf(stderr, "%s: ", __progname); in _vwarnx()
42 (void)vfprintf(stderr, fmt, ap); in _vwarnx()
43 (void)fprintf(stderr, "\n"); in _vwarnx()
Dverrx.c41 (void)fprintf(stderr, "%s: ", __progname); in _verrx()
43 (void)vfprintf(stderr, fmt, ap); in _verrx()
44 (void)fprintf(stderr, "\n"); in _verrx()
/bionic/benchmarks/
Dmain.cpp28 fprintf(stderr, "No benchmarks registered!\n"); in main()
41 fprintf(stderr, "Couldn't compile \"%s\" as a regular expression: %s\n", in main()
44 fprintf(stderr, "Unknown compile error for \"%s\" as a regular expression!\n", argv[i]); in main()
52 fprintf(stderr, "No matching benchmarks!\n"); in main()
53 fprintf(stderr, "Available benchmarks:\n"); in main()
55 fprintf(stderr, " %s\n", benchmark->Name().c_str()); in main()
Dsemaphore_benchmark.cpp114 fprintf(stderr, "BM_semaphore_sem_post: start_thread died unexpectedly\n"); in Run()
/bionic/tests/
Datexit_test.cpp64 …fprintf(stderr, "\nerror: static d-tor called with incorrect this pointer: %p, expected: %p\n", th… in ~TestMainStaticDtorClass()
66 fprintf(stderr, "6"); in ~TestMainStaticDtorClass()
76 fprintf(stderr, "5"); in atexit_func5()
80 fprintf(stderr, "4"); in atexit_func4()
84 fprintf(stderr, "3"); in atexit_func3()
89 fprintf(stderr, "2"); in atexit_func2()
93 fprintf(stderr, "1"); in atexit_func1()
Dstack_unwinding_test.cpp55 …fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dl… in FrameCounter()
56 fflush(stderr); in FrameCounter()
D__cxa_thread_atexit_test.cpp60 fprintf(stderr, "%s", message.c_str()); in ~ClassWithDtorForMainThread()
Dgtest_main.cpp189 fprintf(stderr, "test_id %zu out of range [0, %zu)\n", test_id, test_list_.size()); in VerifyTestId()
261 fprintf(stderr, "argument error, check with --help\n"); in EnumerateTests()
447 fprintf(stderr, "failed to open '%s': %s\n", xml_output_filename.c_str(), strerror(errno)); in OnTestIterationEndXmlPrint()
975 fprintf(stderr, "invalid job count: %d\n", count); in PickOptions()
982 fprintf(stderr, "invalid deadline: %d\n", time_ms); in PickOptions()
989 fprintf(stderr, "invalid warnline: %d\n", time_ms); in PickOptions()
1031 fprintf(stderr, "invalid gtest_output file: %s\n", args[i]); in PickOptions()
/bionic/libc/tools/
Dcheck-symbols.py13 sys.stderr.write('Checking symbols for arch "%s"...\n' % arch)
54 …sys.stderr.write('%d missing %s in %s for %s:\n' % (len(missing), functions_or_variables, library,…
56 sys.stderr.write(' %s\n' % miss)
Dgenerate-NOTICE.py108 sys.stderr.write('Searching for source files in "%s"...\n' % arg)
124 sys.stderr.write('warning: bad UTF-8 in %s\n' % path)
141 … sys.stderr.write('warning: no copyright notice found in "%s" (%d lines)\n' % (path, len(lines)))
Dndk_missing_symbols.py27 stdout=devnull, stderr=devnull)
/bionic/libc/kernel/tools/
Dclean_header.py88 sys.stderr.write( "warning: file does not exit: %s\n" % path )
94 sys.stderr.write( "warning: not a file: %s\n" % path )
100 sys.stderr.write( "warning: file not in 'original' ignored: %s\n" % path )
142 sys.stderr.write( "error: can't parse '%s'" % path )
189 sys.stderr.write( "error: unrecognized option\n" )
Dutils.py11 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ")
12 sys.stderr.write(msg)
Dupdate_all.py26 sys.stderr.write( "error: unrecognized option\n" )
/bionic/libc/arch-arm/bionic/
Datexit_legacy.c57 fprintf(stderr, warning); in atexit()
/bionic/libc/tzcode/
Dstrftime.c149 (void) fprintf(stderr, "\n"); in strftime()
151 (void) fprintf(stderr, "NULL strftime format "); in strftime()
152 else (void) fprintf(stderr, "strftime format \"%s\" ", in strftime()
154 (void) fprintf(stderr, "yields only two digits of years in "); in strftime()
156 (void) fprintf(stderr, "some locales"); in strftime()
158 (void) fprintf(stderr, "the current locale"); in strftime()
159 else (void) fprintf(stderr, "all locales"); in strftime()
160 (void) fprintf(stderr, "\n"); in strftime()
Dlocaltime.c2130 fprintf(stderr, "%s: %s not set!\n", __FUNCTION__, path_prefix_variable); in __bionic_open_tzdata_path()
2136 fprintf(stderr, "%s: couldn't allocate %zu-byte path\n", __FUNCTION__, path_length); in __bionic_open_tzdata_path()
2160 fprintf(stderr, "%s: could not read header of \"%s\": %s\n", in __bionic_open_tzdata_path()
2168 fprintf(stderr, "%s: bad magic in \"%s\": \"%.6s\"\n", in __bionic_open_tzdata_path()
2176 fprintf(stderr, "version: %s\n", header.tzdata_version); in __bionic_open_tzdata_path()
2177 fprintf(stderr, "index_offset = %d\n", ntohl(header.index_offset)); in __bionic_open_tzdata_path()
2178 fprintf(stderr, "data_offset = %d\n", ntohl(header.data_offset)); in __bionic_open_tzdata_path()
2179 fprintf(stderr, "zonetab_offset = %d\n", ntohl(header.zonetab_offset)); in __bionic_open_tzdata_path()
2183 fprintf(stderr, "%s: couldn't seek to index in \"%s\": %s\n", in __bionic_open_tzdata_path()
2194 fprintf(stderr, "%s: couldn't allocate %zd-byte index for \"%s\"\n", in __bionic_open_tzdata_path()
[all …]
/bionic/libc/dns/resolv/
Dres_send.c793 Perror(statp, stderr, "socket(vc)", errno); in send_vc()
797 Perror(statp, stderr, "socket(vc)", errno); in send_vc()
805 Perror(statp, stderr, "setsockopt", errno); in send_vc()
812 Aerror(statp, stderr, "bind/vc", errno, nsap, in send_vc()
820 Aerror(statp, stderr, "connect/vc", errno, nsap, in send_vc()
837 Perror(statp, stderr, "write failed", errno); in send_vc()
854 Perror(statp, stderr, "read failed", errno); in send_vc()
899 Perror(statp, stderr, "read(vc)", errno); in send_vc()
1076 Perror(statp, stderr, "socket(dg)", errno); in send_dg()
1080 Perror(statp, stderr, "socket(dg)", errno); in send_dg()
[all …]
/bionic/libc/arch-mips/string/
Dmips_strlen.c174 fprintf (stderr, "========== mips_strlen%s test...\n", in main()
179 fprintf(stderr,"%s+%d: %s\n",#__x,__y,chk(a,b,&errors));\ in main()
/bionic/libc/include/
Dstdio.h152 extern FILE* stderr;
156 #define stderr stderr macro
/bionic/linker/tests/
Dlinker_block_allocator_test.cpp120 fprintf(stderr, "trying to access protected page"); in protect_all()

12