Home
last modified time | relevance | path

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

/third_party/glib/glib/tests/
Ddate.c53 g_assert (!g_date_valid (d)); in test_empty_constructor()
64 g_assert (g_date_valid (d)); in test_dmy_constructor()
102 g_assert (g_date_valid (d)); in test_dates()
106 g_assert (g_date_valid (d)); in test_dates()
111 g_assert (g_date_valid (d)); in test_dates()
115 g_assert (g_date_valid (d)); in test_dates()
120 g_assert (g_date_valid (d)); in test_dates()
146 g_assert (g_date_valid (d)); in test_parse()
152 g_assert (g_date_valid (d)); in test_parse()
158 g_assert (!g_date_valid (d)); in test_parse()
[all …]
/third_party/glib/glib/
Dgdate.c305 g_assert (g_date_valid (d)); in g_date_new_dmy()
333 g_assert (g_date_valid (d)); in g_date_new_julian()
370 if (g_date_valid (date)) in g_date_copy()
392 g_date_valid (const GDate *d) in g_date_valid() function
611 g_return_val_if_fail (g_date_valid (d), G_DATE_BAD_WEEKDAY); in g_date_get_weekday()
632 g_return_val_if_fail (g_date_valid (d), G_DATE_BAD_MONTH); in g_date_get_month()
653 g_return_val_if_fail (g_date_valid (d), G_DATE_BAD_YEAR); in g_date_get_year()
674 g_return_val_if_fail (g_date_valid (d), G_DATE_BAD_DAY); in g_date_get_day()
698 g_return_val_if_fail (g_date_valid (d), G_DATE_BAD_JULIAN); in g_date_get_julian()
722 g_return_val_if_fail (g_date_valid (d), 0); in g_date_get_day_of_year()
[all …]
Dgdate.h139 gboolean g_date_valid (const GDate *date);
/third_party/glib/tests/
Dtestgdate.c83 TEST("Empty constructor produces invalid date", !g_date_valid(d)); in main()
89 TEST("January 1, Year 1 created and valid", g_date_valid(d)); in main()
123 TEST("Today is valid", g_date_valid(d)); in main()
129 TEST("Beginning of Unix epoch is valid", g_date_valid(d)); in main()
135 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); in main()
151 g_date_valid(d) && in main()
214 TEST("Cleared day is invalid", !g_date_valid(d)); in main()
218 TEST("Set day is valid", g_date_valid(d)); in main()
227 TEST("Date with DMY triplet is valid", g_date_valid(d)); in main()
Dtestgdateparser.c60 if (!g_date_valid(d)) in main()
80 if (!g_date_valid(d)) in main()
/third_party/gstreamer/gstreamer/gst/
Dgstvalue.c7208 if ((date1 == NULL || !g_date_valid (date1)) in gst_value_compare_date()
7209 && (date2 != NULL && g_date_valid (date2))) { in gst_value_compare_date()
7213 if ((date2 == NULL || !g_date_valid (date2)) in gst_value_compare_date()
7214 && (date1 != NULL && g_date_valid (date1))) { in gst_value_compare_date()
7218 if (date1 == NULL || date2 == NULL || !g_date_valid (date1) in gst_value_compare_date()
7219 || !g_date_valid (date2)) { in gst_value_compare_date()
7239 if (date == NULL || !g_date_valid (date)) in gst_value_serialize_date()
Dgststructure.c1056 } else if (G_UNLIKELY (d != NULL && !g_date_valid (d))) { in gst_structure_set_field()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c2251 fail_unless (g_date_valid (date2)); in GST_START_TEST()
2275 fail_unless (g_date_valid (date)); in GST_START_TEST()
/third_party/glib/docs/reference/glib/
Dglib-sections.txt1926 g_date_valid
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavidemux.c3626 if (!g_date_valid (date)) { in gst_avi_demux_add_date_tag()