Lines Matching refs:visitor_input_test_init

82 Visitor *visitor_input_test_init(TestInputVisitorData *data,  in visitor_input_test_init()  function
117 v = visitor_input_test_init(data, "%d", value); in test_visitor_in_int()
135 v = visitor_input_test_init(data, "%d", value); in test_visitor_in_uint()
147 v = visitor_input_test_init(data, "%d", -value); in test_visitor_in_uint()
152 v = visitor_input_test_init(data, "18446744073709551574"); in test_visitor_in_uint()
173 v = visitor_input_test_init(data, "%f", DBL_MAX); in test_visitor_in_int_overflow()
210 v = visitor_input_test_init(data, "\"-42\""); in test_visitor_in_int_str_fail()
222 v = visitor_input_test_init(data, "true"); in test_visitor_in_bool()
260 v = visitor_input_test_init(data, "\"true\""); in test_visitor_in_bool_str_fail()
272 v = visitor_input_test_init(data, "%f", value); in test_visitor_in_number()
287 v = visitor_input_test_init(data, "-18446744073709551616"); /* -2^64 */ in test_visitor_in_large_number()
337 v = visitor_input_test_init(data, "\"3.14\""); in test_visitor_in_number_str_fail()
362 v = visitor_input_test_init(data, "\"500M\""); in test_visitor_in_size_str_fail()
374 v = visitor_input_test_init(data, "%s", value); in test_visitor_in_string()
391 v = visitor_input_test_init(data, "%s", EnumOne_str(i)); in test_visitor_in_enum()
405 v = visitor_input_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo' }"); in test_visitor_in_struct()
422 v = visitor_input_test_init(data, "{ 'string0': 'string0', " in test_visitor_in_struct_nested()
444 …v = visitor_input_test_init(data, "[ { 'string': 'string0', 'integer': 42 }, { 'string': 'string1'… in test_visitor_in_list()
460 v = visitor_input_test_init(data, "[]"); in test_visitor_in_list()
622 v = visitor_input_test_init(data, "-42"); in test_visitor_in_any()
630 v = visitor_input_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo' }"); in test_visitor_in_any()
693 v = visitor_input_test_init(data, in test_visitor_in_union_flat()
715 v = visitor_input_test_init(data, in test_visitor_in_union_in_union()
729 v = visitor_input_test_init(data, in test_visitor_in_union_in_union()
743 v = visitor_input_test_init(data, in test_visitor_in_union_in_union()
761 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate()
767 v = visitor_input_test_init(data, "'value1'"); in test_visitor_in_alternate()
773 v = visitor_input_test_init(data, "null"); in test_visitor_in_alternate()
778 v = visitor_input_test_init(data, "{'integer':1, 'string':'str', " in test_visitor_in_alternate()
789 v = visitor_input_test_init(data, "{ 'alt': 42 }"); in test_visitor_in_alternate()
795 v = visitor_input_test_init(data, "{ 'alt': 'value1' }"); in test_visitor_in_alternate()
801 v = visitor_input_test_init(data, "{ 'alt': {'integer':1, 'string':'str', " in test_visitor_in_alternate()
826 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate_number()
831 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate_number()
837 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate_number()
843 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate_number()
849 v = visitor_input_test_init(data, "42"); in test_visitor_in_alternate_number()
857 v = visitor_input_test_init(data, "42.5"); in test_visitor_in_alternate_number()
862 v = visitor_input_test_init(data, "42.5"); in test_visitor_in_alternate_number()
868 v = visitor_input_test_init(data, "42.5"); in test_visitor_in_alternate_number()
874 v = visitor_input_test_init(data, "42.5"); in test_visitor_in_alternate_number()
888 v = visitor_input_test_init(data, "[ 42, 43, 44 ]"); in test_visitor_in_alternate_list()
901 v = visitor_input_test_init(data, "[]"); in test_visitor_in_alternate_list()
930 v = visitor_input_test_init(data, "{ 'integer': false, 'boolean': 'foo', " in test_visitor_in_errors()
937 v = visitor_input_test_init(data, "[ '1', '2', false, '3' ]"); in test_visitor_in_errors()
942 v = visitor_input_test_init(data, "{ 'str':'hi' }"); in test_visitor_in_errors()
947 v = visitor_input_test_init(data, "{ }"); in test_visitor_in_errors()
964 v = visitor_input_test_init(data, "[]"); in test_visitor_in_wrong_type()
969 v = visitor_input_test_init(data, "{}"); in test_visitor_in_wrong_type()
976 v = visitor_input_test_init(data, "1"); in test_visitor_in_wrong_type()
981 v = visitor_input_test_init(data, "{}"); in test_visitor_in_wrong_type()
987 v = visitor_input_test_init(data, "1"); in test_visitor_in_wrong_type()
992 v = visitor_input_test_init(data, "[]"); in test_visitor_in_wrong_type()
1004 …v = visitor_input_test_init(data, "{ 'integer': -42, 'boolean': true, 'string': 'foo', 'extra': 42… in test_visitor_in_fail_struct()
1018 …v = visitor_input_test_init(data, "{ 'string0': 'string0', 'dict1': { 'string1': 'string1', 'dict2… in test_visitor_in_fail_struct_nested()
1032 …v = visitor_input_test_init(data, "[ { 'string': 'string0', 'integer': 42 }, { 'string': 'string1'… in test_visitor_in_fail_struct_in_list()
1055 v = visitor_input_test_init(data, "{ 'sub': [ {} ] }"); in test_visitor_in_fail_struct_missing()
1099 v = visitor_input_test_init(data, "[ 1, 2, 3 ]"); in test_visitor_in_fail_list()
1111 v = visitor_input_test_init(data, "[]"); in test_visitor_in_fail_list()
1128 v = visitor_input_test_init(data, "[ 0, [ 1, 2, 3 ] ]"); in test_visitor_in_fail_list_nested()
1150 …v = visitor_input_test_init(data, "{ 'enum1': 'value2', 'string': 'c', 'integer': 41, 'boolean': t… in test_visitor_in_fail_union_flat()
1165 …v = visitor_input_test_init(data, "{ 'integer': 42, 'string': 'c', 'string1': 'd', 'string2': 'e' … in test_visitor_in_fail_union_flat_no_discrim()
1179 v = visitor_input_test_init(data, "3.14"); in test_visitor_in_fail_alternate()