/dragonfly/etc/devd/ |
H A D | usb.conf | 7 match "bus" "uhub[0-9]+"; 8 match "mode" "host"; 9 match "vendor" "0x0104"; 10 match "product" "0x00be"; 16 match "mode" "host"; 24 match "mode" "host"; 32 match "mode" "host"; 40 match "mode" "host"; 48 match "mode" "host"; 56 match "mode" "host"; [all …]
|
H A D | asus.conf | 7 match "system" "ACPI"; 8 match "subsystem" "ASUS"; 9 match "notify" "0x32"; 14 match "system" "ACPI"; 15 match "subsystem" "ASUS"; 16 match "notify" "0x31"; 21 match "system" "ACPI"; 22 match "subsystem" "ASUS"; 23 match "notify" "0x30"; 29 match "system" "ACPI"; [all …]
|
/dragonfly/etc/ |
H A D | devd.conf | 138 match "system" "DEVFS"; 140 match "type" "CREATE"; 147 match "system" "DEVFS"; 149 match "type" "CREATE"; 156 match "system" "DEVFS"; 158 match "type" "DESTROY"; 186 match "system" "USB"; 188 match "type" "ATTACH"; 253 match "system" "ACPI"; 255 match "notify" "0xcc"; [all …]
|
/dragonfly/contrib/lvm2/dist/daemons/cmirrord/ |
H A D | cluster.c | 219 return match; in get_matching_rq() 338 return match; in find_clog_cpg() 951 if (!match) { in cpg_message_callback() 1137 match->idx = match->idx % DEBUGGING_HISTORY; in cpg_message_callback() 1138 if (match->debugging[match->idx][0] == '\0') in cpg_message_callback() 1141 match->debugging[match->idx]); in cpg_message_callback() 1223 SHORT_UUID(match->name.value), match->lowest_id, in cpg_join_callback() 1259 cluster_postsuspend(match->name.value, match->luid); in cpg_leave_callback() 1312 match->delay = (match->delay > 0) ? match->delay - 1 : 0; in cpg_leave_callback() 1317 match->delay, (dm_list_empty(&match->working_list)) ? in cpg_leave_callback() [all …]
|
/dragonfly/sys/dev/acpica/ |
H A D | acpi_quirk.c | 64 const struct acpi_q_rule *match; member 73 const struct acpi_q_rule *match); 114 switch (match->val) { in aq_match_header() 116 if (aq_strcmp(hdr->OemId, match->x.id) && in aq_match_header() 117 aq_strcmp(hdr->OemTableId, match->y.tid)) in aq_match_header() 121 if (aq_strcmp(hdr->AslCompilerId, match->x.id)) in aq_match_header() 125 if (aq_revcmp(hdr->OemRevision, match->x.op, match->y.rev)) in aq_match_header() 129 if (aq_revcmp(hdr->AslCompilerRevision, match->x.op, match->y.rev)) in aq_match_header() 141 const struct acpi_q_rule *match; in acpi_table_quirks() local 159 for (match = entry->match; match->sig[0] != '\0'; match++) { in acpi_table_quirks() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | dbm.c | 175 assert(match != NULL); in dbm_page_byname() 182 assert(match != NULL); in dbm_page_bysect() 189 assert(match != NULL); in dbm_page_byarch() 190 page_byarch(match); in dbm_page_byarch() 196 assert(match != NULL); in dbm_page_bydesc() 247 match = arg_match; in page_bytitle() 263 match = NULL; in page_bytitle() 291 match = NULL; in page_bytitle() 324 match = arg_match; in page_byarch() 344 match = NULL; in page_byarch() [all …]
|
/dragonfly/lib/libc/stdlib/ |
H A D | getopt_long.c | 221 match = -1; in parse_long_options() 242 match = i; in parse_long_options() 254 match = i; in parse_long_options() 257 long_options[match].has_arg || in parse_long_options() 274 if (match != -1) { /* option found */ in parse_long_options() 288 optopt = long_options[match].val; in parse_long_options() 325 optopt = long_options[match].val; in parse_long_options() 346 *idx = match; in parse_long_options() 347 if (long_options[match].flag) { in parse_long_options() 348 *long_options[match].flag = long_options[match].val; in parse_long_options() [all …]
|
/dragonfly/contrib/nvi2/common/ |
H A D | search.c | 145 regmatch_t match[1]; in f_search() local 224 match[0].rm_so = coff; in f_search() 225 match[0].rm_eo = len; in f_search() 250 match[0].rm_so, match[0].rm_eo); in f_search() 253 rm->cno = match[0].rm_so; in f_search() 286 regmatch_t match[1]; in b_search() local 358 match[0].rm_so = 0; in b_search() 359 match[0].rm_eo = len; in b_search() 387 match[0].rm_so, match[0].rm_eo); in b_search() 396 last = match[0].rm_so++; in b_search() [all …]
|
/dragonfly/contrib/tre/lib/ |
H A D | regexec.c | 285 regamatch_t match; in tre_match() local 291 &match, params, eflags, &eo); in tre_match() 394 return tre_match(tnfa, string, len, type, match->nmatch, match->pmatch, in tre_match_approx() 415 if (match->pmatch->rm_so < 0) in tre_match_approx() 419 if (match->pmatch->rm_eo < 0 || match->pmatch->rm_so > in tre_match_approx() 420 match->pmatch->rm_eo) in tre_match_approx() 422 len = match->pmatch->rm_eo - match->pmatch->rm_so; in tre_match_approx() 432 status = tre_fill_pmatch(match->nmatch, match->pmatch, tnfa->cflags, in tre_match_approx() 438 (eflags & REG_STARTEND) && match->pmatch && match->nmatch > 0) in tre_match_approx() 442 for (i = match->nmatch, p = match->pmatch; i > 0; p++, i--) in tre_match_approx() [all …]
|
H A D | README | 29 tre-match-parallel.c: 32 leftmost longest match and submatches in one pass over the input 34 a leftmost match and longest match is found. 39 tre-match-backtrack.c: 42 the leftmost longest match and submatches. Portions of the 48 tre-match-approx.c: 50 * Finds the leftmost and longest match and submatches in one pass 51 over the input string. The match may contain errors. Each 52 missing, substituted, or extra character in the match increases 53 the cost of the match. A maximum cost for the returned match [all …]
|
/dragonfly/sys/net/ |
H A D | if_media.c | 134 struct ifmedia_entry *match; in ifmedia_add_nodup() local 137 if (match != NULL) in ifmedia_add_nodup() 171 if (match == NULL) { in ifmedia_set() 176 ifm->ifm_cur = match; in ifmedia_set() 195 if (match == NULL) in ifmedia_tryset() 244 if (match == NULL) { in ifmedia_ioctl() 280 ifm->ifm_cur = match; in ifmedia_ioctl() 397 match = NULL; in ifmedia_match() 403 if (match) { in ifmedia_match() 408 match = next; in ifmedia_match() [all …]
|
/dragonfly/contrib/grep/src/ |
H A D | dfasearch.c | 371 match = beg + offset; in EGexecute() 387 || MAX (16, match - beg) < (match - prev_beg) >> 2) in EGexecute() 388 ? match in EGexecute() 483 match = beg + start; in EGexecute() 484 if (match > best_match) in EGexecute() 491 match = ptr; in EGexecute() 515 match + len - ptr, match - beg, in EGexecute() 527 match++; in EGexecute() 530 match - beg, end - match - 1, in EGexecute() 550 if (match < best_match || (match == best_match && len > best_len)) in EGexecute() [all …]
|
/dragonfly/sys/dev/agp/ |
H A D | intel-gtt.c | 163 const struct agp_i810_match *match; member 497 device_set_desc(dev, match->name); in agp_i810_set_desc() 504 const struct agp_i810_match *match; in agp_i810_probe() local 509 match = agp_i810_match(dev); in agp_i810_probe() 510 if (match == NULL) in agp_i810_probe() 532 match->driver->set_desc(dev, match); in agp_i810_probe() 575 switch (sc->match->driver->chiptype) { in agp_i915_get_stolen_size() 842 sc->match = agp_i810_match(dev); in agp_i810_attach() 887 sc->match->driver->dump_regs(dev); in agp_i810_attach() 917 sc->match->driver->deinstall_gatt(dev); in agp_i810_detach() [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_match.c | 555 struct match *match; in add_pattern_mbs() local 558 match = calloc(1, sizeof(*match)); in add_pattern_mbs() 575 struct match *match; in add_pattern_wcs() local 578 match = calloc(1, sizeof(*match)); in add_pattern_wcs() 713 struct match *match; in path_excluded() local 726 for (match = a->inclusions.first; match != NULL; in path_excluded() 727 match = match->next){ in path_excluded() 740 match = match->next){ in path_excluded() 754 match = match->next){ in path_excluded() 1768 struct match *match; in add_owner_name() local [all …]
|
/dragonfly/games/monop/ |
H A D | getinp.c | 49 int i, n_match, match = 0; in getinp() local 60 for (i = 0, match = 18; lst[i]; i++) { in getinp() 61 if ((match+=(n_match=strlen(lst[i]))) > LINE) { in getinp() 63 match = n_match + 8; in getinp() 66 match += 8; in getinp() 75 match += 2; in getinp() 86 match = i; in getinp() 89 return match; in getinp()
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | wps_upnp_web.c | 864 const char *match; in web_get_action() local 991 char *match; in web_connection_parse_subscribe() local 1033 match = "NT:"; in web_connection_parse_subscribe() 1050 match = "HOST:"; in web_connection_parse_subscribe() 1081 match = "SID:"; in web_connection_parse_subscribe() 1087 match = "uuid:"; in web_connection_parse_subscribe() 1212 char *match; in web_connection_parse_unsubscribe() local 1241 match = "HOST:"; in web_connection_parse_unsubscribe() 1250 match = "SID:"; in web_connection_parse_unsubscribe() 1256 match = "uuid:"; in web_connection_parse_unsubscribe() [all …]
|
/dragonfly/contrib/libarchive/cat/ |
H A D | cmdline.c | 118 const struct bsdcat_option *popt, *match = NULL, *match2 = NULL; in bsdcat_getopt() local 232 match2 = match; /* Record up to two matches. */ in bsdcat_getopt() 233 match = popt; in bsdcat_getopt() 243 if (match == NULL) { in bsdcat_getopt() 252 long_prefix, bsdcat->getopt_word, match->name, match2->name); in bsdcat_getopt() 257 if (match->required) { in bsdcat_getopt() 264 long_prefix, match->name); in bsdcat_getopt() 275 long_prefix, match->name); in bsdcat_getopt() 279 return (match->equivalent); in bsdcat_getopt()
|
/dragonfly/usr.bin/tset/ |
H A D | map.c | 184 int match; in mapped() local 186 match = 0; in mapped() 191 match = 1; in mapped() 194 match = (Ospeed == mapp->speed); in mapped() 197 match = (Ospeed >= mapp->speed); in mapped() 200 match = (Ospeed > mapp->speed); in mapped() 203 match = (Ospeed <= mapp->speed); in mapped() 206 match = (Ospeed < mapp->speed); in mapped() 209 if (match) in mapped()
|
/dragonfly/sys/vfs/hammer2/zlib/ |
H A D | hammer2_zlib_deflate.c | 667 match = s->window + cur_match; in longest_match() 694 scan++, match++; in longest_match() 705 if (*scan == *match) scan++; in longest_match() 712 if (match[best_len] != scan_end || in longest_match() 723 scan += 2, match++; in longest_match() 730 } while (*++scan == *++match && *++scan == *++match && in longest_match() 731 *++scan == *++match && *++scan == *++match && in longest_match() 732 *++scan == *++match && *++scan == *++match && in longest_match() 733 *++scan == *++match && *++scan == *++match && in longest_match() 773 if (zmemcmp(s->window + match, in check_match() [all …]
|
/dragonfly/usr.sbin/makefs/hammer2/zlib/ |
H A D | hammer2_zlib_deflate.c | 667 match = s->window + cur_match; in longest_match() 694 scan++, match++; in longest_match() 705 if (*scan == *match) scan++; in longest_match() 712 if (match[best_len] != scan_end || in longest_match() 723 scan += 2, match++; in longest_match() 730 } while (*++scan == *++match && *++scan == *++match && in longest_match() 731 *++scan == *++match && *++scan == *++match && in longest_match() 732 *++scan == *++match && *++scan == *++match && in longest_match() 733 *++scan == *++match && *++scan == *++match && in longest_match() 773 if (zmemcmp(s->window + match, in check_match() [all …]
|
/dragonfly/sbin/hammer2/zlib/ |
H A D | hammer2_zlib_deflate.c | 662 match = s->window + cur_match; in longest_match() 689 scan++, match++; in longest_match() 700 if (*scan == *match) scan++; in longest_match() 707 if (match[best_len] != scan_end || in longest_match() 718 scan += 2, match++; in longest_match() 725 } while (*++scan == *++match && *++scan == *++match && in longest_match() 726 *++scan == *++match && *++scan == *++match && in longest_match() 727 *++scan == *++match && *++scan == *++match && in longest_match() 728 *++scan == *++match && *++scan == *++match && in longest_match() 768 if (zmemcmp(s->window + match, in check_match() [all …]
|
/dragonfly/contrib/libarchive/cpio/ |
H A D | cmdline.c | 118 const struct option *popt, *match = NULL, *match2 = NULL; in cpio_getopt() local 229 match2 = match; /* Record up to two matches. */ in cpio_getopt() 230 match = popt; in cpio_getopt() 240 if (match == NULL) { in cpio_getopt() 249 long_prefix, opt_word, match->name, match2->name); in cpio_getopt() 254 if (match->required) { in cpio_getopt() 261 long_prefix, match->name); in cpio_getopt() 272 long_prefix, match->name); in cpio_getopt() 276 return (match->equivalent); in cpio_getopt()
|
/dragonfly/contrib/libarchive/tar/ |
H A D | cmdline.c | 220 const struct bsdtar_option *popt, *match = NULL, *match2 = NULL; in bsdtar_getopt() local 368 match2 = match; /* Record up to two matches. */ in bsdtar_getopt() 369 match = popt; in bsdtar_getopt() 379 if (match == NULL) { in bsdtar_getopt() 388 long_prefix, bsdtar->getopt_word, match->name, match2->name); in bsdtar_getopt() 393 if (match->required) { in bsdtar_getopt() 400 long_prefix, match->name); in bsdtar_getopt() 411 long_prefix, match->name); in bsdtar_getopt() 415 return (match->equivalent); in bsdtar_getopt()
|
/dragonfly/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 54 int match = NO; in login_access() local 67 while (!match && fgets(line, sizeof(line), fp)) { in login_access() 94 match = (list_match(froms, from, from_match) in login_access() 101 return (match == 0 || (line[0] == '+')); in login_access() 111 int match = NO; in list_match() local 123 if ((match = (*match_fn)(tok, item)) != 0) /* YES */ in list_match() 128 if (match != NO) { in list_match() 132 return (match); in list_match()
|
/dragonfly/usr.bin/xargs/ |
H A D | strnsubst.c | 34 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) in strnsubst() argument 51 match = NULL; in strnsubst() 61 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { in strnsubst() 67 this = strstr(s1, match); in strnsubst() 71 strlen(match) + 1) > maxsize) { in strnsubst() 78 s1 = this + strlen(match); in strnsubst()
|