/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | test.c | 86 int match[2*(MATCH_MAX+1)],n; local 99 match[0] = 0; 100 if(m > elementsof(match)/2) 101 m = elementsof(match)/2; 102 n = strgrpmatch(str, pat, match, m, STR_MAXIMAL|STR_LEFT|STR_RIGHT); 104 match[1] = strlen(str); 106 sh_setmatch(str, -1, n, match);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 336 static int match(char *, int); 443 * "-o p=foo" to match documentation. 1165 if (match("at", 2)) { /* access time */ 1181 if (match("block", 2)) { /* block conversion */ 1196 if (match("bs", 2)) { /* block size */ 1207 if (match("base", 2)) { /* change/show base */ 1249 if (match("cd", 2)) { /* change directory */ 1293 if (match("cg", 2)) { /* cylinder group */ 1308 if (match("ct", 2)) { /* creation time */ 1324 if (match("director 1969 match(char *string, int upto) function [all...] |
/illumos-gate/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 488 match = self._ws.matcher(files=self.list()) 489 return self._repo.status(match=match) 682 match = self.matcher(files=files) 683 chngs = self.repo.status(base, head, match=match) 964 '''Return a match object suitable for Mercurial based on 971 cmdutil.match''' 980 return cmdutil.match(self.repo, pats, opts) 986 def diff(self, node1=None, node2=None, match [all...] |
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 463 boolean_t match; local 471 match = !KMF_CompareRDNs(&issuerDN, 474 if (!match) 485 match = !KMF_CompareRDNs(&subjectDN, 488 if (!match) 1381 int match = 0; local 1449 match = 0; 1451 * Due to bug in NSS, we have to manually match 1452 * the labels to be sure we have a match. 1456 match 2850 boolean_t match = B_FALSE; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | conditions.c | 373 * Returns true if prefixlen bits of addr1 match prefixlen bits of addr2. 446 boolean_t match = B_FALSE; local 461 match = prefixmatch(addr1, addr2, wa->prefixlen); 463 nlog(LOG_DEBUG, "check_ipaddr: match %d\n", match); 467 wa->res = match; 468 if (match) 473 wa->res = !match; 640 * Neither an ESSID or BSSID match is required - being connected to a
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.l | 389 int match; 404 match = step(yytext, re); 405 if (0 != match) {
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getvalues.c | 123 specific to the general, preferring a complete subtype match, but 135 they must be in the attribute to match. 260 int match = -1; local 314 match = i; 316 return match;
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | switchout.c | 48 static int match(char **opts, char *s); 434 if (match(&opts, "N")) { 449 * match is not found. A delimiter of , or ' ' can be used depending on the 453 match(char **opts, char *s) function
|
/illumos-gate/usr/src/ucbcmd/expr/ |
H A D | expr.y | 81 | expr MCH expr = { $$ = match($1, $3); } 82 | MATCH expr expr = { $$ = match($2, $3); } 115 "match", "substr", "length", "index", "\0" }; 285 match(char *s, char *p)
|
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 177 const char *match = arg; local 188 if ((s = strstr(fmri, match)) == NULL) 190 if (s[strlen(match)] != '\0') 193 /* At this point we think we've found a match */
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 232 # We don't want to match unless these things occur in final path segment 242 for f in flist(lambda x: MapfileRE.match(x) and not 243 NotMapSuffixRE.match(x)): 296 for f in flist(lambda x: ManfileRE.match(x)):
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 102 "got a match"); 128 " - no match found, error exit"); 205 int match = 0; local 308 match = 0; 322 match = 1; 331 if (match) { 334 " - got a match");
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh | 148 [[ "${out}" == ${output_format} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${output_format}"), got $(printf "%q\n" "${out}")"
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 330 * check a logindevperm line for a driver list and match this against 332 * returns 0 if no drivers were specified or a driver match 438 char *match; local 507 match = (char *)calloc(MAXPATHLEN + 2, 1); 508 if (match == NULL) { 514 /* transform pattern into ^pattern$ for exact match */ 515 if (snprintf(match, MAXPATHLEN + 2, "^%.*s$", 520 free(match); 524 if (strcmp(match, "^*$") == 0) { 527 if (regcomp(®ex, match, REG_EXTENDE [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | nrform | 48 integer verif(Sverif), advan(Sadvan),stoff(Sstoff),match(Smatch) 108 t = r + match(ich)
|
/illumos-gate/usr/src/cmd/busstat/ |
H A D | busstat.c | 706 int match = 0; local 712 match = 1; 717 if (match == 0) { 794 * as a pcr mask. If given as pcr mask, we try to match it 1053 int match = 0; local 1090 * If the pcr read from the device does not match that 1100 match = TRUE; 1108 if (match) { 1211 * If the pcr value from the device does not match the 1273 int match local [all...] |
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | ccode.h | 43 const char* match; /* strmatch() pattern */ member in struct:Ccmap_s
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | lc.c | 166 * if minimum!=0 then at least that many chars must match 171 match(const char* s, register const char* p, int minimum, int standard) function 249 return match(s, cp->code, 0, 1) || match(s, cp->alternates, 3, 1) || cp->ms && match(s, cp->ms, 0, 1); 521 for (lp = lc_languages; lp->code && (!lp->alternates || !match(s, lp->alternates, n, 0)); lp++); 536 for (lp = lc_languages; lp->code && !match(s, lp->name, 0, 0); lp++); 548 if ((i = match(s, tp->name, 3, 0)) > z) 625 if (match(s, tp->name, 3, 0)) 658 if (match( [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | mc-us3i.h | 122 uint64_t match; /* Physic Address is located at this bank. */ member in struct:bank_info
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 368 int match; member in struct:match_arg 377 margp->match = 1; 407 marg.match = 0; 414 return (marg.match); 422 int type, match = 0; local 442 } else if (!match) { 443 match = gmatch(name, expr); 446 if (match) { 448 return (match); 451 /* check for match agains [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 135 /* The minimum and maximum match lengths */ 429 uInt match_length; /* length of best match */ 430 IPos prev_match; /* previous match */ 431 int match_available; /* set if previous match exists */ 438 * Length of the best match at previous step. Matches not 440 * match evaluation. 452 * Attempt to find a better match only when the current match 458 * Insert new strings in the hash table only if the match 468 /* Use a faster search when the previous match i 1460 register Bytef *match; /* matched string */ local 1623 register Bytef *match; /* matched string */ local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 84 /* The minimum and maximum match lengths */ 274 uInt match_length; /* length of best match */ 275 IPos prev_match; /* previous match */ 276 int match_available; /* set if previous match exists */ 282 /* Length of the best match at previous step. Matches not greater than this 283 * are discarded. This is used in the lazy match evaluation. 293 /* Attempt to find a better match only when the current match is strictly 298 /* Insert new strings in the hash table only if the match length is not 307 /* Use a faster search when the previous match i 945 register Bytef *match; /* matched string */ local [all...] |
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_pool.c | 496 regmatch_t *match = matches + 1; local 497 if (match->rm_so != -1 && match->rm_eo != -1) { 500 char *end = tmp + match->rm_eo; 513 regmatch_t *match = matches + 1; local 514 if (match->rm_so != -1 && match->rm_eo != -1) { 518 match->rm_eo, "/old");
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_util.c | 203 * match 214 match(char *patn, char *str) function 235 if (match(patn, str))
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 149 * per page item. If we find an exact match on a leaf page, 159 goto match; 169 * No match found. Base is the smallest index greater than 185 * match, and we don't want to walk multiple pages here 246 match: *exactp = 1;
|