Lines Matching refs:curr

117 	nvpair_t *curr;  in nvlist_print_json()  local
122 for (curr = nvlist_next_nvpair(nvl, NULL); curr; in nvlist_print_json()
123 curr = nvlist_next_nvpair(nvl, curr)) { in nvlist_print_json()
124 data_type_t type = nvpair_type(curr); in nvlist_print_json()
131 if (nvlist_print_json_string(fp, nvpair_name(curr)) == -1) in nvlist_print_json()
137 const char *string = fnvpair_value_string(curr); in nvlist_print_json()
149 FPRINTF(fp, "%s", fnvpair_value_boolean_value(curr) == in nvlist_print_json()
155 FPRINTF(fp, "%hhu", fnvpair_value_byte(curr)); in nvlist_print_json()
160 FPRINTF(fp, "%hhd", fnvpair_value_int8(curr)); in nvlist_print_json()
165 FPRINTF(fp, "%hhu", fnvpair_value_uint8(curr)); in nvlist_print_json()
170 FPRINTF(fp, "%hd", fnvpair_value_int16(curr)); in nvlist_print_json()
175 FPRINTF(fp, "%hu", fnvpair_value_uint16(curr)); in nvlist_print_json()
180 FPRINTF(fp, "%d", fnvpair_value_int32(curr)); in nvlist_print_json()
185 FPRINTF(fp, "%u", fnvpair_value_uint32(curr)); in nvlist_print_json()
191 (long long)fnvpair_value_int64(curr)); in nvlist_print_json()
197 (unsigned long long)fnvpair_value_uint64(curr)); in nvlist_print_json()
203 VERIFY0(nvpair_value_hrtime(curr, &val)); in nvlist_print_json()
210 VERIFY0(nvpair_value_double(curr, &val)); in nvlist_print_json()
217 fnvpair_value_nvlist(curr)) == -1) in nvlist_print_json()
225 VERIFY0(nvpair_value_string_array(curr, &val, &valsz)); in nvlist_print_json()
240 VERIFY0(nvpair_value_nvlist_array(curr, &val, &valsz)); in nvlist_print_json()
255 VERIFY0(nvpair_value_boolean_array(curr, &val, &valsz)); in nvlist_print_json()
270 VERIFY0(nvpair_value_byte_array(curr, &val, &valsz)); in nvlist_print_json()
284 VERIFY0(nvpair_value_uint8_array(curr, &val, &valsz)); in nvlist_print_json()
298 VERIFY0(nvpair_value_int8_array(curr, &val, &valsz)); in nvlist_print_json()
312 VERIFY0(nvpair_value_uint16_array(curr, &val, &valsz)); in nvlist_print_json()
326 VERIFY0(nvpair_value_int16_array(curr, &val, &valsz)); in nvlist_print_json()
340 VERIFY0(nvpair_value_uint32_array(curr, &val, &valsz)); in nvlist_print_json()
354 VERIFY0(nvpair_value_int32_array(curr, &val, &valsz)); in nvlist_print_json()
368 VERIFY0(nvpair_value_uint64_array(curr, &val, &valsz)); in nvlist_print_json()
383 VERIFY0(nvpair_value_int64_array(curr, &val, &valsz)); in nvlist_print_json()