Home
last modified time | relevance | path

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

/freebsd/lib/libnv/tests/
H A Dnvlist_append_test.c93 CHECK(strcmp(nvlist_get_string(nvl_result[0], "key1"), "test1") == 0); in main()
94 CHECK(strcmp(nvlist_get_string(nvl_result[1], "key2"), "test2") == 0); in main()
H A Dnvlist_send_recv_test.c165 ATF_REQUIRE(strcmp(nvlist_get_string(nvl, name), "") == 0); in send_nvlist_parent()
171 ATF_REQUIRE(strcmp(nvlist_get_string(nvl, name), "x") == 0); in send_nvlist_parent()
177 ATF_REQUIRE(strcmp(nvlist_get_string(nvl, name), ALPHABET) == 0); in send_nvlist_parent()
279 ATF_REQUIRE(strcmp(nvlist_get_string(cnvl, cname), "") == 0); in send_nvlist_parent()
285 ATF_REQUIRE(strcmp(nvlist_get_string(cnvl, cname), "x") == 0); in send_nvlist_parent()
291 ATF_REQUIRE(strcmp(nvlist_get_string(cnvl, cname), ALPHABET) == 0); in send_nvlist_parent()
H A Dnv_tests.cc179 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(nvl, key), value), 0); in ATF_TEST_CASE_BODY()
182 ATF_REQUIRE(nvlist_get_string(nvl, key) != value); in ATF_TEST_CASE_BODY()
380 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(value, test_string_key), test_string_val), 0); in verify_test_nvlist()
381 ATF_REQUIRE(nvlist_get_string(value, test_string_key) != test_string_val); in verify_test_nvlist()
507 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(nvl, name), value), 0); in verify_string()
674 ATF_REQUIRE_EQ(nvlist_get_string(nvl, key), value); in ATF_TEST_CASE_BODY()
854 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(nvl, otherkey2), otherval2), 0); in ATF_TEST_CASE_BODY()
905 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(nvl, otherkey1), otherval1), 0); in ATF_TEST_CASE_BODY()
H A Dnv_array_tests.cc302 ATF_REQUIRE(strcmp(nvlist_get_string(const_result[i], in ATF_TEST_CASE_BODY()
439 ATF_REQUIRE(strcmp(nvlist_get_string(nvl, "nvl/nvl/teststr"), in ATF_TEST_CASE_BODY()
1153 ATF_REQUIRE(strcmp(nvlist_get_string(const_result[i], in ATF_TEST_CASE_BODY()
/freebsd/usr.sbin/bhyve/
H A Dconfig.c229 return (nvlist_get_string(nvl, name)); in get_raw_config_value()
358 return (expand_config_value(nvlist_get_string(parent, name))); in get_config_value_node()
455 nvlist_get_string(nvl, name)); in dump_tree()
/freebsd/lib/libcasper/libcasper/
H A Dlibcasper_service.c151 servname = nvlist_get_string(nvl, "service"); in service_execute()
178 servname = nvlist_get_string(nvlin, "service"); in casper_command()
H A Dservice.c282 cmd = nvlist_get_string(nvlin, "cmd"); in service_message()
/freebsd/lib/libcasper/services/cap_fileargs/
H A Dcap_fileargs.c437 nvlist_get_string(nvl, "realpath")); in fileargs_realpath()
652 name = nvlist_get_string(nvlin, "name"); in fileargs_command_lstat()
682 pathname = nvlist_get_string(nvlin, "name"); in fileargs_command_realpath()
704 name = nvlist_get_string(nvlin, "name"); in fileargs_command_open()
/freebsd/usr.sbin/iovctl/
H A Diovctl.c327 nvlist_get_string(parameter, DEFAULT_SCHEMA_NAME)); in print_default_value()
369 type = nvlist_get_string(parameter, TYPE_SCHEMA_NAME); in print_subsystem_schema()
H A Dvalidate.c127 nvlist_get_string(defaults, name)); in apply_subsystem_defaults()
H A Dparse.c196 type = nvlist_get_string(schema, TYPE_SCHEMA_NAME); in add_config()
/freebsd/sys/netpfil/pf/
H A Dpfsync_nv.c147 strlcpy(status->syncdev, nvlist_get_string(nvl, "syncdev"), in pfsync_nvstatus_to_kstatus()
H A Dpf_ioctl.c2921 anchor = nvlist_get_string(nvl, "anchor"); in pfioctl()
2999 anchor = nvlist_get_string(nvl, "anchor"); in pfioctl()
3098 anchor = nvlist_get_string(nvl, "anchor"); in pfioctl()
3100 anchor_call = nvlist_get_string(nvl, "anchor_call"); in pfioctl()
3227 nvlist_get_string(nvl, "path"))) == NULL) { in pfioctl()
3306 nvlist_get_string(nvl, "path"))) == NULL) { in pfioctl()
3411 anchor = nvlist_get_string(nvl, "anchor"); in pfioctl()
3413 anchor_call = nvlist_get_string(nvl, "anchor_call"); in pfioctl()
3507 ruleset = pf_find_kruleset(nvlist_get_string(nvl, "anchor")); in pfioctl()
H A Dpf_nv.c162 ret = strlcpy(str, nvlist_get_string(nvl, name), maxlen); in pf_nvstring()
/freebsd/usr.sbin/rtsold/
H A Dcap_llflags.c152 ifname = nvlist_get_string(nvlin, "ifname"); in llflags_command()
/freebsd/lib/libpfctl/
H A Dlibpfctl.c471 strlcpy(status->ifname, nvlist_get_string(nvl, "ifname"), in pfctl_get_status()
616 strlcpy(addr->v.ifname, nvlist_get_string(nvl, "ifname"), in pf_nvaddr_wrap_to_addr_wrap()
621 strlcpy(addr->v.tblname, nvlist_get_string(nvl, "tblname"), in pf_nvaddr_wrap_to_addr_wrap()
723 strlcpy(rule->ifname, nvlist_get_string(nvl, "ifname"), IFNAMSIZ); in pf_nvrule_to_rule()
724 strlcpy(rule->qname, nvlist_get_string(nvl, "qname"), PF_QNAME_SIZE); in pf_nvrule_to_rule()
725 strlcpy(rule->pqname, nvlist_get_string(nvl, "pqname"), PF_QNAME_SIZE); in pf_nvrule_to_rule()
726 strlcpy(rule->tagname, nvlist_get_string(nvl, "tagname"), in pf_nvrule_to_rule()
728 strlcpy(rule->match_tagname, nvlist_get_string(nvl, "match_tagname"), in pf_nvrule_to_rule()
731 strlcpy(rule->overload_tblname, nvlist_get_string(nvl, "overload_tblname"), in pf_nvrule_to_rule()
856 strlcpy(rule->ifname, nvlist_get_string(nvl, "ifname"), IFNAMSIZ); in pfctl_nveth_rule_to_eth_rule()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_iov_schema.c389 nvlist_get_string(param_schema, "default")); in pci_iov_config_add_default()
474 type = nvlist_get_string(schema, TYPE_SCHEMA_NAME); in pci_iov_validate_param_schema()
668 type = nvlist_get_string(schema_param, "type"); in pci_iov_schema_validate_param()
/freebsd/lib/libcasper/services/cap_net/
H A Dcap_net.c101 hp->h_name = strdup(nvlist_get_string(nvl, "name")); in hostent_unpack()
115 strdup(nvlist_get_string(nvl, nvlname)); in hostent_unpack()
371 strlcpy(host, nvlist_get_string(nvl, "host"), hostlen); in cap_getnameinfo()
373 strlcpy(serv, nvlist_get_string(nvl, "serv"), servlen); in cap_getnameinfo()
808 name = nvlist_get_string(nvlin, "name"); in net_gethostbyname()
/freebsd/lib/libcasper/services/cap_syslog/
H A Dcap_syslog.c143 nvlist_get_string(nvlin, "message")); in slog_vsyslog()
/freebsd/sys/sys/
H A Dnv_namespace.h155 #define nvlist_get_string FreeBSD_nvlist_get_string macro
H A Dnv.h197 const char *nvlist_get_string(const nvlist_t *nvl, const char *name);
/freebsd/sbin/ifconfig/
H A Difpfsync.c361 strlcpy(syncdev, nvlist_get_string(nvl, "syncdev"), in pfsync_status()
/freebsd/sys/dev/sound/pcm/
H A Dsndstat.c909 devnode = nvlist_get_string(nvlist, SNDST_DSPS_DEVNODE); in sndstat_dsp_unpack_nvlist()
911 nameunit = nvlist_get_string(nvlist, SNDST_DSPS_NAMEUNIT); in sndstat_dsp_unpack_nvlist()
914 desc = nvlist_get_string(nvlist, SNDST_DSPS_DESC); in sndstat_dsp_unpack_nvlist()
/freebsd/sys/net/
H A Dif_ovpn.c726 ciphername = nvlist_get_string(nvl, "cipher"); in ovpn_create_kkey_dir()
/freebsd/
H A DObsoleteFiles.inc14624 OLD_FILES+=usr/share/man/man3/nvlist_get_string.3.gz