Home
last modified time | relevance | path

Searched refs:datestr (Results 1 – 23 of 23) sorted by relevance

/external/u-boot/cmd/
Ddate.c157 int mk_date (const char *datestr, struct rtc_time *tmp) in mk_date() argument
162 ptr = strchr(datestr, '.'); in mk_date()
163 len = strlen(datestr); in mk_date()
170 if ((len - (ptr - datestr)) != 2) in mk_date()
186 if (cnvrt2 (datestr+ 8, &century) || in mk_date()
187 cnvrt2 (datestr+10, &year) ) { in mk_date()
195 if (cnvrt2 (datestr+ 8, &year)) in mk_date()
206 if (cnvrt2 (datestr+0, &val) || in mk_date()
211 if (cnvrt2 (datestr+2, &val) || in mk_date()
217 if (cnvrt2 (datestr+4, &val) || in mk_date()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c379 UChar *datestr; in Test4073003() local
403 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1)); in Test4073003()
404 u_uastrcpy(datestr, tests[i]); in Test4073003()
407 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
412 free(datestr); in Test4073003()
413 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1)); in Test4073003()
414 u_uastrcpy(datestr, tests[i+1]); in Test4073003()
418 dd = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
422 free(datestr); in Test4073003()
450 UChar datestr[30]; in Test4162071() local
[all …]
/external/ltp/pan/cgi/
Dresults.cgi25 ($host, $datestr, $suite, $type, $gz) = split(/\./, $get_df);
78 s/(\S+)/<a href="results.cgi?get_df=$host.$datestr.$suite.driver&zoom_tag=\1">\1<\/a>/;
97 ($host, $datestr, $suite, $type, $gz) = split(/\./, $df);
101 $a_rec->{DATE} = $datestr;
Dbrowse.cgi20 my($host, $datestr, $suite, $type, $gz);
39 ($host, $datestr, $suite, $type, $gz) = split(/\./, $pf);
139 ($host, $datestr, $suite, $type, $gz) = split(/\./, $df);
143 $a_rec->{DATE} = $datestr;
146 $a_rec->{UNAME} = get_result_uname($host, $datestr);
Dreconsile.cgi57 ($host, $datestr, $suite, $ext) = split(/\./, $result_filename);
59 $result_details->[$i]->{DATESTR} = $datestr;
/external/e2fsprogs/debugfs/
Dls.c88 char datestr[80]; in list_dir_proc() local
129 sprintf(datestr, "%2d-%s-%4d %02d:%02d", in list_dir_proc()
134 strcpy(datestr, " "); in list_dir_proc()
147 fprintf(ls->f, " %s ", datestr); in list_dir_proc()
/external/python/dateutil/dateutil/parser/
Disoparser.py149 def parse_isodate(self, datestr): argument
159 components, pos = self._parse_isodate(datestr)
160 if pos < len(datestr):
162 'components: {}'.format(datestr))
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp1094 const char* datestr = data[i++]; in expect() local
1117 logln("original date: %s - %s\n", datestr, datestr_2); in expect()
1118 UDate date = ref.parse(ctou(datestr), ec); in expect()
1131 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + ctou(datestr) + "\\" + ct… in expect()
1134 + "\"" + datestr + "\", " in expect()
1314 const char* datestr = data[i++]; in expectUserDII() local
1316 UDate date = ref.parse(ctou(datestr), ec); in expectUserDII()
1336 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1472 const char* datestr = data[i++]; in stress() local
1475 sprintf(mesg, "original date: %s - %s\n", datestr, datestr_2); in stress()
[all …]
Ddtfmttst.cpp2035 const char* datestr = data[i++]; in expect() local
2037 UDate date = ref.parse(ctou(datestr), ec); in expect()
2039 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2043 datestr = data[i++]; in expect()
2044 date = ref.parse(ctou(datestr), ec); in expect()
2057 const char* datestr = data[i++]; in expect() local
2058 UDate date = ref.parse(ctou(datestr), ec); in expect()
2068 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2074 const char* datestr = data[i++]; in expect() local
2076 UDate date = ref.parse(ctou(datestr), ec); in expect()
[all …]
/external/autotest/site_utils/
Ddut_status.py177 datestr = '---'
180 datestr = time_utils.epoch_time_to_date_string(
186 datestr,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java737 String datestr = data[i++]; in expect() local
749 date = ref.parse(datestr); in expect()
764 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
837 String datestr = data[i++]; in expectUserDII() local
841 date = ref.parse(datestr); in expectUserDII()
860 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
911 String datestr = data[i++]; in expectUserCLDR() local
915 date = ref.parse(datestr); in expectUserCLDR()
947 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1072 String datestr = data[i++]; in stress() local
[all …]
DDateFormatTest.java3214 String datestr = data[i++]; in expectFormat() local
3219 date = ref.parse(datestr); in expectFormat()
3221 errln("FAIL: Internal test error; can't parse " + datestr); in expectFormat()
3225 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expectFormat()
3311 String datestr = data[i++]; in expect() local
3313 String datestr2 = datestr; in expect()
3319 date = ref.parse(datestr); in expect()
3321 errln("FAIL: Internal test error; can't parse " + datestr); in expect()
3324 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expect()
3328 if (!datestr2.equals(datestr)) { in expect()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java740 String datestr = data[i++]; in expect() local
752 date = ref.parse(datestr); in expect()
767 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
840 String datestr = data[i++]; in expectUserDII() local
844 date = ref.parse(datestr); in expectUserDII()
863 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
914 String datestr = data[i++]; in expectUserCLDR() local
918 date = ref.parse(datestr); in expectUserCLDR()
950 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1075 String datestr = data[i++]; in stress() local
[all …]
DDateFormatTest.java3217 String datestr = data[i++]; in expectFormat() local
3222 date = ref.parse(datestr); in expectFormat()
3224 errln("FAIL: Internal test error; can't parse " + datestr); in expectFormat()
3228 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expectFormat()
3314 String datestr = data[i++]; in expect() local
3316 String datestr2 = datestr; in expect()
3322 date = ref.parse(datestr); in expect()
3324 errln("FAIL: Internal test error; can't parse " + datestr); in expect()
3327 assertEquals("\"" + currentPat + "\".format(" + datestr + ")", in expect()
3331 if (!datestr2.equals(datestr)) { in expect()
[all …]
/external/python/dateutil/dateutil/test/
Dtest_isoparser.py170 def test_isoparse_sep_none(datestr, sep): argument
171 isostr = datestr + sep + '14:33:09'
/external/elfutils/src/
Dar.c541 char datestr[100]; in do_oper_extract() local
549 strftime (datestr, sizeof (datestr), "%b %e %H:%M %Y", tp); in do_oper_extract()
570 datestr, in do_oper_extract()
/external/python/dateutil/dateutil/
Drrule.py1603 for datestr in date_value.split(','):
1604 date = parser.parse(datestr, ignoretz=ignoretz, tzinfos=tzinfos)
1710 for datestr in value.split(','):
1711 rset.rdate(parser.parse(datestr,
/external/curl/lib/
Dhttp.c1912 char datestr[80]; in Curl_add_timecondition() local
1954 msnprintf(datestr, sizeof(datestr), in Curl_add_timecondition()
1965 result = Curl_add_buffer(&req_buffer, datestr, strlen(datestr)); in Curl_add_timecondition()
/external/python/cpython2/Lib/test/
Dtest_datetime.py2867 datestr = '0001-02-03'
2875 self.assertEqual(iso, datestr + 'T' + tailstr)
2877 self.assertEqual(d.isoformat('k'), datestr + 'k' + tailstr)
2878 self.assertEqual(str(d), datestr + ' ' + tailstr)
/external/icu/icu4c/source/i18n/
Dvtzone.cpp749 UnicodeString *datestr = (UnicodeString*)dates->elementAt(i); in createRuleByRDATE() local
750 times[i] = parseDateTimeString(*datestr, fromOffset, status); in createRuleByRDATE()
/external/python/cpython2/Doc/library/
Dimaplib.rst89 .. function:: Internaldate2tuple(datestr)
/external/python/cpython3/Doc/library/
Dimaplib.rst127 .. function:: Internaldate2tuple(datestr)
/external/python/cpython3/Lib/test/
Ddatetimetester.py4484 datestr = '0001-02-03'
4492 self.assertEqual(iso, datestr + 'T' + tailstr)
4494 self.assertEqual(d.isoformat('k'), datestr + 'k' + tailstr)
4495 self.assertEqual(d.isoformat('\u1234'), datestr + '\u1234' + tailstr)
4496 self.assertEqual(str(d), datestr + ' ' + tailstr)