Home
last modified time | relevance | path

Searched refs:parse_key (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/kyua/utils/config/
H A Dkeys_test.cpp63 ATF_REQUIRE(exp_key == config::detail::parse_key("one")); in ATF_TEST_CASE_BODY()
74 ATF_REQUIRE(exp_key == config::detail::parse_key("one.2.foo")); in ATF_TEST_CASE_BODY()
83 config::detail::parse_key("")); in ATF_TEST_CASE_BODY()
92 config::detail::parse_key(".")); in ATF_TEST_CASE_BODY()
95 config::detail::parse_key("a.")); in ATF_TEST_CASE_BODY()
98 config::detail::parse_key(".b")); in ATF_TEST_CASE_BODY()
101 config::detail::parse_key("a..b")); in ATF_TEST_CASE_BODY()
H A Dtree.cpp122 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()
288 key = detail::parse_key(dotted_key); in all_properties()
H A Dtree.ipp59 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 Dkeys.hpp45 tree_key parse_key(const std::string&);
H A Dkeys.cpp61 utils::config::detail::parse_key(const std::string& str) in parse_key() function in utils::config::detail
H A Dlua_module.cpp166 throw config::invalid_key_value(detail::parse_key(dotted_key), in redirect_newindex()
/freebsd/contrib/wireguard-tools/
H A Dconfig.c107 static inline bool parse_key(uint8_t key[static WG_KEY_LEN], const char *value) in parse_key() function
153 ret = parse_key(key, dst); in parse_keyfile()
450 ret = parse_key(ctx->device->private_key, value); in process_line()
459 ret = parse_key(ctx->last_peer->public_key, value); in process_line()
467 ret = parse_key(ctx->last_peer->preshared_key, value); in process_line()
604 if (!parse_key(peer->public_key, argv[1])) in config_read_cmd()
/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c56 int parse_key = (ctx->flags & HKF_WANT_PARSE_KEY) != 0; in check() local
79 expected_status = (parse_key || expected->no_parse_status < 0) ? in check()
89 expected_keytype = (parse_key || expected->no_parse_keytype < 0) ? in check()
114 parse_key = 0; in check()
137 if (parse_key) { in check()
145 if (parse_key && !(l->comment == NULL && expected->l.comment == NULL)) in check()