Lines Matching refs:xform
41 GValue xform = { 0, }; in test_enum_transformation() local
49 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
50 g_value_init (&xform, G_TYPE_CHAR); in test_enum_transformation()
51 g_value_transform (&orig, &xform); in test_enum_transformation()
52 g_assert (g_value_get_char (&xform) == 1); in test_enum_transformation()
54 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
55 g_value_init (&xform, G_TYPE_UCHAR); in test_enum_transformation()
56 g_value_transform (&orig, &xform); in test_enum_transformation()
57 g_assert (g_value_get_uchar (&xform) == 1); in test_enum_transformation()
59 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
60 g_value_init (&xform, G_TYPE_INT); in test_enum_transformation()
61 g_value_transform (&orig, &xform); in test_enum_transformation()
62 g_assert (g_value_get_int (&xform) == 1); in test_enum_transformation()
64 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
65 g_value_init (&xform, G_TYPE_UINT); in test_enum_transformation()
66 g_value_transform (&orig, &xform); in test_enum_transformation()
67 g_assert (g_value_get_uint (&xform) == 1); in test_enum_transformation()
69 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
70 g_value_init (&xform, G_TYPE_LONG); in test_enum_transformation()
71 g_value_transform (&orig, &xform); in test_enum_transformation()
72 g_assert (g_value_get_long (&xform) == 1); in test_enum_transformation()
74 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
75 g_value_init (&xform, G_TYPE_ULONG); in test_enum_transformation()
76 g_value_transform (&orig, &xform); in test_enum_transformation()
77 g_assert (g_value_get_ulong (&xform) == 1); in test_enum_transformation()
79 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
80 g_value_init (&xform, G_TYPE_INT64); in test_enum_transformation()
81 g_value_transform (&orig, &xform); in test_enum_transformation()
82 g_assert (g_value_get_int64 (&xform) == 1); in test_enum_transformation()
84 memset (&xform, 0, sizeof (GValue)); in test_enum_transformation()
85 g_value_init (&xform, G_TYPE_UINT64); in test_enum_transformation()
86 g_value_transform (&orig, &xform); in test_enum_transformation()
87 g_assert (g_value_get_uint64 (&xform) == 1); in test_enum_transformation()