Lines Matching full:encoded
794 const char *encoded; in int_number() member
811 for (i = 0; test_cases[i].encoded; i++) { in int_number()
813 qobject_from_json(test_cases[i].encoded, in int_number()
829 test_cases[i].reencoded ?: test_cases[i].encoded); in int_number()
839 const char *encoded; in uint_number() member
853 for (i = 0; test_cases[i].encoded; i++) { in uint_number()
855 qobject_from_json(test_cases[i].encoded, in uint_number()
866 test_cases[i].reencoded ?: test_cases[i].encoded); in uint_number()
876 const char *encoded; in float_number() member
894 for (i = 0; test_cases[i].encoded; i++) { in float_number()
896 qobject_from_json(test_cases[i].encoded, in float_number()
905 test_cases[i].reencoded ?: test_cases[i].encoded); in float_number()
1059 const char *encoded; in simple_dict() member
1063 .encoded = "{\"foo\": 42, \"bar\": \"hello world\"}", in simple_dict()
1070 .encoded = "{}", in simple_dict()
1075 .encoded = "{\"foo\": 43}", in simple_dict()
1084 for (i = 0; test_cases[i].encoded; i++) { in simple_dict()
1088 obj = qobject_from_json(test_cases[i].encoded, &error_abort); in simple_dict()
1157 const char *encoded; in simple_list() member
1161 .encoded = "[43,42]", in simple_list()
1169 .encoded = "[43]", in simple_list()
1176 .encoded = "[]", in simple_list()
1182 .encoded = "[{}]", in simple_list()
1193 for (i = 0; test_cases[i].encoded; i++) { in simple_list()
1197 obj = qobject_from_json(test_cases[i].encoded, &error_abort); in simple_list()
1214 const char *encoded; in simple_whitespace() member
1218 .encoded = " [ 43 , 42 ]", in simple_whitespace()
1226 .encoded = "\t[ 43 , { 'h' : 'b' },\r\n\t[ ], 42 ]\n", in simple_whitespace()
1239 .encoded = " [ 43 , { 'h' : 'b' , 'a' : 32 }, [ ], 42 ]", in simple_whitespace()
1255 for (i = 0; test_cases[i].encoded; i++) { in simple_whitespace()
1259 obj = qobject_from_json(test_cases[i].encoded, &error_abort); in simple_whitespace()