Searched refs:int_node (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/kyua/utils/config/ |
H A D | tree_test.cpp | 136 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY() 140 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY() 144 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("var1")); in ATF_TEST_CASE_BODY() 155 tree.define< config::int_node >("foo.bar.1"); in ATF_TEST_CASE_BODY() 160 tree.set< config::int_node >("foo.bar.1", 42); in ATF_TEST_CASE_BODY() 164 tree.set< config::int_node >("sub.tree.2", 4); in ATF_TEST_CASE_BODY() 165 tree.set< config::int_node >("sub.tree.3.4", 123); in ATF_TEST_CASE_BODY() 167 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1")); in ATF_TEST_CASE_BODY() 170 ATF_REQUIRE_EQ(4, tree.lookup< config::int_node >("sub.tree.2")); in ATF_TEST_CASE_BODY() 171 ATF_REQUIRE_EQ(123, tree.lookup< config::int_node >("sub.tree.3.4")); in ATF_TEST_CASE_BODY() [all …]
|
H A D | lua_module_test.cpp | 127 tree.define< config::int_node >("top_integer"); in ATF_TEST_CASE_BODY() 141 ATF_REQUIRE_EQ(12345, tree.lookup< config::int_node >("top_integer")); in ATF_TEST_CASE_BODY() 151 tree.define< config::int_node >("top_integer"); in ATF_TEST_CASE_BODY() 167 ATF_REQUIRE_EQ(8, tree.lookup< config::int_node >("top_integer")); in ATF_TEST_CASE_BODY() 175 tree.define< config::int_node >("first"); in ATF_TEST_CASE_BODY() 176 tree.define< config::int_node >("second"); in ATF_TEST_CASE_BODY() 184 ATF_REQUIRE_EQ(100, tree.lookup< config::int_node >("first")); in ATF_TEST_CASE_BODY() 185 ATF_REQUIRE_EQ(200, tree.lookup< config::int_node >("second")); in ATF_TEST_CASE_BODY() 193 tree.define< config::int_node >("first"); in ATF_TEST_CASE_BODY() 201 ATF_REQUIRE_EQ(200, tree.lookup< config::int_node >("first")); in ATF_TEST_CASE_BODY() [all …]
|
H A D | parser_test.cpp | 62 tree.define< config::int_node >("inner.int"); in setup() 127 ATF_REQUIRE_EQ(12345, tree.lookup< config::int_node >("inner.int")); in ATF_TEST_CASE_BODY() 209 tree.define< config::int_node >("var"); in ATF_TEST_CASE_BODY() 223 tree.define< config::int_node >("var"); in ATF_TEST_CASE_BODY() 235 ATF_REQUIRE_EQ(3, tree.lookup< config::int_node >("var")); in ATF_TEST_CASE_BODY()
|
H A D | nodes_test.cpp | 46 class validation_node : public config::int_node { 192 config::int_node node; in ATF_TEST_CASE_BODY() 195 config::int_node* copy = static_cast< config::int_node* >(raw_copy); in ATF_TEST_CASE_BODY() 207 config::int_node node; in ATF_TEST_CASE_BODY() 217 config::int_node node; in ATF_TEST_CASE_BODY() 230 config::int_node node; in ATF_TEST_CASE_BODY() 244 config::int_node node; in ATF_TEST_CASE_BODY() 260 config::int_node node; in ATF_TEST_CASE_BODY() 271 config::int_node node; in ATF_TEST_CASE_BODY() 282 config::int_node node; in ATF_TEST_CASE_BODY() [all …]
|
H A D | nodes.cpp | 481 config::int_node::deep_copy(void) const in deep_copy() 483 std::auto_ptr< int_node > new_node(new int_node()); in deep_copy() 493 config::int_node::push_lua(lutok::state& state) const in push_lua() 507 config::int_node::set_lua(lutok::state& state, const int value_index) in set_lua()
|
H A D | nodes.hpp | 172 class int_node : public native_leaf_node< int > { class 182 class positive_int_node : public int_node {
|
H A D | nodes_fwd.hpp | 60 class int_node;
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_config.h | 94 typedef struct int_node_tag int_node; typedef 96 int_node * link; 100 typedef DECL_FIFO_ANCHOR(int_node) int_fifo; 329 int_node *create_int_node(int val);
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_config.c | 549 int_node *i_n; in dump_config_tree() 550 int_node *counter_set; in dump_config_tree() 1357 int_node * in create_string_node() 1362 int_node *i_n; 1650 int_node * i_n; in destroy_string_fifo() 2461 int_node * pfilegen_token; in config_monitor() 3718 int_node *curr_ttl; in free_config_ttl() 4831 int_node *counter_set; in config_reset_counters()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | btree_test.c | 59 typedef struct int_node { struct
|
/freebsd/sys/dev/igc/ |
H A D | if_igc.c | 2687 struct sysctl_oid *stat_node, *queue_node, *int_node; in igc_add_hw_stats() local 2927 int_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "interrupts", in igc_add_hw_stats() 2929 int_list = SYSCTL_CHILDREN(int_node); in igc_add_hw_stats()
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | 4920 struct sysctl_oid *stat_node, *queue_node, *int_node; in em_add_hw_stats() local 5169 int_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "interrupts", in em_add_hw_stats() 5171 int_list = SYSCTL_CHILDREN(int_node); in em_add_hw_stats()
|