Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dnntplib.py232 def _parse_datetime(date_str, time_str=None): argument
238 time_str = date_str[-6:]
239 date_str = date_str[:-6]
243 year = int(date_str[:-4])
244 month = int(date_str[-4:-2])
245 day = int(date_str[-2:])
274 date_str = "{0:02d}{1.month:02d}{1.day:02d}".format(y, dt)
276 date_str = "{0:04d}{1.month:02d}{1.day:02d}".format(y, dt)
277 return date_str, time_str
604 date_str, time_str = _unparse_datetime(date, self.nntp_version < 2)
[all …]
/third_party/libsoup/tests/
Dxmlrpc-server.php50 $date_str = $params[0]->scalar;
51 $date = strptime ($date_str, "%Y%m%dT%H:%M:%S");
/third_party/python/Lib/test/
Dtest_nntplib.py637 def handle_NEWNEWS(self, group, date_str, time_str): argument
640 if (group == "comp.lang.python" and date_str == "20100913"
648 elif (group == "comp.lang.python" and date_str == "100913"
657 date_str in ('20100101', '100101') and
1440 def gives(y, M, d, h, m, s, date_str, time_str): argument
1443 (date_str, time_str))
1445 (date_str, time_str))
1450 def gives(y, M, d, date_str, time_str): argument
1453 (date_str, time_str))
1455 (date_str, time_str))
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dtest_http_src.c353 gchar *date_str; in gst_test_http_src_start() local
357 date_str = g_date_time_format (now, "%a, %e %b %Y %T %Z"); in gst_test_http_src_start()
358 fail_unless (date_str != NULL); in gst_test_http_src_start()
360 "Date", G_TYPE_STRING, date_str, NULL); in gst_test_http_src_start()
361 g_free (date_str); in gst_test_http_src_start()
/third_party/glib/tests/
Dtestglib.c1585 gchar *tmp_string = NULL, *tmp_string_2, *string, *date_str; in various_string_tests() local
1717 date_str = g_time_val_to_iso8601 (&ref_date); in various_string_tests()
1718 g_assert (date_str != NULL); in various_string_tests()
1720 g_printerr ("\t=> date string = %s (should be: %s)\n", date_str, REF_STR_UTC); in various_string_tests()
1721 g_assert (strcmp (date_str, REF_STR_UTC) == 0); in various_string_tests()
1722 g_free (date_str); in various_string_tests()
1725 date_str = g_time_val_to_iso8601 (&ref_date); in various_string_tests()
1726 g_assert (date_str != NULL); in various_string_tests()
1728 g_printerr ("\t=> date string = %s (should be: %s)\n", date_str, REF_STR_USEC_UTC); in various_string_tests()
1729 g_assert (strcmp (date_str, REF_STR_USEC_UTC) == 0); in various_string_tests()
[all …]
/third_party/grpc/tools/failures/
Ddetect_new_failures.py160 def parse_isodate(date_str): argument
161 return datetime.datetime.strptime(date_str, "%Y-%m-%d").date()
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlsmtpsink.c623 gchar *date_str; in gst_curl_smtp_sink_set_transfer_options_unlocked() local
640 date_str = g_date_time_format (date, "%a, %e %b %Y %H:%M:%S %z"); in gst_curl_smtp_sink_set_transfer_options_unlocked()
684 date_str, BOUNDARY_STRING, message_body ? message_body : ""); in gst_curl_smtp_sink_set_transfer_options_unlocked()
690 g_free (date_str); in gst_curl_smtp_sink_set_transfer_options_unlocked()
/third_party/glib/gio/
Dgfileinfo.c1469 const char *date_str; in g_file_info_get_deletion_date() local
1479 date_str = _g_file_attribute_value_get_string (value); in g_file_info_get_deletion_date()
1480 if (!date_str) in g_file_info_get_deletion_date()
1484 dt = g_date_time_new_from_iso8601 (date_str, local_tz); in g_file_info_get_deletion_date()
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstdashdemux.c985 gchar *date_str = gst_date_time_to_iso8601_string (now); in gst_dash_demux_setup_streams() local
987 date_str); in gst_dash_demux_setup_streams()
988 g_free (date_str); in gst_dash_demux_setup_streams()
/third_party/python/Modules/
D_datetimemodule.c3157 date_str(PyDateTime_Date *self) in date_str() function
3573 (reprfunc)date_str, /* tp_str */