/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceStoreInMemory.java | 335 match = true; in setReturn() 385 match = match | rec.setReturn(returns); in getAll() 434 match = match | rec.setReturn(returns); in matchDoesNotContain() 459 match = match | rec.setReturn(returns); in matchEqual() 496 match = match | rec.setReturn(returns); in matchNotEqual() 522 match = match | rec.setReturn(returns); in matchLessEqual() 545 match = match | rec.setReturn(returns); in matchNotLessEqual() 568 match = match | rec.setReturn(returns); in matchGreaterEqual() 591 match = match | rec.setReturn(returns); in matchNotGreaterEqual() 965 return match; in evaluate() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
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 109 …>rex = ((r - l) > 128) ? e : e->next) && !(n = regnexec(p, (char*)l, r - l, nmatch, match, flags))) in regrexec() 165 regmatch_t* match; in regrexec() local 169 if (!(match = oldof(0, regmatch_t, nmatch, 0))) in regrexec() 171 if (!(r = regrexec_20120528(p, s, len, nmatch, match, flags, sep, handle, record))) in regrexec() 174 oldmatch[i].rm_so = match[i].rm_so; in regrexec() 175 oldmatch[i].rm_eo = match[i].rm_eo; in regrexec() 177 free(match); in regrexec()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 69 m[i].match.string); in cloneMappingFormat() 70 if (new[i].match.string == 0 && m[i].match.string != 0) in cloneMappingFormat() 82 m[i].match.single.lo, in cloneMappingFormat() 1759 bool_t match; in scanMappingFormat() local 1937 match = FALSE; in scanMappingFormat() 1946 match = TRUE; in scanMappingFormat() 1950 if (match) in scanMappingFormat() 1953 if (!match) in scanMappingFormat() 1958 match = FALSE; in scanMappingFormat() 1962 match = TRUE; in scanMappingFormat() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sumlib.c | 43 const char* match; member 57 const char* match; member 238 match(register const char* s, register const char* p) in match() function 279 if (match(name, maps[n].match)) in sumopen() 285 if (match(name, methods[n].match)) in sumopen() 367 n += sfprintf(sp, "[+%s?%s]", methods[i].match, methods[i].description); in sumusage() 372 …n += sfprintf(sp, "[+%s?%s Shorthand for \b%s\b.]", maps[i].match, maps[i].description, maps[i].ma… in sumusage()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cms.c | 249 if (match >= CMS_MATCH_VENDOR && in cms_cpu_match() 253 if (match >= CMS_MATCH_FAMILY && in cms_cpu_match() 257 if (match >= CMS_MATCH_MODEL && in cms_cpu_match() 261 if (match >= CMS_MATCH_STEPPING && in cms_cpu_match() 272 int match = *((int *)arg2); in cms_search_list_cb() local 275 if (cms_cpu_match(thdl, whdl, match)) { in cms_search_list_cb() 289 cms_search_list(cmi_hdl_t hdl, int match) in cms_search_list() argument 322 ASSERT(match == CMS_MATCH_STEPPING || match == CMS_MATCH_MODEL || in cms_load_module() 323 match == CMS_MATCH_FAMILY || match == CMS_MATCH_VENDOR); in cms_load_module() 333 if ((cms = cms_search_list(hdl, match)) != NULL) { in cms_load_module() [all …]
|
H A D | cmi.c | 258 if (match >= CMI_MATCH_VENDOR && in cmi_cpu_match() 262 if (match >= CMI_MATCH_FAMILY && in cmi_cpu_match() 266 if (match >= CMI_MATCH_MODEL && in cmi_cpu_match() 270 if (match >= CMI_MATCH_STEPPING && in cmi_cpu_match() 281 int match = *((int *)arg2); in cmi_search_list_cb() local 284 if (cmi_cpu_match(thdl, whdl, match)) { in cmi_search_list_cb() 294 cmi_search_list(cmi_hdl_t hdl, int match) in cmi_search_list() argument 319 ASSERT(match == CMI_MATCH_STEPPING || match == CMI_MATCH_MODEL || in cmi_load_module() 320 match == CMI_MATCH_FAMILY || match == CMI_MATCH_VENDOR); in cmi_load_module() 326 if ((cmi = cmi_search_list(hdl, match)) != NULL) { in cmi_load_module() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | getgroup.c | 62 static char *match(); 118 if ((val = match(group)) == NULL) { 224 any(cp, match) in any() argument 226 char *match; 231 for (mp = match; *mp; mp++) 245 match(group) in match() function
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | regcmp.c | 197 regmatch_t match[SUB + 1]; in regex() local 212 if (regexec(&re->re, subject, SUB + 1, match, 0)) in regex() 218 k = match[i].rm_eo - match[i].rm_so; in regex() 219 strlcpy(sub[n], subject + match[i].rm_so, k); in regex() 222 __loc1 = (char*)subject + match[0].rm_so; in regex() 223 return (char*)subject + match[0].rm_eo; in regex()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 29 #error value of EPOLLIN does not match value of POLLIN 33 #error value of EPOLLPRI does not match value of POLLPRI 37 #error value of EPOLLOUT does not match value of POLLOUT 41 #error value of EPOLLRDNORM does not match value of POLLRDNORM 45 #error value of EPOLLRDBAND does not match value of POLLRDBAND 49 #error value of EPOLLERR does not match value of POLLERR 53 #error value of EPOLLHUP does not match value of POLLHUP
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcmore.c | 48 int match; /* match length, 0 if none */ member 70 more->match = 0; 171 if (more->match) 173 match: 180 else if (*s == r && (e - s) >= more->match && !strncmp(s, more->pattern, more->match)) 185 more->match = 0; 227 if (more->match = strlen(more->pattern)) 231 goto match; 288 more->match = 0;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mansearch.c | 270 dbm_page_byarch(&e->match); in manmerge_term() 273 dbm_page_bysect(&e->match); in manmerge_term() 276 dbm_page_byname(&e->match); in manmerge_term() 279 dbm_page_bydesc(&e->match); in manmerge_term() 752 e->match.type = DBM_EXACT; in exprterm() 764 e->match.type = DBM_REGEX; in exprterm() 776 e->match.type = DBM_REGEX; in exprterm() 783 e->match.type = DBM_SUB; in exprterm() 784 e->match.str = val + 1; in exprterm() 795 e->match.re = mandoc_malloc(sizeof(*e->match.re)); in exprterm() [all …]
|
H A D | dbm_map.c | 182 dbm_match(const struct dbm_match *match, const char *str) in dbm_match() argument 184 switch (match->type) { in dbm_match() 186 return strcmp(str, match->str) == 0; in dbm_match() 188 return strcasestr(str, match->str) != NULL; in dbm_match() 190 return regexec(match->re, str, 0, NULL, 0) == 0; in dbm_match()
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 86 static int match(char *s); 105 if (match("sysid=")) { in main() 109 if (match("volid=")) { in main() 113 if (match("volsetid=")) { in main() 117 if (match("pubid=")) { in main() 121 if (match("prepid=")) { in main() 125 if (match("applid=")) { in main() 129 if (match("copyfile=")) { in main() 133 if (match("absfile=")) { in main() 137 if (match("bibfile=")) { in main() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathgetlink.c | 60 int match = 0; in pathgetlink() local 72 if (match) in pathgetlink() 82 if (!match && t < &tmp[sizeof(tmp) - univ_size + 1]) for (n = 0; n < UNIV_MAX; n++) in pathgetlink() 89 match = 1; in pathgetlink()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | deflate.c | 1350 scan++, match++; 1386 } while (*++scan == *++match && *++scan == *++match && 1387 *++scan == *++match && *++scan == *++match && 1388 *++scan == *++match && *++scan == *++match && 1389 *++scan == *++match && *++scan == *++match && 1445 if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1; 1460 } while (*++scan == *++match && *++scan == *++match && 1461 *++scan == *++match && *++scan == *++match && 1462 *++scan == *++match && *++scan == *++match && 1463 *++scan == *++match && *++scan == *++match && [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | error.c | 90 regex_t* match; member 192 if (error_state.match) in setopt() 193 regfree(error_state.match); in setopt() 196 …if ((error_state.match || (error_state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.ma… in setopt() 198 free(error_state.match); in setopt() 199 error_state.match = 0; in setopt() 202 else if (error_state.match) in setopt() 204 free(error_state.match); in setopt() 205 error_state.match = 0; in setopt() 590 …tate.breakpoint && error_state.breakpoint && (!error_state.match || !regexec(error_state.match, s … in errorv()
|
/illumos-gate/usr/src/test/smbsrv-tests/tests/smbtorture/ |
H A D | runst-rpc.ksh | 66 match="-m rpc" 70 match="$match -m $m" 79 $runsmbtor $match -e $excl_file -o $logfile $timeout \
|
H A D | runst-smb2.ksh | 66 match="-m smb2" 70 match="$match -m $m" 79 $runsmbtor $match -e $excl_file -o $logfile $timeout \
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/ |
H A D | testregex.c | 863 …if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION… in matchprint() 868 matchoffprint(match[i].rm_so); in matchprint() 870 matchoffprint(match[i].rm_eo); in matchprint() 947 if (m!=match[i].rm_so || n!=match[i].rm_eo) in matchcheck() 959 if (match[i].rm_so!=-1 || match[i].rm_eo!=-1) in matchcheck() 963 if ((test & TEST_IGNORE_POSITION) && (match[i].rm_so<0 || match[i].rm_eo<0)) in matchcheck() 1125 matchprint(match, nmatch, nsub, NiL, test); in extract() 1255 regmatch_t match[100]; in main() local 1545 if (nmatch >= elementsof(match)) in main() 2125 for (i = 0; i < elementsof(match); i++) in main() [all …]
|
/illumos-gate/usr/src/cmd/latencytop/ |
H A D | table.c | 230 char *match; in parse_sym_trans() local 281 match = begin; in parse_sym_trans() 285 g_hash_table_lookup(symbol_lookup_table, match); in parse_sym_trans() 322 match_dup = lt_strdup(match); in parse_sym_trans() 723 lt_match_t *match; in lt_table_cause_from_stack() local 731 match = (lt_match_t *) in lt_table_cause_from_stack() 734 if (match == NULL) { in lt_table_cause_from_stack() 738 match = (lt_match_t *) in lt_table_cause_from_stack() 743 if (match == NULL) { in lt_table_cause_from_stack() 746 *cause_id = match->lt_mt_cause_id; in lt_table_cause_from_stack() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getopt.c | 132 int match; /* nonzero if opt is matching part of optstring */ in parselong() local 144 match = 1; in parselong() 146 match = (*ip++ == *op++ && match); in parselong() 147 if (match && *ip == ')' && in parselong()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | rebrackloc.awk | 13 match($0, /([Nn]ew)/) { 17 match($0, /[\([] *([[:upper:]]+)/) { 21 match($0, /([][])/) {
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | substring.sh | 267 [[ ${.sh.match[0]} == dfg ]] || err_exit '.sh.match[0] not dfg' 268 [[ ${.sh.match[1]} == d ]] || err_exit '.sh.match[1] not d' 269 [[ ${.sh.match[2]} == g ]] || err_exit '.sh.match[2] not g' 272 [[ ${.sh.match[1]} == ddd ]] || err_exit '.sh.match[1] not ddd' 302 [[ ${.sh.match[@]:2:4} == 'B C D E' ]] || err_exit '${.sh.match[@]:2:4} incorrect' 500 if [[ ax == @(a)* ]] && [[ ${.sh.match[1]:0:${#.sh.match[1]}} != a ]] 591 [[ -v .sh.match[0] ]] || err_exit '[[ -v .sh.match[0] ]] should be true' 592 [[ -v .sh.match[3] ]] || err_exit '[[ -v .sh.match[3] ]] should be true' 593 [[ -v .sh.match[4] ]] && err_exit '[[ -v .sh.match[4] ]] should be false' 620 [[ $(print -v .sh.match) == "$exp" ]] || err_exit '.sh.match not correct with alternations' [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/pid/ |
H A D | tst.retlist.ksh | 41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l` 45 if [ "$match" -ne 12 ]; then 46 echo wrong number of matched probes: $match
|
/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | HdrChk.py | 187 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line) 188 if not match: 192 guard = match.group(1) 247 match = re.search(r'^#include(.*)$', line) 248 if match: 254 match.group(1)):
|