/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_event.c | 72 fmd_time_sync(&ep->ev_time, &ep->ev_hrt, 1); in fmd_event_nvunwrap() 85 ep->ev_refs = 0; in fmd_event_recreate() 92 ep->ev_log = lp; in fmd_event_recreate() 118 fmd_time_tod2hrt(hr0, &tod, &ep->ev_time, &ep->ev_hrt); in fmd_event_recreate() 135 ep->ev_refs = 0; in fmd_event_create() 144 ep->ev_off = 0; in fmd_event_create() 145 ep->ev_len = 0; in fmd_event_create() 193 if (ep->ev_state != FMD_EVS_RECEIVED && (ep->ev_flags & ( in fmd_event_destroy() 234 ep->ev_refs++; in fmd_event_hold() 285 (void *)ep, ep->ev_state, state)); in fmd_event_transition() [all …]
|
H A D | fmd_ustat.c | 98 for (ep = usp->us_hash[i]; ep != NULL; ep = np) { in fmd_ustat_destroy() 105 np = ep->use_next; in fmd_ustat_destroy() 135 for (ep = usp->us_hash[i]; ep != NULL; ep = ep->use_next) { in fmd_ustat_snapshot() 158 for (ep = *pp; ep != NULL; ep = ep->use_next) { in fmd_ustat_delete_locked() 165 if (ep == NULL) in fmd_ustat_delete_locked() 174 *pp = ep->use_next; in fmd_ustat_delete_locked() 242 for (ep = usp->us_hash[h]; ep != NULL; ep = ep->use_next) { in fmd_ustat_insert() 247 if (ep != NULL) { in fmd_ustat_insert() 258 ep->use_stat = sp; in fmd_ustat_insert() 259 ep->use_chunk = cp; in fmd_ustat_insert() [all …]
|
/illumos-gate/usr/src/cmd/file/ |
H A D | magicutils.c | 235 ep = ep1; in f_mkmtab() 239 ep = ep2; in f_mkmtab() 251 ep = mtab; in f_mkmtab() 506 ep++; in f_mkmtab() 513 ep1 = ep; in f_mkmtab() 517 ep2 = ep; in f_mkmtab() 558 for (ep = mtab; ep->e_off != -1L; ep++) { /* -1 offset marks end of */ in f_ckmtab() 1068 Entry *ep; in f_prtmtab() local 1077 for (ep = mtab; ep->e_off != -1L; ep++) { in f_prtmtab() 1080 ep->e_off, type_to_name(ep), in f_prtmtab() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | edit.c | 546 ep->e_outptr = ep->e_outbase; in ed_flush() 634 ep->e_hismax = ep->e_hismin = ep->e_hloff = 0; in ed_setup() 636 ep->e_hline = ep->e_hismax; in ed_setup() 641 ep->e_winsz = ep->e_wsize+2; in ed_setup() 732 if(!ep->e_multiline && (ep->e_wsize -= ep->e_plen) < 7) in ed_setup() 841 n = (ep->e_plen+ep->e_cur)/++ep->e_winsz; in ed_read() 844 if(ep->e_multiline && newsize>ep->e_winsz && (lastpos.line=(ep->e_plen+ep->e_peol)/ep->e_winsz)) in ed_read() 1000 ep->e_lbuf[ep->e_lookahead+size-offset] = ep->e_lbuf[ep->e_lookahead+size]; 1222 ep->e_curpos = ed_curpos(ep, physical, old,0,ep->e_curpos); 1577 ep->e_col = ep->e_cur; [all …]
|
H A D | emacs.c | 194 if(!ep) in ed_emacsread() 664 if(ep->ed->hoff >= ep->ed->hmax) in ed_emacsread() 671 ed_histlist(ep->ed,*ep->ed->hlist!=0); in ed_emacsread() 1296 ep->prevdirection = -ep->prevdirection; in search() 1375 ep->cursor = ep->screen; in draw() 1429 ed_setcursor(ep->ed,ep->screen,0,ep->cursor-ep->screen, 0); in draw() 1461 if ((ep->offset && i<=ep->offset)||(i >= (ep->offset+w_size))) in draw() 1499 setcursor(ep,sptr-ep->screen,*nptr); in draw() 1513 ed_setcursor(ep->ed, ep->screen, ep->cursor-ep->screen, ep->ed->e_peol, -1); in draw() 1558 register int oldp = ep->cursor - ep->screen; in setcursor() [all …]
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | spellprog.c | 343 for (ep = word; (*ep = j = getchar()) != '\n'; ep++) in main() 376 if (trypref(ep, ".", 0)||trysuff(ep, 0)) in main() 451 if (*ep == 's' && ep[-1] == 's') in s() 584 if (!(ep[-2] == 'n' && ep[-1] == 'g')) in CCe() 595 if (!(ep[-2] == 'n' && ep[-1] == 'g')) in CCe() 604 if (!(ep[-2] == 'n' && ep[-1] == 'g')) in CCe() 610 if (!(ep[-2] == 'n' && ep[-1] == 'g')) in CCe() 628 if (trypref(ep, d, lev)||trysuff(ep, lev)) in VCe() 630 ep--; in VCe() 700 if (i == 0 && vowel(*ep) && ep[-1] == ep[-2] && monosyl(bp, ep-1)) { in tryword() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn.c | 319 ep->data = ep->start = ep->end = NULL; in eqn_reset() 320 ep->sz = ep->toksz = 0; in eqn_reset() 349 ep->defs[i].keysz, ep->start, ep->toksz)) in eqn_def_find() 392 ep->start = ep->end; in eqn_next() 414 ep->end = strchr(ep->start + 1, *ep->start); in eqn_next() 426 ep->toksz = ep->end - ep->start; in eqn_next() 447 ep->data = mandoc_realloc(ep->data, ep->sz + 1); in eqn_next() 459 ep->start = mandoc_strndup(ep->start, ep->toksz); in eqn_next() 475 ep->start = mandoc_strndup(ep->start, ep->toksz); in eqn_next() 583 ep->odelim = *ep->end++; in eqn_delim() [all …]
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | symtab.c | 52 for (ep = entry[inum % entrytblsize]; ep != NIL; ep = ep->e_next) in lookupino() 147 for (ep = lookupino(ROOTINO); ep != NIL; ep = ep->e_entries) { in lookupname() 152 for (; ep != NIL; ep = ep->e_sibling) in lookupname() 157 ep = ep->e_xattrs; in lookupname() 242 ep = ep->e_parent; in myname() 577 for (ep = lookupino(i); ep != NIL; ep = ep->e_links) { in dumpsymtable() 592 ep = ep->e_links) { in dumpsymtable() 677 ep = calloc(1, sizeof (*ep)); in initsymtable() 686 ep->e_parent = ep; in initsymtable() 798 for (ep = &baseep[1]; ep < lep; ep++) { in initsymtable() [all …]
|
H A D | restore.c | 48 struct entry *ep; in addfile() local 75 if (ep != NIL) { in addfile() 85 newnode(ep); in addfile() 161 ep = ep->e_links; in removeoldleaves() 220 for (ep = ip->e_links; ep != NIL; ep = ep->e_links) { in nodeupdates() 237 ip = ep; in nodeupdates() 531 for (ep = removelist; ep != NIL; ep = ep->e_next) { in findunreflinks() 566 for (ep = removelist; ep != NIL; ep = *prev) { in removeoldnodes() 577 for (ep = removelist; ep != NIL; ep = ep->e_next) in removeoldnodes() 667 ep->e_namlen = strlen(ep->e_name); in createleaves() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | errors.c | 54 if (ep->msg && ep->msg != ep->scratch_buf) { in krb5int_vset_error() 56 ep->msg = NULL; in krb5int_vset_error() 63 ep->msg = str; in krb5int_vset_error() 68 vsnprintf(ep->scratch_buf, sizeof(ep->scratch_buf), fmt, args); in krb5int_vset_error() 70 ep->msg = p ? p : ep->scratch_buf; in krb5int_vset_error() 77 if (code == ep->code && ep->msg) { in krb5int_get_error() 88 ep->scratch_buf[sizeof(ep->scratch_buf)-1] = 0; in krb5int_get_error() 89 ep->msg = NULL; in krb5int_get_error() 120 strncpy (ep->scratch_buf, r, sizeof(ep->scratch_buf)); in krb5int_get_error() 136 strncpy(ep->scratch_buf, r, sizeof(ep->scratch_buf)); in krb5int_get_error() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_elf_load_headers.c | 247 free(ep->f_ehdr); in dwarf_destruct_elf_access() 248 shp = ep->f_shdr; in dwarf_destruct_elf_access() 274 free(ep); in dwarf_destruct_elf_access() 1009 res = RRMOA(ep->f_fd,ep->f_dynsym_sect_strings, 1049 res = RRMOA(ep->f_fd,ep->f_symtab_sect_strings, in _dwarf_load_elf_symstr() 1096 res = RRMOA(ep->f_fd,ep->f_elf_shstrings_data,secoffset, in _dwarf_elf_load_sectstrings() 1393 if (!ep) { in _dwarf_load_elf_relx() 1952 res = validate_links(ep,ep->f_dynsym_sect_index, in _dwarf_elf_find_sym_sections() 1958 res = validate_links(ep,ep->f_symtab_sect_index, in _dwarf_elf_find_sym_sections() 1974 res = elf_load_sectheaders32(ep,ep->f_ehdr->ge_shoff, in _dwarf_load_elf_sectheaders() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | env.c | 94 if(ep->count > ep->max) in env_get() 98 if(!(ep->env = (char**)malloc(sizeof(char*)*(ep->count+1)))) in env_get() 101 ep->max = ep->count; in env_get() 110 environ = ep->env+ep->extra; in env_get() 111 return(ep->env+ep->extra); in env_get() 132 if(ep->env && (ep->flags&ENV_VALID)) in env_add() 151 ep->count++; in env_add() 192 Env_t *ep; in env_open() local 210 ep->count = ep->extra = extra; in env_open() 224 return(ep); in env_open() [all …]
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | regex.c | 148 char *ep; in re_comp() local 161 ep = expbuf; in re_comp() 183 *ep++ = 0; in re_comp() 208 *ep++ = 0; in re_comp() 224 *ep = ep[-1] + 1; in re_comp() 225 ep++; in re_comp() 350 ep += *ep; in advance() 357 ep += *ep; in advance() 403 ep++; in advance() 409 while (cclass(ep, *lp++, ep[-1] == (CCL|CSTAR))) in advance() [all …]
|
/illumos-gate/usr/src/head/ |
H A D | regexp.h | 103 RETURN(ep); in compile() 121 RETURN(ep); in compile() 158 ep[i] = 0; in compile() 273 else if ((ep[-1] & 0377) < (ep[-2] & 0377)) in compile() 379 ep += 32; in advance() 392 ep += 16; in advance() 420 ep += 2; in advance() 435 ep += 2; in advance() 518 ep++; in advance() 527 ep += 32; in advance() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | regexpr.c | 142 char *ep; in re_comp() local 155 ep = expbuf; in re_comp() 177 *ep++ = 0; in re_comp() 203 *ep++ = 0; in re_comp() 219 *ep = ep[-1] + 1; in re_comp() 220 ep++; in re_comp() 347 ep += *ep; in advance() 354 ep += *ep; in advance() 401 ep++; in advance() 407 while (cclass(ep, *lp++, ep[-1] == (CCL|CSTAR))) in advance() [all …]
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | reg_compile.c | 168 if (ep == (char *)0 || ep[1] == 0) in _compile() 184 expbuf = ep; in _compile() 190 *ep++ = 1; in _compile() 192 *ep++ = 0; in _compile() 202 lastep = ep; in _compile() 235 *ep++ = CCL; in _compile() 238 ep[i] = 0; in _compile() 314 ep += 32; in _compile() 323 *ep = (char)(start - ep); in _compile() 324 ep = start; in _compile() [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 171 ep++; in __advance() 200 i = (((ep[-1] & 03) << 8) + (*ep) & 0377); in __advance() 201 ep++; in __advance() 251 ep += (*ep + 2); in __advance() 255 ep += *ep; in __advance() 262 ep += *ep; in __advance() 273 __bravar[*ep] = ep[1]; in __advance() 295 ep++; in __advance() 309 i = (((ep[-1]&03) << 8) + (*ep & 0377)); in __advance() 310 ep++; in __advance() [all …]
|
H A D | regcmp.c | 79 char *ep, *sp; in libform_regcmp() local 121 lastep = ep; in libform_regcmp() 127 *ep++ = -1; in libform_regcmp() 168 *ep++ = c; in libform_regcmp() 196 else if ((ep[-1]&0377) < (ep[-2]&0377)) in libform_regcmp() 223 *ep++ = CCL; in libform_regcmp() 224 *ep++ = 0; in libform_regcmp() 235 *ep = ep[-1]; in libform_regcmp() 236 ep++; in libform_regcmp() 241 *ep++ = c; in libform_regcmp() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | optimize.c | 49 show_entry(ep); in optimize() 56 ir_validate(ep); in optimize() 58 domtree_build(ep); in optimize() 64 ssa_convert(ep); in optimize() 65 ir_validate(ep); in optimize() 67 show_entry(ep); in optimize() 77 simplify_memops(ep); in optimize() 81 clean_up_insns(ep); in optimize() 85 cse_eliminate(ep); in optimize() 99 vrfy_flow(ep); in optimize() [all …]
|
H A D | linearize.c | 76 bb->ep = ep; in alloc_basic_block() 580 printf("ep %p: %s\n", ep, show_ident(ep->name->ident)); in show_entry() 662 ep->active = bb; in set_activeblock() 742 bb = ep->active; in add_label() 1862 linearize_store_gen(ep, argument_pseudo(ep, nr), &ad); in linearize_argument() 2373 add_goto(ep, get_bound_block(ep, stmt->goto_label)); in linearize_statement() 2383 add_goto(ep, get_bound_block(ep, expr->label_symbol)); in linearize_statement() 2464 sym->ep = ep; in linearize_fn() 2470 return ep; in linearize_fn() 2492 optimize(ep); in linearize_fn() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_debug.c | 887 (void *)ep->re_rp1, ep->re_pid, ep->re_seqid1, in queue_print_event() 916 (void *)ep->re_mi, ep->re_uint, in queue_print_event() 934 ep->re_char1, (void *)ep->re_rp1, ep->re_char2, in queue_print_event() 943 ep->re_uint ? ep->re_uint : ep->re_stat4); in queue_print_event() 982 ep->re_char1, (void *)ep->re_rp1, ep->re_char2, in queue_print_event() 990 (void *)ep->re_mi, ep->re_uint, ep->re_pid, msg->msg_srv); in queue_print_event() 1000 ep->re_pid, ep->re_char1, (void *)ep->re_rp1, in queue_print_event() 1008 ep->re_pid, ep->re_char1, (void *)ep->re_rp1, in queue_print_event() 1017 ep->re_uint, msg->msg_srv, ep->re_char1, (void *)ep->re_rp1, in queue_print_event() 1043 ep->re_uint, msg->msg_srv, ep->re_char1, (void *)ep->re_rp1, in queue_print_event() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | magic.c | 498 for (ep = mp->magic; ep; ep = ep->next) in ckmagic() 541 ep = ep->value.lab; in ckmagic() 590 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's') in ckmagic() 602 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's') in ckmagic() 637 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's') in ckmagic() 725 …if ((ep->type == 'm' || ep->type == 'M') ? strmatch(p, ep->value.str) : !memcmp(p, ep->value.str, … in ckmagic() 822 ep = ep->value.loop->lab; in ckmagic() 974 if (ep->mime && *ep->mime) in ckmagic() 2015 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's') in load() 2487 ep = ep->value.lab; in magiclist() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | encrypt.c | 143 for (; (ep->type != 0) && (ep->type != type); ep++); in findencryption() 144 return (ep->type ? ep : NULL); in findencryption() 154 while (ep->type && ep->type != type) in finddecryption() 155 ++ep; in finddecryption() 156 return (ep->type ? ep : NULL); in finddecryption() 204 ++ep; in encrypt_init() 218 ENCTYPE_NAME(ep->type), ep->type); in encrypt_list_types() 219 ++ep; in encrypt_list_types() 518 if (!ep) in encrypt_support() 680 ++ep; in encrypt_session_key() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | terminate.c | 46 if (ep->pid <= 0) in terminate() 61 ep->pid = -99; in terminate() 62 ep->status = SIGTERM; in terminate() 63 ep->Errno = 0; in terminate() 82 ep->pid = -99; in terminate() 84 ep->Errno = 0; in terminate() 96 ep->pid = -99; in terminate() 98 ep->Errno = 0; in terminate() 108 ep->pid = -99; in terminate() 109 ep->status = SIGTERM; in terminate() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 37 ep->length = 4, \ 242 if (get_first_hwaddr(ep->value, sizeof(ep->value))) { 244 ep->length = 6; 283 if (ep->class == EPD_NULL && ep->length == 0) 285 if (ep->class == EPD_IP && ep->length == 4) { 295 if (ep->class == EPD_MAC && ep->length == 6) 297 else if (ep->class == EPD_MAGIC && (ep->length % 4) == 0) 350 ep->class = i; 371 get_if_hwaddr(ep->value, sizeof(ep->value), str) >= 0) { 391 ep->value[l] = (ep->value[l] << 4) + hexc_val(*str++); [all …]
|