/bionic/tests/ |
D | malloc_stress_test.cpp | 49 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 …]
|
D | android_unsafe_frame_pointer_chase_test.cpp | 43 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()
|
D | gtest_globals.cpp | 33 printf("Failed to get realpath for \"%s\"\n", path.c_str()); in GetTestLibRoot() 41 printf("\"%s\": does not exists\n", out_path.c_str()); in GetTestLibRoot()
|
D | ifaddrs_test.cpp | 170 printf("\t\t%s\t", what); in print_sockaddr_ll() 172 if (i > 0) printf(":"); in print_sockaddr_ll() 173 printf("%02X", s->sll_addr[i]); in print_sockaddr_ll() 175 printf(" (%d bytes)\n", s->sll_halen); in print_sockaddr_ll() 185 printf("%d getnameinfo() failed: %s\n", family, gai_strerror(error)); in print_sockaddr_inet() 188 printf("\t\t%s: <%s>\n", what, host); in print_sockaddr_inet() 232 printf("\t%s\n" in TEST()
|
D | struct_layout_test.cpp | 142 printf( in TEST() 148 printf(" CHECK_SIZE(%s, %zu);\n", name, size); in TEST() 153 printf(" CHECK_OFFSET(%s, %s, %zu);\n", name, field, offset); in TEST()
|
D | sys_ptrace_test.cpp | 448 printf("waitpid returned %d (%s)\n", rc, strerror(errno)); in WaitForTracer() 453 printf("!WIFEXITED && !WIFSIGNALED\n"); in WaitForTracer() 459 printf("tracer failed\n"); in WaitForTracer() 475 printf("worker exited prematurely\n"); in WaitForWorker() 483 printf("waitpid for worker returned %d (%s)\n", rc, strerror(errno)); in WaitForWorker() 488 printf("worker didn't exit\n"); in WaitForWorker() 493 printf("worker exited with status %d\n", WEXITSTATUS(result)); in WaitForWorker()
|
D | fortify_test.cpp | 184 ASSERT_FORTIFY(printf("%s", strchr(myfoo.a, 'a'))); in TEST_F() 185 ASSERT_FORTIFY(printf("%s", strchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F() 196 ASSERT_FORTIFY(printf("%s", strrchr(myfoo.a, 'a'))); in TEST_F() 197 ASSERT_FORTIFY(printf("%s", strrchr(static_cast<const char*>(myfoo.a), 'a'))); in TEST_F() 208 ASSERT_FORTIFY(printf("%s", static_cast<const char*>(memchr(myfoo.a, 'a', asize)))); in TEST_F() 209 ASSERT_FORTIFY(printf( in TEST_F() 221 ASSERT_FORTIFY(printf("%s", static_cast<const char*>(memrchr(myfoo.a, 'a', asize)))); in TEST_F() 222 ASSERT_FORTIFY(printf( in TEST_F() 357 ASSERT_FORTIFY(printf("%zd", strlen(buf))); in TEST_F() 367 ASSERT_FORTIFY(printf("%s", strchr(buf, 'a'))); in TEST_F() [all …]
|
/bionic/tests/libs/ |
D | exec_linker_helper.cpp | 37 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()
|
D | thread_exit_cb_helper.cpp | 39 printf("exit_cb_1 called "); in exit_cb_1() 43 printf("exit_cb_2 called "); in exit_cb_2() 47 printf("exit_cb_3 called"); in exit_cb_3()
|
D | ld_config_test_helper_lib3.cpp | 8 printf("foo lib3\n"); in foo() 14 printf("bar lib3\n"); in bar() 20 printf("lib3_call_funcs\n"); in lib3_call_funcs()
|
D | dlsym_from_this_functions.cpp | 28 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()
|
D | elftls_dlopen_ie_error_helper.cpp | 40 printf("success\n"); in main() 42 printf("dlerror: %s\n", dlerror()); in main()
|
D | testbinary_is_stack_mte.cpp | 40 printf("RAN\n"); in main() 47 printf("RAN\n"); in main()
|
D | ns_hidden_child_app.cpp | 35 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()
|
D | tls_properties_helper.cpp | 67 printf("done_get_static_tls_bounds\n"); in test_static_tls_bounds() 86 printf("done_iterate_dynamic_tls\n"); in test_iter_tls() 114 printf("done_iterate_another_thread_tls\n"); in test_iterate_another_thread_tls()
|
D | ld_config_test_helper_lib1.cpp | 8 printf("foo lib1\n"); in foo() 16 printf("lib1_call_funcs\n"); in lib1_call_funcs()
|
D | ld_preload_test_helper.cpp | 24 printf("%d", get_value_from_lib()); in main()
|
D | ld_config_test_helper_lib2.cpp | 8 printf("bar lib2\n"); in bar()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 266 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/libc/dns/resolv/ |
D | res_query.c | 146 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()
|
D | res_init.c | 475 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()
|
D | res_mkquery.c | 135 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/benchmarks/ |
D | bionic_benchmarks.cpp | 103 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 …]
|
D | property_benchmark.cpp | 45 printf("Failed to initialize properties, terminating...\n"); in LocalPropertyTestState() 85 printf("Failed to add a property, terminating...\n"); in LocalPropertyTestState() 86 printf("%s = %.*s\n", names[i], value_lens[i], values[i]); in LocalPropertyTestState()
|
/bionic/linker/testdata/ |
D | hello_world.c | 32 printf("Hello world\n"); in hello_world()
|