Lines Matching refs:v

13         _cleanup_(json_variant_unrefp) JsonVariant *v = NULL;  in LLVMFuzzerTestOneInput()
23 r = json_parse_file(f, NULL, 0, &v, NULL, NULL); in LLVMFuzzerTestOneInput()
32 json_variant_dump(v, 0, g ?: stdout, NULL); in LLVMFuzzerTestOneInput()
33 … json_variant_dump(v, JSON_FORMAT_PRETTY|JSON_FORMAT_COLOR|JSON_FORMAT_SOURCE, g ?: stdout, NULL); in LLVMFuzzerTestOneInput()
35 bool sorted = json_variant_is_sorted(v); in LLVMFuzzerTestOneInput()
38 r = json_variant_sort(&v); in LLVMFuzzerTestOneInput()
41 sorted = json_variant_is_sorted(v); in LLVMFuzzerTestOneInput()
45 bool normalized = json_variant_is_normalized(v); in LLVMFuzzerTestOneInput()
48 r = json_variant_normalize(&v); in LLVMFuzzerTestOneInput()
51 normalized = json_variant_is_normalized(v); in LLVMFuzzerTestOneInput()
55 double real = json_variant_real(v); in LLVMFuzzerTestOneInput()
58 bool negative = json_variant_is_negative(v); in LLVMFuzzerTestOneInput()
61 bool blank = json_variant_is_blank_object(v); in LLVMFuzzerTestOneInput()
64 blank = json_variant_is_blank_array(v); in LLVMFuzzerTestOneInput()
67 size_t elements = json_variant_elements(v); in LLVMFuzzerTestOneInput()
71 (void) json_variant_by_index(v, i); in LLVMFuzzerTestOneInput()
73 assert_se(json_variant_equal(v, v)); in LLVMFuzzerTestOneInput()
74 assert_se(!json_variant_equal(v, NULL)); in LLVMFuzzerTestOneInput()
75 assert_se(!json_variant_equal(NULL, v)); in LLVMFuzzerTestOneInput()
77 bool sensitive = json_variant_is_sensitive(v); in LLVMFuzzerTestOneInput()
80 json_variant_sensitive(v); in LLVMFuzzerTestOneInput()
82 sensitive = json_variant_is_sensitive(v); in LLVMFuzzerTestOneInput()
87 assert_se(json_variant_get_source(v, &source, &line, &column) == 0); in LLVMFuzzerTestOneInput()
90 r = json_variant_set_field_string(&v, "a", "string-a"); in LLVMFuzzerTestOneInput()
93 r = json_variant_set_field_integer(&v, "b", -12345); in LLVMFuzzerTestOneInput()
96 r = json_variant_set_field_unsigned(&v, "c", 12345); in LLVMFuzzerTestOneInput()
99 r = json_variant_set_field_boolean(&v, "d", false); in LLVMFuzzerTestOneInput()
102 r = json_variant_set_field_strv(&v, "e", STRV_MAKE("e-1", "e-2", "e-3")); in LLVMFuzzerTestOneInput()
105 r = json_variant_filter(&v, STRV_MAKE("a", "b", "c", "d", "e")); in LLVMFuzzerTestOneInput()
109 r = json_variant_merge(&v, v); in LLVMFuzzerTestOneInput()
112 r = json_variant_append_array(&v, v); in LLVMFuzzerTestOneInput()