/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 287 * space otherwise. If the match were a function 299 CplMatch *match; /* The container of the new match */ local 346 * Record the new match. 348 match = cpl->result.matches + cpl->result.nmatch++; 349 match->completion = string; 350 match->suffix = string + word_end - word_start; 351 match->type_suffix = type_suffix; 581 * If there is more than one match, discard the continuation suffix. 976 const char *completion; /* The completion string of the last unique match */ 1002 CplMatch *match = matches + src; local 1053 CplMatch *match = result->matches + i; local 1130 CplMatch *match = result->matches + m; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 220 if (e->element.match.fmt != NULL) 221 free_mapping_format(e->element.match.fmt); 222 e->element.match.fmt = NULL; 223 for (i = 0; i < e->element.match.numItems; i++) 224 free_mapping_item(&e->element.match.item[i]); 225 e->element.match.numItems = 0; 226 if (e->element.match.item != NULL) 227 free(e->element.match.item); 228 e->element.match.item = NULL; 544 if (fmt->match 1946 bool_t match; local [all...] |
H A D | ldap_val.c | 68 new[i].match.string = sdup(myself, T, 69 m[i].match.string); 70 if (new[i].match.string == 0 && m[i].match.string != 0) 74 new[i].match.single.lo = 75 am(myself, m[i].match.single.numRange * 76 sizeof (new[i].match.single.lo[0])); 77 new[i].match.single.hi = 78 am(myself, m[i].match.single.numRange * 79 sizeof (new[i].match 1759 bool_t match; local [all...] |
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | ventel.c | 139 gobble(char match) argument 159 } while (c != '\n' && c != match); 161 return (c == match);
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | deflate.c | 25 * string matches are performed only when the previous match ends. So it 29 * is used to find longer strings when a small match has been found. 102 local void check_match OF((deflate_state *s, IPos start, IPos match, 129 ush good_length; /* reduce lazy search above this match length */ 130 ush max_lazy; /* do not perform lazy search above this match length */ 131 ush nice_length; /* quit search above this match length */ 990 * Initialize the "longest match" routines for a new zlib stream 1021 * Set match_start to the longest match starting at the given string and 1027 * OUT assertion: the match length is not greater than s->lookahead. 1030 /* For 80x86 and 680x0, an optimized version will be provided in match 1039 register Bytef *match; /* matched string */ local 1186 register Bytef *match; /* matched string */ local [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | deflate.c | 18 * string matches are performed only when the previous match ends. So it 22 * is used to find longer strings when a small match has been found. 96 local void check_match OF((deflate_state *s, IPos start, IPos match, 118 ush good_length; /* reduce lazy search above this match length */ 119 ush max_lazy; /* do not perform lazy search above this match length */ 120 ush nice_length; /* quit search above this match length */ 1104 * Initialize the "longest match" routines for a new zlib stream 1136 * Set match_start to the longest match starting at the given string and 1142 * OUT assertion: the match length is not greater than s->lookahead. 1145 /* For 80x86 and 680x0, an optimized version will be provided in match 1154 register Bytef *match; /* matched string */ local 1302 register Bytef *match; /* matched string */ local [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | expr.c | 217 boolean_t match; member in struct:matchargs 228 args.match = B_FALSE; 233 return (args.match); 260 args_p->match = B_TRUE;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 125 #define CMI_MATCH_VENDOR 0 /* Just match on vendor */ 262 cmi_cpu_match(cmi_hdl_t hdl1, cmi_hdl_t hdl2, int match) argument 264 if (match >= CMI_MATCH_VENDOR && 268 if (match >= CMI_MATCH_FAMILY && 272 if (match >= CMI_MATCH_MODEL && 276 if (match >= CMI_MATCH_STEPPING && 287 int match = *((int *)arg2); local 290 if (cmi_cpu_match(thdl, whdl, match)) { 300 cmi_search_list(cmi_hdl_t hdl, int match) argument 307 cmi_hdl_walk(cmi_search_list_cb, (void *)hdl, (void *)&match, 317 cmi_load_module(cmi_hdl_t hdl, int match, int *chosenp) argument [all...] |
H A D | cms.c | 69 #define CMS_MATCH_VENDOR 0 /* Just match on vendor */ 242 cms_cpu_match(cmi_hdl_t hdl1, cmi_hdl_t hdl2, int match) argument 244 if (match >= CMS_MATCH_VENDOR && 248 if (match >= CMS_MATCH_FAMILY && 252 if (match >= CMS_MATCH_MODEL && 256 if (match >= CMS_MATCH_STEPPING && 267 int match = *((int *)arg2); local 270 if (cms_cpu_match(thdl, whdl, match)) { 284 cms_search_list(cmi_hdl_t hdl, int match) argument 291 cmi_hdl_walk(cms_search_list_cb, (void *)hdl, (void *)&match, 309 cms_load_module(cmi_hdl_t hdl, int match, int *chosenp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | mc.h | 112 uint64_t match; /* Physic Address is located at this bank. */ member in struct:mc_bank
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 86 static int match(char *s); 105 if (match("sysid=")) { 109 if (match("volid=")) { 113 if (match("volsetid=")) { 117 if (match("pubid=")) { 121 if (match("prepid=")) { 125 if (match("applid=")) { 129 if (match("copyfile=")) { 133 if (match("absfile=")) { 137 if (match("bibfil 474 match(char *s) function [all...] |
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | table.c | 230 char *match; local 281 match = begin; 285 g_hash_table_lookup(symbol_lookup_table, match); 322 match_dup = lt_strdup(match); 605 * file defines some causes and symbols that match those causes. 723 lt_match_t *match; local 731 match = (lt_match_t *) 734 if (match == NULL) { 738 match = (lt_match_t *) 743 if (match [all...] |
/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | HdrChk.py | 121 # a match for every possibly valid copyright 187 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line) 188 if not match: 192 guard = match.group(1) 207 err(output, "Header guard does not match " 247 match = re.search(r'^#include(.*)$', line) 248 if match: 254 match.group(1)):
|
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_diff.c | 206 int match = mdd_node_list_match(md1, md2, elem, md2nodesp, local 209 if (match == MD_DIFF_NOMATCH) 215 mde_match2_scr[nmatch] = md2nodesp[match]; 218 /* mark that this match has been recorded */ 219 seenp[match] = 1; 321 * considered matching based on the match criteria passed in to 413 * nodes. A duplicate is determined based on the specified match 422 int match; local 430 match = mdd_node_list_match(mdp, mdp, elem, nodesp, NULL, 433 if (match ! 455 int match; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | substring.sh | 137 then err_exit "$pattern does not match $string" 240 if [[ ${@/*\/@(*)/${.sh.match[1]}} != 'bar yes done' ]] 241 then err_exit '.sh.match not working with $@' 247 if [[ ${var[@]/*\/@(*)/${.sh.match[1]}} != 'bar yes done' ]] 248 then err_exit '.sh.match not working with ${var[@]}' 271 [[ ${.sh.match[0]} == dfg ]] || err_exit '.sh.match[0] not dfg' 272 [[ ${.sh.match[1]} == d ]] || err_exit '.sh.match[1] not d' 273 [[ ${.sh.match[ [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | setmode.c | 285 int match; local 299 match = 0; 302 match++; 309 match++; 316 match++; 323 match++; 328 if (!match) {
|
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/ |
H A D | SimpleChat.java | 272 TargetListElem match = this.findMatching( serviceName); // probably doesn't handle near-duplicates well. 274 if ( match == null) 282 TargetListElem match = this.findMatching( serviceName); // probably doesn't handle near-duplicates well. 284 if ( match != null) 285 this.removeElement( match); 294 protected TargetListElem findMatching( String match) argument 297 if ( match.equals( this.getElementAt( i).toString()))
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | error.c | 90 regex_t* match; member in struct:State_s 119 "match", OPT_MATCH, 192 if (error_state.match) 193 regfree(error_state.match); 196 if ((error_state.match || (error_state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.match, v, REG_EXTENDED|REG_LENIENT)) 198 free(error_state.match); 199 error_state.match = 0; 202 else if (error_state.match) [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | expr.c | 85 "[+match\b \astring\a \aexpr\a?Equivalent to \astring\a \b:\b " 223 if (cp[1] == 'a' && !strcmp(cp, "match")) 301 regmatch_t match[2]; local 314 if (!(n = regexec(&re, cp, elementsof(match), match, 0))) 319 if (match[1].rm_so >= 0) 321 np->str = cp + match[1].rm_so; 322 np->str[match[1].rm_eo - match[1].rm_so] = 0; 331 np->num = match[ [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 11 * network numbers) and daemon process names. When a match is found the 138 /* table_match - match table entries with (daemon, client) pair */ 148 int match = NO; local 161 while (match == NO && xgets(sv_list, sizeof(sv_list), fp) != 0) { 173 match = list_match(sv_list, request, server_match) 180 if (match) { 194 return (match); 197 /* list_match - match a request against a list of patterns with exceptions */ 209 * a match, look for an "EXCEPT" list and recurse to determine whether 210 * the match i [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | findstack_subr.c | 74 * value that will never match fsi_tstate. 115 boolean_t match = (strcmp(obj->obj_name, smp->sm_name) == 0); local 124 * It doesn't match the name, but -- for convenience -- we want to 130 if (!match && (s = strstr(obj->obj_name, suffix)) != NULL) { 138 match = (strncmp(smp->sm_name, obj->obj_name, len) == 0 && 144 * want to match against anything that would match libc.so.1. (This 148 if (!match && strstr(obj->obj_fullname, "/libc/") != NULL) { 157 if (match) {
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 194 boolean match; // true if opt is matching part of optstring 212 match = true; 216 match = (ic == oc && match); 220 if (match && ip < il && ic == ')' && (op >= ol ||
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 532 DPRINTF(MC_CMD_DEBUG, ("MCIOC_SEG: seg not match, " 584 * return 0: mask, match, size, and devgrpid, 604 mcbank.match = bank->match; 630 DPRINTF(MC_CMD_DEBUG, ("MCIOC_DEVGRP: not match, id " 836 mc_add_bank(int bankid, uint64_t mask, uint64_t match, uint64_t size, argument 852 banki->match = match; 853 banki->base = match; 858 DPRINTF(MC_CNSTRC_DEBUG, ("mc_add_bank: id %d mask 0x%lx match 1009 mc_add_xor_banks(struct mctrl_info *mctrl, uint64_t mask, uint64_t match, int interleave) argument 1076 mc_add_dgrp_banks(uint64_t bankid, uint64_t dgrpid, uint64_t mask, uint64_t match, int interleave) argument 1133 uint64_t mcid, bankid, interleave, mask, match; local [all...] |
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | zone.c | 42 int *extended_error, int match, int doi, const bslabel_t *label, int flags) 58 zd.match = match; 40 zone_create(const char *name, const char *root, const struct priv_set *privs, const char *rctls, size_t rctlsz, const char *zfs, size_t zfssz, int *extended_error, int match, int doi, const bslabel_t *label, int flags) argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_onexit.c | 175 zfs_onexit_action_node_t *match; local 181 match = (zfs_onexit_action_node_t *)(uintptr_t)action_handle; 184 if (match == ap)
|