Searched refs:tree_key (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/kyua/utils/config/ |
H A D | lua_module.cpp | 92 std::string tree_key; in get_tree_key() local 94 tree_key = state.to_string(-1) + "." + state.to_string(field_index - 1); in get_tree_key() 97 tree_key = state.to_string(field_index); in get_tree_key() 98 return tree_key; in get_tree_key() 113 new_table_for_key(lutok::state& state, const std::string& tree_key) in new_table_for_key() argument 128 state.push_string(tree_key); in new_table_for_key() 221 const std::string tree_key = get_tree_key(state, -2, -1); in redirect_index() local 222 if (tree.is_set(tree_key)) { in redirect_index() 225 tree.push_lua(tree_key, state); in redirect_index() 231 new_table_for_key(state, tree_key); in redirect_index()
|
H A D | nodes.cpp | 101 const tree_key& key, in combine_children_into() 119 tree_key child_key = key; in combine_children_into() 141 config::detail::inner_node::combine_into(const tree_key& key, in combine_into() 175 config::detail::inner_node::lookup_ro(const tree_key& key, in lookup_ro() 176 const tree_key::size_type key_pos) const in lookup_ro() 220 config::detail::inner_node::lookup_rw(const tree_key& key, in lookup_rw() 221 const tree_key::size_type key_pos, in lookup_rw() 268 const tree_key& key) const in all_properties() 272 tree_key child_key = key; in all_properties() 314 config::detail::static_inner_node::combine(const tree_key& key, in combine() [all …]
|
H A D | tree.cpp | 101 _root->combine(detail::tree_key(), other_root)); in combine() 122 const detail::tree_key key = detail::parse_key(dotted_key); in define_dynamic() 142 const detail::tree_key key = detail::parse_key(dotted_key); in is_set() 168 const detail::tree_key key = detail::parse_key(dotted_key); in push_lua() 192 const detail::tree_key key = detail::parse_key(dotted_key); in set_lua() 220 const detail::tree_key key = detail::parse_key(dotted_key); in lookup_string() 247 const detail::tree_key key = detail::parse_key(dotted_key); in set_string() 283 detail::tree_key key; in all_properties()
|
H A D | keys.cpp | 45 utils::config::detail::flatten_key(const tree_key& key) in flatten_key() 60 utils::config::detail::tree_key 63 const tree_key key = text::split(str, '.'); in parse_key() 66 for (tree_key::const_iterator iter = key.begin(); iter != key.end(); iter++) in parse_key()
|
H A D | keys_test.cpp | 41 config::detail::tree_key key; in ATF_TEST_CASE_BODY() 50 config::detail::tree_key key; in ATF_TEST_CASE_BODY() 61 config::detail::tree_key exp_key; in ATF_TEST_CASE_BODY() 70 config::detail::tree_key exp_key; in ATF_TEST_CASE_BODY()
|
H A D | exceptions_test.cpp | 52 detail::tree_key key; in ATF_TEST_CASE_BODY() 72 detail::tree_key key; in ATF_TEST_CASE_BODY() 93 detail::tree_key key; in ATF_TEST_CASE_BODY() 106 detail::tree_key key; in ATF_TEST_CASE_BODY()
|
H A D | exceptions.hpp | 55 explicit bad_combination_error(const detail::tree_key&, 72 explicit invalid_key_value(const detail::tree_key&, const std::string&); 88 explicit unknown_key_error(const detail::tree_key&,
|
H A D | exceptions.cpp | 57 const detail::tree_key& key, const std::string& format) : in bad_combination_error() 89 config::invalid_key_value::invalid_key_value(const detail::tree_key& key, in invalid_key_value() 123 config::unknown_key_error::unknown_key_error(const detail::tree_key& key, in unknown_key_error()
|
H A D | keys.hpp | 44 std::string flatten_key(const tree_key&); 45 tree_key parse_key(const std::string&);
|
H A D | nodes.ipp | 84 /// is why we use a string rather than a tree_key. 91 void combine_into(const tree_key&, const base_node*, inner_node*) const; 94 void combine_children_into(const tree_key&, 102 const base_node* lookup_ro(const tree_key&, 103 const tree_key::size_type) const; 104 leaf_node* lookup_rw(const tree_key&, const tree_key::size_type, 107 void all_properties(properties_map&, const tree_key&) const; 121 virtual base_node* combine(const tree_key&, const base_node*) const; 123 void define(const tree_key&, const tree_key::size_type, new_node_hook); 136 virtual base_node* combine(const tree_key&, const base_node*) const;
|
H A D | nodes.hpp | 76 virtual base_node* combine(const tree_key& key, const base_node* other) 103 base_node* combine(const detail::tree_key&, const base_node*) const;
|
H A D | tree.ipp | 59 const detail::tree_key key = detail::parse_key(dotted_key); 81 const detail::tree_key key = detail::parse_key(dotted_key); 108 const detail::tree_key key = detail::parse_key(dotted_key); 137 const detail::tree_key key = detail::parse_key(dotted_key);
|
H A D | keys_fwd.hpp | 44 typedef std::vector< std::string > tree_key; typedef
|