Home
last modified time | relevance | path

Searched refs:RB_FIND (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/usr.bin/localedef/
H A Dcharmap.c263 if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) { in add_charmap_impl()
273 if (RB_FIND(cmap_sym, &cmap_sym, &srch) != NULL) { in add_charmap_impl()
303 cm = RB_FIND(cmap_sym, &cmap_sym, &srch); in add_charmap_undefined()
379 n = RB_FIND(cmap_sym, &cmap_sym, &srch); in lookup_charmap()
394 return (RB_FIND(cmap_wc, &cmap_wc, &srch) ? 0 : -1); in check_charmap()
H A Dcollate.c503 if (RB_FIND(collsyms, &collsyms, sym) != NULL) { in define_collsym()
521 return (RB_FIND(collsyms, &collsyms, &srch)); in lookup_collsym()
530 return (RB_FIND(elem_by_symbol, &elem_by_symbol, &srch)); in lookup_collelem()
541 if ((ud = RB_FIND(collundefs, &collundefs, &srch)) == NULL) { in get_collundef()
565 cc = RB_FIND(collchars, &collchars, &srch); in get_collchar()
817 if ((RB_FIND(elem_by_symbol, &elem_by_symbol, e) != NULL) || in define_collelem()
818 (RB_FIND(elem_by_expand, &elem_by_expand, e) != NULL)) { in define_collelem()
931 s = RB_FIND(substs_ref, &substs_ref[curr_weight], &srch); in add_order_subst()
959 if (RB_FIND(substs, &substs[curr_weight], s) != NULL) { in add_order_subst()
1039 if (RB_FIND(weights, &weights[pass], &srch) != NULL) in add_weight()
[all …]
H A Dctype.c182 if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) { in get_ctype()
/freebsd/usr.sbin/ypldap/
H A Dyp.c349 if ((ue = RB_FIND(user_name_tree, env->sc_user_names, in ypproc_match_2_svc()
365 if ((ue = RB_FIND(user_uid_tree, &env->sc_user_uids, in ypproc_match_2_svc()
379 if ((ge = RB_FIND(group_gid_tree, &env->sc_group_gids, in ypproc_match_2_svc()
389 if ((ge = RB_FIND(group_name_tree, env->sc_group_names, in ypproc_match_2_svc()
428 if ((ue = RB_FIND(user_uid_tree, &env->sc_user_uids, in ypproc_match_2_svc()
499 if ((ue = RB_FIND(user_name_tree, env->sc_user_names, in ypproc_next_2_svc()
537 if ((ge = RB_FIND(group_name_tree, env->sc_group_names, in ypproc_next_2_svc()
/freebsd/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c164 upsp = RB_FIND(upsock_t, &upcall_sockets, in sys_rpctls_syscall()
219 if (RB_FIND(upsock_t, &upcall_sockets, ups)) { in rpctls_rpc_failed()
293 MPASS((RB_FIND(upsock_t, &upcall_sockets, &ups) == NULL)); in rpctls_connect()
405 MPASS((RB_FIND(upsock_t, &upcall_sockets, &ups) == NULL)); in rpctls_server()
/freebsd/sys/geom/eli/
H A Dg_eli_key_cache.c116 ekey = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_allocate()
321 key = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_hold()
329 key = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch); in g_eli_key_hold()
/freebsd/contrib/netbsd-tests/include/sys/
H A Dt_tree.c75 return (!!RB_FIND(head, &tt, m)); in findmist()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c1163 p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1171 f = RB_FIND(files_t, &ftree, in displaysock()
1191 while ((p = RB_FIND(pcbs_t, &pcbs, in displaysock()
1193 f = RB_FIND(files_t, &ftree, in displaysock()
1225 sp = RB_FIND(socks_t, &socks, &(struct sock) in displaysock()
1382 s = RB_FIND(socks_t, &socks, in display()
/freebsd/tests/sys/sys/
H A Drb_test.c83 ATF_REQUIRE_EQ(tmp, RB_FIND(tree, &root, tmp)); in ATF_TC_BODY()
/freebsd/crypto/openssh/
H A Dkrl.c1166 erki = RB_FIND(revoked_key_id_tree, &rc->revoked_key_ids, &rki); in is_cert_revoked()
1181 ers = RB_FIND(revoked_serial_tree, &rc->revoked_serials, &rs); in is_cert_revoked()
1203 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha1s, &rb); in is_key_revoked()
1213 erb = RB_FIND(revoked_blob_tree, &krl->revoked_sha256s, &rb); in is_key_revoked()
1224 erb = RB_FIND(revoked_blob_tree, &krl->revoked_keys, &rb); in is_key_revoked()
H A Dsftp-usergroup.c84 if ((found = RB_FIND(idname_tree, tree, &idname)) != NULL) in idname_lookup()
H A Dsrclimit.c298 if ((penalty = RB_FIND(penalties_by_addr, by_addr, &find)) == NULL) in srclimit_penalty_check_allow()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c141 r = RB_FIND(sroutes, &sroutes, &key); in mib_sroute_process()
294 return (RB_FIND(sroutes, &sroutes, &key)); in sroute_get()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c1204 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1222 r = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_add_tables()
1278 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_del_tables()
1403 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_clr_tstats()
1435 p = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_set_tflags()
1522 kt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, (struct pfr_ktable *)tbl); in pfr_ina_define()
1535 rt = RB_FIND(pfr_ktablehead, &V_pfr_ktables, &key); in pfr_ina_define()
2051 return (RB_FIND(pfr_ktablehead, &V_pfr_ktables, in pfr_lookup_table()
H A Dpf_if.c331 return (RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&s)); in pfi_kkif_find()
406 if (! RB_FIND(pfi_ifhead, &V_pfi_ifs, kif)) { in pfi_kkif_remove_if_unref()
868 p = RB_FIND(pfi_ifhead, &V_pfi_ifs, (struct pfi_kkif *)&key); in pfi_update_status()
H A Dpf_ruleset.c143 found = RB_FIND(pf_kanchor_global, &V_pf_anchors, key); in pf_find_kanchor()
517 found = RB_FIND(pf_keth_anchor_global, &V_pf_keth_anchors, key); in _pf_find_keth_anchor()
/freebsd/usr.sbin/bhyve/
H A Dmem.c90 res = RB_FIND(mmio_rb_tree, rbt, &find); in mmio_rb_lookup()
/freebsd/sys/netinet/
H A Din_mcast.c442 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imo_match_source()
692 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_record_source()
744 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_get_source()
811 ims = RB_FIND(ip_msource_tree, &imf->imf_sources, &find); in imf_prune()
938 ims = RB_FIND(ip_msource_tree, &inm->inm_srcs, &find); in inm_get_source()
/freebsd/sys/netinet6/
H A Din6_mcast.c303 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6o_match_source()
709 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_record_source()
760 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_get_source()
826 ims = RB_FIND(ip6_msource_tree, &imf->im6f_sources, &find); in im6f_prune()
956 ims = RB_FIND(ip6_msource_tree, &inm->in6m_srcs, &find); in in6m_get_source()
/freebsd/contrib/unifdef/
H A Dunifdef.c1477 res = RB_FIND(MACROMAP, &macro_tree, &key); in findsym()
1501 ind = RB_FIND(MACROMAP, &macro_tree, &key); in indirectsym()
1544 sym = RB_FIND(MACROMAP, &macro_tree, &key); in addsym2()
/freebsd/sbin/pfctl/
H A Dpf_ruleset.c152 found = RB_FIND(pfctl_anchor_global, &V_pf_anchors, key); in pf_find_anchor()
/freebsd/sys/dev/xen/evtchn/
H A Devtchn_dev.c131 return (RB_FIND(evtchn_tree, &u->evtchns, &tmp)); in find_evtchn()
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c316 gref_start = RB_FIND(gref_tree_head, &priv_user->gref_tree, &find_gref); in gntdev_find_grefs()
547 gmap = RB_FIND(gmap_tree_head, &priv_user->gmap_tree, &find_gmap); in gntdev_find_gmap()
/freebsd/sys/rpc/
H A Dclnt_nl.c414 if ((nl = RB_FIND(nl_data_t, &rpcnl_clients, in clnt_nl_reply()
/freebsd/sys/fs/autofs/
H A Dautofs_vnops.c610 anp = RB_FIND(autofs_node_tree, &parent->an_children, &find); in autofs_node_find()

12