/netbsd-src/external/mpl/bind/dist/tests/dns/ |
H A D | geoip_test.c | 102 /* Check if an MMDB entry of a given subtype exists for the given IP */ 103 entry_exists(dns_geoip_subtype_t subtype, const char *addr) { 117 db = geoip2_database(&geoip, fix_subtype(&geoip, subtype)); in entry_exists() 130 dns_geoip_subtype_t subtype; in ISC_RUN_TEST_IMPL() 134 subtype = dns_geoip_city_name; in ISC_RUN_TEST_IMPL() 136 assert_true(entry_exists(subtype, "10.53.0.1")); in ISC_RUN_TEST_IMPL() 137 assert_false(entry_exists(subtype, "192.0.2.128")); in ISC_RUN_TEST_IMPL() 138 assert_true(entry_exists(subtype, "fd92:7065:b8e:ffff::1")); in ISC_RUN_TEST_IMPL() 139 assert_false(entry_exists(subtype, "::1")); in ISC_RUN_TEST_IMPL() 141 subtype in ISC_RUN_TEST_IMPL() 104 entry_exists(dns_geoip_subtype_t subtype,const char * addr) entry_exists() argument 131 dns_geoip_subtype_t subtype; ISC_RUN_TEST_IMPL() local 172 do_lookup_string(const char * addr,dns_geoip_subtype_t subtype,const char * string) do_lookup_string() argument 190 do_lookup_string_v6(const char * addr,dns_geoip_subtype_t subtype,const char * string) do_lookup_string_v6() argument [all...] |
/netbsd-src/external/mpl/bind/dist/lib/isccfg/ |
H A D | aclconf.c | 290 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_t subtype, 293 return subtype; in get_subtype() 296 switch (subtype) { in get_subtype() 306 return subtype; in get_subtype() 316 return subtype; in get_subtype() 326 return subtype; in get_subtype() 336 return subtype; in get_subtype() 344 return subtype; in get_subtype() 352 return subtype; in get_subtype() 368 return subtype; in get_subtype() 291 get_subtype(const cfg_obj_t * obj,isc_log_t * lctx,dns_geoip_subtype_t subtype,const char * dbname) get_subtype() argument 480 dns_geoip_subtype_t subtype; parse_geoip_element() local [all...] |
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/ |
H A D | aclconf.c | 293 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_t subtype, in get_subtype() argument 296 return (subtype); in get_subtype() 299 switch (subtype) { in get_subtype() 309 return (subtype); in get_subtype() 319 return (subtype); in get_subtype() 329 return (subtype); in get_subtype() 339 return (subtype); in get_subtype() 347 return (subtype); in get_subtype() 355 return (subtype); in get_subtype() 371 return (subtype); in get_subtype() [all …]
|
/netbsd-src/dist/pf/sbin/pfctl/ |
H A D | pfctl_osfp.c | 100 char *class, *version, *subtype, *desc, *tcpopts; in pfctl_file_fingerprints() local 109 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints() 120 if (subtype) in pfctl_file_fingerprints() 121 free(subtype); in pfctl_file_fingerprints() 126 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints() 164 GET_STR(subtype, "OS subtype", 0) || in pfctl_file_fingerprints() 244 strlcpy(fp.fp_os.fp_subtype_nm, subtype, in pfctl_file_fingerprints() 258 if (subtype) in pfctl_file_fingerprints() 259 free(subtype); in pfctl_file_fingerprints() 342 int class, version, subtype; in pfctl_get_fingerprint() local [all …]
|
/netbsd-src/external/mpl/bind/dist/lib/dns/ |
H A D | geoip2.c | 63 uint16_t subtype; member 104 fix_subtype(const dns_geoip_databases_t *geoip, dns_geoip_subtype_t subtype) { in fix_subtype() argument 105 dns_geoip_subtype_t ret = subtype; in fix_subtype() 107 switch (subtype) { in fix_subtype() 154 dns_geoip_subtype_t subtype) { in geoip2_database() argument 155 switch (subtype) { in geoip2_database() 226 dns_geoip_subtype_t subtype; in dns_geoip_match() local 234 subtype = fix_subtype(geoip, elt->subtype); in dns_geoip_match() 235 db = geoip2_database(geoip, subtype); in dns_geoip_match() [all...] |
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | geoip2.c | 70 uint16_t subtype; member 111 fix_subtype(const dns_geoip_databases_t *geoip, dns_geoip_subtype_t subtype) { in fix_subtype() argument 112 dns_geoip_subtype_t ret = subtype; in fix_subtype() 114 switch (subtype) { in fix_subtype() 161 dns_geoip_subtype_t subtype) { in geoip2_database() argument 162 switch (subtype) { in geoip2_database() 233 dns_geoip_subtype_t subtype; in dns_geoip_match() local 241 subtype = fix_subtype(geoip, elt->subtype); in dns_geoip_match() 242 db = geoip2_database(geoip, subtype); in dns_geoip_match() 252 switch (subtype) { in dns_geoip_match()
|
/netbsd-src/sbin/nvmectl/ |
H A D | logpage.c | 511 typedef void (*subprint_fn_t)(void *buf, uint16_t subtype, uint8_t res, 545 print_hgst_info_subpage_gen(void *buf, uint16_t subtype __unused, uint32_t size, in print_hgst_info_subpage_gen() 570 print_hgst_info_write_errors(void *buf, uint16_t subtype, uint8_t res __unused, in print_hgst_info_write_errors() argument 586 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv)); in print_hgst_info_write_errors() 590 print_hgst_info_read_errors(void *buf, uint16_t subtype, uint8_t res __unused, in print_hgst_info_read_errors() argument 607 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv)); in print_hgst_info_read_errors() 611 print_hgst_info_verify_errors(void *buf, uint16_t subtype, uint8_t res __unused, in print_hgst_info_verify_errors() argument 626 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv)); in print_hgst_info_verify_errors() 630 print_hgst_info_self_test(void *buf, uint16_t subtype __unused, uint8_t res __unused, in print_hgst_info_self_test() 669 print_hgst_info_background_scan(void *buf, uint16_t subtype __unused, in print_hgst_info_background_scan() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Dbe.h | 77 Vector<int> *type, Vector<int> *subtype, 114 char *dbeComposeFilterClause (int dbevindex, int type, int subtype, 131 void dbeSetSelObj (int dbevindex, Obj sel_obj, int type, int subtype); 133 Obj dbeGetSelObj (int dbevindex, int type, int subtype); 135 int dbeGetSelIndex (int dbevindex, Obj sel_obj, int type, int subtype); 146 Vector<void*> *dbeGetTotals (int dbevindex, int dsptype, int subtype); 155 char *dbePrintData (int dbevindex, int type, int subtype, char *printer, 157 int dbeSetFuncData (int dbevindex, Obj sel_obj, int type, int subtype); 158 Vector<void*> *dbeGetFuncList (int dbevindex, int type, int subtype); 159 Vector<void*> *dbeGetFuncListV2 (int dbevindex, int mtype, Obj sel_obj, int type, int subtype); [all …]
|
H A D | DbeView.h | 459 MetricList *get_metric_list (int dsptype, int subtype); 556 Hist_data *get_data (MetricList *mlist, Histable *selObj, int type, int subtype); 557 int get_sel_ind (Histable *selObj, int type, int subtype); 561 int subtype, // used for memory objects only 569 int subtype, // used for memory objects only 620 MemorySpace *getMemorySpace (int subtype); 621 char *get_mobj_name (int subtype); 623 Hist_data *get_indxobj_data (int subtype); 624 void set_indxobj_sel (int subtype, int sel_ind); 625 Histable *get_indxobj_sel (int subtype);
|
H A D | DbeView.cc | 570 DbeView::get_metric_list (int dsptype, int subtype) in get_metric_list() argument 580 if (subtype != 0) in get_metric_list() 587 Metric *m1 = get_compare_metric (m, subtype); in get_metric_list() 1300 DbeView::get_sel_ind (Histable *selObj, int type, int subtype) in get_sel_ind() argument 1342 data = get_indxobj_data (subtype); in get_sel_ind() 1406 DbeView::get_data (MetricList *mlist, Histable *selObj, int type, int subtype) in get_data() argument 1414 func_data = get_hist_data (mlist, Histable::FUNCTION, subtype, Hist_data::ALL); in get_data() 1419 line_data = get_hist_data (mlist, Histable::LINE, subtype, Hist_data::ALL); in get_data() 1424 pc_data = get_hist_data (mlist, Histable::INSTR, subtype, Hist_data::ALL); in get_data() 1428 dobj_data = get_hist_data (mlist, Histable::DOBJECT, subtype, in get_data() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | Dbe.h | 77 Vector<int> *type, Vector<int> *subtype, 114 char *dbeComposeFilterClause (int dbevindex, int type, int subtype, 131 void dbeSetSelObj (int dbevindex, Obj sel_obj, int type, int subtype); 133 Obj dbeGetSelObj (int dbevindex, int type, int subtype); 135 int dbeGetSelIndex (int dbevindex, Obj sel_obj, int type, int subtype); 146 Vector<void*> *dbeGetTotals (int dbevindex, int dsptype, int subtype); 155 char *dbePrintData (int dbevindex, int type, int subtype, char *printer, 157 int dbeSetFuncData (int dbevindex, Obj sel_obj, int type, int subtype); 158 Vector<void*> *dbeGetFuncList (int dbevindex, int type, int subtype); 159 Vector<void*> *dbeGetFuncListV2 (int dbevindex, int mtype, Obj sel_obj, int type, int subtype); [all …]
|
H A D | DbeView.h | 459 MetricList *get_metric_list (int dsptype, int subtype); 556 Hist_data *get_data (MetricList *mlist, Histable *selObj, int type, int subtype); 557 int get_sel_ind (Histable *selObj, int type, int subtype); 561 int subtype, // used for memory objects only 569 int subtype, // used for memory objects only 620 MemorySpace *getMemorySpace (int subtype); 621 char *get_mobj_name (int subtype); 623 Hist_data *get_indxobj_data (int subtype); 624 void set_indxobj_sel (int subtype, int sel_ind); 625 Histable *get_indxobj_sel (int subtype);
|
H A D | DbeView.cc | 570 DbeView::get_metric_list (int dsptype, int subtype) in get_metric_list() argument 580 if (subtype != 0) in get_metric_list() 587 Metric *m1 = get_compare_metric (m, subtype); in get_metric_list() 1300 DbeView::get_sel_ind (Histable *selObj, int type, int subtype) in get_sel_ind() argument 1342 data = get_indxobj_data (subtype); in get_sel_ind() 1406 DbeView::get_data (MetricList *mlist, Histable *selObj, int type, int subtype) in get_data() argument 1414 func_data = get_hist_data (mlist, Histable::FUNCTION, subtype, Hist_data::ALL); in get_data() 1419 line_data = get_hist_data (mlist, Histable::LINE, subtype, Hist_data::ALL); in get_data() 1424 pc_data = get_hist_data (mlist, Histable::INSTR, subtype, Hist_data::ALL); in get_data() 1428 dobj_data = get_hist_data (mlist, Histable::DOBJECT, subtype, in get_data() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | optabs-tree.c | 39 enum optab_subtype subtype) in optab_for_tree_code() argument 93 if (subtype == optab_vector) in optab_for_tree_code() 96 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 105 if (subtype == optab_vector) in optab_for_tree_code() 108 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 115 if (subtype == optab_vector) in optab_for_tree_code() 118 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 125 if (subtype == optab_vector) in optab_for_tree_code() 128 gcc_assert (subtype == optab_scalar); in optab_for_tree_code()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | optabs-tree.cc | 39 enum optab_subtype subtype) in optab_for_tree_code() argument 93 if (subtype == optab_vector) in optab_for_tree_code() 96 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 105 if (subtype == optab_vector) in optab_for_tree_code() 108 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 115 if (subtype == optab_vector) in optab_for_tree_code() 118 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 125 if (subtype == optab_vector) in optab_for_tree_code() 128 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 146 if (subtype == optab_vector_mixed_sign) in optab_for_tree_code()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sparc/ |
H A D | niagara7.md | 93 (eq_attr "subtype" "regular")))) 99 (eq_attr "subtype" "prefetch")) 125 (eq_attr "subtype" "fpu,maxmin")))) 155 (eq_attr "subtype" "addsub64,other")) 157 (eq_attr "subtype" "double,single")) 159 (eq_attr "subtype" "double,single")))) 166 (eq_attr "subtype" "cmask")) 168 (eq_attr "subtype" "movstouw")))) 180 (eq_attr "subtype" "alignaddr")))) 188 (eq_attr "subtype" "movxtod")) [all …]
|
H A D | m8.md | 125 (eq_attr "subtype" "regular")))) 136 (eq_attr "subtype" "prefetch")) 170 (eq_attr "subtype" "fpu")))) 209 (eq_attr "subtype" "maxmin,cmask,other")) 211 (eq_attr "subtype" "single,movstouw")) 213 (eq_attr "subtype" "single")))) 221 (eq_attr "subtype" "alignaddr")) 229 (eq_attr "subtype" "double,movxtod,movdtox")) 231 (eq_attr "subtype" "double")) 233 (eq_attr "subtype" "addsub64")))) [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sparc/ |
H A D | niagara7.md | 93 (eq_attr "subtype" "regular")))) 99 (eq_attr "subtype" "prefetch")) 125 (eq_attr "subtype" "fpu,maxmin")))) 155 (eq_attr "subtype" "addsub64,other")) 157 (eq_attr "subtype" "double,single")) 159 (eq_attr "subtype" "double,single")))) 166 (eq_attr "subtype" "cmask")) 168 (eq_attr "subtype" "movstouw")))) 180 (eq_attr "subtype" "alignaddr")))) 188 (eq_attr "subtype" "movxtod")) [all …]
|
H A D | m8.md | 125 (eq_attr "subtype" "regular")))) 136 (eq_attr "subtype" "prefetch")) 170 (eq_attr "subtype" "fpu")))) 209 (eq_attr "subtype" "maxmin,cmask,other")) 211 (eq_attr "subtype" "single,movstouw")) 213 (eq_attr "subtype" "single")))) 221 (eq_attr "subtype" "alignaddr")) 229 (eq_attr "subtype" "double,movxtod,movdtox")) 231 (eq_attr "subtype" "double")) 233 (eq_attr "subtype" "addsub64")))) [all …]
|
/netbsd-src/sys/net80211/ |
H A D | ieee80211_input.c | 88 doprint(struct ieee80211com *ic, int subtype) in doprint() argument 90 switch (subtype) { in doprint() 139 const u_int8_t *mac, int subtype, int arg); 163 u_int8_t dir, subtype; in ieee80211_input_data() local 170 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_input_data() 320 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA) in ieee80211_input_data() 391 u_int8_t dir, subtype; in ieee80211_input_management() local 397 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_input_management() 413 if ((ieee80211_msg_debug(ic) && doprint(ic, subtype)) || in ieee80211_input_management() 416 ieee80211_mgt_subtype_name[subtype >> in ieee80211_input_management() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
H A D | tc-epiphany.c | 679 EPIPHANY_RELAX_TYPES subtype = relax_insn [*fragP->fr_opcode & 0xf]; in epiphany_relax_frag() local 682 if (subtype == EPIPHANY_RELAX_ARITH_SIMM3) in epiphany_relax_frag() 685 subtype = EPIPHANY_RELAX_MOV_IMM8; in epiphany_relax_frag() 687 else if (subtype == EPIPHANY_RELAX_ARITH_SIMM11) in epiphany_relax_frag() 690 subtype = EPIPHANY_RELAX_MOV_IMM16; in epiphany_relax_frag() 694 fragP->fr_subtype = subtype; in epiphany_relax_frag() 729 EPIPHANY_RELAX_TYPES subtype; in md_estimate_size_before_relax() local 735 subtype = fragP->fr_subtype; in md_estimate_size_before_relax() 737 switch (subtype) in md_estimate_size_before_relax() 740 subtype = EPIPHANY_RELAX_LDST_IMM11; in md_estimate_size_before_relax() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gas/config/ |
H A D | tc-epiphany.c | 679 EPIPHANY_RELAX_TYPES subtype = relax_insn [*fragP->fr_opcode & 0xf]; in epiphany_relax_frag() local 682 if (subtype == EPIPHANY_RELAX_ARITH_SIMM3) in epiphany_relax_frag() 685 subtype = EPIPHANY_RELAX_MOV_IMM8; in epiphany_relax_frag() 687 else if (subtype == EPIPHANY_RELAX_ARITH_SIMM11) in epiphany_relax_frag() 690 subtype = EPIPHANY_RELAX_MOV_IMM16; in epiphany_relax_frag() 694 fragP->fr_subtype = subtype; in epiphany_relax_frag() 729 EPIPHANY_RELAX_TYPES subtype; in md_estimate_size_before_relax() local 735 subtype = fragP->fr_subtype; in md_estimate_size_before_relax() 737 switch (subtype) in md_estimate_size_before_relax() 740 subtype = EPIPHANY_RELAX_LDST_IMM11; in md_estimate_size_before_relax() [all …]
|
/netbsd-src/sbin/ifconfig/ |
H A D | media.c | 174 int type, subtype, inst; in setmedia() local 200 subtype = get_media_subtype(type, val); in setmedia() 201 if (subtype == -1) in setmedia() 205 media_current = IFM_MAKEWORD(type, subtype, 0, inst); in setmedia() 274 int type, subtype, options; in setmediainst() local 287 subtype = IFM_SUBTYPE(media_current); in setmediainst() 290 media_current = IFM_MAKEWORD(type, subtype, options, inst); in setmediainst() 299 int type, subtype, options, inst, mode; in setmediamode() local 309 subtype = IFM_SUBTYPE(media_current); in setmediamode() 323 media_current = IFM_MAKEWORD(type, subtype, options, inst) | mode; in setmediamode()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | gen_seq.c | 50 type = type->subtype; in generate_type_seq() 62 if (type->subtype->type != TType) { in generate_type_seq() 65 s->name, (int)type->subtype->type); in generate_type_seq() 69 subname = type->subtype->symbol->gen_name; in generate_type_seq()
|
H A D | gen_template.c | 99 return symbol_name(basename, t->subtype); in tag_symbol() 459 return is_struct(t->subtype, isstruct); in is_struct() 477 t = t->subtype; in compact_tag() 643 int subtype_is_struct = is_struct(t->subtype, isstruct); in template_members() 646 struct type *subtype; in template_members() local 652 struct type *type = t->subtype; in template_members() 658 type = type->subtype; in template_members() 674 subtype = type; in template_members() 676 subtype = t->subtype; in template_members() 682 sename = symbol_name(basetype, subtype); in template_members() [all …]
|