/titanic_41/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 189 cpl->result.nmatch = 0; in new_WordCompletion() 316 if(cpl->result.nmatch+1 > cpl->matches_dim) { in cpl_add_completion() 348 match = cpl->result.matches + cpl->result.nmatch++; in cpl_add_completion() 367 qsort(cpl->result.matches, cpl->result.nmatch, in cpl_sort_matches() 396 qsort(cpl->result.matches, cpl->result.nmatch, in cpl_sort_suffixes() 441 if(result->nmatch < 1) in cpl_common_suffix() 454 last = result->matches[result->nmatch - 1].suffix; in cpl_common_suffix() 500 cpl->result.nmatch = 0; in cpl_clear_completions() 583 if(cpl->result.nmatch > 1) in cpl_complete_word() 658 if(write_fn && result && result->nmatch>0) { in _cpl_output_completions() [all …]
|
H A D | keytab.c | 483 int nc, KeySym **matches, int *nmatch) in _kt_lookup_keybinding() argument 491 if(!kt || !binary_keyseq || !matches || !nmatch || nc < 0) { in _kt_lookup_keybinding() 510 *nmatch = last - first + 1; in _kt_lookup_keybinding() 514 *nmatch = 0; in _kt_lookup_keybinding()
|
H A D | keytab.h | 132 int nc, KeySym **matches, int *nmatch);
|
/titanic_41/usr/src/lib/libast/common/regex/ |
H A D | regexec.c | 36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags) in regexec() argument 44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0) in regexec() 45 for (e = match + nmatch; match < e; match++) in regexec() 53 return regnexec(p, s, s ? strlen(s) : 0, nmatch, match, flags); in regexec()
|
H A D | regsub.c | 35 subold(register Sfio_t* dp, const char* op, register const char* sp, size_t nmatch, register regmat… in subold() argument 208 if (c >= nmatch) in subold() 242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* mat… in regsub() argument 248 if ((p->env->flags & REG_NOSUB) || !nmatch) in regsub() 260 if (r = subold(dp, op, sp, nmatch, match, flags, sre)) in regsub() 264 …} while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(ma… in regsub()
|
H A D | regsubexec.c | 71 sub(const regex_t* p, register regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch,… in sub() argument 84 if (op->off >= nmatch) in sub() 148 regsubexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match) in regsubexec() argument 155 if (!p->env->sub || (p->env->flags & REG_NOSUB) || !nmatch) in regsubexec() 169 if (!c && (c = sub(p, b, s, b->re_ops, nmatch, match))) in regsubexec() 175 …if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match->rm_so == match->rm_eo ? REG_ADV… in regsubexec()
|
H A D | regrexec.c | 36 regrexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t … in regrexec() argument 68 complete = e->re.bm.complete && !nmatch; in regrexec() 109 …>rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) in regrexec()
|
H A D | regnexec.c | 1846 regnexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t … in regnexec() argument 1858 …t, "AHA#%04d 0x%04x regnexec %d 0x%08x `%-.*s'\n", __LINE__, debug_flag, nmatch, flags, len, s)),(… in regnexec() 1875 if (env->stack = env->hard || !(env->flags & REG_NOSUB) && nmatch) in regnexec() 1994 for (i = j = m = 0; j < nmatch; i++) in regnexec()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doscan.c | 87 int nmatch = 0, len, inchar, stow, size; in _doscan() local 98 return(nmatch); /* end of format */ in _doscan() 120 return(nmatch); /* failed to match input */ in _doscan() 186 nmatch += stow; in _doscan() 188 return((flag_eof && !nmatch) ? EOF : nmatch); in _doscan() 192 return (nmatch != 0 ? nmatch : EOF); /* end of input */ in _doscan()
|
/titanic_41/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 64 int nmatch; member 126 if (n > matchstate.nmatch) in strgrpmatch() 130 matchstate.nmatch = n; in strgrpmatch()
|
/titanic_41/usr/src/common/mdesc/ |
H A D | mdesc_diff.c | 108 int nmatch = 0; in md_diff_init() local 214 mde_match1_scr[nmatch] = md1nodesp[idx]; in md_diff_init() 215 mde_match2_scr[nmatch] = md2nodesp[match]; in md_diff_init() 216 nmatch++; in md_diff_init() 254 if (nmatch) { in md_diff_init() 255 int matchsz = sizeof (mde_cookie_t) * nmatch; in md_diff_init() 263 diff_res->match1.nelem = nmatch; in md_diff_init() 264 diff_res->match2.nelem = nmatch; in md_diff_init()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | regexec.c | 199 const char *_RESTRICT_KYWD string, size_t nmatch, in regexec() argument 221 return (mmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 227 return (smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 229 return (lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
|
H A D | engine.c | 152 size_t nmatch, in matcher() argument 175 nmatch = 0; in matcher() 267 if (nmatch == 0 && !g->backrefs) in matcher() 281 if (nmatch == 1 && !g->backrefs) in matcher() 346 if (nmatch > 0) { in matcher() 350 if (nmatch > 1) { in matcher() 352 for (i = 1; i < nmatch; i++) in matcher()
|
/titanic_41/usr/src/cmd/expr/ |
H A D | expr.c | 401 int nmatch; /* number of matched bytes */ in ematch() local 435 nmatch = loc2 - s; in ematch() 436 if (nmatch > ((sizeof (tempbuf) / sizeof (char)) - 1)) { in ematch() 437 tmptr1 = exprmalloc(nmatch + 1); in ematch() 442 memcpy(tmptr, s, nmatch); in ematch() 443 *(tmptr + nmatch) = '\0'; in ematch()
|
/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | doscan.c | 136 int nmatch = 0, len, stow; in __wdoscan_u() local 139 int nmatch = 0, len, inchar, stow, size; in __wdoscan_u() 193 return (nmatch); /* end of format */ in __wdoscan_u() 220 return (nmatch); /* failed to match input */ in __wdoscan_u() 248 return (nmatch); /* failed to match input */ in __wdoscan_u() 584 nmatch += stow; in __wdoscan_u() 586 return ((flag_eof && !nmatch) ? EOF : nmatch); in __wdoscan_u() 592 return (nmatch != 0 ? nmatch : EOF); /* end of input */ in __wdoscan_u()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 46 mdeg_node_match_t *nmatch; /* node match filter */ member 361 nname = md_find_name(mdp, clnt->nmatch->namep); in mdeg_notify_client_reg() 444 clnt->nmatch = nmatchp; in mdeg_register() 624 md_curr_start, clnt->nmatch->namep, clnt->nmatch->matchp); in mdeg_notify_client() 903 if (clnt->nmatch) { in mdeg_dump_clnt() 904 mdeg_match_str(clnt->nmatch, str, MAX_FIELD_STR); in mdeg_dump_clnt()
|
/titanic_41/usr/src/lib/librstp/common/ |
H A D | port.c | 208 int nmatch = 0; in STP_port_trace_state_machine() local 221 nmatch++; in STP_port_trace_state_machine() 225 if (nmatch == 0) { in STP_port_trace_state_machine()
|
/titanic_41/usr/src/uts/common/inet/tcp/ |
H A D | tcp_misc.c | 283 int nmatch, err = 0; in tcp_ioctl_abort_bucket() local 293 nmatch = 0; in tcp_ioctl_abort_bucket() 321 nmatch++; in tcp_ioctl_abort_bucket() 327 if (nmatch >= 500) in tcp_ioctl_abort_bucket() 342 *count += nmatch; in tcp_ioctl_abort_bucket() 343 if (nmatch >= 500 && err == 0) in tcp_ioctl_abort_bucket()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | macro.c | 1675 int match[2*(MATCH_MAX+1)], nmatch, nmatch_prev, vsize_last; in varsub() local 1686 nmatch = 0; in varsub() 1690 nmatch_prev = nmatch; in varsub() 1692 nmatch=substring(v,pattern,match,flag&STR_MAXIMAL); in varsub() 1694 nmatch=strgrpmatch(v,pattern,match,elementsof(match)/2,flag); in varsub() 1696 sh_setmatch(v,vsize,nmatch,match); in varsub() 1697 if(nmatch) in varsub() 1707 if(nmatch && replen>0 && (match[1] || !nmatch_prev)) in varsub() 1708 mac_substitute(mp,repstr,v,match,nmatch); in varsub() 1709 if(nmatch==0) in varsub() [all …]
|
H A D | expand.c | 223 register int nmatch=0; in scantree() local 237 nmatch++; in scantree() 240 return(nmatch); in scantree()
|
H A D | init.c | 131 int nmatch; member 710 void sh_setmatch(const char *v, int vsize, int nmatch, int match[]) in sh_setmatch() argument 714 if(mp->nmatch = nmatch) in sh_setmatch() 716 memcpy(mp->match,match,nmatch*2*sizeof(match[0])); in sh_setmatch() 717 for(n=match[0],i=1; i < 2*nmatch; i++) in sh_setmatch() 722 for(vsize=0,i=0; i < 2*nmatch; i++) in sh_setmatch() 738 nv_putsub(SH_MATCHNOD, NIL(char*), (nmatch-1)|ARRAY_FILL); in sh_setmatch() 751 if(sub>=mp->nmatch) in get_match()
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_acl.c | 205 int t, found, opok, nmatch; local 217 nmatch = sscanf(lp, "%s %s %s %[^\n]", acle_principal, acle_ops, 219 if (nmatch >= 2) { 225 (nmatch >= 3) ? strdup(acle_object) : (char *) NULL; 271 if ( nmatch >= 4 ) {
|
/titanic_41/usr/src/lib/libtecla/ |
H A D | libtecla.h | 1596 int nmatch; /* The number of elements in matches[] */ member
|
/titanic_41/usr/src/cmd/sgs/lex/common/ |
H A D | ncform | 207 fprintf(yyout,"\nmatch ");
|
H A D | nceucform | 236 fprintf(yyout,"\nmatch ");
|