Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 25 of 43) sorted by relevance

12

/bionic/tests/libs/
Dbionic_tests_zipalign.cpp31 fprintf(stderr, "usage: bionic_tests_zipalign ALIGNMENT INPUT_ZIP_FILE OUTPUT_ZIP_FILE\n"); in usage()
32 fprintf(stderr, " ALIGNMENT:\n"); in usage()
33 fprintf(stderr, " The new alignment of all entries in the new zip file.\n"); in usage()
34 fprintf(stderr, " INPUT_ZIP_FILE:\n"); in usage()
35 fprintf(stderr, " The input zip file that will be read but left unmodified.\n"); in usage()
36 fprintf(stderr, " OUTPUT_ZIP_FILE:\n"); in usage()
37 fprintf(stderr, " The output zip file that will be created from the input file.\n"); in usage()
46 fprintf(stderr, "Unable to iterate over entries: %s\n", ErrorCodeString(return_value)); in GetEntries()
57 fprintf(stderr, "Error while iterating over zip entries: %s\n", ErrorCodeString(return_value)); in GetEntries()
90 fprintf(stderr, "StartAlignedEntry failed: %s\n", ZipWriter::ErrorCodeString(error)); in CreateAlignedZip()
[all …]
/bionic/tests/
Datexit_test.cpp74fprintf(stderr, "\nerror: static d-tor called with incorrect this pointer: %p, expected: %p\n", th… in ~TestMainStaticDtorClass()
76 fprintf(stderr, "6"); in ~TestMainStaticDtorClass()
86 fprintf(stderr, "5"); in atexit_func5()
90 fprintf(stderr, "4"); in atexit_func4()
94 fprintf(stderr, "3"); in atexit_func3()
99 fprintf(stderr, "2"); in atexit_func2()
103 fprintf(stderr, "1"); in atexit_func1()
Dgtest_main.cpp233 fprintf(stderr, "test_id %zu out of range [0, %zu)\n", test_id, test_list_.size()); in VerifyTestId()
303 fprintf(stderr, "argument error, check with --help\n"); in EnumerateTests()
564 fprintf(stderr, "failed to open '%s': %s\n", xml_output_filename.c_str(), strerror(errno)); in OnTestIterationEndXmlPrint()
591 fprintf(fp, "<testsuites tests=\"%zu\" failures=\"%zu\" disabled=\"0\" errors=\"0\"", in OnTestIterationEndXmlPrint()
593fprintf(fp, " timestamp=\"%s\" time=\"%.3lf\" name=\"AllTests\">\n", timestamp, elapsed_time_ns / … in OnTestIterationEndXmlPrint()
596fprintf(fp, " <testsuite name=\"%s\" tests=\"%zu\" failures=\"%zu\" disabled=\"0\" errors=\"0\"", in OnTestIterationEndXmlPrint()
598 fprintf(fp, " time=\"%.3lf\">\n", elapsed_time_list[i] / 1e9); in OnTestIterationEndXmlPrint()
601 fprintf(fp, " <testcase name=\"%s\" status=\"run\" time=\"%.3lf\" classname=\"%s\"", in OnTestIterationEndXmlPrint()
610 fprintf(fp, " <failure message=\"%s\" type=\"\">\n", escaped_test_output.c_str()); in OnTestIterationEndXmlPrint()
1116 fprintf(stderr, "invalid job count: %d\n", count); in PickOptions()
[all …]
Dnet_if_test.cpp49 fprintf(stderr, "\t%d\t%s\n", it->if_index, it->if_name); in TEST()
Dstack_unwinding_test.cpp55fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dl… in FrameCounter()
D__cxa_thread_atexit_test.cpp60 fprintf(stderr, "%s", message.c_str()); in ~ClassWithDtorForMainThread()
Dstdio_test.cpp95 rc = fprintf(fp, "hello\n"); in TEST()
127 int rc = fprintf(fp, "%s", line_written); in TEST()
199 int rc = fprintf(fp, "%s", line_written); in TEST()
671 TEST(STDIO_TEST, fprintf) { in TEST() argument
677 ASSERT_EQ(7, fprintf(tfile, "%d %s", 123, "abc")); in TEST()
689 ASSERT_EQ(4, fprintf(fp, "epic")); in TEST()
691 ASSERT_EQ(-1, fprintf(fp, "fail")); in TEST()
699 ASSERT_EQ(4, fprintf(fp, "epic")); in TEST()
701 ASSERT_EQ(4, fprintf(fp, "fail")); in TEST()
779 EXPECT_EQ(EOF, fprintf(fp, "hello")); in TEST()
[all …]
Dsetjmp_test.cpp261 fprintf(stderr, "setjmp_cookie_checksum: longjmp succeeded?"); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dvwarn.c45 (void)fprintf(stderr, "%s: ", __progname); 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()
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()
43 (void)fprintf(stderr, "\n"); in vwarnx()
Dverrx.c41 (void)fprintf(stderr, "%s: ", __progname); in verrx()
44 (void)fprintf(stderr, "\n"); in verrx()
/bionic/tools/versioner/src/
DDeclarationDatabase.h140 fprintf(out, "%s", indent_str.c_str());
142 fprintf(out, "%s ", is_extern ? "extern" : "static");
143 fprintf(out, "%s ", is_definition ? "definition" : "declaration");
145 fprintf(out, "no_guard ");
147 fprintf(out, "@ %s:%u:%u", StripPrefix(location.filename, base_path).str().c_str(),
153 fprintf(out, "\n%s ", indent_str.c_str());
155 fprintf(out, "invalid availability\n");
157 fprintf(out, "%s\n", to_string(avail).c_str());
181 fprintf(out, " %s: ", name.c_str());
184 fprintf(out, "%s\n", to_string(availability).c_str());
[all …]
Dversioner.cpp259 fprintf(stderr, "versioner: conflicting inline definitions:\n"); in checkSymbol()
260 fprintf(stderr, " declarations visible in: %s\n", Join(intersection, ", ").c_str()); in checkSymbol()
272 fprintf(stderr, "versioner: failed to calculate availability for declaration:\n"); in checkSymbol()
278 fprintf(stderr, "versioner: inline definition has non-empty versioning information:\n"); in checkSymbol()
286 fprintf(stderr, "versioner: inconsistent availability for symbol '%s'\n", symbol.name.c_str()); in checkSymbol()
418 fprintf(stderr, "Usage: versioner [OPTION]... [HEADER_PATH] [DEPS_PATH]\n"); in usage()
423 fprintf(stderr, "Version headers at HEADER_PATH, with DEPS_PATH/ARCH/* on the include path\n"); in usage()
424 fprintf(stderr, "Autodetects paths if HEADER_PATH and DEPS_PATH are not specified\n"); in usage()
425 fprintf(stderr, "\n"); in usage()
426 fprintf(stderr, "Target specification (defaults to all):\n"); in usage()
[all …]
DPreprocessor.cpp70 fprintf(stderr, "versioner: failed to calculate availability while preprocessing:\n"); in calculateRequiredGuard()
173 fprintf(stderr, "warning: attempted to generate guard with empty availability: %s\n", in generateGuardCondition()
/bionic/libc/dns/resolv/
Dres_debug.h29 # define Dprint(cond, args) if (cond) {fprintf args;} else {}
31 fprintf args;\
Dres_debug.c140 fprintf(file, ";; res options:"); in fp_resstat()
143 fprintf(file, " %s", p_option(mask)); in fp_resstat()
168 fprintf(file, ";; memory allocation failure\n"); in do_section()
177 fprintf(file, ";; ns_parserr: %s\n", in do_section()
185 fprintf(file, ";; %s SECTION:\n", in do_section()
188 fprintf(file, ";;\t%s, type = %s, class = %s\n", in do_section()
198 fprintf(file, in do_section()
215 fprintf(file, "%02x ", in do_section()
219 fprintf(file, "%c", in do_section()
226 fprintf(file, "; OPT=%u\n", in do_section()
[all …]
/bionic/libc/bionic/
Derror.cpp47 fprintf(stderr, "%s:", getprogname()); in __error_head()
53 fprintf(stderr, ": %s", strerror(error)); in __error_tail()
88 fprintf(stderr, "%s:%d: ", file, line); in error_at_line()
Dmalloc_info.cpp30 fprintf(fp, "<%s", name); in Elem()
42 fprintf(fp, "</%s>", name); in ~Elem()
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/arch-arm/bionic/
Datexit_legacy.c57 fprintf(stderr, warning); in atexit()
/bionic/libc/tzcode/
Dstrftime.c159 fprintf(stderr, "\n"); in strftime()
161 fprintf(stderr, "NULL strftime format "); in strftime()
162 else fprintf(stderr, "strftime format \"%s\" ", in strftime()
164 fprintf(stderr, "yields only two digits of years in "); in strftime()
166 fprintf(stderr, "some locales"); in strftime()
168 fprintf(stderr, "the current locale"); in strftime()
169 else fprintf(stderr, "all locales"); in strftime()
170 fprintf(stderr, "\n"); in strftime()
Dlocaltime.c2361 fprintf(stderr, "%s: %s not set!\n", __FUNCTION__, path_prefix_variable); in make_path()
2367 fprintf(stderr, "%s: couldn't allocate %zu-byte path\n", __FUNCTION__, path_length); in make_path()
2396 fprintf(stderr, "%s: could not read header of \"%s\": %s\n", in __bionic_open_tzdata_path()
2403 fprintf(stderr, "%s: bad magic in \"%s\": \"%.6s\"\n", in __bionic_open_tzdata_path()
2410 fprintf(stderr, "version: %s\n", header.tzdata_version); in __bionic_open_tzdata_path()
2411 fprintf(stderr, "index_offset = %d\n", ntohl(header.index_offset)); in __bionic_open_tzdata_path()
2412 fprintf(stderr, "data_offset = %d\n", ntohl(header.data_offset)); in __bionic_open_tzdata_path()
2413 fprintf(stderr, "zonetab_offset = %d\n", ntohl(header.zonetab_offset)); in __bionic_open_tzdata_path()
2417 fprintf(stderr, "%s: couldn't seek to index in \"%s\": %s\n", in __bionic_open_tzdata_path()
2427 fprintf(stderr, "%s: couldn't allocate %zd-byte index for \"%s\"\n", in __bionic_open_tzdata_path()
[all …]
/bionic/benchmarks/
Dsemaphore_benchmark.cpp130 fprintf(stderr, "BM_semaphore_sem_post: start_thread died unexpectedly\n"); in BENCHMARK_F()
/bionic/linker/tests/
Dlinker_block_allocator_test.cpp138 fprintf(stderr, "trying to access protected page"); in protect_all()

12