/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n", 7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n"); 12 printf("perl => rindex(\"foobarbaz\", \"barbaz\") = %d\n", 14 printf(" D => rindex(\"foobarbaz\", \"barbaz\") = 3\n"); 19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n", 21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n"); 26 printf("perl => rindex(\"foofoofoo\", \"foo\") = %d\n", 28 printf(" D => rindex(\"foofoofoo\", \"foo\") = 6\n"); 33 printf("perl => index(\"boofoofoo\", \"foo\") = %d\n", 35 printf(" D => index(\"boofoofoo\", \"foo\") = 3\n"); [all …]
|
H A D | tst.substr.d.out | 5 printf("perl => substr(\"foobarbazbop\", 3) = \"%s\"\n", 7 printf(" D => substr(\"foobarbazbop\", 3) = \"%s\"\n", 13 printf("perl => substr(\"foobarbazbop\", 300) = \"%s\"\n", 15 printf(" D => substr(\"foobarbazbop\", 300) = \"%s\"\n", 21 printf("perl => substr(\"foobarbazbop\", -10) = \"%s\"\n", 23 printf(" D => substr(\"foobarbazbop\", -10) = \"%s\"\n", 29 printf("perl => substr(\"foobarbazbop\", 0) = \"%s\"\n", 31 printf(" D => substr(\"foobarbazbop\", 0) = \"%s\"\n", 37 printf("perl => substr(\"foobarbazbop\", 1) = \"%s\"\n", 39 printf(" D => substr(\"foobarbazbop\", 1) = \"%s\"\n", [all …]
|
/freebsd/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 1 printf("sizeof(union req_data_u_tag) = %d\n", 3 printf("offsetof(u32) = %d\n", 5 printf("offsetof(data) = %d\n", 7 printf("\n"); 9 printf("sizeof(struct req_pkt) = %d\n", 11 printf("offsetof(rm_vn_mode) = %d\n", 13 printf("offsetof(auth_seq) = %d\n", 15 printf("offsetof(implementation) = %d\n", 17 printf("offsetof(request) = %d\n", 19 printf("offsetof(err_nitems) = %d\n", [all …]
|
/freebsd/stand/ficl/softwords/ |
H A D | softcore.awk | 16 printf "/*******************************************************************\n"; 17 printf "** s o f t c o r e . c\n"; 18 printf "** Forth Inspired Command Language -\n"; 19 printf "** Words from CORE set written in FICL\n"; 20 printf "** Author: John Sadler (john_sadler@alum.mit.edu)\n"; 21 printf "** Created: 27 December 1997\n"; 22 printf "** Last update: %s\n", datestamp; 23 printf "*******************************************************************/\n"; 24 printf "/*\n"; 25 printf "** DO NOT EDIT THIS FILE -- it is generated by softwords/softcore.awk\n"; [all …]
|
/freebsd/contrib/bc/ |
H A D | configure | 46 printf '%s\n\n' "$1" 52 printf 'usage:\n' 53 printf ' %s -h\n' "$script" 54 printf ' %s --help\n' "$script" 55 printf ' %s [-a|-bD|-dB|-c] [-CeEfgGHilmMNPrtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\\\n' "$script" 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 ' [ [all...] |
H A D | configure.sh | 46 printf '%s\n\n' "$1" 52 printf 'usage:\n' 53 printf ' %s -h\n' "$script" 54 printf ' %s --help\n' "$script" 55 …printf ' %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 …]
|
/freebsd/sbin/nvmecontrol/ |
H A D | identify_ext.c | 81 printf("Controller Capabilities/Features\n"); in nvme_print_controller() 82 printf("================================\n"); in nvme_print_controller() 83 printf("Vendor ID: %04x\n", cdata->vid); in nvme_print_controller() 84 printf("Subsystem Vendor ID: %04x\n", cdata->ssvid); in nvme_print_controller() 86 printf("Serial Number: %s\n", str); in nvme_print_controller() 88 printf("Model Number: %s\n", str); in nvme_print_controller() 90 printf("Firmware Version: %s\n", str); in nvme_print_controller() 91 printf("Recommended Arb Burst: %d\n", cdata->rab); in nvme_print_controller() 92 printf("IEEE OUI Identifier: %02x %02x %02x\n", in nvme_print_controller() 94 printf("Multi-Path I/O Capabilities: %s%s%s%s%s\n", in nvme_print_controller() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/arch/amd64/ |
H A D | t_ptrace_wait.c | 76 printf("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY() 79 printf("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY() 82 printf("Before raising %s from child\n", strsignal(sigval)); in ATF_TC_BODY() 85 printf("Before exiting of the child process\n"); in ATF_TC_BODY() 88 printf("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY() 90 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY() 95 printf("Call GETREGS for the child process\n"); in ATF_TC_BODY() 98 printf("RAX=%#" PRIxREGISTER "\n", r.regs[_REG_RAX]); in ATF_TC_BODY() 99 printf("RBX=%#" PRIxREGISTER "\n", r.regs[_REG_RBX]); in ATF_TC_BODY() 100 printf("RCX=%#" PRIxREGISTER "\n", r.regs[_REG_RCX]); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 179 …printf("\t\t\tGID[%3d]:\t\t%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x… in print_all_port_gids() 234 printf("\t\t\t\t\tRESIZE_MAX_WR\n"); in print_device_cap_flags() 236 printf("\t\t\t\t\tBAD_PKEY_CNTR\n"); in print_device_cap_flags() 238 printf("\t\t\t\t\tBAD_QKEY_CNTR\n"); in print_device_cap_flags() 240 printf("\t\t\t\t\tRAW_MULTI\n"); in print_device_cap_flags() 242 printf("\t\t\t\t\tAUTO_PATH_MIG\n"); in print_device_cap_flags() 244 printf("\t\t\t\t\tCHANGE_PHY_PORT\n"); in print_device_cap_flags() 246 printf("\t\t\t\t\tUD_AV_PORT_ENFORCE\n"); in print_device_cap_flags() 248 printf("\t\t\t\t\tCURR_QP_STATE_MOD\n"); in print_device_cap_flags() 250 printf("\t\t\t\t\tSHUTDOWN_PORT\n"); in print_device_cap_flags() [all …]
|
/freebsd/contrib/lua/src/ |
H A D | luac.c | 118 printf("%s\n",LUA_COPYRIGHT); in doargs() 224 printf("\""); in PrintString() 231 printf("\\\""); in PrintString() 234 printf("\\\\"); in PrintString() 237 printf("\\a"); in PrintString() 240 printf("\\b"); in PrintString() 243 printf("\\f"); in PrintString() 246 printf("\\n"); in PrintString() 249 printf("\\r"); in PrintString() 252 printf("\\t"); in PrintString() [all …]
|
/freebsd/contrib/ncurses/ |
H A D | mk-1st.awk | 138 printf "rm -f %s; ", dst 140 printf "$(LN_S) %s %s; ", src, dst 145 printf "\t-rm -f %s/%s\n", directory, dst 180 printf "\t$(MK_SHARED_LIB) $(%s_OBJS) $(%s)\n", objs, shlib_list 184 printf "\tcd %s && (", directory 200 printf ")\n" 214 printf "%s : \\\n", dst_libs 218 printf "\t\t%s/%s \\\n", directory, end_name_of(base); 224 printf "\t\t%s/%s \\\n", "../lib", termlib_end_of(); 226 printf "\t\t%s/%s \\\n", directory, termlib_end_of(); [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.ints.d | 42 printf("\n%d\n", (char)0x1234567890abcdef); 43 printf("%d\n", (short)0x1234567890abcdef); 44 printf("%d\n", (int)0x1234567890abcdef); 45 printf("%d\n", (long long)0x1234567890abcdef); 47 printf("\n%d\n", (unsigned char)0x1234567890abcdef); 48 printf("%d\n", (unsigned short)0x1234567890abcdef); 49 printf("%d\n", (unsigned int)0x1234567890abcdef); 50 printf("%d\n", (unsigned long long)0x1234567890abcdef); 52 printf("\n%u\n", (char)0x1234567890abcdef); 53 printf("%u\n", (short)0x1234567890abcdef); [all …]
|
/freebsd/usr.sbin/dumpcis/ |
H A D | printcis.c | 71 printf("Tuple #%d, code = 0x%x (%s), length = %d\n", in dumpcis() 77 printf(" %03x: ", ad); in dumpcis() 79 printf(" %02x", p[i]); in dumpcis() 80 printf("\n"); in dumpcis() 104 printf("\tChecksum from offset %d, length %d, value is 0x%x\n", in dumpcis() 110 printf("\tLong link to attribute memory, address 0x%x\n", in dumpcis() 114 printf("\tLong link to common memory, address 0x%x\n", in dumpcis() 143 printf("\tPCMCIA ID = 0x%x, OEM ID = 0x%x\n", in dumpcis() 188 printf("\tWrong length for configuration map tuple\n"); in dump_config_map() 191 printf("\tReg len = %d, config register addr = 0x%x, last config = 0x%x\n", in dump_config_map() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | main.c | 79 printf("OpenSM: Got signal %d - exiting...\n", signum); in mark_exit_flag() 130 printf("\n------- OpenSM - Usage and options ----------------------\n"); in show_usage() 131 printf("Usage: opensm [options]\n"); in show_usage() 132 printf("Options:\n"); in show_usage() 133 printf("--version\n Prints OpenSM version and exits.\n\n"); in show_usage() 134 printf("--config, -F <file-name>\n" in show_usage() 138 printf("--create-config, -c <file-name>\n" in show_usage() 141 printf("--guid, -g <GUID in hex>\n" in show_usage() 148 printf("--lmc, -l <LMC>\n" in show_usage() 158 printf("--priority, -p <PRIORITY>\n" in show_usage() [all …]
|
/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpi.c | 148 printf("}"); in printflag_end() 151 printf("\n"); in printflag_end() 159 printf("%c%s", pf_sep, name); in printflag() 172 printf("%c%s=%#jx", pf_sep, name, (uintmax_t)((var & mask) >> lbit)); in printfield() 196 printf("0x%016jx:%u[%u] (Memory)", (uintmax_t)gas->Address, in acpi_print_gas() 200 printf("0x%02jx:%u[%u] (IO)", (uintmax_t)gas->Address, in acpi_print_gas() 204 printf("%x:%x+0x%x:%u[%u] (PCI)", (uint16_t)(gas->Address >> 32), in acpi_print_gas() 210 printf("0x%x:%u[%u] (EC)", (uint16_t)gas->Address, in acpi_print_gas() 214 printf("0x%x:%u[%u] (SMBus)", (uint16_t)gas->Address, in acpi_print_gas() 222 printf("0x%016jx (?)", (uintmax_t)gas->Address); in acpi_print_gas() [all …]
|
/freebsd/sys/x86/x86/ |
H A D | identcpu.c | 252 printf("CPU: "); in printcpuinfo() 716 printf("%s (", cpu_model); in printcpuinfo() 719 printf("%jd.%02d-MHz ", in printcpuinfo() 726 printf("286"); in printcpuinfo() 729 printf("386"); in printcpuinfo() 733 printf("486"); in printcpuinfo() 738 printf("586"); in printcpuinfo() 743 printf("686"); in printcpuinfo() 747 printf("Unknown"); /* will panic below... */ in printcpuinfo() 750 printf("K8"); in printcpuinfo() [all …]
|
/freebsd/sbin/dumpfs/ |
H A D | dumpfs.c | 122 printf("\n%s: %s\n", name, ufserr()); in main() 143 printf("%sufsid/%08x%08x\n", _PATH_DEV, afs.fs_id[0], afs.fs_id[1]); in dumpfsid() 160 printf("magic\t%x (UFS2)\n", afs.fs_magic); in dumpfs() 161 printf("last mounted time\t%s", ctime(&fsmtime)); in dumpfs() 162 printf("last modified time\t%s", ctime(&fstime)); in dumpfs() 163 printf("superblock location\t%jd\tid\t[ %08x %08x ]\n", in dumpfs() 165 printf("ncg\t%d\tsize\t%jd\tblocks\t%jd\n", in dumpfs() 171 printf("magic\t%x (UFS1)\ttime\t%s", in dumpfs() 173 printf("id\t[ %08x %08x ]\n", afs.fs_id[0], afs.fs_id[1]); in dumpfs() 174 printf("ncg\t%d\tsize\t%jd\tblocks\t%jd\n", in dumpfs() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/arrays/ |
H A D | tst.uregsarray.d | 46 printf("R_G0 = 0x%x\n", uregs[R_G0]); 47 printf("R_G1 = 0x%x\n", uregs[R_G1]); 48 printf("R_G2 = 0x%x\n", uregs[R_G2]); 49 printf("R_G3 = 0x%x\n", uregs[R_G3]); 50 printf("R_G4 = 0x%x\n", uregs[R_G4]); 51 printf("R_G5 = 0x%x\n", uregs[R_G5]); 52 printf("R_G6 = 0x%x\n", uregs[R_G6]); 53 printf("R_G7 = 0x%x\n", uregs[R_G7]); 54 printf("R_O0 = 0x%x\n", uregs[R_O0]); 55 printf("R_O1 = 0x%x\n", uregs[R_O1]); [all …]
|
/freebsd/sys/dev/videomode/ |
H A D | devlist2h.awk | 42 printf("/*\n") > dfile 43 printf(" * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \ 45 printf(" *\n") > dfile 46 printf(" * generated from:\n") > dfile 47 printf(" *\t%s\n", VERSION) > dfile 48 printf(" */\n") > dfile 50 printf("/*\n") > hfile 51 printf(" * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \ 53 printf(" *\n") > hfile 54 printf(" * generated from:\n") > hfile [all …]
|
/freebsd/tests/sys/file/ |
H A D | dup_test.c | 85 printf("1..32\n"); in main() 90 printf("ok %d - dup(2) works\n", ++test); in main() 99 printf("ok %d - dup2(2) works\n", ++test); in main() 104 printf("no ok %d - dup2(2) didn't give us the right fd\n", in main() 107 printf("ok %d - dup2(2) returned a correct fd\n", test); in main() 112 printf("not ok %d - dup2(2) didn't clear close-on-exec\n", in main() 115 printf("ok %d - dup2(2) cleared close-on-exec\n", test); in main() 145 printf("ok %d - dup2(2) to itself works\n", ++test); in main() 150 printf("not ok %d - dup2(2) didn't give us the right fd\n", in main() 153 printf("ok %d - dup2(2) to itself returned a correct fd\n", in main() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.c | 87 printf("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY() 90 printf("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY() 93 printf("Before raising %s from child\n", strsignal(sigval)); in ATF_TC_BODY() 96 printf("Before exiting of the child process\n"); in ATF_TC_BODY() 99 printf("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY() 101 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY() 106 printf("Before resuming the child process where it left off and " in ATF_TC_BODY() 110 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY() 115 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY() 146 printf("Before forking process PID=%d\n", getpid()); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/pnpinfo/ |
H A D | pnpinfo.c | 178 printf("PnP device failed to report resource data\n"); in get_resource_info() 183 DEB(printf("--- get_resource_info: got 0x%02x\n",(unsigned)buffer[i])); in get_resource_info() 230 printf("\t%s, %s, %s, %s, %s\n",s1,s2,s3,s4,s5); in report_dma_info() 238 printf ("Memory Range: Writeable\n"); in report_memory_info() 240 printf ("Memory Range: Not writeable (ROM)\n"); in report_memory_info() 243 printf ("Memory Range: Read-cacheable, write-through\n"); in report_memory_info() 245 printf ("Memory Range: Non-cacheable\n"); in report_memory_info() 248 printf ("Memory Range: Decode supports high address\n"); in report_memory_info() 250 printf ("Memory Range: Decode supports range length\n"); in report_memory_info() 254 printf ("Memory Range: 8-bit memory only\n"); in report_memory_info() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/amd64/arrays/ |
H A D | tst.uregsarray.d | 42 printf("R_GS = 0x%x\n", uregs[R_GS]); 43 printf("R_ES = 0x%x\n", uregs[R_ES]); 44 printf("R_DS = 0x%x\n", uregs[R_DS]); 45 printf("R_CS = 0x%x\n", uregs[R_CS]); 46 printf("R_RFL = 0x%x\n", uregs[R_RFL]); 47 printf("R_SS = 0x%x\n", uregs[R_SS]); 48 printf("R_TRAPNO = 0x%x\n", uregs[R_TRAPNO]); 50 printf("R_URSP = 0x%x\n", uregs[R_RSP]); 51 printf("R_RDI = 0x%x\n", uregs[R_RDI]); 52 printf("R_RSI = 0x%x\n", uregs[R_RSI]); [all …]
|
/freebsd/usr.sbin/mptable/ |
H A D | mptable.c | 178 printf( "MPTable\n" ); in main() 225 printf( "\n MP FPS found in %s @ physical addr: 0x%08x\n", in main() 268 printf( "\n" ); in apic_probe() 272 printf( " looking for EBDA pointer @ 0x%04x, ", EBDA_POINTER ); in apic_probe() 278 printf( "found, searching EBDA @ 0x%08x\n", target ); in apic_probe() 292 printf( "NOT found\n" ); in apic_probe() 301 printf( " searching CMOS 'top of mem' @ 0x%08x (%dK)\n", in apic_probe() 318 printf( " searching default 'top of mem' @ 0x%08x (%dK)\n", in apic_probe() 334 printf( " searching BIOS @ 0x%08x\n", BIOS_BASE ); in apic_probe() 348 printf( " searching extended BIOS @ 0x%08x\n", BIOS_BASE2 ); in apic_probe() [all …]
|
/freebsd/tools/tools/ath/ath_ee_9287_print/ |
H A D | 9287.c | 54 printf("| Version: 0x%.4x | Length: 0x%.4x | Checksum: 0x%.4x ", in eeprom_9287_base_print() 56 printf("| CapFlags: 0x%.2x | eepMisc: 0x%.2x | RegDomain: 0x%.4x 0x%.4x | \n", in eeprom_9287_base_print() 58 printf("| MAC: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x ", in eeprom_9287_base_print() 61 printf("| RxMask: 0x%.2x | TxMask: 0x%.2x | RfSilent: 0x%.4x | btOptions: 0x%.4x |\n", in eeprom_9287_base_print() 63 …printf("| DeviceCap: 0x%.4x | binBuildNumber: %.8x | deviceType: 0x%.2x | openLoopPwrCntl 0x%.2x |… in eeprom_9287_base_print() 65 printf("| pwrTableOffset: %d | tempSensSlope: %d | tempSensSlopePalOn: %d |\n", in eeprom_9287_base_print() 68 printf("Future:\n"); in eeprom_9287_base_print() 70 printf("0x%.2x ", eh->futureBase[i]); in eeprom_9287_base_print() 72 printf("\n"); in eeprom_9287_base_print() 82 printf("\n| Custdata: |\n"); in eeprom_9287_custdata_print() [all …]
|