Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 3896) sorted by path

12345678910>>...156

/illumos-gate/usr/src/boot/common/
H A Dboot.c277 len = strlen(spec); in getbootfile()
396 cp[strlen(cp) - 1] = '\0'; in getrootmount()
H A Dcommands.c75 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 Ddev_net.c395 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 Ddisk.c127 if (strlen(line) < 24) in ptable_print()
H A Dinstall.c61 len = strlen(val) + 1; in setpath()
238 if (strlen(devname) + strlen(pkgname) + 2 > sizeof(buf)) { in install()
H A Dinterp.c225 sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); in include()
H A Dinterp_forth.c109 line = malloc(strlen(name) + len + 1); in bf_command()
130 line = malloc(strlen(name) + len + 2); in bf_command()
H A Dinterp_parse.c166 size_t len = strlen(val); in parse()
H A Dload_elf.c800 ep = name + strlen(name); in fake_modname()
1008 minfolen = sizeof (*mdepend) + strlen(s) + 1; in __elfN()
H A Dload_elf_obj.c392 minfolen = sizeof(*mdepend) + strlen(s) + 1; in __elfN()
H A Dls.c120 buf = malloc(strlen(path) + strlen(d->d_name) + 2); in command_ls()
166 path = malloc(strlen(*pathp) + 2); in ls_getdir()
H A Dmisc.c48 hlong += strlen(argv[i]) + 2; in unargv()
H A Dmodule.c429 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 Dmultiboot2.c430 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 Dutil.c108 strlen(const char *s) in strlen() function
H A Dutil.h49 size_t strlen(const char *s);
H A Dvdisk.c202 len = strlen(vdisk_dev.dv_name); in command_unmapvd()
/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c287 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 Ddevicename.c92 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 Defichar.c128 sz = strlen(name) * 2 + 2; in utf8_to_ucs2()
H A Denv.c1172 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 Dbootinfo.c100 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 Dbootinfo.c125 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 Defi_main.c116 if (img->LoadOptionsSize == strlen(img->LoadOptions) + 1) { in efi_main()
H A Dmain.c1362 len += strlen(argv[i]) + 1; in command_chain()

12345678910>>...156