Home
last modified time | relevance | path

Searched refs:jstr (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcheck-qjson.c25 static QString *from_json_str(const char *jstr, bool single, Error **errp) in from_json_str() argument
28 char *qjstr = g_strdup_printf("%c%s%c", quote, jstr, quote); in from_json_str()
85 char *jstr; in escaped_string() local
94 jstr = to_json_str(cstr); in escaped_string()
95 g_assert_cmpstr(jstr, ==, test_cases[i].json_in); in escaped_string()
96 g_free(jstr); in escaped_string()
741 char *end, *in, *jstr; in utf8_string() local
776 jstr = to_json_str(str); in utf8_string()
777 g_assert_cmpstr(jstr, ==, json_out); in utf8_string()
779 g_free(jstr); in utf8_string()