Home
last modified time | relevance | path

Searched +full:- +full:printf (Results 1 – 25 of 1163) sorted by relevance

12345678910>>...47

/external/ethtool/
Dpcnet32.c27 u16 *data = (u16 *) regs->data; in pcnet32_dump_regs()
28 int len = regs->len / 2; in pcnet32_dump_regs()
31 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()
[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()
55 if (!(d->ctl & 2)) { in dump_queue()
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()
[all …]
Dsff-common.c2 * sff-common.c: Implements SFF-8024 Rev 4.0 i.e. Specifcation
5 * Common utilities across SFF-8436/8636 and SFF-8472/8079
19 * and SFF-8024 Rev 4.0 spec (ftp://ftp.seagate.com/pub/sff/SFF-8024.PDF)
25 #include "sff-common.h"
38 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()
48 last_reg--; 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()
[all …]
Dsfpid.c13 #include "sff-common.h"
27 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()
56 " [SFF-8472 rev10.4 onwards]\n", pfx); in sff8079_show_transceiver()
58 printf("%s 10G Ethernet: 10G Base-LRM\n", pfx); in sff8079_show_transceiver()
[all …]
/external/google-breakpad/src/processor/
Ddump_context.cc176 *ip = GetContextAMD64()->rip; in GetInstructionPointer()
179 *ip = GetContextARM()->iregs[MD_CONTEXT_ARM_REG_PC]; in GetInstructionPointer()
182 *ip = GetContextARM64()->iregs[MD_CONTEXT_ARM64_REG_PC]; in GetInstructionPointer()
185 *ip = GetContextPPC()->srr0; in GetInstructionPointer()
188 *ip = GetContextPPC64()->srr0; in GetInstructionPointer()
191 *ip = GetContextSPARC()->pc; in GetInstructionPointer()
194 *ip = GetContextX86()->eip; in GetInstructionPointer()
198 *ip = GetContextMIPS()->epc; in GetInstructionPointer()
201 *ip = GetContextRISCV()->pc; in GetInstructionPointer()
204 *ip = GetContextRISCV64()->pc; in GetInstructionPointer()
[all …]
/external/flac/src/test_libFLAC/
Dmetadata_object.c1 /* test_libFLAC - Unit tester for libFLAC
2 * Copyright (C) 2002-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
38 printf("FAILED, malloc error\n"); in make_dummydata_()
51 if(from->offset != to->offset) { in compare_track_()
52printf("FAILED, track offset mismatch, expected %" PRIu64 ", got %" PRIu64 "\n", to->offset, from- in compare_track_()
55 if(from->number != to->number) { in compare_track_()
56printf("FAILED, track number mismatch, expected %u, got %u\n", (uint32_t)to->number, (uint32_t)fro… in compare_track_()
59 if(0 != strcmp(from->isrc, to->isrc)) { in compare_track_()
[all …]
/external/lua/src/
Dluac.c56 if (*message=='-') in usage()
63 " -l list (use -l -l for full listing)\n" in usage()
64 " -o name output to file 'name' (default is \"%s\")\n" in usage()
65 " -p parse only\n" in usage()
66 " -s strip debug information\n" in usage()
67 " -v show version information\n" in usage()
68 " -- stop handling options\n" in usage()
69 " - stop handling options and process stdin\n" in usage()
83 if (*argv[i]!='-') /* end of options; keep it */ in doargs()
85 else if (IS("--")) /* end of options; skip it */ in doargs()
[all …]
/external/trusty/lk/app/tests/
Dprintf_tests.c2 * Copyright (c) 2008-2014 Travis Geiselbrecht
30 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()
[all …]
/external/bc/
Dconfigure.sh3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2023 Gavin D. Howard and contributors.
42 if [ $# -gt 0 ]; then
46 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"
[all …]
Dconfigure3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2023 Gavin D. Howard and contributors.
42 if [ $# -gt 0 ]; then
46 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"
[all …]
/external/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
43 static int tdrm_fd = -1; /* file descriptor */
61 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()
127 if (tdrm_fd != -1) { in tdrmclose()
129 tdrm_fd = -1; in tdrmclose()
140 printf("Test DRM Driver may not be loaded\n"); in main()
144 printf("\tBegin drm read system ioctl\n"); in main()
[all …]
/external/iw/
Devent.c34 return -EINVAL; in parse_beacon_hint_chan()
36 chan->center_freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]); in parse_beacon_hint_chan()
39 chan->no_ir = true; in parse_beacon_hint_chan()
41 chan->no_ibss = true; in parse_beacon_hint_chan()
55 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()
[all …]
/external/flac/src/test_libFLAC++/
Dencoders.cpp1 /* test_libFLAC++ - Unit tester for libFLAC++
2 * Copyright (C) 2002-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
68 printf("ERROR: %s\n", msg); in die_()
74 FLAC::Encoder::Stream::State state = encoder->get_state(); in die_s_()
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_()
83 FLAC::Decoder::Stream::State dstate = encoder->get_verify_decoder_state(); in die_s_()
[all …]
Ddecoders.cpp1 /* test_libFLAC++ - Unit tester for libFLAC++
2 * Copyright (C) 2002-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
70 printf("ERROR: %s\n", msg); in die_()
76 FLAC::Decoder::Stream::State state = decoder->get_state(); in die_s_()
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_()
[all …]
/external/mesa3d/src/amd/drm-shim/
Damdgpu_dump_states.c3 * SPDX-License-Identifier: MIT
13 #include "drm-uapi/amdgpu_drm.h"
104 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()
[all …]
/external/clang/test/Sema/
Dformat-strings-fixit.c2 // RUN: %clang_cc1 -pedantic -Wall -fixit %t
3 // RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror %t
4 // RUN: %clang_cc1 -E -o - %t | FileCheck %s
8 warnings will be fixed by -fixit, and the resulting file should
9 compile cleanly with -Werror -pedantic. */
11 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()
[all …]
Dformat-strings.c1 // RUN: %clang_cc1 -fsyntax-only -verify -Wformat-nonliteral -isystem %S/Inputs %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -Wformat-nonliteral -isystem %S/Inputs -fno-signed-char %s
11 int printf(const char *restrict, ...); // expected-note{{passing argument to parameter here}}
19 int vsprintf(char *restrict, const char *restrict, va_list); // expected-note{{passing argument to …
31 printf(s); // expected-warning {{format string is not a string literal}} in check_string_literal()
32 // expected-note@-1{{treat the string as an argument to avoid this}} in check_string_literal()
33 vprintf(s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal()
34 fprintf(fp,s); // expected-warning {{format string is not a string literal}} in check_string_literal()
35 // expected-note@-1{{treat the string as an argument to avoid this}} in check_string_literal()
36 vfprintf(fp,s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal()
[all …]
/external/igt-gpu-tools/tools/
Dintel_audio_dump.c47 #define BITSTO(n) (n >= sizeof(long) * 8 ? ~0 : (1UL << (n)) - 1)
58 names[min_t(unsigned int, index, ARRAY_SIZE(names) - 1)]
71 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); \
175 [1] = "Vendor-specific DIP",
335 [0] = "Disable 8-channel pattern generator",
336 [1] = "Enable 8-channel pattern generator",
340 [0] = "Disable 2-channel pattern generator",
341 [1] = "Enable 2-channel pattern generator",
[all …]
Dintel_vbt_decode.c98 const struct bdb_header *bdb = context->bdb; in find_section()
99 int length = context->size; in find_section()
107 index += bdb->header_size; in find_section()
108 total = bdb->bdb_size; in find_section()
128 block->id = current_id; in find_section()
129 block->size = current_size; in find_section()
130 block->data = base + index; in find_section()
144 const struct bdb_general_features *features = block->data; in dump_general_features()
146 printf("\tPanel fitting: "); in dump_general_features()
147 switch (features->panel_fitting) { in dump_general_features()
[all …]
Dintel_opregion_decode.c81 uint32_t aslp; /* ASL sleep time-out */
99 uint32_t dslp; /* driver sleep time-out */
148 if (strncmp("IntelGraphicsMem", header->sign, sizeof(header->sign))) { in decode_header()
153 printf("OpRegion Header:\n"); in decode_header()
155 s = strndup(header->sign, sizeof(header->sign)); in decode_header()
156 printf("\tsign:\t%s\n", s); in decode_header()
159 printf("\tsize:\t0x%08x\n", header->size); in decode_header()
160 printf("\tover:\t0x%08x\n", header->over); in decode_header()
162 s = strndup(header->sver, sizeof(header->sver)); in decode_header()
163 printf("\tsver:\t%s\n", s); in decode_header()
[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/flac/src/flac/
Dmain.c1 /* flac - Command-line FLAC encoder/decoder
2 * Copyright (C) 2000-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
102 { "totally-silent" , share__no_argument, 0, 0 },
103 { "warnings-as-errors" , share__no_argument, 0, 'w' },
105 { "delete-input-file" , share__no_argument, 0, 0 },
106 { "preserve-modtime" , share__no_argument, 0, 0 },
107 { "keep-foreign-metadata" , share__no_argument, 0, 0 },
108 { "keep-foreign-metadata-if-present" , share__no_argument, 0, 0 },
[all …]
/external/libdrm/tests/modeprint/
Dmodeprint.c10 * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, Texas.
11 * Copyright (c) 2007-2008 Jakob Bornecrantz <wallbraker@gmail.com>
61 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()
[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
9 printf_int:"%d":-0:"0"
11 printf "%d", 0x0
14 printf "%d", 0x00
17 printf "%d", 0x000000000000000000000000000000000000000000
20 printf "%d", -0x0
21 printf_int:"%d":-0x0:"0"
[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
9 printf_int:"%d":-0:"0"
11 printf "%d", 0x0
14 printf "%d", 0x00
17 printf "%d", 0x000000000000000000000000000000000000000000
20 printf "%d", -0x0
21 printf_int:"%d":-0x0:"0"
[all …]

12345678910>>...47