Home
last modified time | relevance | path

Searched refs:timestr (Results 1 – 12 of 12) sorted by relevance

/external/python/dateutil/dateutil/parser/
Disoparser.py156 def parse_isotime(self, timestr): argument
166 return time(*self._parse_isotime(timestr))
318 def _parse_isotime(self, timestr): argument
319 len_str = len(timestr)
324 if len(timestr) < 2:
327 has_sep = len_str >= 3 and timestr[2:3] == self._TIME_SEP
332 if timestr[pos:pos + 1] in b'-+Z':
334 components[-1] = self._parse_tzstr(timestr[pos:])
340 components[comp] = int(timestr[pos:pos + 2])
343 timestr[pos:pos + 1] == self._TIME_SEP):
[all …]
D_parser.py536 def parse(self, timestr, default=None, argument
604 res, skipped_tokens = self._parse(timestr, **kwargs)
607 raise ValueError("Unknown string format:", timestr)
610 raise ValueError("String does not contain a date:", timestr)
627 def _parse(self, timestr, dayfirst=None, yearfirst=None, fuzzy=False, argument
680 l = _timelex.split(timestr) # Splits the timestr into tokens
791 raise ValueError(timestr)
810 raise ValueError(timestr)
1214 def parse(timestr, parserinfo=None, **kwargs): argument
1310 return parser(parserinfo).parse(timestr, **kwargs)
[all …]
/external/honggfuzz/libhfcommon/
Dlog.c109 char timestr[32]; in logLog() local
110 if (strftime(timestr, sizeof(timestr) - 1, "%FT%T%z", &utctime) == 0) { in logLog()
111 timestr[0] = '\0'; in logLog()
122 dprintf(log_fd, "[%s][%s][%d] ", timestr, logLevels[ll].descr, __hf_pid()); in logLog()
/external/curl/tests/libtest/
Dtesttrace.c94 char *timestr; in libtest_debug_cb() local
100 timestr = &timebuf[0]; in libtest_debug_cb()
117 fprintf(stderr, "%s== Info: %s", timestr, (char *)data); in libtest_debug_cb()
/external/curl/lib/
Daltsvc.c384 char *timestr = getenv("CURL_TIME"); in debugtime() local
386 if(timestr) { in debugtime()
387 unsigned long val = strtol(timestr, NULL, 10); in debugtime()
/external/markdown/MarkdownTest/
DMarkdownTest.pl92 print "Benchmark: ", timestr($time_diff), "\n";
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm256 char timestr[20];
257 strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", &timestruct);
258 printf("Date: %s GMT\n", timestr);
/external/google-breakpad/src/processor/
Dminidump.cc378 char timestr[20]; in TimeTToUTCString() local
379 int rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", &timestruct); in TimeTToUTCString()
384 return string(timestr); in TimeTToUTCString()
/external/python/cpython3/Lib/
Ddatetime.py323 timestr = tstr[:tz_pos-1] if tz_pos > 0 else tstr
325 time_comps = _parse_hh_mm_ss_ff(timestr)
/external/icu/icu4c/source/i18n/
Dvtzone.cpp2236 UnicodeString timestr; in writeZonePropsByTime() local
2237 writer.write(getDateTimeString(time + fromOffset, timestr)); in writeZonePropsByTime()
/external/python/cpython2/Lib/test/
Dtest_datetime.py2871 timestr = '04:05:59' + (us and '.987001' or '')
2873 tailstr = timestr + ofsstr
/external/python/cpython3/Lib/test/
Ddatetimetester.py4264 timestr = '04:05:59' + (us and '.987001' or '')
4266 tailstr = timestr + ofsstr