Searched refs:cnvl (Results 1 - 4 of 4) sorted by relevance
/freebsd-12-stable/lib/libnv/tests/ |
H A D | nvlist_send_recv_test.c | 91 const nvlist_t *cnvl, *empty; local 196 cnvl = nvlist_get_nvlist(nvl, name); 197 CHECK(nvlist_empty(cnvl)); 203 cnvl = nvlist_get_nvlist(nvl, name); 207 cname = nvlist_next(cnvl, &ctype, &ccookie); 211 CHECK(nvlist_get_bool(cnvl, cname) == true); 213 cname = nvlist_next(cnvl, &ctype, &ccookie); 217 CHECK(nvlist_get_bool(cnvl, cname) == false); 219 cname = nvlist_next(cnvl, &ctype, &ccookie); 223 CHECK(nvlist_get_number(cnvl, cnam [all...] |
H A D | nvlist_add_test.c | 51 const nvlist_t *cnvl; local 173 cnvl = nvlist_get_nvlist(nvl, "nvlist/nvlist"); 174 CHECK(nvlist_exists_null(cnvl, "nvlist/null")); 175 CHECK(nvlist_exists_bool(cnvl, "nvlist/bool/true")); 176 CHECK(nvlist_exists_bool(cnvl, "nvlist/bool/false")); 177 CHECK(nvlist_exists_number(cnvl, "nvlist/number/0")); 178 CHECK(nvlist_exists_number(cnvl, "nvlist/number/1")); 179 CHECK(nvlist_exists_number(cnvl, "nvlist/number/-1")); 180 CHECK(nvlist_exists_number(cnvl, "nvlist/number/UINT64_MAX")); 181 CHECK(nvlist_exists_number(cnvl, "nvlis [all...] |
H A D | nvlist_get_test.c | 54 const nvlist_t *cnvl; local 139 cnvl = nvlist_get_nvlist(nvl, "nvlist/nvlist"); 140 CHECK(nvlist_get_bool(cnvl, "nvlist/bool/true") == true); 141 CHECK(nvlist_get_bool(cnvl, "nvlist/bool/false") == false); 142 CHECK(nvlist_get_number(cnvl, "nvlist/number/0") == 0); 143 CHECK(nvlist_get_number(cnvl, "nvlist/number/1") == 1); 144 CHECK((int)nvlist_get_number(cnvl, "nvlist/number/-1") == -1); 145 CHECK(nvlist_get_number(cnvl, "nvlist/number/UINT64_MAX") == UINT64_MAX); 146 CHECK((int64_t)nvlist_get_number(cnvl, "nvlist/number/INT64_MIN") == INT64_MIN); 147 CHECK((int64_t)nvlist_get_number(cnvl, "nvlis [all...] |
H A D | nvlist_move_test.c | 53 const nvlist_t *cnvl; local 147 cnvl = nvlist_get_nvlist(nvl, "nvlist/nvlist"); 148 CHECK(nvlist_exists_string(cnvl, "nvlist/string/")); 149 CHECK(nvlist_exists_string(cnvl, "nvlist/string/x")); 150 CHECK(nvlist_exists_string(cnvl, 152 CHECK(nvlist_exists_descriptor(cnvl, 154 CHECK(nvlist_exists_binary(cnvl, "nvlist/binary/x")); 155 CHECK(nvlist_exists_binary(cnvl,
|
Completed in 50 milliseconds