| /lib/fs/ |
| A D | debug.c | 28 printf("not enough arguments\n"); in cmd_fs_ioctl() 46 printf("error %d opening file\n", err); in cmd_fs_ioctl() 106 printf("not enough arguments:\n"); in cmd_fs() 109 printf("%s unmount <path>\n", argv[0].str); in cmd_fs() 112 printf("%s stat <path>\n", argv[0].str); in cmd_fs() 114 printf("%s list\n", argv[0].str); in cmd_fs() 177 printf("\n"); in cmd_fs() 194 printf("error %d opening file\n", err); in cmd_fs() 212 printf("error %d writing file\n", err); in cmd_fs() 219 printf("Implemented file systems:\n"); in cmd_fs() [all …]
|
| A D | shell.c | 141 printf("not enough arguments\n"); in cmd_mkdir() 142 printf("usage: %s <path>\n", argv[0].str); in cmd_mkdir() 159 printf("not enough arguments\n"); in cmd_mkfile() 183 printf("not enough arguments\n"); in cmd_rm() 184 printf("usage: %s <path>\n", argv[0].str); in cmd_rm() 202 printf("not enough arguments\n"); in cmd_stat() 203 printf("usage: %s <path>\n", argv[0].str); in cmd_stat() 229 printf("stat successful:\n"); in cmd_stat() 230 printf("\tis_dir: %d\n", stat.is_dir ? 1 : 0); in cmd_stat() 231 printf("\tsize: %lld\n", stat.size); in cmd_stat() [all …]
|
| /lib/minip/ |
| A D | lk_console.c | 39 printf("arp list print arp table\n"); in arp_usage() 40 printf("arp query <ipv4 address> query arp address\n"); in arp_usage() 67 printf("minip commands\n"); in cmd_minip() 68 printf("mi [a]rp dump arp table\n"); in cmd_minip() 69 printf("mi [s]tatus print ip status\n"); in cmd_minip() 79 printf("hostname: %s\n", minip_get_hostname()); in cmd_minip() 80 printf("ip: %u.%u.%u.%u\n", IPV4_SPLIT(minip_get_ipaddr())); in cmd_minip() 81 printf("netmask: %u.%u.%u.%u\n", IPV4_SPLIT(minip_get_netmask())); in cmd_minip() 83 printf("gateway: %u.%u.%u.%u\n", IPV4_SPLIT(minip_get_gateway())); in cmd_minip() 132 printf("%d pkts failed\n", failures); in cmd_minip() [all …]
|
| A D | dhcp.cpp | 139 printf("sending dhcp discover\n"); in send_discover() 191 printf("sending dhcp request\n"); in send_request() 237 printf("\n"); in udp_callback() 241 printf("already configured\n"); in udp_callback() 252 printf("\toptions: "); in udp_callback() 257 printf("\toptions: "); in udp_callback() 291 printf("\n\t"); in udp_callback() 296 printf("\n"); in udp_callback() 302 printf("\n"); in udp_callback() 313 printf("\n"); in udp_callback() [all …]
|
| /lib/fs/fat/ |
| A D | fs.cpp | 33 printf("fat_bits %u\n", info.fat_bits); in fat_dump() 34 printf("fat_count %u\n", info.fat_count); in fat_dump() 35 printf("sectors_per_fat %u\n", info.sectors_per_fat); in fat_dump() 36 printf("total_sectors %u\n", info.total_sectors); in fat_dump() 37 printf("active_fat %u\n", info.active_fat); in fat_dump() 39 printf("total_clusters %u\n", info.total_clusters); in fat_dump() 40 printf("root_cluster %u\n", info.root_cluster); in fat_dump() 41 printf("root_entries %u\n", info.root_entries); in fat_dump() 69 printf("missing boot signature\n"); in mount() 135 printf("invalid sectors per fat 0\n"); in mount() [all …]
|
| /lib/debugcommands/ |
| A D | debugcommands.c | 119 printf(" -l little endian\n" in cmd_display_mem() 187 printf("%08x ", val); in cmd_display_mem() 194 printf("%04hx ", val); in cmd_display_mem() 203 printf("\n"); in cmd_display_mem() 209 printf("\n"); in cmd_display_mem() 372 printf("writing first pass..."); in cmd_memtest() 376 printf("done\n"); in cmd_memtest() 379 printf("verifying..."); in cmd_memtest() 384 printf("done\n"); in cmd_memtest() 418 printf("Current time: %u\n", t); in cmd_time() [all …]
|
| /lib/uefi/ |
| A D | variable_mem.cpp | 131 printf("-"); in efi_list_variable() 135 printf("\n"); in efi_list_variable() 136 printf(" "); in efi_list_variable() 141 printf("NV"); in efi_list_variable() 143 printf("BS"); in efi_list_variable() 145 printf("RT"); in efi_list_variable() 150 printf("|"); in efi_list_variable() 162 printf(" "); in efi_list_variable() 165 printf(" "); in efi_list_variable() 170 printf("."); in efi_list_variable() [all …]
|
| A D | boot_service_provider.cpp | 82 printf("%s is unsupported\n", __FUNCTION__); in register_protocol_notify() 90 printf("%s is unsupported\n", __FUNCTION__); in locate_handle() 115 printf("%s is unsupported\n", __FUNCTION__); in uninstall_multiple_protocol_interfaces() 119 printf("%s is unsupported\n", __FUNCTION__); in calculate_crc32() 125 printf("%s is unsupported\n", __FUNCTION__); in uninstall_protocol_interface() 132 printf("%s is unsupported\n", __FUNCTION__); in load_image() 142 printf("%s is unsupported\n", __FUNCTION__); in locate_device_path() 147 printf("%s is unsupported\n", __FUNCTION__); in install_configuration_table() 164 printf("%s is called\n", __FUNCTION__); in get_verify_partitions() 230 printf( in open_protocol() [all …]
|
| A D | uefi.cpp | 80 printf("This PE file does not have any sections, unsupported.\n"); in load_sections_and_execute() 115 printf("Entry function located at %p\n", entry); in load_sections_and_execute() 140 printf("platform_setup_system_table failed: %lu\n", status); in load_sections_and_execute() 177 printf("Usage: %s <variable> <data>\n", argv[0].str); in cmd_uefi_set_variable() 207 printf("error opening block device %s\n", blkdev); in load_pe_file() 225 printf("DOS Magic check failed %x\n", dos_header->e_magic); in load_pe_file() 229 printf( in load_pe_file() 240 printf("PE header machine type: %x\n", in load_pe_file() 246 printf("Unexpected size of optional header %d, expected %zu\n", in load_pe_file() 255 printf("Valid UEFI application found.\n"); in load_pe_file() [all …]
|
| A D | uefi_platform.cpp | 34 printf("Failed to find chosen node %d\n", offset); in efi_dt_fixup() 41 printf("Failed to find chosen/bootargs prop\n"); in efi_dt_fixup() 57 printf("chosen/bootargs: %d %d \"%s\"\n", ret, length, new_prop_data); in efi_dt_fixup() 66 printf("%s(%p, %s, %lu, %lu)\n", __FUNCTION__, self, bootconfig, size, in fixup_bootconfig() 86 printf("%s(%p, %p %lu)\n", __FUNCTION__, self, device_trees, in select_device_trees() 92 printf("%s is called\n", __FUNCTION__); in exit_boot_services() 97 printf("%s is called\n", __FUNCTION__); in platform_setup_system_table() 144 printf("%s(%s, %lu)\n", __FUNCTION__, GetImageType(ImageInfo->ImageType), in get_buffer()
|
| A D | blockio_protocols.cpp | 37 printf("OOB read %s %llu %u\n", dev->name, lba, dev->block_count); in read_blocks() 41 printf("No IO stack allocted.\n"); in read_blocks() 49 printf("Failed to read %ld bytes from %s\n", buffer_size, dev->name); in read_blocks() 57 printf("%s is called\n", __FUNCTION__); in write_blocks() 62 printf("%s is called\n", __FUNCTION__); in flush_blocks() 67 printf("%s is called\n", __FUNCTION__); in reset() 73 printf("%s(%p)\n", __FUNCTION__, handle); in open_block_device()
|
| /lib/debug/ |
| A D | debug.c | 104 printf("0x%08lx: ", address); in hexdump() 107 printf("%08x ", u.buf[i]); in hexdump() 110 printf(" "); in hexdump() 112 printf("|"); in hexdump() 117 printf("%c", c); in hexdump() 119 printf("."); in hexdump() 122 printf("|\n"); in hexdump() 136 printf(addr_fmt, disp_addr + count); in hexdump8_ex() 143 printf(" "); in hexdump8_ex() 146 printf("|"); in hexdump8_ex() [all …]
|
| /lib/version/ |
| A D | version.c | 35 printf("version:\n"); in print_version() 36 printf("\tarch: %s\n", lk_version.arch); in print_version() 37 printf("\tplatform: %s\n", lk_version.platform); in print_version() 38 printf("\ttarget: %s\n", lk_version.target); in print_version() 39 printf("\tproject: %s\n", lk_version.project); in print_version() 40 printf("\tbuildid: %s\n", lk_version.buildid); in print_version()
|
| A D | buildid.sh | 5 printf \\$(($1/64*100+$1%64/8*10+$1%8)) 10 printf '%c%c%c%c%c\n' `chr $((0x41 + $BYR - 2011))` `b36 $BMON` `b36 $BDOM` `b36 $BHR` `b36 $(($BMI…
|
| /lib/devicetree/ |
| A D | devicetreedump.c | 18 printf("error: %s\n", msg); in error() 28 printf("%02x ", *data++); in hexdump() 60 printf("node: '%s'\n", name); in node_cb() 66 printf("prop '%s' sz=%d\n", name, size); in prop_cb() 68 printf("data "); in prop_cb() 70 printf("\n"); in prop_cb() 87 printf("magic %x\n", dt.hdr.magic); in main() 88 printf("size %d\n", dt.hdr.size); in main() 89 printf("off_struct %d (%d)\n", dt.hdr.off_struct, dt.hdr.sz_struct); in main() 90 printf("off_strings %d (%d)\n", dt.hdr.off_strings, dt.hdr.sz_strings); in main() [all …]
|
| /lib/heap/ |
| A D | heap_wrapper.c | 99 printf("\tmallinfo (dlmalloc):\n"); in HEAP_DUMP() 108 printf("\theap block list:\n"); in HEAP_DUMP() 234 printf("\tdelayed free list:\n"); in heap_dump() 239 printf("\t\tnode %p\n", node); in heap_dump() 274 printf("pass %d\n", i); in heap_test() 311 printf("not enough arguments\n"); in cmd_heap() 313 printf("usage:\n"); in cmd_heap() 314 printf("\t%s info\n", argv[0].str); in cmd_heap() 315 printf("\t%s trace\n", argv[0].str); in cmd_heap() 316 printf("\t%s trim\n", argv[0].str); in cmd_heap() [all …]
|
| A D | page_alloc.c | 89 printf("not enough arguments\n"); in cmd_page_alloc() 91 printf("usage:\n"); in cmd_page_alloc() 92 printf("\t%s info\n", argv[0].str); in cmd_page_alloc() 99 printf("unrecognized command\n"); in cmd_page_alloc()
|
| /lib/bio/ |
| A D | debug.c | 43 printf("not enough arguments:\n"); in cmd_bio() 45 printf("%s list\n", argv[0].str); in cmd_bio() 51 printf("%s remove <device>\n", argv[0].str); in cmd_bio() 52 printf("%s test <device>\n", argv[0].str); in cmd_bio() 108 printf("not enough arguments:\n"); in cmd_bio() 257 printf("crc 0x%08lx\n", crc); in cmd_bio() 265 printf("unrecognized subcommand\n"); in cmd_bio() 300 printf("erasing device...\n"); in erase_test() 309 printf("validating erase...\n"); in erase_test() 520 printf ("Testing sub-erase...\n"); in bio_test_device() [all …]
|
| /lib/norfs/test/ |
| A D | norfs_test_helper.c | 17 printf("\n\n**DUMP BANK**\n"); in dump_bank() 20 if (i%4 == 0) printf(" "); in dump_bank() 22 printf("\n\n\n\n\n\ni: %d\n", i); in dump_bank() 23 printf("%02X ", *(addr + i)); in dump_bank()
|
| /lib/klog/ |
| A D | klog.c | 456 printf("ERROR not enough arguments\n"); in cmd_klog() 464 printf("usage: %s getbufnum\n", argv[0].str); in cmd_klog() 487 printf("klog_create returns %d\n", err); in cmd_klog() 493 printf("klog_create returns %d\n", err); in cmd_klog() 496 printf("klog_recover returns %d\n", err); in cmd_klog() 499 printf("%d buffers\n", klog_buffer_count()); in cmd_klog() 503 printf("ptr %p\n", klog); in cmd_klog() 525 printf("read %zu byte(s): \"", count); in cmd_klog() 537 printf("read: '%c'\n", klog_getc(buf_id)); in cmd_klog() 558 printf("klog_get_buffer returns %d\n", err); in cmd_klog() [all …]
|
| /lib/sysparam/ |
| A D | sysparam.c | 440 printf("system parameters:\n"); in sysparam_dump() 446 printf("________%c %-16s : ", in sysparam_dump() 459 printf("%02x", dat[i]); in sysparam_dump() 462 printf("...\n"); in sysparam_dump() 464 printf("\n"); in sysparam_dump() 530 printf("%s\n", param->name); in cmd_sysparam() 647 printf("%02x", buf[i]); in cmd_sysparam() 648 printf("\n"); in cmd_sysparam() 658 printf("OK\n"); in cmd_sysparam() 660 printf("ERROR out of memory\n"); in cmd_sysparam() [all …]
|
| /lib/ubsan/ |
| A D | ubsan.cpp | 183 printf("%s unaligned pointer %p of type %s (alignment %zu)\n", in do_ubsan_type_mismatch_unaligned() 192 printf("%s address %p with insuficient space for type %s\n", in do_ubsan_type_mismatch_objsize() 284 printf("Passed 0 to %s\n", builtin_func); in __ubsan_handle_invalid_builtin() 287 printf("Invalid builtin error (Kind %u)\n", data->kind); in __ubsan_handle_invalid_builtin() 317 printf("%s integer overflow: %s %s %s can't be represented in type %s", in ubsan_handle_integer_overflow() 368 printf("division of %s by zero\n", lhsv.to_string().c_str()); in __ubsan_handle_divrem_overflow() 396 printf("shift exponent %zd is negative\n", rhs); in ubsan_handle_shift_out_of_bounds() 400 printf("shift exponent %zu is too large for %zu-bit type %s\n", rhs, in ubsan_handle_shift_out_of_bounds() 407 printf("left shift of negative type %s\n", lhs_t->typename_); in ubsan_handle_shift_out_of_bounds() 443 printf("index %s out of range for type %s (%zx)\n", v.to_string().c_str(), in ubsan_handle_out_of_bounds() [all …]
|
| /lib/libc/test/ |
| A D | printf_tests_float.cpp | 25 printf("vsnprintf() returned %d\n", length); in test_printf() 31 printf("missing string terminator\n"); in test_printf() 35 printf("expected: \"%s\" (length %zu)\n", expected, strlen(expected)); in test_printf() 36 printf("but got: \"%s\" (length %zu) with return value %d)\n", buf, strlen(buf), length); in test_printf()
|
| A D | printf_tests_float_host.cpp | 17 printf("floating point printf tests\n"); in main() 20 printf("%" PRIx64 " %f %F %a %A\n", \ in main()
|
| /lib/unittest/ |
| A D | all_tests.c | 79 printf("usage:\n"); in do_unittests() 80 printf("%s all : run all unit tests\n", argv[0].str); in do_unittests() 81 printf("%s list : list all test cases\n", argv[0].str); in do_unittests() 82 printf("%s <test name> : run specific test\n", argv[0].str); in do_unittests() 88 printf("UNIT TEST: run_all_tests return %u\n", result); in do_unittests()
|