Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 68) sorted by relevance

123

/titanic_41/usr/src/lib/libtecla/common/
H A Dcplmatch.c188 cpl->result.matches = NULL; in new_WordCompletion()
215 cpl->result.matches = (CplMatch *) malloc(sizeof(cpl->result.matches[0]) * in new_WordCompletion()
217 if(!cpl->result.matches) { in new_WordCompletion()
245 if(cpl->result.matches) { in del_WordCompletion()
246 free(cpl->result.matches); in del_WordCompletion()
247 cpl->result.matches = NULL; in del_WordCompletion()
318 CplMatch *matches = (CplMatch *) realloc(cpl->result.matches, in cpl_add_completion() local
319 sizeof(cpl->result.matches[0]) * needed); in cpl_add_completion()
320 if(!matches) { in cpl_add_completion()
326 cpl->result.matches = matches; in cpl_add_completion()
[all …]
H A Dkeytab.c483 int nc, KeySym **matches, int *nmatch) in _kt_lookup_keybinding() argument
491 if(!kt || !binary_keyseq || !matches || !nmatch || nc < 0) { in _kt_lookup_keybinding()
509 *matches = kt->table + first; in _kt_lookup_keybinding()
513 *matches = NULL; in _kt_lookup_keybinding()
H A Dkeytab.h132 int nc, KeySym **matches, int *nmatch);
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c154 regmatch_t matches[10]; in parse_lpd_job() local
165 if (regexec(&job_re, line, (size_t)5, matches, 0) == REG_NOMATCH) { in parse_lpd_job()
166 if (regexec(&wjob_re, line, (size_t)10, matches, 0) in parse_lpd_job()
177 if ((s = regvalue(matches[1], line)) == NULL) in parse_lpd_job()
182 if ((s = regvalue(matches[4], line)) == NULL) in parse_lpd_job()
189 if ((s = regvalue(matches[7], line)) == NULL) in parse_lpd_job()
194 if ((s = regvalue(matches[8], line)) == NULL) in parse_lpd_job()
208 if ((s = regvalue(matches[1], line)) == NULL) in parse_lpd_job()
213 if ((s = regvalue(matches[2], line)) == NULL) in parse_lpd_job()
218 if ((s = regvalue(matches[3], line)) == NULL) in parse_lpd_job()
[all …]
/titanic_41/usr/src/lib/libadm/common/
H A Dgetdev.c160 static int matches(char *, char *, int);
880 failed = !matches(ent->alias, p->cmp, p->fcn); in matchallcriteria()
884 failed = !matches(ent->cdevice, p->cmp, p->fcn); in matchallcriteria()
888 failed = !matches(ent->bdevice, p->cmp, p->fcn); in matchallcriteria()
892 failed = !matches(ent->pathname, p->cmp, p->fcn); in matchallcriteria()
901 if (!matches(q->val, p->cmp, p->fcn)) in matchallcriteria()
980 matched = matches(ent->alias, p->cmp, p->fcn); in matchanycriteria()
984 matched = matches(ent->cdevice, p->cmp, p->fcn); in matchanycriteria()
988 matched = matches(ent->bdevice, p->cmp, p->fcn); in matchanycriteria()
992 matched = matches(ent->pathname, p->cmp, p->fcn); in matchanycriteria()
[all …]
/titanic_41/usr/src/common/lzma/
H A DLzmaEnc.c305 UInt32 matches[LZMA_MATCH_LEN_MAX * 2 + 2 + 1]; member
840 numPairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matches); in ReadMatchDistances()
847 printf("%2d %6d | ", p->matches[i], p->matches[i + 1]); in ReadMatchDistances()
852 lenRes = p->matches[numPairs - 2]; in ReadMatchDistances()
856 UInt32 distance = p->matches[numPairs - 1] + 1; in ReadMatchDistances()
954 UInt32 *matches; in GetOptimum() local
1011 matches = p->matches; in GetOptimum()
1014 *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; in GetOptimum()
1098 while (len > matches[offs]) in GetOptimum()
1103 UInt32 distance = matches[offs + 1]; in GetOptimum()
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dadm.c406 getaction(char *cmd, struct keyword *matches, int *retval) in getaction() argument
411 if (! cmd || ! matches || ! retval || in getaction()
416 while (matches->match) { in getaction()
425 if ((((int)strlen(matches->match)) >= actlen) && in getaction()
426 (actlen >= matches->num_match) && in getaction()
429 (strncmp(matches->match, cmd, actlen) == 0)) { in getaction()
430 *retval = matches->ret_code; /* Found our match */ in getaction()
433 matches++; /* Next match string/struct */ in getaction()
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DExpression.java255 if (m.matches()) { in valueOf()
431 if (m.matches()) { in valueOf()
582 if (m.matches()) { in valueOf()
/titanic_41/usr/src/cmd/hal/hald/
H A Ddevice_store.c343 GSList *matches = NULL; in hal_device_store_match_multiple_key_value_string() local
362 matches = g_slist_prepend (matches, d); in hal_device_store_match_multiple_key_value_string()
365 return matches; in hal_device_store_match_multiple_key_value_string()
/titanic_41/usr/src/pkg/transforms/
H A Dpublish33 # if the "name" property matches the regex "variant.arch",
37 # ...in other words, if *any* occurrence of "value" matches $(ARCH),
/titanic_41/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.dlclose1.ksh.out1 dtrace: failed to match test_prov*:::: No probe matches description
/titanic_41/usr/src/uts/sparc/v9/ml/
H A Dcrt.s58 ! see if key matches: if not, structure value not expected,
83 ! see if key matches: if not, structure value not expected,
/titanic_41/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c295 regmatch_t matches[REGEX_ZFS_NAME_NGROUPS]; in set_name_in_DatasetBean() local
298 regexec(&re, name, REGEX_ZFS_NAME_NGROUPS, matches, 0) != 0) { in set_name_in_DatasetBean()
308 env, name, matches + REGEX_ZFS_NAME_POOL_GROUP); in set_name_in_DatasetBean()
310 env, name, matches + REGEX_ZFS_NAME_PARENT_GROUP); in set_name_in_DatasetBean()
312 env, name, matches + REGEX_ZFS_NAME_BASE_GROUP); in set_name_in_DatasetBean()
H A Dlibzfs_jni_pool.c490 regmatch_t matches[2]; in populate_DiskVirtualDeviceBean() local
495 if (regexec(&re, path, 2, matches, 0) == 0) { in populate_DiskVirtualDeviceBean()
496 regmatch_t *match = matches + 1; in populate_DiskVirtualDeviceBean()
512 if (regexec(&re, path, 2, matches, 0) == 0) { in populate_DiskVirtualDeviceBean()
513 regmatch_t *match = matches + 1; in populate_DiskVirtualDeviceBean()
/titanic_41/usr/src/cmd/grep_xpg4/
H A Dgrep.c808 long long matches = 0; /* Number of matching lines */ in grep() local
872 matches); in grep()
1116 matches++; in grep()
1167 (void) printf("%lld\n", matches); in grep()
1170 return (matches != 0); in grep()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_tab.c399 size_t matches, index; in mdb_tab_insert() local
416 matches = mdb_tab_size(mcp); in mdb_tab_insert()
417 if (matches == 1) { in mdb_tab_insert()
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c426 int matches; in _findRegions() local
438 matches = 0; in _findRegions()
443 matches++; in _findRegions()
447 if (matches > bestFit) { in _findRegions()
448 bestFit = matches; in _findRegions()
/titanic_41/usr/src/cmd/ssh/etc/
H A Dssh_config19 # Example (matches compiled in defaults):
/titanic_41/usr/src/cmd/mdb/test/
H A DREADME18 should pass if and only if its standard ouput matches its standar error.
/titanic_41/usr/src/cmd/ldap/common/
H A Dldapsearch.c613 int rc, first, matches; local
804 matches = 0;
826 matches++;
912 matches = 0;
916 matches++;
927 printf( gettext("%d matches\n"), matches );
/titanic_41/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c252 int matches; in sysevent_iochannel_data() local
271 matches = sscanf(s, "%s %s %s %s %s %s %d", class, subclass, in sysevent_iochannel_data()
275 if (matches < 3) { in sysevent_iochannel_data()
/titanic_41/usr/src/tools/codesign/
H A Dcreds25 # process. The first regular expression that matches is used to select the
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dssh-gss.c303 int present, matches = 0; in ssh_gssapi_modify_kex() local
314 matches += (present) ? 1 : 0; in ssh_gssapi_modify_kex()
317 if (matches == kex->mechs->count) in ssh_gssapi_modify_kex()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_tkr.c505 int matches = 0; in meta_set_take() local
928 matches++; in meta_set_take()
934 matches++; in meta_set_take()
938 if (numsides > 0 && (numsides - matches) == 0) { in meta_set_take()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dmagic.c489 regmatch_t matches[10]; in ckmagic() local
675 …ec(ep->value.sub, p, elementsof(matches), matches, 0)) || (c = regsubexec(ep->value.sub, p, elemen… in ckmagic()
683 …ec(ep->value.sub, p, elementsof(matches), matches, 0)) || (c = regsubexec(ep->value.sub, p, elemen… in ckmagic()

123