Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 493) sorted by path

12345678910>>...20

/illumos-gate/usr/src/boot/common/
H A Dboot.c173 char *argv[2], *cp, *ep; in autoboot() local
183 timeout = strtol(cp, &ep, 0); in autoboot()
184 if (cp == ep) in autoboot()
254 const char *spec, *ep; in getbootfile() local
274 if ((ep = strchr(spec, ';')) != NULL) { in getbootfile()
275 len = ep - spec; in getbootfile()
303 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; in getrootmount() local
347 ep = cp; in getrootmount()
352 fstyp = strdup(ep); in getrootmount()
361 ep = cp; in getrootmount()
[all …]
H A Dcommands.c67 char line[81], *cp, *ep; in help_getnext() local
81 ep = strchr(cp, ' '); in help_getnext()
83 if (ep != NULL) in help_getnext()
84 *ep++ = 0; in help_getnext()
87 if (ep != NULL) in help_getnext()
88 *ep++ = 0; in help_getnext()
92 ep = NULL; in help_getnext()
94 cp = ep; in help_getnext()
H A Dload_elf.c784 const char *sp, *ep; in fake_modname() local
793 ep = strrchr(name, '.'); in fake_modname()
794 if (ep) { in fake_modname()
795 if (ep == name) { in fake_modname()
797 ep = invalid_name + sizeof (invalid_name) - 1; in fake_modname()
800 ep = name + strlen(name); in fake_modname()
802 len = ep - sp; in fake_modname()
H A Dmodule.c425 struct env_var *ep; in env_get_size() local
428 for (ep = environ; ep != NULL; ep = ep->ev_next) { in env_get_size()
429 size += strlen(ep->ev_name); in env_get_size()
431 if (ep->ev_value != NULL) in env_get_size()
432 size += strlen(ep->ev_value); in env_get_size()
1311 const char *path, *cp, *ep; in moduledir_rebuild() local
1323 for (ep = path; *ep != 0; ep++) { in moduledir_rebuild()
1324 cp = ep; in moduledir_rebuild()
1325 for (; *ep != 0 && *ep != ';'; ep++) in moduledir_rebuild()
1330 for (cplen = ep - cp; cplen > 1 && cp[cplen - 1] == '/'; in moduledir_rebuild()
[all …]
/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Dbootinfo.c92 struct env_var *ep; in bi_copyenv() local
99 for (ep = environ; ep != NULL; ep = ep->ev_next) { in bi_copyenv()
100 len = strlen(ep->ev_name); in bi_copyenv()
101 if (i386_copyin(ep->ev_name, addr, len) != len) in bi_copyenv()
107 if (ep->ev_value != NULL) { in bi_copyenv()
108 len = strlen(ep->ev_value); in bi_copyenv()
109 if (i386_copyin(ep->ev_value, addr, len) != len) in bi_copyenv()
/illumos-gate/usr/src/boot/efi/loader/
H A Dbootinfo.c117 struct env_var *ep; in bi_copyenv() local
124 for (ep = environ; ep != NULL; ep = ep->ev_next) { in bi_copyenv()
125 len = strlen(ep->ev_name); in bi_copyenv()
126 if ((size_t)archsw.arch_copyin(ep->ev_name, addr, len) != len) in bi_copyenv()
132 if (ep->ev_value != NULL) { in bi_copyenv()
133 len = strlen(ep->ev_value); in bi_copyenv()
134 if ((size_t)archsw.arch_copyin(ep->ev_value, in bi_copyenv()
H A Defiserialio.c450 char *ep; in comc_parse_mode() local
461 ep++; in comc_parse_mode()
462 n = strtoul(ep, &ep, 10); in comc_parse_mode()
479 ep++; in comc_parse_mode()
480 switch (*ep++) { in comc_parse_mode()
495 if (*ep == ',') in comc_parse_mode()
496 ep++; in comc_parse_mode()
502 if (ep[0] == '.' && ep[1] == '5') { in comc_parse_mode()
503 ep += 2; in comc_parse_mode()
514 if (*ep == ',') in comc_parse_mode()
[all …]
H A Dmain.c511 char buf[4096], *ep; in parse_uefi_con_out() local
529 ep = buf + sz; in parse_uefi_con_out()
531 while ((char *)node < ep) { in parse_uefi_con_out()
633 char *env, *ep; in uefi_serial_console() local
640 uid = strtoul(env, &ep, 10); in uefi_serial_console()
641 if (errno != 0 || *ep != '\0') in uefi_serial_console()
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dzfsboot.c373 static Elf32_Phdr ep[2]; in load() local
435 if (read(fd, ep + j, sizeof (ep[0])) != in load()
436 sizeof (ep[0])) { in load()
440 if (ep[j].p_type == PT_LOAD) in load()
444 p = PTOV(ep[i].p_paddr & 0xffffff); in load()
445 lseek(fd, ep[i].p_offset, SEEK_SET); in load()
446 if (read(fd, p, ep[i].p_filesz) != ep[i].p_filesz) { in load()
451 p += roundup2(ep[1].p_memsz, PAGE_SIZE); in load()
556 char *ep, *p, *q; in parse_cmd() local
567 ep = p; in parse_cmd()
[all …]
/illumos-gate/usr/src/boot/i386/isoboot/
H A Disoboot.c347 static Elf32_Phdr ep[2]; in load() local
404 if (xfsread(ino, ep + j, sizeof (ep[0]))) in load()
406 if (ep[j].p_type == PT_LOAD) in load()
410 p = PTOV(ep[i].p_paddr & 0xffffff); in load()
411 fs_off = ep[i].p_offset; in load()
412 if (xfsread(ino, p, ep[i].p_filesz)) in load()
415 p += roundup2(ep[1].p_memsz, PAGE_SIZE); in load()
446 char *ep, *p, *q; in parse_cmds() local
458 ep = p; in parse_cmds()
534 if ((i = ep - arg)) { in parse_cmds()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbootinfo.c157 struct env_var *ep; in bi_copyenv() local
160 for (ep = environ; ep != NULL; ep = ep->ev_next) { in bi_copyenv()
161 i386_copyin(ep->ev_name, addr, strlen(ep->ev_name)); in bi_copyenv()
162 addr += strlen(ep->ev_name); in bi_copyenv()
165 if (ep->ev_value != NULL) { in bi_copyenv()
166 i386_copyin(ep->ev_value, addr, strlen(ep->ev_value)); in bi_copyenv()
167 addr += strlen(ep->ev_value); in bi_copyenv()
H A Dcomconsole.c371 char *ep; in comc_parse_mode() local
382 ep++; in comc_parse_mode()
384 n = strtoul(ep, &ep, 10); in comc_parse_mode()
397 ep++; in comc_parse_mode()
398 switch (*ep++) { in comc_parse_mode()
409 if (*ep == ',') in comc_parse_mode()
410 ep++; in comc_parse_mode()
414 switch (*ep++) { in comc_parse_mode()
424 if (*ep == ',') in comc_parse_mode()
425 ep++; in comc_parse_mode()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c79 static void setenv_(uchar_t *cp, uchar_t *ep, struct dhcp_opt *opts);
354 uchar_t *ep; in vend_rfc1048() local
363 ep = cp + len; in vend_rfc1048()
368 setenv_(cp, ep, NULL); in vend_rfc1048()
370 while (cp < ep) { in vend_rfc1048()
633 setenv_(uchar_t *cp, uchar_t *ep, struct dhcp_opt *opts) in setenv_() argument
645 while (ncp < ep) { in setenv_()
H A Dcd9660.c527 struct iso_directory_record *ep; in cd9660_readdir() local
539 ep = (struct iso_directory_record *)buf; in cd9660_readdir()
541 if (isonum_711(ep->length) == 0) { in cd9660_readdir()
555 name = rrip_lookup_name(f, ep, lenskip, &namelen); in cd9660_readdir()
559 namelen = isonum_711(ep->name_len); in cd9660_readdir()
560 name = ep->name; in cd9660_readdir()
562 if (ep->name[0] == 0) in cd9660_readdir()
564 else if (ep->name[0] == 1) { in cd9660_readdir()
573 d->d_fileno = isonum_733(ep->extent); in cd9660_readdir()
575 if (isonum_711(ep->flags) & 2) in cd9660_readdir()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y176 char const *ep; variable
182 errstr = ep;
187 const char *ep; variable
193 errstr = ep;
198 const char *ep; variable
204 errstr = ep;
513 errstr = ep;
523 errstr = ep;
533 errstr = ep;
1671 return (ep); in decl_Verify()
[all …]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c50 char *cur, *last, *cp1, *cp2, *ep, *t; in main() local
97 ep = last + strlen(last); in main()
99 strncpy(ep, cp1, len); in main()
100 ep[len] = '\0'; in main()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioList.h72 AudioListEntry*& ep) const; // returned entry pointer
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioList.cc141 ep = first(); in getposition()
142 while (ep != 0) { in getposition()
155 ep = ep->next; in getposition()
164 AudioListEntry* ep; in GetLength() local
168 for (sum = 0., ep = first(); ep != 0; ep = ep->next) { in GetLength()
199 AudioListEntry* ep; in GetHeader() local
231 AudioListEntry* ep; in ReadData() local
304 AudioListEntry *ep; in Insert() local
328 ep->link(prev); in Insert()
338 AudioListEntry *ep; in Append() local
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dlex.c591 char *ep = ebuf; variable
611 if (ep >= ebuf + sizeof (ebuf)) in input()
612 ep = ebuf; in input()
613 *ep = c; in input()
615 ep++; in input()
626 if (--ep < ebuf) in unput()
627 ep = ebuf + sizeof (ebuf) - 1; in unput()
H A Dlib.c781 extern char ebuf[], *ep; in eprint()
785 if (ebuf == ep) in eprint()
787 p = ep - 1; in eprint()
801 for (; p < ep; p++) in eprint()
805 if (*ep) in eprint()
811 ep = ebuf; in eprint()
871 char *ep; in is_number() local
873 r = strtod(s, &ep); in is_number()
876 while (*ep == ' ' || *ep == '\t' || *ep == '\n') in is_number()
877 ep++; in is_number()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c70 wchar_t *ep = cp; in nextrecord() local
75 if ((*awkrecord)(ep, NLINE, fp) == NULL) { in nextrecord()
310 wchar_t *ep; in whitefield() local
317 for (ep = sp; *ep != ' ' && *ep != '\0' && *ep != '\t' && in whitefield()
318 *ep != '\n'; ++ep) in whitefield()
320 *endp = ep; in whitefield()
H A Dawk3.c1553 wchar_t *ep; in fieldsplit() local
1558 ep = linebuf; in fieldsplit()
1560 while ((ip = (*awkfield)(&ep)) != NULL) { in fieldsplit()
1564 n = ep-ip; in fieldsplit()
H A Dawk4.c356 wchar_t *ep, *saved = 0; in f_split() local
368 ep = exprstring(snp = getlist(&np)); in f_split()
371 ep = saved = wsdup(ep); in f_split()
424 if ((cp = (*awkfield)(&ep)) == NULL) { in f_split()
432 c = *ep; in f_split()
433 *ep = '\0'; in f_split()
435 (void)assign(tnp, stringnode(cp,FALLOC|FSENSE,(size_t)(ep-cp))); in f_split()
436 *ep = c; in f_split()
719 matherr(struct exception *ep) in matherr() argument
736 if ((type = ep->type) > (uint)PLOSS) in matherr()
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c291 struct entry *ep, *parent; in attrscan() local
315 ep->e_flags |= XATTRROOT; in attrscan()
636 struct entry *ep; in setdirmodes() local
663 ep = lookupino(node.ino); in setdirmodes()
665 if (ep == NIL) { in setdirmodes()
669 if (ep->e_flags & EXISTED) { in setdirmodes()
680 ep->e_flags &= ~NEW; in setdirmodes()
691 if (ep == NIL) { in setdirmodes()
697 cp = myname(ep); in setdirmodes()
698 resolve(myname(ep), &dfd, &cp); in setdirmodes()
[all …]
H A Dinteractive.c601 struct entry *ep; in expandarg() local
603 ep = lookupname(arg); in expandarg()
604 single.fnum = ep ? ep->e_ino : 0; in expandarg()

12345678910>>...20