Searched refs:tree (Results 1 - 25 of 563) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ncurses/ncurses/trace/
H A Dtrace_tries.c46 recur_tries(TRIES * tree, unsigned level) argument
54 while (tree != 0) {
55 if ((my_buffer[level] = tree->ch) == 0)
58 if (tree->value != 0) {
59 _tracef("%5d: %s (%s)", tree->value,
60 _nc_visbuf((char *) my_buffer), keyname(tree->value));
62 if (tree->child)
63 recur_tries(tree->child, level + 1);
64 tree = tree
70 _nc_trace_tries(TRIES * tree) argument
[all...]
/freebsd-current/contrib/kyua/utils/config/
H A Dtree_test.cpp29 #include "utils/config/tree.ipp"
47 /// constructors to validate that we can use it as a leaf of a tree.
70 /// Custom tree leaf type for an object without defualt constructors.
134 config::tree tree; local
136 tree.define< config::int_node >("var1");
137 tree.define< config::string_node >("var2");
138 tree.define< config::bool_node >("var3");
140 tree.set< config::int_node >("var1", 42);
141 tree
153 config::tree tree; local
225 init_tree_for_combine_test(config::tree& tree) argument
400 config::tree tree; local
410 config::tree tree; local
452 config::tree tree; local
470 config::tree tree; local
498 config::tree tree; local
507 config::tree tree; local
517 config::tree tree; local
532 config::tree tree; local
586 config::tree tree; local
612 config::tree tree; local
638 config::tree tree; local
655 config::tree tree; local
674 config::tree tree; local
683 config::tree tree; local
695 config::tree tree; local
716 config::tree tree; local
725 config::tree tree; local
741 config::tree tree; local
794 const config::tree tree; local
802 config::tree tree; local
831 config::tree tree; local
850 config::tree tree; local
888 config::tree tree; local
900 config::tree tree; local
921 config::tree tree; local
930 config::tree tree; local
1015 config::tree tree; local
[all...]
H A Dlua_module_test.cpp37 #include "utils/config/tree.ipp"
125 config::tree tree; local
126 tree.define< config::bool_node >("top_boolean");
127 tree.define< config::int_node >("top_integer");
128 tree.define< config::string_node >("top_string");
132 config::redirect(state, tree);
140 ATF_REQUIRE_EQ(true, tree.lookup< config::bool_node >("top_boolean"));
141 ATF_REQUIRE_EQ(12345, tree.lookup< config::int_node >("top_integer"));
142 ATF_REQUIRE_EQ("a foo", tree
149 config::tree tree; local
174 config::tree tree; local
192 config::tree tree; local
208 config::tree tree; local
225 config::tree tree; local
249 config::tree tree; local
268 config::tree tree; local
284 config::tree tree; local
301 config::tree tree; local
324 config::tree tree; local
343 config::tree tree; local
366 config::tree tree; local
388 config::tree tree; local
408 config::tree tree; local
421 config::tree tree; local
437 config::tree tree; local
[all...]
H A Dparser_test.cpp37 #include "utils/config/tree.ipp"
50 /// Initializes the tree keys before reading the file.
52 /// \param [in,out] tree The tree in which to define the key structure.
56 setup(config::tree& tree, const int syntax_version) argument
61 tree.define< config::string_node >("top_string");
62 tree.define< config::int_node >("inner.int");
63 tree.define_dynamic("inner.dynamic");
73 /// \param tree Th
74 mock_parser(config::tree& tree) argument
92 config::tree tree; local
107 config::tree tree; local
124 config::tree tree; local
178 config::tree tree; local
190 config::tree tree; local
208 config::tree tree; local
222 config::tree tree; local
[all...]
H A Dtree.hpp29 /// \file utils/config/tree.hpp
30 /// Data type to represent a tree of arbitrary values with string keys.
49 /// Representation of a tree.
51 /// The string keys of the tree are in dotted notation and actually represent
62 /// tree can be static or dynamic. Static inner nodes have a known subset of
67 /// For simplicity reasons, we force the root of the tree to be a static inner
75 /// tree and all of its public methods. Also, the tree accepts dotted notations
80 class tree { class in namespace:utils::config
84 /// The root of the tree
[all...]
H A Dlua_module.hpp30 /// Bindings to expose a configuration tree to Lua.
44 void redirect(lutok::state&, tree&);
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dtries.c37 ** Functions to manage the tree of partial-completions for keycodes.
50 _nc_expand_try(TRIES * tree, unsigned code, int *count, size_t len) argument
52 TRIES *ptr = tree;
87 * Remove a code from the specified tree, freeing the unused nodes. Returns
91 _nc_remove_key(TRIES ** tree, unsigned code) argument
93 T((T_CALLED("_nc_remove_key(%p,%d)"), (void *) tree, code));
98 while (*tree != 0) {
99 if (_nc_remove_key(&(*tree)->child, code)) {
102 if ((*tree)->value == code) {
103 if ((*tree)
123 _nc_remove_string(TRIES ** tree, const char *string) argument
[all...]
/freebsd-current/crypto/openssl/crypto/x509/
H A Dpcy_lib.c20 int X509_policy_tree_level_count(const X509_POLICY_TREE *tree) argument
22 if (!tree)
24 return tree->nlevel;
27 X509_POLICY_LEVEL *X509_policy_tree_get0_level(const X509_POLICY_TREE *tree, argument
30 if (!tree || (i < 0) || (i >= tree->nlevel))
32 return tree->levels + i;
37 *tree)
39 if (!tree)
41 return tree
[all...]
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Davl.h53 * AVL tree implementation uses 3 pointers. The following chart gives the
56 * Operation Link List AVL tree
79 * 1. Create the list/tree with: avl_create()
94 * 2d. Remove individual nodes from the list/tree with avl_remove().
102 * 4. Use avl_destroy() to destroy the AVL tree itself.
125 * Type used for the root of the AVL tree.
130 * The data nodes in the AVL tree must have a field of this type.
135 * An opaque type used to locate a position in the tree where a node
163 * Initialize an AVL tree. Arguments are:
165 * tree
[all...]
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Davl.h53 * AVL tree implementation uses 3 pointers. The following chart gives the
56 * Operation Link List AVL tree
79 * 1. Create the list/tree with: avl_create()
94 * 2d. Remove individual nodes from the list/tree with avl_remove().
102 * 4. Use avl_destroy() to destroy the AVL tree itself.
117 * Type used for the root of the AVL tree.
122 * The data nodes in the AVL tree must have a field of this type.
127 * An opaque type used to locate a position in the tree where a node
155 * Initialize an AVL tree. Arguments are:
157 * tree
[all...]
/freebsd-current/contrib/kyua/engine/
H A Dconfig.cpp40 #include "utils/config/tree.ipp"
54 /// Defines the schema of a configuration tree.
56 /// \param [in,out] tree The tree to populate. The tree should be empty on
59 init_tree(config::tree& tree) argument
61 tree.define< config::string_node >("architecture");
62 tree.define< config::positive_int_node >("parallelism");
63 tree
74 set_defaults(config::tree& tree) argument
100 setup(config::tree& tree, const int syntax_version) argument
[all...]
H A Dconfig.hpp58 utils::config::tree default_config(void);
59 utils::config::tree empty_config(void);
60 utils::config::tree load_config(const utils::fs::path&);
/freebsd-current/contrib/elftoolchain/readelf/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/size/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/nm/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/addr2line/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/libpe/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/elfdump/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/libelftc/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/elftoolchain/strings/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-current/contrib/unbound/util/storage/
H A Ddnstree.h52 * The tree itself is a rbtree_type.
58 /** parent in tree */
74 * The tree itself is a rbtree_type.
80 /** parent in tree */
91 * Init a name tree to be empty
92 * @param tree: to init.
94 void name_tree_init(rbtree_type* tree);
97 * insert element into name tree.
98 * @param tree: name tree
[all...]
/freebsd-current/contrib/unbound/edns-subnet/
H A Daddrtree.c2 * edns-subnet/addrtree.c -- radix tree for edns subnet cache.
36 * addrtree -- radix tree for edns subnet cache.
83 * @param tree: Tree the node lives in.
90 node_create(struct addrtree *tree, void *elem, addrlen_t scope, argument
97 tree->node_count++;
110 * @param tree: tree the node lives in
115 node_size(const struct addrtree *tree, const struct addrnode *n) argument
118 (n->elem?tree->sizefunc(n->elem):0);
125 struct addrtree *tree; local
154 clean_node(struct addrtree *tree, struct addrnode *node) argument
165 lru_pop(struct addrtree *tree, struct addrnode *node) argument
186 lru_push(struct addrtree *tree, struct addrnode *node) argument
201 lru_update(struct addrtree *tree, struct addrnode *node) argument
215 purge_node(struct addrtree *tree, struct addrnode *node) argument
244 lru_cleanup(struct addrtree *tree) argument
272 addrtree_size(const struct addrtree *tree) argument
277 addrtree_delete(struct addrtree *tree) argument
361 addrtree_insert(struct addrtree *tree, const addrkey_t *addr, addrlen_t sourcemask, addrlen_t scope, void *elem, time_t ttl, time_t now, int only_match_scope_zero) argument
478 addrtree_find(struct addrtree *tree, const addrkey_t *addr, addrlen_t sourcemask, time_t now) argument
[all...]
/freebsd-current/sys/contrib/openzfs/scripts/
H A Ddkms.postbuild10 t) tree=$OPTARG ;;
17 [ -z "${tree}" ] || [ -z "${pkgver}" ] || [ -n "${err}" ]; then
19 "-t <tree> -v <pkgver>"
23 exec cp "${tree}/${pkgname}/${pkgver}/build/zfs_config.h" \
24 "${tree}/${pkgname}/${pkgver}/build/module/Module.symvers" \
25 "${tree}/${pkgname}/${pkgver}/${kver}/${arch}/"
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_disk_private.h36 struct tree;
61 struct tree *tree; member in struct:archive_read_disk
62 int (*open_on_current_dir)(struct tree*, const char *, int);
63 int (*tree_current_dir_fd)(struct tree*);
64 int (*tree_enter_working_dir)(struct tree*);

Completed in 187 milliseconds

1234567891011>>