Home
last modified time | relevance | path

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

12345678910>>...345

/external/ethtool/
Dpcnet32.c31 printf("Driver: %s\n",info->driver); in pcnet32_dump_regs()
32 printf("Version: %s\n",info->version); in pcnet32_dump_regs()
34 printf("APROM: "); in pcnet32_dump_regs()
36 printf(" %04x ", data[i]); in pcnet32_dump_regs()
37 printf("\n"); in pcnet32_dump_regs()
42 if (((i-csr) & 7) == 0) printf("CSR%02d: ", i-csr); in pcnet32_dump_regs()
43 printf(" %04x ", data[i]); in pcnet32_dump_regs()
44 if (((i-csr) & 7) == 7) printf("\n"); in pcnet32_dump_regs()
46 if (((i-csr) & 7) != 7) printf("\n"); in pcnet32_dump_regs()
51 if (((i-csr) & 7) == 0) printf("BCR%02d: ", i-csr); in pcnet32_dump_regs()
[all …]
Dmarvell.c16 printf("Addr %d ", n); in dump_addr()
18 printf("%02X%c", a[i], i == 5 ? '\n' : ' '); in dump_addr()
26 printf("%s\n", name); in dump_timer()
27 printf("\tInit 0x%08X Value 0x%08X\n", r[0], r[1]); in dump_timer()
28 printf("\tTest 0x%02X Control 0x%02X\n", a[8], a[9]); in dump_timer()
56 printf("\n%s (disabled)\n", name); in dump_queue()
60 printf("\n%s\n", name); in dump_queue()
61 printf("---------------\n"); in dump_queue()
62 printf("Descriptor Address 0x%08X%08X\n", in dump_queue()
64 printf("Address Counter 0x%08X%08X\n", in dump_queue()
[all …]
Dsff-common.c38 printf("\t%-41s : %u%s\n", name, val * mult, unit); in sff_show_value_with_unit()
46 printf("\t%-41s : ", name); in sff_show_ascii()
53 printf("\n"); in sff_show_ascii()
59 printf("\t%-41s : ", name); in sff_show_lane_status()
61 printf("None\n"); in sff_show_lane_status()
65 printf("["); in sff_show_lane_status()
67 printf(" %s%c", value & 1 ? yes : no, lane_cnt ? ',': ' '); in sff_show_lane_status()
70 printf("]\n"); in sff_show_lane_status()
75 printf("\t%-41s : %02x:%02x:%02x\n", "Vendor OUI", in sff8024_show_oui()
82 printf("\t%-41s : 0x%02x", "Identifier", id[id_offset]); in sff8024_show_identifier()
[all …]
Dsfpid.c27 printf("\t%-41s : 0x%02x", "Extended identifier", id[1]); in sff8079_show_ext_identifier()
29 printf(" (GBIC not specified / not MOD_DEF compliant)\n"); in sff8079_show_ext_identifier()
31 printf(" (GBIC/SFP defined by 2-wire interface ID)\n"); in sff8079_show_ext_identifier()
33 printf(" (GBIC compliant with MOD_DEF %u)\n", id[1]); in sff8079_show_ext_identifier()
35 printf(" (unknown)\n"); in sff8079_show_ext_identifier()
48 printf("\t%-41s : 0x%02x 0x%02x 0x%02x " \ in sff8079_show_transceiver()
55 printf("%s 10G Ethernet: 10G Base-ER" \ in sff8079_show_transceiver()
58 printf("%s 10G Ethernet: 10G Base-LRM\n", pfx); in sff8079_show_transceiver()
60 printf("%s 10G Ethernet: 10G Base-LR\n", pfx); in sff8079_show_transceiver()
62 printf("%s 10G Ethernet: 10G Base-SR\n", pfx); in sff8079_show_transceiver()
[all …]
/external/cpuinfo/tools/
Disa-info.c14 printf("Scalar instructions:\n"); in main()
16 printf("\tx87 FPU: %s\n", cpuinfo_has_x86_fpu() ? "yes" : "no"); in main()
17 printf("\tCMOV: %s\n", cpuinfo_has_x86_cmov() ? "yes" : "no"); in main()
19 printf("\tLAHF/SAHF: %s\n", cpuinfo_has_x86_lahf_sahf() ? "yes" : "no"); in main()
20 printf("\tLZCNT: %s\n", cpuinfo_has_x86_lzcnt() ? "yes" : "no"); in main()
21 printf("\tPOPCNT: %s\n", cpuinfo_has_x86_popcnt() ? "yes" : "no"); in main()
22 printf("\tTBM: %s\n", cpuinfo_has_x86_tbm() ? "yes" : "no"); in main()
23 printf("\tBMI: %s\n", cpuinfo_has_x86_bmi() ? "yes" : "no"); in main()
24 printf("\tBMI2: %s\n", cpuinfo_has_x86_bmi2() ? "yes" : "no"); in main()
25 printf("\tADCX/ADOX: %s\n", cpuinfo_has_x86_adx() ? "yes" : "no"); in main()
[all …]
/external/google-breakpad/src/processor/
Ddump_context.cc371 printf("MDRawContextX86\n"); in Print()
372 printf(" context_flags = 0x%x\n", in Print()
374 printf(" dr0 = 0x%x\n", context_x86->dr0); in Print()
375 printf(" dr1 = 0x%x\n", context_x86->dr1); in Print()
376 printf(" dr2 = 0x%x\n", context_x86->dr2); in Print()
377 printf(" dr3 = 0x%x\n", context_x86->dr3); in Print()
378 printf(" dr6 = 0x%x\n", context_x86->dr6); in Print()
379 printf(" dr7 = 0x%x\n", context_x86->dr7); in Print()
380 printf(" float_save.control_word = 0x%x\n", in Print()
382 printf(" float_save.status_word = 0x%x\n", in Print()
[all …]
/external/flac/src/test_libFLAC/
Dmetadata_object.c38 printf("FAILED, malloc error\n"); in make_dummydata_()
52printf("FAILED, track offset mismatch, expected %" PRIu64 ", got %" PRIu64 "\n", to->offset, from-… in compare_track_()
56printf("FAILED, track number mismatch, expected %u, got %u\n", (uint32_t)to->number, (uint32_t)fro… in compare_track_()
60 printf("FAILED, track number mismatch, expected %s, got %s\n", to->isrc, from->isrc); in compare_track_()
64printf("FAILED, track type mismatch, expected %u, got %u\n", (uint32_t)to->type, (uint32_t)from->t… in compare_track_()
68printf("FAILED, track pre_emphasis mismatch, expected %u, got %u\n", (uint32_t)to->pre_emphasis, (… in compare_track_()
72printf("FAILED, track num_indices mismatch, expected %u, got %u\n", (uint32_t)to->num_indices, (ui… in compare_track_()
77 printf("FAILED, track indices mismatch\n"); in compare_track_()
84printf("FAILED, track indices[%u].offset mismatch, expected %" PRIu64 ", got %" PRIu64 "\n", i, to… in compare_track_()
88printf("FAILED, track indices[%u].number mismatch, expected %u, got %u\n", i, (uint32_t)to->indice… in compare_track_()
[all …]
Dencoders.c61 printf("ERROR: %s\n", msg); in die_()
70 printf("FAILED, %s", msg); in die_s_()
72 printf("FAILED"); in die_s_()
74 printf(", state = %u (%s)\n", (uint32_t)state, FLAC__StreamEncoderStateString[state]); in die_s_()
77printf(" verify decoder state = %u (%s)\n", (uint32_t)dstate, FLAC__StreamDecoderStateString[… in die_s_()
166printf("\n+++ libFLAC unit test: FLAC__StreamEncoder (layer: %s, format: %s)\n\n", LayerString[lay… in test_stream_encoder()
168 printf("testing FLAC__stream_encoder_new()... "); in test_stream_encoder()
171 printf("FAILED, returned NULL\n"); in test_stream_encoder()
174 printf("OK\n"); in test_stream_encoder()
177 printf("testing FLAC__stream_encoder_set_ogg_serial_number()... "); in test_stream_encoder()
[all …]
/external/lua/src/
Dluac.c118 printf("%s\n",LUA_COPYRIGHT); in doargs()
225 printf("\""); in PrintString()
232 printf("\\\""); in PrintString()
235 printf("\\\\"); in PrintString()
238 printf("\\a"); in PrintString()
241 printf("\\b"); in PrintString()
244 printf("\\f"); in PrintString()
247 printf("\\n"); in PrintString()
250 printf("\\r"); in PrintString()
253 printf("\\t"); in PrintString()
[all …]
/external/trusty/lk/app/tests/
Dprintf_tests.c30 printf("printf tests\n"); in printf_tests()
32 printf("numbers:\n"); in printf_tests()
33 printf("int8: %hhd %hhd %hhd\n", -12, 0, 254); in printf_tests()
34 printf("uint8: %hhu %hhu %hhu\n", -12, 0, 254); in printf_tests()
35 printf("int16: %hd %hd %hd\n", -1234, 0, 1234); in printf_tests()
36 printf("uint16:%hu %hu %hu\n", -1234, 0, 1234); in printf_tests()
37 printf("int: %d %d %d\n", -12345678, 0, 12345678); in printf_tests()
38 printf("uint: %u %u %u\n", -12345678, 0, 12345678); in printf_tests()
39 printf("long: %ld %ld %ld\n", -12345678L, 0L, 12345678L); in printf_tests()
40 printf("ulong: %lu %lu %lu\n", -12345678UL, 0UL, 12345678UL); in printf_tests()
[all …]
/external/flac/src/test_libFLAC++/
Dmetadata_object.cpp35 printf("FAILED, %s\n", msg); in die_()
254 printf("testing class FLAC::Metadata::StreamInfo\n"); in test_metadata_object_streaminfo()
256 printf("testing StreamInfo::StreamInfo()... "); in test_metadata_object_streaminfo()
262 printf("FAILED, bad length, expected %u, got %u\n", expected_length, block.get_length()); in test_metadata_object_streaminfo()
265 printf("OK\n"); in test_metadata_object_streaminfo()
267 printf("testing StreamInfo::StreamInfo(const StreamInfo &)... +\n"); in test_metadata_object_streaminfo()
268 printf(" StreamInfo::operator!=(const StreamInfo &)... "); in test_metadata_object_streaminfo()
275 printf("OK\n"); in test_metadata_object_streaminfo()
277 printf("testing StreamInfo::~StreamInfo()... "); in test_metadata_object_streaminfo()
279 printf("OK\n"); in test_metadata_object_streaminfo()
[all …]
Dencoders.cpp68 printf("ERROR: %s\n", msg); in die_()
77 printf("FAILED, %s", msg); in die_s_()
79 printf("FAILED"); in die_s_()
81 printf(", state = %u (%s)\n", (uint32_t)((::FLAC__StreamEncoderState)state), state.as_cstring()); in die_s_()
84printf(" verify decoder state = %u (%s)\n", (uint32_t)((::FLAC__StreamDecoderState)dstate), d… in die_s_()
205printf("\n+++ libFLAC++ unit test: FLAC::Encoder::%s (layer: %s, format: %s)\n\n", layer<LAYER_FIL… in test_stream_encoder()
207 printf("allocating encoder instance... "); in test_stream_encoder()
210 printf("FAILED, new returned NULL\n"); in test_stream_encoder()
213 printf("OK\n"); in test_stream_encoder()
215 printf("testing is_valid()... "); in test_stream_encoder()
[all …]
Ddecoders.cpp70 printf("ERROR: %s\n", msg); in die_()
79 printf("FAILED, %s", msg); in die_s_()
81 printf("FAILED"); in die_s_()
83 printf(", state = %u (%s)\n", (uint32_t)((::FLAC__StreamDecoderState)state), state.as_cstring()); in die_s_()
100 printf("\n\ngenerating %sFLAC file for decoder tests...\n", is_ogg? "Ogg ":""); in generate_file_()
143 printf("content... "); in common_write_callback_()
155 printf("%u... ", current_metadata_number_); in common_metadata_callback_()
174printf("ERROR: got error callback: err = %u (%s)\n", (uint32_t)status, ::FLAC__StreamDecoderErrorS… in common_error_callback_()
309 printf("FAILED at set_md5_checking(), returned false\n"); in test_respond()
313 printf("testing init%s()... ", is_ogg? "_ogg":""); in test_respond()
[all …]
/external/mesa3d/src/amd/drm-shim/
Damdgpu_dump_states.c104 printf(".mem = {\n"); in amdgpu_dump_memory()
105 printf(" .vram = {\n"); in amdgpu_dump_memory()
106 printf(" .total_heap_size = UINT64_C(%"PRIu64"),\n", (uint64_t)info.vram.total_heap_size); in amdgpu_dump_memory()
107 printf(" .usable_heap_size = UINT64_C(%"PRIu64"),\n", (uint64_t)info.vram.usable_heap_size); in amdgpu_dump_memory()
108 printf(" .heap_usage = UINT64_C(%"PRIu64"),\n", (uint64_t)info.vram.heap_usage); in amdgpu_dump_memory()
109 printf(" .max_allocation = UINT64_C(%"PRIu64"),\n", (uint64_t)info.vram.max_allocation); in amdgpu_dump_memory()
110 printf(" },\n"); in amdgpu_dump_memory()
111 printf(" .cpu_accessible_vram = {\n"); in amdgpu_dump_memory()
112 printf(" .total_heap_size = UINT64_C(%"PRIu64"),\n", in amdgpu_dump_memory()
114 printf(" .usable_heap_size = UINT64_C(%"PRIu64"),\n", in amdgpu_dump_memory()
[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/iw/
Devent.c55 printf(" [no frame]"); in print_frame()
63 printf(" [invalid frame: "); in print_frame()
68 printf(" %s -> ", macbuf); in print_frame()
70 printf("%s", macbuf); in print_frame()
77 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
85 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
91 printf(" reason %d: %s", tmp, get_reason_str(tmp)); in print_frame()
98 printf(" [frame:"); in print_frame()
102 printf(" %.02x", frame[i]); in print_frame()
103 printf("]"); in print_frame()
[all …]
/external/igt-gpu-tools/tools/
Dintel_audio_dump.c71 printf("%-21s(%#x) 0x%08x %s\n", # reg, reg, dword, desc); \
77 printf("%-21s(%#x) 0x%08x %s\n", # reg, reg, dword, desc); \
83 printf("%-21s(%#x) 0x%08x %s\n", # reg, reg, dword, desc); \
495 /* printf("%-18s %8s %s\n\n", "register name", "raw value", "description"); */ in dump_eaglelake()
533 printf("\nDetails:\n\n"); in dump_eaglelake()
536 printf("AUD_VID_DID vendor id\t\t\t0x%x\n", dword >> 16); in dump_eaglelake()
537 printf("AUD_VID_DID device id\t\t\t0x%x\n", dword & 0xffff); in dump_eaglelake()
540 printf("AUD_RID major revision\t\t\t0x%lx\n", REG_BITS(dword, 23, 20)); in dump_eaglelake()
541 printf("AUD_RID minor revision\t\t\t0x%lx\n", REG_BITS(dword, 19, 16)); in dump_eaglelake()
542 printf("AUD_RID revision id\t\t\t0x%lx\n", REG_BITS(dword, 15, 8)); in dump_eaglelake()
[all …]
Dintel_vbt_decode.c146 printf("\tPanel fitting: "); in dump_general_features()
149 printf("disabled\n"); in dump_general_features()
152 printf("text only\n"); in dump_general_features()
155 printf("graphics only\n"); in dump_general_features()
158 printf("text & graphics\n"); in dump_general_features()
161 printf("\tFlexaim: %s\n", YESNO(features->flexaim)); in dump_general_features()
162 printf("\tMessage: %s\n", YESNO(features->msg_enable)); in dump_general_features()
163 printf("\tClear screen: %d\n", features->clear_screen); in dump_general_features()
164 printf("\tDVO color flip required: %s\n", YESNO(features->color_flip)); in dump_general_features()
166 printf("\tExternal VBT: %s\n", YESNO(features->download_ext_vbt)); in dump_general_features()
[all …]
/external/bc/
Dconfigure.sh46 printf '%s\n\n' "$1"
52 printf 'usage:\n'
53 printf ' %s -h\n' "$script"
54 printf ' %s --help\n' "$script"
55printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$scri…
56 printf ' [-s SETTING] [-S SETTING] [-p TYPE]\n'
57 printf ' %s \\\n' "$script"
58 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage] \\\n'
59 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
60 printf ' [--disable-history --disable-man-pages --disable-nls --disable-strip] \\\n'
[all …]
Dconfigure46 printf '%s\n\n' "$1"
52 printf 'usage:\n'
53 printf ' %s -h\n' "$script"
54 printf ' %s --help\n' "$script"
55printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$scri…
56 printf ' [-s SETTING] [-S SETTING] [-p TYPE]\n'
57 printf ' %s \\\n' "$script"
58 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage] \\\n'
59 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
60 printf ' [--disable-history --disable-man-pages --disable-nls --disable-strip] \\\n'
[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 …]
/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/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_platform_printf.data1 # The test cases for printf and integers have two purposes: they exercise
2 # the printf function family, and they exercise the passing of integers
5 printf "%d", 0
8 printf "%d", -0
11 printf "%d", 0x0
14 printf "%d", 0x00
17 printf "%d", 0x000000000000000000000000000000000000000000
20 printf "%d", -0x0
23 printf "%d", 1
26 printf "%d", 0x1
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_platform_printf.data1 # The test cases for printf and integers have two purposes: they exercise
2 # the printf function family, and they exercise the passing of integers
5 printf "%d", 0
8 printf "%d", -0
11 printf "%d", 0x0
14 printf "%d", 0x00
17 printf "%d", 0x000000000000000000000000000000000000000000
20 printf "%d", -0x0
23 printf "%d", 1
26 printf "%d", 0x1
[all …]
/external/libdrm/tests/modeprint/
Dmodeprint.c61 printf("Mode: %s\n", mode->name); in printMode()
62 printf("\tclock : %i\n", mode->clock); in printMode()
63 printf("\thdisplay : %i\n", mode->hdisplay); in printMode()
64 printf("\thsync_start : %i\n", mode->hsync_start); in printMode()
65 printf("\thsync_end : %i\n", mode->hsync_end); in printMode()
66 printf("\thtotal : %i\n", mode->htotal); in printMode()
67 printf("\thskew : %i\n", mode->hskew); in printMode()
68 printf("\tvdisplay : %i\n", mode->vdisplay); in printMode()
69 printf("\tvsync_start : %i\n", mode->vsync_start); in printMode()
70 printf("\tvsync_end : %i\n", mode->vsync_end); in printMode()
[all …]

12345678910>>...345