Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 48) sorted by relevance

12

/bionic/tests/
Dmalloc_stress_test.cpp49 printf("Pass %zu\n", i); in TEST()
56 printf("Failed to allocate memory\n"); in TEST()
97 printf("RSS %" PRIu64 " %0.2fMB\n", rss_bytes, rss_bytes / (1024.0 * 1024.0)); in TEST()
98 printf(" Min %" PRIu64 " %0.2fMB\n", rss_min, rss_min / (1024.0 * 1024.0)); in TEST()
99 printf(" Max %" PRIu64 " %0.2fMB\n", rss_max, rss_max / (1024.0 * 1024.0)); in TEST()
100 printf("VSS %" PRIu64 " %0.2f MB\n", vss_bytes, vss_bytes / (1024.0 * 1024.0)); in TEST()
101 printf(" Min %" PRIu64 " %0.2fMB\n", vss_min, vss_min / (1024.0 * 1024.0)); in TEST()
102 printf(" Max %" PRIu64 " %0.2fMB\n", vss_max, vss_max / (1024.0 * 1024.0)); in TEST()
112 printf("Allocated memory %zu %0.2fMB\n", mallinfo_bytes, mallinfo_bytes / (1024.0 * 1024.0)); in TEST()
113 printf(" Min %" PRIu64 " %0.2fMB\n", mallinfo_min, mallinfo_min / (1024.0 * 1024.0)); in TEST()
[all …]
Dandroid_unsafe_frame_pointer_chase_test.cpp43 printf("num_frames (0x%zu) < kNumFrames + 2", num_frames); in CheckFrames()
48 printf("frames[0] == frames[1] (0x%zx)", frames[0]); in CheckFrames()
54 printf("frames[i] (0x%zx) != frames[1] (0x%zx)", frames[i], frames[1]); in CheckFrames()
60 printf("frames[kNumFrames] == frames[kNumFrames + 1] (0x%zx)", frames[kNumFrames]); in CheckFrames()
Dgtest_globals.cpp32 printf("Failed to get realpath for \"%s\"", path.c_str()); in GetTestlibRoot()
40 printf("\"%s\": does not exists", out_path.c_str()); in GetTestlibRoot()
Difaddrs_test.cpp165 printf("\t\t%s\t", what); in print_sockaddr_ll()
167 if (i > 0) printf(":"); in print_sockaddr_ll()
168 printf("%02X", s->sll_addr[i]); in print_sockaddr_ll()
170 printf(" (%d bytes)\n", s->sll_halen); in print_sockaddr_ll()
180 printf("%d getnameinfo() failed: %s\n", family, gai_strerror(error)); in print_sockaddr_inet()
183 printf("\t\t%s: <%s>\n", what, host); in print_sockaddr_inet()
233 printf("\t%s\n" in TEST()
Dsys_ptrace_test.cpp443 printf("waitpid returned %d (%s)\n", rc, strerror(errno)); in WaitForTracer()
448 printf("!WIFEXITED && !WIFSIGNALED\n"); in WaitForTracer()
454 printf("tracer failed\n"); in WaitForTracer()
470 printf("worker exited prematurely\n"); in WaitForWorker()
478 printf("waitpid for worker returned %d (%s)\n", rc, strerror(errno)); in WaitForWorker()
483 printf("worker didn't exit\n"); in WaitForWorker()
488 printf("worker exited with status %d\n", WEXITSTATUS(result)); in WaitForWorker()
Dfortify_test.cpp191 ASSERT_FORTIFY(printf("%s", strchr(myfoo.a, 'a'))); in TEST_F()
192 ASSERT_FORTIFY(printf("%s", strchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F()
203 ASSERT_FORTIFY(printf("%s", strrchr(myfoo.a, 'a'))); in TEST_F()
204 ASSERT_FORTIFY(printf("%s", strrchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F()
215 ASSERT_FORTIFY(printf("%s", memchr(myfoo.a, 'a', asize))); in TEST_F()
216 ASSERT_FORTIFY(printf("%s", memchr(static_cast<const void*>(myfoo.a), 'a', asize))); in TEST_F()
227 ASSERT_FORTIFY(printf("%s", memrchr(myfoo.a, 'a', asize))); in TEST_F()
228 ASSERT_FORTIFY(printf("%s", memrchr(static_cast<const void*>(myfoo.a), 'a', asize))); in TEST_F()
362 ASSERT_FORTIFY(printf("%zd", strlen(buf))); in TEST_F()
372 ASSERT_FORTIFY(printf("%s", strchr(buf, 'a'))); in TEST_F()
[all …]
Dstack_protector_test.cpp46 printf("[thread %d] TLS stack guard = %p\n", tid, guard); in Check()
/bionic/tests/libs/
Dexec_linker_helper.cpp37 printf("ctor: argc=%d argv[0]=%s\n", argc, argv[0]); in ctor()
41 printf("main: argc=%d argv[0]=%s\n", argc, argv[0]); in main()
42 printf("__progname=%s\n", __progname); in main()
43 printf("%s\n", helper_func()); in main()
Ddlsym_from_this_functions.cpp28 printf("Cannot find the answer\n"); in lookup_dlsym_symbol_using_RTLD_DEFAULT()
38 printf("Cannot find the answer\n"); in lookup_dlsym_symbol2_using_RTLD_DEFAULT()
48 printf("Cannot find the answer\n"); in lookup_dlsym_symbol_using_RTLD_NEXT()
Delftls_dlopen_ie_error_helper.cpp40 printf("success\n"); in main()
42 printf("dlerror: %s\n", dlerror()); in main()
Dns_hidden_child_app.cpp35 printf("public_function is %s\n", public_function == nullptr ? "null" : "non-null"); in app_function()
36 printf("internal_function is %s\n", internal_function == nullptr ? "null" : "non-null"); in app_function()
Dld_config_test_helper.cpp42 printf("%s", dlerror()); in main()
48 printf("%d", get_value_from_lib()); in main()
Dld_preload_test_helper.cpp24 printf("%d", get_value_from_lib()); in main()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dres_random.c266 printf("Generator: %u\n", ru_g);
267 printf("Seed: %u\n", ru_seed);
268 printf("Reseed at %ld\n", ru_reseed);
269 printf("Ru_X: %u\n", ru_x);
270 printf("Ru_A: %u\n", ru_a);
271 printf("Ru_B: %u\n", ru_b);
276 printf("%u\n", wert);
/bionic/benchmarks/
Dbionic_benchmarks.cpp103 printf("Usage:\n"); in Usage()
104 printf("bionic_benchmarks [--bionic_cpu=<cpu_to_isolate>]\n"); in Usage()
105 printf(" [--bionic_xml=<path_to_xml>]\n"); in Usage()
106 printf(" [--bionic_iterations=<num_iter>]\n"); in Usage()
107 printf(" [--bionic_extra=\"<fn_name> <arg1> <arg 2> ...\"]\n"); in Usage()
108 printf(" [<Google benchmark flags>]\n"); in Usage()
109 printf("Google benchmark flags:\n"); in Usage()
171 printf("ERROR: no argument specified for bionic_cpu\n"); in ParseOpts()
179 printf("ERROR: no argument specified for bionic_xml\n"); in ParseOpts()
187 printf("ERROR: no argument specified for bionic_extra\n"); in ParseOpts()
[all …]
Ddlfcn_benchmark.cpp36 BIONIC_TRIVIAL_BENCHMARK(BM_dladdr_libc_printf, bm_dladdr(printf));
Dproperty_benchmark.cpp84 printf("Failed to add a property, terminating...\n"); in LocalPropertyTestState()
85 printf("%s = %.*s\n", names[i], value_lens[i], values[i]); in LocalPropertyTestState()
Dutil.cpp81 printf("Invalid cpu %d\n", cpu_to_lock); in LockToCPU()
/bionic/libc/dns/resolv/
Dres_query.c146 printf(";; res_query(%s, %d, %d)\n", name, class, type); in res_nquery()
159 printf(";; res_query: mkquery failed\n"); in res_nquery()
172 printf(";; res_nquery: retry without EDNS0\n"); in res_nquery()
178 printf(";; res_query: send error\n"); in res_nquery()
187 printf(";; rcode = (%s), counts = an:%d ns:%d ar:%d\n", in res_nquery()
391 printf(";; res_nquerydomain(%s, %s, %d, %d)\n", in res_nquerydomain()
Dres_init.c475 printf(";; res_init()... default dnsrch list:\n"); in __res_vinit()
477 printf(";;\t%s\n", *pp); in __res_vinit()
478 printf(";;\t..END..\n"); in __res_vinit()
501 printf(";; res_setoptions(\"%s\", \"%s\")...\n", in res_setoptions()
517 printf(";;\tndots=%d\n", statp->ndots); in res_setoptions()
527 printf(";;\ttimeout=%d\n", statp->retrans); in res_setoptions()
537 printf(";;\tattempts=%d\n", statp->retry); in res_setoptions()
542 printf(";; res_setoptions(\"%s\", \"%s\")..\n", in res_setoptions()
546 printf(";;\tdebug\n"); in res_setoptions()
Dres_mkquery.c135 printf(";; res_nmkquery(%s, %s, %s, %s)\n", in res_nmkquery()
243 printf(";; res_nopt()\n"); in res_nopt()
266 printf(";; res_opt()... ENDS0 DNSSEC\n"); in res_nopt()
/bionic/libm/upstream-freebsd/lib/msun/src/
Dmath_private.h719 printf("x = %.21Lg; ", (long double)*xp); \
722 printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
724 printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
735 printf("x = %.21Lg; ", (long double)*xp); \
738 printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
740 printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
751 printf("x = %.21Lg; ", (long double)*xp); \
754 printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
756 printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
773 printf("x = %.36Lg; ", (long double)*xp); \
[all …]
/bionic/tools/versioner/src/
Dversioner.cpp425 printf("%s: declaration marked available but symbol missing in [%s]\n", symbol_name.c_str(), in checkVersions()
434 printf("%s: declaration marked unavailable but symbol available in [%s]\n", in checkVersions()
458 printf("Try 'versioner -h' for more information.\n"); in usage()
672 printf("Compiled headers for %zu targets in %0.2LFms\n", compilation_types.size(), diff); in main()
680 printf("versioner: sanity check failed\n"); in main()
686 printf("versioner: version check failed\n"); in main()
Dversioner.h32 printf(__VA_ARGS__); \
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c1112 (void)printf("%s\n", str); in qprintf()
1115 (void)printf("%c", (char)CHAR(*p)); in qprintf()
1116 (void)printf("\n"); in qprintf()
1118 (void)printf("%c", (isprot(*p) ? '\\' : ' ')); in qprintf()
1119 (void)printf("\n"); in qprintf()
1121 (void)printf("%c", (ismeta(*p) ? '_' : ' ')); in qprintf()
1122 (void)printf("\n"); in qprintf()

12