/external/python/dateutil/dateutil/parser/ |
D | isoparser.py | 156 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.py | 536 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/ |
D | log.c | 109 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/ |
D | testtrace.c | 94 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/ |
D | altsvc.c | 384 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/ |
D | MarkdownTest.pl | 92 print "Benchmark: ", timestr($time_diff), "\n";
|
/external/google-breakpad/src/tools/mac/crash_report/ |
D | crash_report.mm | 256 char timestr[20]; 257 strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", ×truct); 258 printf("Date: %s GMT\n", timestr);
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 378 char timestr[20]; in TimeTToUTCString() local 379 int rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", ×truct); in TimeTToUTCString() 384 return string(timestr); in TimeTToUTCString()
|
/external/python/cpython3/Lib/ |
D | datetime.py | 323 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/ |
D | vtzone.cpp | 2236 UnicodeString timestr; in writeZonePropsByTime() local 2237 writer.write(getDateTimeString(time + fromOffset, timestr)); in writeZonePropsByTime()
|
/external/python/cpython2/Lib/test/ |
D | test_datetime.py | 2871 timestr = '04:05:59' + (us and '.987001' or '') 2873 tailstr = timestr + ofsstr
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 4264 timestr = '04:05:59' + (us and '.987001' or '') 4266 tailstr = timestr + ofsstr
|