Searched refs:match (Results 76 - 100 of 335) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-query.c44 regvalue(regmatch_t match, char *string) argument
48 if (match.rm_so != match.rm_eo) {
49 result = string + match.rm_so;
50 *(result + (match.rm_eo - match.rm_so)) = '\0';
162 * if there is no-match check for windows jobs
175 /* first match is job-id */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dudpublickey.c126 if (err < 0 && match(line, name)) {
181 match(line, name) function
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHandlePort.cc95 * @return FALSE if the argument does not match this port
98 bool HandlePort::match(uint64_t portWWN) { function in class:HandlePort
99 Trace log("HandlePort::match(wwn)");
108 * @return FALSE if the argument does not match this port
111 bool HandlePort::match(int index) { function in class:HandlePort
112 Trace log("HandlePort::match(index)");
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c76 static char *match(char *, Cmd_info *);
112 (gfile = match(fileptr->ar_longname, cmd_info)) != NULL) {
118 f = stats(gfile, &stbuf); /* gfile is set by match */
250 if (match(fptr->ar_longname, cmd_info) != NULL) {
303 match(next->ar_longname, cmd_info) != NULL ||
304 match(next->ar_rawname, cmd_info) != NULL) {
358 match(next->ar_longname, cmd_info) != NULL ||
359 match(next->ar_rawname, cmd_info) != NULL) {
389 if (match(fileptr->ar_longname, cmd_info) != NULL) {
474 match(nex
529 match(char *file, Cmd_info *cmd_info) function
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c58 static int match; variable
81 match = 0;
109 if (match)
135 if (match)
182 for (match = 0, i = 0; speeds[i].string; i++) {
189 if (!match)
195 for (match = 0, i = 0; speeds[i].string; i++) {
202 if (!match)
207 for (match = 0, i = 0; speeds[i].string; i++) {
303 if (!match) {
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_yp_util.c693 new_merged_mapping(const char *match, argument
704 outtable->dbId = s_strndup(match, strlen(match));
872 * match with the domainLabels[0] case
1044 int match = 0; local
1082 match = 0;
1087 match = 1;
1093 match = 1;
1099 match = 1;
1105 match
[all...]
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetMPLuOidListFromTPG.c109 " - found a match");
128 * no match is found.
141 int match = 0; local
231 match = 0;
245 match = 1;
253 if (match) {
256 " - got a match");
295 * to see if the IDs match.
403 /* search for the number of multipath logical units that match */
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh153 [[ "${out}" == ${tc.output_pattern} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${tc.output_pattern}"), got $(printf "%q\n" "${out}")"
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeString.java92 public boolean match(AttributeString str) { method in class:AttributeString
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_proto.h113 extern boolean_t match(char *, char *);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dccmapid.c147 if (strgrpmatch(name, mp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE))
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c146 regmatch_t match[NMATCH]; local
148 if (!cansplice || regexec(&regc, path, NMATCH, match, 0) != 0)
152 * The first match includes the whole matched expression including the
153 * end of the string. The second match includes the "/" + "isa" and
157 if (match[1].rm_so == -1)
160 /* match[0].rm_eo == strlen(path) */
161 (void) memmove(path + match[1].rm_so, path + match[1].rm_eo,
162 match[0].rm_eo - match[
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c357 static REGWMATCH_T match[10]; local
362 match[0].rm_ep = NULL;
365 if (match[0].rm_ep != NULL) {
367 cp = (wchar_t *)match[0].rm_ep;
372 switch ((result = REGWEXEC(resep, cp, 10, match, flags))) {
378 if (match[0].rm_sp == match[0].rm_ep) {
379 cp = (wchar_t *)match[0].rm_sp;
384 *endpp = (wchar_t *)match[0].rm_sp;
387 match[
[all...]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c42 static int match; variable
74 match = 0;
98 if(match)
118 if(match)
162 match = 0;
166 if(!match)
172 match = 0;
176 if(!match)
269 if(!match)
290 match
[all...]
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregnexec.c118 #define CUT 2 /* no match and no backtrack */
223 * Match_frame_t is for saving and restoring match records
225 * left in the match array. These are the only entries in
226 * the match array that are not otherwise guaranteed to
233 regmatch_t* match; member in struct:__anon2667
239 #define matchcopy(e,x) ((x)->re.group.number?memcpy(matchframe->match,matchframe->save,matchframe->size):(void*)0)
240 #define matchpop(e,x) ((x)->re.group.number?memcpy(matchframe->match,matchframe->save,matchframe->size),stkpop(stkstd):(void*)0)
245 * allocate a frame and push a match onto the stack
265 f->match = m = env->match
1846 regnexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t flags) argument
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c69 zjni_get_matched_string(JNIEnv *env, char *name, regmatch_t *match) argument
72 if (match->rm_so != -1 && match->rm_eo != -1) {
73 char *end = name + match->rm_eo;
76 stringUTF = (*env)->NewStringUTF(env, name + match->rm_so);
382 * NULL to match any name
386 * DATA_TYPE_UNKNOWN to match any type
402 /* Does this pair's name match the given name? */
405 /* Does this pair's type match the given type? */
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c700 * If a match is found a pointer to the ttree_t token will be returned,
705 * If no match, as above except "**hpp" points to the begining of the
767 * Char match, next char.
795 * End of tree walk, no match, return pointer
801 * End of token text, match, return pointer to
1195 token_t *match; local
1302 match = ttree_line_parse(req_tree, &cp, &ep, &hp, &uri->hvalue);
1303 if (match != NULL) {
1304 if (match->act & QUALIFIER) {
1316 if (match
1474 token_t *match; local
[all...]
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfkeyprintf.c153 regmatch_t match[10]; local
297 if (!regexec(fp->re[x], s, elementsof(match), match, 0) && !regsubexec(fp->re[x], s, elementsof(match), match))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dtranslate.c224 match(const char* cat, const char* msg) function
339 if ((!cmd || !(mp = match(cmd, msg))) &&
340 (!cat || !(mp = match(cat, msg))) &&
341 (!error_info.catalog || !(mp = match(error_info.catalog, msg))) &&
342 (!ast.id || !(mp = match(ast.id, msg))) ||
401 sfprintf(sfstderr, "locale %s catalog %s message %d.%d \"%s\" does not match \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, r, msg);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dengine.c52 #define match smat macro
63 #define match lmat macro
74 #define match mmat macro
78 struct match { struct
85 const char *coldp; /* can be no match starting before here */
102 static const char *dissect(struct match *, const char *, const char *,
104 static const char *backref(struct match *, const char *, const char *, sopno,
106 static const char *fast(struct match *, const char *, const char *, sopno,
108 static const char *slow(struct match *, const char *, const char *, sopno,
121 static void print(struct match *, cons
1139 #undef match macro
[all...]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c76 int i, j, match, status; local
88 match = 0;
92 match = 1;
95 if (!match) {
122 char *match; local
125 ((match = strstr(path, frupath)) != NULL) &&
126 ((match + strlen(frupath)) == (path + strlen(path))) &&
127 ((match == path) || (*(match - 1) == '/'))) {
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_matching.c476 pkiDebug("%s: the result is%s a match\n", __FUNCTION__,
487 int match = 0; local
496 match = regexp_match(context, rc, md->subject_dn);
499 match = regexp_match(context, rc, md->issuer_dn);
506 match = regexp_match(context, rc, princ_string);
508 if (match)
526 match = 1;
533 match = 1;
547 pkiDebug("%s: returning match = %d\n", __FUNCTION__, match);
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dpcache.c1016 char **match; /* A pointer to a matching filename string in the cache */ local
1071 match = (char **)bsearch(pc->path->name, node->files, node->nfile,
1073 if(match) {
1083 if(!pc->check_fn || (*match)[0] == PCA_F_WANTED ||
1084 ((*match)[0]==PCA_F_ENIGMA && pc->check_fn(pc->data, pc->path->name))){
1085 (*match)[0] = PCA_F_WANTED;
1088 *(match)[0] = PCA_F_IGNORE;
1330 * If we found a match, look to see if any of its neigbors also match.
1348 char *match local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_asp.c208 ip6_asp_t *match = NULL; local
215 while (match == NULL) {
217 match = aspp;
221 match = aspp;
228 *precedence = match->ip6_asp_precedence;
229 return (match->ip6_asp_label);
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c98 static int match(char *expbuf, int gf);
161 } else if(match(p2, 0)) {
182 } else if(match(p1, 0)) {
229 match(char *expbuf, int gf) function
248 if(match(ipc->r1.re1, 0) == 0) return(0);
256 if(match(ipc->r1.re1, 1) == 0) break;

Completed in 136 milliseconds

1234567891011>>