Home
last modified time | relevance | path

Searched full:printf (Results 1 – 25 of 8288) sorted by relevance

12345678910>>...332

/external/grpc-grpc/test/core/surface/
Dpublic_headers_must_be_c89.c64 printf("%lx", (unsigned long) grpc_compression_algorithm_is_message); in main()
65 printf("%lx", (unsigned long) grpc_compression_algorithm_is_stream); in main()
66 printf("%lx", (unsigned long) grpc_compression_algorithm_parse); in main()
67 printf("%lx", (unsigned long) grpc_compression_algorithm_name); in main()
68 printf("%lx", (unsigned long) grpc_compression_algorithm_for_level); in main()
69 printf("%lx", (unsigned long) grpc_compression_options_init); in main()
70 printf("%lx", (unsigned long) grpc_compression_options_enable_algorithm); in main()
71 printf("%lx", (unsigned long) grpc_compression_options_disable_algorithm); in main()
72 printf("%lx", (unsigned long) grpc_compression_options_is_algorithm_enabled); in main()
73 printf("%lx", (unsigned long) grpc_metadata_array_init); in main()
[all …]
/external/google-breakpad/src/processor/
Ddump_context.cc278 printf("MDRawContextX86\n"); in Print()
279 printf(" context_flags = 0x%x\n", in Print()
281 printf(" dr0 = 0x%x\n", context_x86->dr0); in Print()
282 printf(" dr1 = 0x%x\n", context_x86->dr1); in Print()
283 printf(" dr2 = 0x%x\n", context_x86->dr2); in Print()
284 printf(" dr3 = 0x%x\n", context_x86->dr3); in Print()
285 printf(" dr6 = 0x%x\n", context_x86->dr6); in Print()
286 printf(" dr7 = 0x%x\n", context_x86->dr7); in Print()
287 printf(" float_save.control_word = 0x%x\n", in Print()
289 printf(" float_save.status_word = 0x%x\n", in Print()
[all …]
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c61 printf in tdrmopen()
89 printf in tdrmopen()
114 printf("ERROR: Open of device %s failed %d errno = %d\n", in tdrmopen()
118 printf("Device opened successfully \n"); in tdrmopen()
140 printf("Test DRM Driver may not be loaded\n"); in main()
144 printf("\tBegin drm read system ioctl\n"); in main()
148 printf("Failed on drm ioctl DRM(get_magic) test\n"); in main()
150 printf("Success on drm ioctl DRM(get_magic) test\n"); in main()
155 printf("Failed on drm ioctl DRM(get_status) test\n"); in main()
157 printf("Success on drm ioctl DRM(get_status) test\n"); in main()
[all …]
/external/clang/test/Sema/
Dformat-strings-fixit.c11 int printf(char const *, ...);
21 printf("%s", (int) 123); in test()
22 printf("abc%0f", "testing testing 123"); in test()
23 printf("%u", (long) -12); in test()
24 printf("%p", 123); in test()
25 printf("%c\n", "x"); in test()
26 printf("%c\n", 1.23); in test()
29 printf("%+.2d", (unsigned long long) 123456); in test()
30 printf("%1d", (long double) 1.23); in test()
33 printf("%0+s", (unsigned) 31337); // 0 flag should stay in test()
[all …]
Dformat-strings.c11 int printf(const char *restrict, ...); // expected-note{{passing argument to parameter here}}
31 printf(s); // expected-warning {{format string is not a string literal}} in check_string_literal()
57 printf(fmt, 1, 2); // expected-warning{{data argument not used}} in check_string_literal()
60 printf("abc" in check_string_literal()
62 printf("abc\ in check_string_literal()
69 printf("%*d", (unsigned) 1, 1); // no-warning in check_string_literal()
81 printf(s); // expected-warning {{format string is not a string literal}} in check_string_literal2()
100 printf(i == 1 ? "yes" : "no"); // no-warning in check_conditional_literal()
101 printf(i == 0 ? (i == 1 ? "yes" : "no") : "dont know"); // no-warning in check_conditional_literal()
102printf(i == 0 ? (i == 1 ? s : "no") : "dont know"); // expected-warning{{format string is not a st… in check_conditional_literal()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dmath.cpp7 printf("//! [first sample]\n");
11 [](int v){printf("OnNext: %d\n", v);}, in __anon97cb0d520102()
12 [](){printf("OnCompleted\n");}); in __anon97cb0d520202()
13 printf("//! [first sample]\n");
18 printf("//! [first empty sample]\n");
22 [](int v){printf("OnNext: %d\n", v);}, in __anon97cb0d520302()
26 printf("OnError: %s\n", ex.what()); in __anon97cb0d520402()
29 [](){printf("OnCompleted\n");}); in __anon97cb0d520502()
30 printf("//! [first empty sample]\n");
35 printf("//! [last sample]\n");
[all …]
Dblocking_observable.cpp7 printf("//! [blocking first sample]\n");
10 printf("first = %d\n", first);
11 printf("//! [blocking first sample]\n");
15 printf("//! [blocking first empty sample]\n");
19 printf("first = %d\n", first);
21 printf("Exception: %s\n", ex.what());
23 printf("//! [blocking first empty sample]\n");
27 printf("//! [blocking first error sample]\n");
32 printf("first = %d\n", first);
34 printf("Exception: %s\n", ex.what());
[all …]
Dbuffer.cpp7 printf("//! [buffer count sample]\n");
12 printf("OnNext:"); in __anon9fb0f4620102()
14 printf(" %d", a); in __anon9fb0f4620102()
16 printf("\n"); in __anon9fb0f4620102()
18 [](){printf("OnCompleted\n");}); in __anon9fb0f4620302()
19 printf("//! [buffer count sample]\n");
23 printf("//! [buffer count+skip sample]\n");
28 printf("OnNext:"); in __anon9fb0f4620402()
30 printf(" %d", a); in __anon9fb0f4620402()
32 printf("\n"); in __anon9fb0f4620402()
[all …]
/external/libmtp/util/
Dmtp-hotplug.c102 printf("Supply some sane mtp-probe dir\n"); in main()
141 printf("# UDEV-style hotplug map for libmtp\n"); in main()
142 printf("# Put this file in /etc/udev/rules.d\n\n"); in main()
143 printf("ACTION!=\"add\", GOTO=\"libmtp_rules_end\"\n"); in main()
144 printf("ENV{MAJOR}!=\"?*\", GOTO=\"libmtp_rules_end\"\n"); in main()
145 printf("SUBSYSTEM==\"usb\", GOTO=\"libmtp_usb_rules\"\n" in main()
148 printf("# Some sensitive devices we surely don\'t wanna probe\n"); in main()
149 printf("# Color instruments\n"); in main()
150 printf("ATTR{idVendor}==\"0670\", GOTO=\"libmtp_rules_end\"\n"); in main()
151 printf("ATTR{idVendor}==\"0765\", GOTO=\"libmtp_rules_end\"\n"); in main()
[all …]
/external/iw/
Devent.c53 printf(" [no frame]"); in print_frame()
59 printf(" [invalid frame: "); in print_frame()
64 printf(" %s -> ", macbuf); in print_frame()
66 printf("%s", macbuf); in print_frame()
73 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
81 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
87 printf(" reason %d: %s", tmp, get_reason_str(tmp)); in print_frame()
94 printf(" [frame:"); in print_frame()
98 printf(" %.02x", frame[i]); in print_frame()
99 printf("]"); in print_frame()
[all …]
Dscan.c482 printf("\t"); in tab_on_first()
489 printf(" "); in print_ssid()
491 printf("\n"); in print_ssid()
501 printf(" "); in print_supprates()
507 printf("VHT"); in print_supprates()
509 printf("HT"); in print_supprates()
511 printf("%d.%d", r/2, 5*(r&1)); in print_supprates()
513 printf("%s ", data[i] & 0x80 ? "*" : ""); in print_supprates()
515 printf("\n"); in print_supprates()
520 printf(" channel %d\n", data[0]); in print_ds()
[all …]
Dinfo.c17 printf(" ("); in print_flag()
19 printf(", "); in print_flag()
20 printf("%s", name); in print_flag()
130 printf("Wiphy %s\n", nla_get_string(tb_msg[NL80211_ATTR_WIPHY_NAME])); in print_phy_handler()
136 printf("\tBand %d:\n", nl_band->nla_type + 1); in print_phy_handler()
166 printf("\t\tFrequencies:\n"); in print_phy_handler()
176 printf("\t\t\t* %d MHz [%d]", freq, ieee80211_frequency_to_channel(freq)); in print_phy_handler()
180 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER])); in print_phy_handler()
201 printf(")"); in print_phy_handler()
202 printf("\n"); in print_phy_handler()
[all …]
/external/webrtc/webrtc/voice_engine/test/cmd_test/
Dvoe_cmd_test.cc52 printf("*** Error at line %i \n", __LINE__); \
53 printf("*** Error code = %i \n", base1->LastError()); \
78 // Add printf for other error codes here in CallbackOnError()
80 printf(" TYPING NOISE DETECTED \n"); in CallbackOnError()
82 printf(" TYPING NOISE OFF DETECTED \n"); in CallbackOnError()
84 printf(" RECEIVE PACKET TIMEOUT \n"); in CallbackOnError()
86 printf(" PACKET RECEIPT RESTARTED \n"); in CallbackOnError()
88 printf(" RUNTIME PLAY WARNING \n"); in CallbackOnError()
90 printf(" RUNTIME RECORD WARNING \n"); in CallbackOnError()
92 printf(" SATURATION WARNING \n"); in CallbackOnError()
[all …]
/external/u-boot/examples/api/
Ddemo.c14 #define errf(fmt, args...) do { printf("ERROR @ %s(): ", __func__); printf(fmt, ##args); } while (0)
45 printf("API signature found @%x\n", (unsigned int)sig); in main()
48 printf("\n*** Consumer API test ***\n"); in main()
49 printf("syscall ptr 0x%08x@%08x\n", (unsigned int)syscall_ptr, in main()
55 printf("*** Press any key to continue ***\n"); in main()
56 printf("got char 0x%x\n", ub_getc()); in main()
62 printf("\n*** Timing - wait a couple of secs ***\n"); in main()
64 printf("\ntime: start %lu\n\n", start); in main()
71 printf("\ntime: now %lu\n\n", now); in main()
74 printf("\n*** Enumerate devices ***\n"); in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/cpufreq/
Dmodule.sh21 printf "** Test: Running ${FUNCNAME[0]} **\n\n"
23 printf "Inserting $1 module\n"
27 printf "Insmod $1 failed\n"
31 printf "Removing $1 module\n"
35 printf "rmmod $1 failed\n"
39 printf "\n"
47 printf "** Test: Running ${FUNCNAME[0]} for driver $1 and cpus_hotplug=$2 **\n\n"
52 printf "\n"
56 printf "Inserting $1 module\n\n"
59 printf "Insmod $1 failed\n"
[all …]
/external/libdrm/tests/modeprint/
Dmodeprint.c74 printf("Mode: %s\n", mode->name); in printMode()
75 printf("\tclock : %i\n", mode->clock); in printMode()
76 printf("\thdisplay : %i\n", mode->hdisplay); in printMode()
77 printf("\thsync_start : %i\n", mode->hsync_start); in printMode()
78 printf("\thsync_end : %i\n", mode->hsync_end); in printMode()
79 printf("\thtotal : %i\n", mode->htotal); in printMode()
80 printf("\thskew : %i\n", mode->hskew); in printMode()
81 printf("\tvdisplay : %i\n", mode->vdisplay); in printMode()
82 printf("\tvsync_start : %i\n", mode->vsync_start); in printMode()
83 printf("\tvsync_end : %i\n", mode->vsync_end); in printMode()
[all …]
/external/android-clat/
Ddump.c47 printf("IP packet\n"); in dump_ip()
48 printf("header_len = %x\n", header->ihl); in dump_ip()
49 printf("version = %x\n", header->version); in dump_ip()
50 printf("tos = %x\n", header->tos); in dump_ip()
51 printf("tot_len = %x\n", ntohs(header->tot_len)); in dump_ip()
52 printf("id = %x\n", ntohs(header->id)); in dump_ip()
53 printf("frag: "); in dump_ip()
55 printf("(RF) "); in dump_ip()
58 printf("DF "); in dump_ip()
61 printf("MF "); in dump_ip()
[all …]
/external/toybox/tests/
Dprintf.test11 PRINTF="$(which printf)"
13 testing "text" "$PRINTF TEXT" "TEXT" "" ""
14 testing "escapes" "$PRINTF 'one\ntwo\n\v\t\r\f\e\b\athree'" \
16 testing "%b escapes" "$PRINTF %b 'one\ntwo\n\v\t\r\f\e\b\athree'" \
18 testing "null" "$PRINTF 'x\0y' | od -An -tx1" ' 78 00 79\n' "" ""
19 testing "trailing slash" "$PRINTF 'abc\'" 'abc\' "" ""
20 testing "octal" "$PRINTF ' \1\002\429\045x'" ' \001\002"9%x' "" ""
21 testing "not octal" "$PRINTF '\9'" '\9' "" ""
22 testing "hex" "$PRINTF 'A\x1b\x2B\x3Q\xa' | od -An -tx1" \
24 testing "%x" "$PRINTF '%x\n' 0x2a" "2a\n" "" ""
[all …]
/external/strace/tests-m32/
Dbtrfs.c197 printf("%#llx /* ", val); in prfl_btrfs()
200 printf(" */"); in prfl_btrfs()
208 printf("%#llx /* ", val); in prxval_btrfs()
211 printf(" */"); in prxval_btrfs()
219 printf("%s%" PRIu64 " /* UINT64_MAX */", prefix, val); in print_uint64()
221 printf("%sUINT64_MAX", prefix); in print_uint64()
223 printf("%s%" PRIu64, prefix, val); in print_uint64()
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
[all …]
/external/strace/tests-mx32/
Dbtrfs.c197 printf("%#llx /* ", val); in prfl_btrfs()
200 printf(" */"); in prfl_btrfs()
208 printf("%#llx /* ", val); in prxval_btrfs()
211 printf(" */"); in prxval_btrfs()
219 printf("%s%" PRIu64 " /* UINT64_MAX */", prefix, val); in print_uint64()
221 printf("%sUINT64_MAX", prefix); in print_uint64()
223 printf("%s%" PRIu64, prefix, val); in print_uint64()
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
[all …]
/external/strace/tests/
Dbtrfs.c197 printf("%#llx /* ", val); in prfl_btrfs()
200 printf(" */"); in prfl_btrfs()
208 printf("%#llx /* ", val); in prxval_btrfs()
211 printf(" */"); in prxval_btrfs()
219 printf("%s%" PRIu64 " /* UINT64_MAX */", prefix, val); in print_uint64()
221 printf("%sUINT64_MAX", prefix); in print_uint64()
223 printf("%s%" PRIu64, prefix, val); in print_uint64()
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
[all …]
/external/toybox/toys/pending/
Dipcs.c62 printf("\nMessage Queue msqid=%d\n" in show_msg_id()
65 printf ("cbytes=%ld\tqbytes=%ld\tqnum=%ld\tlspid=%d\tlrpid=%d\n", in show_msg_id()
69 printf("send_time=%-26.24s\nrcv_time=%-26.24s\nchange_time=%-26.24s\n\n", in show_msg_id()
89 printf("\nSemaphore Array semid=%d\n" in show_sem_id()
99 printf("ctime = %-26.24s\n" in show_sem_id()
113 printf("%-10d %-10d %-10d %-10d %-10d\n", i, val, nc, zc, pid); in show_sem_id()
130 printf("\nShared memory Segment shmid=%d\n" in show_shm_id()
139 printf("att_time=%-26.24s\n", in show_shm_id()
141 printf("det_time=%-26.24s\n", in show_shm_id()
143 printf("change_time=%-26.24s\n\n", ctime(&buf.shm_ctime)); in show_shm_id()
[all …]
/external/clang/test/CodeGenCXX/
Dpredefined-expr.cpp103 int printf(const char * _Format, ...);
108 printf("__func__ %s\n", __func__); in topLevelNamespaceFunction()
109 printf("__FUNCTION__ %s\n", __FUNCTION__); in topLevelNamespaceFunction()
110 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__); in topLevelNamespaceFunction()
119 printf("__func__ %s\n", __func__); in anonymousNamespaceFunction()
120 printf("__FUNCTION__ %s\n", __FUNCTION__); in anonymousNamespaceFunction()
121 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__); in anonymousNamespaceFunction()
133 printf("__func__ %s\n", __func__); in classTemplateFunction()
134 printf("__FUNCTION__ %s\n", __FUNCTION__); in classTemplateFunction()
135 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__); in classTemplateFunction()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_print.c41 printf("%04u:", instr->serialno); in print_instr_name()
43 printf("%04u:", instr->name); in print_instr_name()
44 printf("%03u: ", instr->depth); in print_instr_name()
47 printf("(sy)"); in print_instr_name()
49 printf("(ss)"); in print_instr_name()
54 printf("Φ"); in print_instr_name()
59 case OPC_META_INPUT: printf("_meta:in"); break; in print_instr_name()
60 case OPC_META_FO: printf("_meta:fo"); break; in print_instr_name()
61 case OPC_META_FI: printf("_meta:fi"); break; in print_instr_name()
63 default: printf("_meta:%d", instr->opc); break; in print_instr_name()
[all …]
/external/libdrm/tests/
Ddrmdevice.c38 printf("device[%i]\n", i); in print_device_info()
39 printf("\tavailable_nodes %04x\n", device->available_nodes); in print_device_info()
40 printf("\tnodes\n"); in print_device_info()
43 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]); in print_device_info()
45 printf("\tbustype %04x\n", device->bustype); in print_device_info()
46 printf("\tbusinfo\n"); in print_device_info()
48 printf("\t\tpci\n"); in print_device_info()
49 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); in print_device_info()
50 printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); in print_device_info()
51 printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); in print_device_info()
[all …]

12345678910>>...332