Lines Matching refs:JsonVariant
79 typedef void (*Test)(JsonVariant *);
82 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *w = NULL; in test_variant_one()
144 static void test_1(JsonVariant *v) { in test_1()
145 JsonVariant *p, *q; in test_1()
180 static void test_2(JsonVariant *v) { in test_2()
181 JsonVariant *p, *q; in test_2()
227 static void test_zeroes(JsonVariant *v) { in test_zeroes()
234 JsonVariant *w; in test_zeroes()
256 JsonVariant *q; in test_zeroes()
266 _cleanup_(json_variant_unrefp) JsonVariant *a = NULL, *b = NULL; in TEST()
367 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL; in TEST()
387 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL; in TEST()
395 _cleanup_(json_variant_unrefp) JsonVariant *w = NULL; in TEST()
401 … r = json_variant_new_object(&w, (JsonVariant*[]) { JSON_VARIANT_STRING_CONST("key"), v }, 2); in TEST()
425 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *w = NULL; in TEST()
469 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL; in TEST()
478 _cleanup_(json_variant_unrefp) JsonVariant *w = NULL; in TEST()
494 JsonVariant *k; in TEST()
510 static void test_float_match(JsonVariant *v) { in test_float_match()
534 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *w = NULL; in TEST()
560 static void test_equal_text(JsonVariant *v, const char *text) { in test_equal_text()
561 _cleanup_(json_variant_unrefp) JsonVariant *w = NULL; in test_equal_text()
568 _cleanup_(json_variant_unrefp) JsonVariant *v = NULL; in TEST()