/illumos-gate/usr/src/boot/common/ |
H A D | boot.c | 277 len = strlen(spec); in getbootfile() 396 cp[strlen(cp) - 1] = '\0'; in getrootmount()
|
H A D | commands.c | 75 if (strlen(line) < 3 || line[0] != '#' || line[1] != ' ') in help_getnext() 113 i = strlen(topic); in help_emitsummary() 117 i += strlen(subtopic) + 1; in help_emitsummary()
|
H A D | dev_net.c | 395 strlen(uri_schemes[i].scheme)) != 0) in net_parse_rootpath() 411 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath() 415 ptr += strlen(uri_schemes[i].scheme); in net_parse_rootpath() 440 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath() 444 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
|
H A D | disk.c | 127 if (strlen(line) < 24) in ptable_print()
|
H A D | install.c | 61 len = strlen(val) + 1; in setpath() 238 if (strlen(devname) + strlen(pkgname) + 2 > sizeof(buf)) { in install()
|
H A D | interp.c | 225 sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); in include()
|
H A D | interp_forth.c | 109 line = malloc(strlen(name) + len + 1); in bf_command() 130 line = malloc(strlen(name) + len + 2); in bf_command()
|
H A D | interp_parse.c | 166 size_t len = strlen(val); in parse()
|
H A D | load_elf.c | 800 ep = name + strlen(name); in fake_modname() 1008 minfolen = sizeof (*mdepend) + strlen(s) + 1; in __elfN()
|
H A D | load_elf_obj.c | 392 minfolen = sizeof(*mdepend) + strlen(s) + 1; in __elfN()
|
H A D | ls.c | 120 buf = malloc(strlen(path) + strlen(d->d_name) + 2); in command_ls() 166 path = malloc(strlen(*pathp) + 2); in ls_getdir()
|
H A D | misc.c | 48 hlong += strlen(argv[i]) + 2; in unargv()
|
H A D | module.c | 429 size += strlen(ep->ev_name); in env_get_size() 432 size += strlen(ep->ev_value); in env_get_size() 951 pathlen = strlen(path); in file_lookup() 956 len = strlen(*cpp); in file_lookup() 1023 namelen = strlen(name); in file_search() 1045 modnamelen = strlen(modname); in mod_search_hints() 1254 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath() 1334 if (strlen(mdp->d_path) != cplen || in moduledir_rebuild()
|
H A D | multiboot2.c | 430 tail += strlen(prop_opt); in insert_cmdline() 681 len = strlen(mfp->f_name) + 1; in module_size() 682 len += strlen(mfp->f_type) + 5 + 1; /* 5 is for "type=" */ in module_size() 684 len += strlen(mfp->f_args) + 1; in module_size() 757 size += sizeof (multiboot_tag_string_t) + strlen(cmdline) + 1; in mbi_size() 952 i = sizeof (multiboot_tag_string_t) + strlen(cmdline) + 1; in multiboot2_exec() 957 memcpy(tag->mb_string, cmdline, strlen(cmdline) + 1); in multiboot2_exec() 970 strlen(bootprog_info) + 1); in multiboot2_exec() 1017 num = strlen(mfp->f_name) + 1; in multiboot2_exec() 1018 num += strlen(mfp->f_type) + 5 + 1; in multiboot2_exec() [all …]
|
H A D | util.c | 108 strlen(const char *s) in strlen() function
|
H A D | util.h | 49 size_t strlen(const char *s);
|
H A D | vdisk.c | 202 len = strlen(vdisk_dev.dv_name); in command_unmapvd()
|
/illumos-gate/usr/src/boot/common/linenoise/ |
H A D | linenoise.c | 287 size_t len = strlen(str); in linenoiseAddCompletion() 339 size_t plen = strlen(l->prompt); in refreshSingleLine() 357 abAppend(&ab,seq,strlen(seq)); in refreshSingleLine() 363 abAppend(&ab,seq,strlen(seq)); in refreshSingleLine() 366 abAppend(&ab,seq,strlen(seq)); in refreshSingleLine() 378 int plen = strlen(l->prompt); in refreshMultiLine() 395 abAppend(&ab,seq,strlen(seq)); in refreshMultiLine() 401 abAppend(&ab,seq,strlen(seq)); in refreshMultiLine() 406 abAppend(&ab,seq,strlen(seq)); in refreshMultiLine() 440 abAppend(&ab,seq,strlen(seq)); in refreshMultiLine() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devicename.c | 92 if (strlen(devspec) < 2) in efi_parsedev() 98 if (strncmp(devspec, dv->dv_name, strlen(dv->dv_name)) == 0) in efi_parsedev() 104 np = devspec + strlen(dv->dv_name); in efi_parsedev()
|
H A D | efichar.c | 128 sz = strlen(name) * 2 + 2; in utf8_to_ucs2()
|
H A D | env.c | 1172 if (strlen(optarg) >= nitems(varnamearg)) { in command_efi_show() 1211 if (strlen(optarg) >= nitems(varnamearg)) { in command_efi_show() 1217 for (i = 0; i < strlen(optarg); i++) in command_efi_show() 1343 strlen(val) + 1, val); in command_efi_set() 1521 ficlStackPushInteger(ficlVmGetDataStack(pVM), strlen(value)); in ficlEfiGetenv()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 100 len = strlen(ep->ev_name); in bi_copyenv() 108 len = strlen(ep->ev_value); in bi_copyenv() 147 COPY32(strlen(s) + 1, a); \ 148 i386_copyin(s, a, strlen(s) + 1); \ 149 a += roundup(strlen(s) + 1, sizeof(u_int64_t));\
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 125 len = strlen(ep->ev_name); in bi_copyenv() 133 len = strlen(ep->ev_value); in bi_copyenv() 174 COPY32(strlen(s) + 1, a, c); \ 176 archsw.arch_copyin(s, a, strlen(s) + 1); \ 177 a += roundup(strlen(s) + 1, sizeof (ulong_t)); \
|
H A D | efi_main.c | 116 if (img->LoadOptionsSize == strlen(img->LoadOptions) + 1) { in efi_main()
|
H A D | main.c | 1362 len += strlen(argv[i]) + 1; in command_chain()
|