Lines Matching defs:curr

119 	nvpair_t *curr;
124 for (curr = nvlist_next_nvpair(nvl, NULL); curr;
125 curr = nvlist_next_nvpair(nvl, curr)) {
126 data_type_t type = nvpair_type(curr);
133 if (nvlist_print_json_string(fp, nvpair_name(curr)) == -1)
139 char *string = fnvpair_value_string(curr);
151 FPRINTF(fp, "%s", fnvpair_value_boolean_value(curr) ==
157 FPRINTF(fp, "%hhu", fnvpair_value_byte(curr));
162 FPRINTF(fp, "%hhd", fnvpair_value_int8(curr));
167 FPRINTF(fp, "%hhu", fnvpair_value_uint8_t(curr));
172 FPRINTF(fp, "%hd", fnvpair_value_int16(curr));
177 FPRINTF(fp, "%hu", fnvpair_value_uint16(curr));
182 FPRINTF(fp, "%d", fnvpair_value_int32(curr));
187 FPRINTF(fp, "%u", fnvpair_value_uint32(curr));
193 (long long)fnvpair_value_int64(curr));
199 (unsigned long long)fnvpair_value_uint64(curr));
205 VERIFY0(nvpair_value_hrtime(curr, &val));
212 VERIFY0(nvpair_value_double(curr, &val));
219 fnvpair_value_nvlist(curr)) == -1)
227 VERIFY0(nvpair_value_string_array(curr, &val, &valsz));
242 VERIFY0(nvpair_value_nvlist_array(curr, &val, &valsz));
257 VERIFY0(nvpair_value_boolean_array(curr, &val, &valsz));
272 VERIFY0(nvpair_value_byte_array(curr, &val, &valsz));
286 VERIFY0(nvpair_value_uint8_array(curr, &val, &valsz));
300 VERIFY0(nvpair_value_int8_array(curr, &val, &valsz));
314 VERIFY0(nvpair_value_uint16_array(curr, &val, &valsz));
328 VERIFY0(nvpair_value_int16_array(curr, &val, &valsz));
342 VERIFY0(nvpair_value_uint32_array(curr, &val, &valsz));
356 VERIFY0(nvpair_value_int32_array(curr, &val, &valsz));
370 VERIFY0(nvpair_value_uint64_array(curr, &val, &valsz));
385 VERIFY0(nvpair_value_int64_array(curr, &val, &valsz));