Home
last modified time | relevance | path

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

/external/bluetooth/glib/glib/
Dgtimer.c301 g_time_val_from_iso8601 (const gchar *iso_date, in g_time_val_from_iso8601() argument
307 g_return_val_if_fail (iso_date != NULL, FALSE); in g_time_val_from_iso8601()
313 while (g_ascii_isspace (*iso_date)) in g_time_val_from_iso8601()
314 iso_date++; in g_time_val_from_iso8601()
316 if (*iso_date == '\0') in g_time_val_from_iso8601()
319 if (!g_ascii_isdigit (*iso_date) && *iso_date != '-' && *iso_date != '+') in g_time_val_from_iso8601()
322 val = strtoul (iso_date, (char **)&iso_date, 10); in g_time_val_from_iso8601()
323 if (*iso_date == '-') in g_time_val_from_iso8601()
327 iso_date++; in g_time_val_from_iso8601()
328 tm.tm_mon = strtoul (iso_date, (char **)&iso_date, 10) - 1; in g_time_val_from_iso8601()
[all …]
Dgtimer.h59 gboolean g_time_val_from_iso8601 (const gchar *iso_date,