/illumos-gate/usr/src/boot/common/ |
H A D | boot.c | 66 snprintf(command_errbuf, sizeof (command_errbuf), in command_boot() 137 snprintf(command_errbuf, sizeof (command_errbuf), in command_autoboot()
|
H A D | commands.c | 137 snprintf(buf, sizeof (buf), "%s/boot/loader.help", getenv("loaddev")); in command_help() 211 snprintf(command_errbuf, sizeof (command_errbuf), in command_help() 238 snprintf(name, sizeof (name)," %-15s ", in command_commandlist() 282 snprintf(command_errbuf, sizeof (command_errbuf), in command_show() 411 snprintf(command_errbuf, in command_read() 457 snprintf(line, sizeof (line), "*** FILE %s BEGIN ***\n", in command_more() 463 snprintf(line, sizeof (line), "*** FILE %s END ***\n", in command_more() 484 snprintf(command_errbuf, sizeof (command_errbuf), in page_file() 525 snprintf(line, sizeof (line), "%s: (unknown)\n", in command_lsdev()
|
H A D | dev_net.c | 191 snprintf(mtu, sizeof (mtu), "%u", intf_mtu); in net_open() 433 snprintf(ip, sizeof (ip), "%.*s", in net_parse_rootpath()
|
H A D | disk.c | 77 snprintf(buf, sizeof (buf), "%4" PRIu64 "%cB", size, unit); in display_size() 120 snprintf(line, sizeof (line), " %s%s: %s", pa->prefix, pname, in ptable_print() 130 snprintf(line, sizeof (line), "\t%s", in ptable_print() 147 snprintf(line, sizeof (line), " %s%s", in ptable_print()
|
H A D | gfx_fb.c | 261 snprintf(buf, sizeof (buf), "%d", val); in gfx_set_colors() 395 snprintf(buf, sizeof (buf), "%d", gfx_fg); in gfx_framework_init() 398 snprintf(buf, sizeof (buf), "%d", gfx_bg); in gfx_framework_init()
|
H A D | interp.c | 206 snprintf(command_errbuf, sizeof (command_errbuf), "can't open '%s': %s", in include() 233 snprintf(command_errbuf, sizeof (command_errbuf), in include() 264 snprintf(command_errbuf, sizeof (command_errbuf), in include()
|
H A D | ls.c | 132 snprintf(lbuf, sizeof (lbuf), " %c %8d %s\n", in command_ls() 136 snprintf(lbuf, sizeof (lbuf), " %c %s\n", in command_ls() 168 snprintf(command_errbuf, sizeof (command_errbuf), in ls_getdir() 177 snprintf(command_errbuf, sizeof (command_errbuf), in ls_getdir() 188 snprintf(command_errbuf, sizeof (command_errbuf), in ls_getdir() 193 snprintf(command_errbuf, sizeof (command_errbuf), in ls_getdir() 198 snprintf(command_errbuf, sizeof (command_errbuf), in ls_getdir()
|
H A D | module.c | 158 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load() 179 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load() 191 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load() 254 (void) snprintf(lbuf, sizeof (lbuf), " %p: ", in command_lsmod() 258 (void) snprintf(lbuf, sizeof (lbuf), " (%s, 0x%lx)\n", in command_lsmod() 294 (void) snprintf(lbuf, sizeof (lbuf), "%s.%d ", in command_lsmod() 308 (void) snprintf(lbuf, sizeof (lbuf), in command_lsmod() 358 (void) snprintf(command_errbuf, sizeof (command_errbuf), in file_load() 396 (void) snprintf(command_errbuf, in file_load_dependencies() 659 (void) snprintf(command_errbuf, sizeof (command_errbuf), in file_loadraw() [all …]
|
H A D | multiboot2.c | 490 snprintf(mode, sizeof (mode), "%s-mode", os_console); in update_cmdline() 1029 snprintf(cmdline, num, "%s type=%s %s", in multiboot2_exec() 1032 snprintf(cmdline, num, "%s type=%s", in multiboot2_exec()
|
H A D | tem.c | 530 snprintf(env, sizeof (env), "%d", tems.ts_p_dimension.height); in tems_setup_terminal() 533 snprintf(env, sizeof (env), "%d", tems.ts_p_dimension.width); in tems_setup_terminal() 551 snprintf(env, sizeof (env), "%d", tems.ts_c_dimension.height); in tems_setup_terminal() 554 snprintf(env, sizeof (env), "%d", tems.ts_c_dimension.width); in tems_setup_terminal() 558 snprintf(env, sizeof (env), "%dx%d", tems.ts_font.vf_width, in tems_setup_terminal() 753 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.col); in tem_save_state() 755 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.row); in tem_save_state()
|
H A D | vdisk.c | 391 snprintf(line, sizeof (line), in vdisk_print()
|
/illumos-gate/usr/src/boot/common/linenoise/ |
H A D | linenoise.c | 264 nwritten = snprintf(ls->buf,ls->buflen,"%s",lc.cvec[i]); in completeLine() 356 snprintf(seq,64,"\r"); in refreshSingleLine() 362 snprintf(seq,64,"\x1b[K"); in refreshSingleLine() 365 snprintf(seq,64,"\r\x1b[%dC", (int)(pos+plen)); in refreshSingleLine() 394 snprintf(seq,64,"\x1b[%dB", old_rows-rpos); in refreshMultiLine() 400 snprintf(seq,64,"\r\x1b[0K\x1b[1A"); in refreshMultiLine() 405 snprintf(seq,64,"\r\x1b[0K"); in refreshMultiLine() 419 snprintf(seq,64,"\r"); in refreshMultiLine() 430 snprintf(seq,64,"\x1b[%dA", rows-rpos2); in refreshMultiLine() 437 snprintf(seq,64,"\r\x1b[%dC", col); in refreshMultiLine() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devicename.c | 191 snprintf(buf, sizeof (buf), "%s%d:", dev->d_dev->dv_name, in efi_fmtdev()
|
H A D | efi_console.c | 544 snprintf(env, sizeof (env), "%u", (unsigned)rows); in efi_cons_init() 546 snprintf(env, sizeof (env), "%u", (unsigned)cols); in efi_cons_init()
|
H A D | efipart.c | 792 snprintf(line, sizeof (line), in efipart_print_common()
|
H A D | efizfs.c | 111 snprintf(devname, sizeof(devname), "%s%dp%d:", in efi_zfs_probe()
|
H A D | env.c | 725 snprintf(var, sizeof (var), "%d.%02d", ST->Hdr.Revision >> 16, in efi_init_environment()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | acpi.c | 49 snprintf(buf, sizeof (buf), "0x%016llx", (unsigned long long)rsdp); in acpi_detect() 51 snprintf(buf, sizeof (buf), "0x%08x", (unsigned int)rsdp); in acpi_detect() 57 snprintf(buf, sizeof (buf), "%d", revision); in acpi_detect() 63 snprintf(buf, sizeof (buf), "0x%016llx", in acpi_detect() 66 snprintf(buf, sizeof (buf), "0x%08x", rsdp->RsdtPhysicalAddress); in acpi_detect() 70 snprintf(buf, sizeof (buf), "0x%016llx", in acpi_detect() 73 snprintf(buf, sizeof (buf), "%d", rsdp->Length); in acpi_detect()
|
H A D | efiserialio.c | 249 snprintf(name, sizeof (name), "%s-mode", cp->c_name); in comc_probe() 263 snprintf(name, sizeof (name), "%s-ignore-cd", cp->c_name); in comc_probe() 272 snprintf(value, sizeof (value), "%s", in comc_probe() 277 snprintf(name, sizeof (name), "%s-rts-dtr-off", cp->c_name); in comc_probe() 286 snprintf(value, sizeof (value), "%s", in comc_probe()
|
H A D | framebuffer.c | 623 snprintf(command_errbuf, sizeof (command_errbuf), in efifb_set_mode() 738 snprintf(command_errbuf, sizeof (command_errbuf), in command_gop() 786 snprintf(command_errbuf, in command_gop() 827 snprintf(command_errbuf, in command_gop() 851 snprintf(command_errbuf, sizeof (command_errbuf), in command_gop() 866 snprintf(command_errbuf, sizeof (command_errbuf), in command_uga() 875 snprintf(command_errbuf, sizeof (command_errbuf), in command_uga() 885 snprintf(command_errbuf, sizeof (command_errbuf), "usage: %s", argv[0]); in command_uga()
|
H A D | main.c | 495 (void) snprintf(buf, sizeof (buf), "%d", val); in setenv_int() 727 (void) snprintf(var, sizeof (var), "%s,8,n,1,-", s); in main() 849 (void) snprintf(var, sizeof (var), "%s text", serial); in main() 851 (void) snprintf(var, sizeof (var), "text %s", serial); in main() 853 (void) snprintf(var, sizeof (var), "%s", serial); in main() 855 (void) snprintf(var, sizeof (var), "text"); in main() 1066 snprintf(line, 80, "%23s %12s %12s %8s %4s\n", in command_memmap() 1077 snprintf(line, 80, "%23s %012jx %012jx %08jx ", in command_memmap() 1214 snprintf(command_errbuf, sizeof (command_errbuf), in command_lsefi() 1226 snprintf(command_errbuf, sizeof (command_errbuf), in command_lsefi() [all …]
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 183 snprintf(mode, sizeof (mode), "%s-mode", ptr); in main() 232 snprintf(boot_devname, sizeof (boot_devname), "disk%d:", in main() 235 snprintf(boot_devname, sizeof (boot_devname), "disk%d:", in main() 725 snprintf(devname, sizeof (devname), "%s%s:", devname, partname); in probe_partition() 846 snprintf(devname, sizeof (devname), "%s%d:", bioshd.dv_name, in i386_zfs_probe()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosacpi.c | 196 snprintf(buf, sizeof (buf), "%d", revision); in biosacpi_detect() 201 snprintf(buf, sizeof (buf), "0x%08x", rsdp->RsdtPhysicalAddress); in biosacpi_detect() 205 snprintf(buf, sizeof (buf), "0x%016llx", in biosacpi_detect()
|
H A D | biosdisk.c | 735 snprintf(line, sizeof (line), in bd_print_common() 758 snprintf(line, sizeof (line), " %s%d", in bd_print_common()
|
H A D | comconsole.c | 243 snprintf(name, sizeof (name), "%s-mode", cp->c_name); in comc_probe() 256 snprintf(name, sizeof (name), "%s-ignore-cd", cp->c_name); in comc_probe() 265 snprintf(value, sizeof (value), "%s", in comc_probe() 270 snprintf(name, sizeof (name), "%s-rts-dtr-off", cp->c_name); in comc_probe() 279 snprintf(value, sizeof (value), "%s", in comc_probe() 284 snprintf(name, sizeof (name), "%s-pcidev", cp->c_name); in comc_probe() 481 snprintf(name, sizeof (name), "%s-spcr-mode", cp->c_name); in comc_mode_set()
|