/external/python/dateutil/dateutil/parser/ |
D | isoparser.py | 166 def parse_isotime(self, timestr): argument 176 components = self._parse_isotime(timestr) 330 def _parse_isotime(self, timestr): argument 331 len_str = len(timestr) 336 if len(timestr) < 2: 339 has_sep = len_str >= 3 and timestr[2:3] == self._TIME_SEP 344 if timestr[pos:pos + 1] in b'-+Zz': 346 components[-1] = self._parse_tzstr(timestr[pos:]) 352 components[comp] = int(timestr[pos:pos + 2]) 355 timestr[pos:pos + 1] == self._TIME_SEP): [all …]
|
D | _parser.py | 578 def parse(self, timestr, default=None, argument 646 res, skipped_tokens = self._parse(timestr, **kwargs) 649 raise ValueError("Unknown string format:", timestr) 652 raise ValueError("String does not contain a date:", timestr) 669 def _parse(self, timestr, dayfirst=None, yearfirst=None, fuzzy=False, argument 722 l = _timelex.split(timestr) # Splits the timestr into tokens 833 raise ValueError(timestr) 852 raise ValueError(timestr) 1260 def parse(timestr, parserinfo=None, **kwargs): argument 1356 return parser(parserinfo).parse(timestr, **kwargs) [all …]
|
/external/curl/lib/ |
D | getinfo.c | 180 char *timestr = getenv("CURL_TIME"); in getinfo_long() local 181 if(timestr) { in getinfo_long() 182 unsigned long val = strtol(timestr, NULL, 10); in getinfo_long() 192 timestr = getenv("CURL_DEBUG_SIZE"); in getinfo_long() 193 if(timestr) { in getinfo_long() 194 unsigned long val = strtol(timestr, NULL, 10); in getinfo_long() 326 char *timestr = getenv("CURL_TIME"); in getinfo_offt() local 327 if(timestr) { in getinfo_offt() 328 unsigned long val = strtol(timestr, NULL, 10); in getinfo_offt() 405 char *timestr = getenv("CURL_TIME"); in getinfo_double() local [all …]
|
D | altsvc.c | 423 char *timestr = getenv("CURL_TIME"); in debugtime() local 425 if(timestr) { in debugtime() 426 unsigned long val = strtol(timestr, NULL, 10); in debugtime()
|
/external/rust/crates/chrono/src/offset/ |
D | local.rs | 214 let timestr = dt.time().to_string(); in test_leap_second() localVariable 217 assert!(timestr == "01:02:60" || timestr == "01:03:00", "unexpected timestr {:?}", timestr); in test_leap_second() 220 let timestr = dt.time().to_string(); in test_leap_second() localVariable 222 timestr == "01:02:03.234" || timestr == "01:02:04.234", in test_leap_second() 224 timestr in test_leap_second()
|
/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/markdown/MarkdownTest/ |
D | MarkdownTest.pl | 92 print "Benchmark: ", timestr($time_diff), "\n";
|
/external/mesa3d/src/freedreno/rnn/ |
D | headergen2.c | 347 char timestr[64]; in print_file_info_() local 348 strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S", tm); in print_file_info_() 349 fprintf(dst, "(%7Lu bytes, from %s)\n", (unsigned long long)sb->st_size, timestr); in print_file_info_()
|
/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/python/cpython3/Lib/ |
D | datetime.py | 327 timestr = tstr[:tz_pos-1] if tz_pos > 0 else tstr 329 time_comps = _parse_hh_mm_ss_ff(timestr)
|
/external/icu/icu4c/source/i18n/ |
D | vtzone.cpp | 2293 UnicodeString timestr; in writeZonePropsByTime() local 2294 writer.write(getDateTimeString(time + fromOffset, timestr)); in writeZonePropsByTime()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 381 char timestr[20]; in TimeTToUTCString() local 382 size_t rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", ×truct); in TimeTToUTCString() 387 return string(timestr); in TimeTToUTCString()
|
/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 | 4522 timestr = '04:05:59' + (us and '.987001' or '') 4524 tailstr = timestr + ofsstr
|