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()
173 len = strlen (datestr); 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()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c378 UChar *datestr; in Test4073003() local
402 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1)); in Test4073003()
403 u_uastrcpy(datestr, tests[i]); in Test4073003()
406 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
411 free(datestr); in Test4073003()
412 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1)); in Test4073003()
413 u_uastrcpy(datestr, tests[i+1]); in Test4073003()
417 dd = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); in Test4073003()
421 free(datestr); in Test4073003()
449 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/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp1068 const char* datestr = data[i++]; in expect() local
1070 logln("original date: %s - %s\n", datestr, datestr_2); in expect()
1071 UDate date = ref.parse(ctou(datestr), ec); in expect()
1084 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + ctou(datestr) + "\\" + ct… in expect()
1087 + "\"" + datestr + "\", " in expect()
1267 const char* datestr = data[i++]; in expectUserDII() local
1269 UDate date = ref.parse(ctou(datestr), ec); in expectUserDII()
1289 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1425 const char* datestr = data[i++]; in stress() local
1428 sprintf(mesg, "original date: %s - %s\n", datestr, datestr_2); in stress()
[all …]
Ddtfmttst.cpp2036 const char* datestr = data[i++]; in expect() local
2038 UDate date = ref.parse(ctou(datestr), ec); in expect()
2040 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2044 datestr = data[i++]; in expect()
2045 date = ref.parse(ctou(datestr), ec); in expect()
2058 const char* datestr = data[i++]; in expect() local
2059 UDate date = ref.parse(ctou(datestr), ec); in expect()
2069 assertEquals((UnicodeString)"\"" + currentPat + "\".format(" + datestr + ")", in expect()
2075 const char* datestr = data[i++]; in expect() local
2077 UDate date = ref.parse(ctou(datestr), ec); in expect()
[all …]
/external/e2fsprogs/debugfs/
Dls.c97 char datestr[80]; in list_dir_proc() local
138 sprintf(datestr, "%2d-%s-%4d %02d:%02d", in list_dir_proc()
143 strcpy(datestr, " "); in list_dir_proc()
159 fprintf(ls->f, " %s ", datestr); in list_dir_proc()
/external/python/dateutil/dateutil/parser/
Disoparser.py139 def parse_isodate(self, datestr): argument
149 components, pos = self._parse_isodate(datestr)
150 if pos < len(datestr):
152 'components: {}'.format(datestr))
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java706 String datestr = data[i++]; in expect() local
710 date = ref.parse(datestr); in expect()
724 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
797 String datestr = data[i++]; in expectUserDII() local
801 date = ref.parse(datestr); in expectUserDII()
820 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
871 String datestr = data[i++]; in expectUserCLDR() local
875 date = ref.parse(datestr); in expectUserCLDR()
907 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1032 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.java709 String datestr = data[i++]; in expect() local
713 date = ref.parse(datestr); in expect()
727 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
800 String datestr = data[i++]; in expectUserDII() local
804 date = ref.parse(datestr); in expectUserDII()
823 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
874 String datestr = data[i++]; in expectUserCLDR() local
878 date = ref.parse(datestr); in expectUserCLDR()
910 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
1035 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/autotest/site_utils/
Ddut_status.py177 datestr = '---'
180 datestr = time_utils.epoch_time_to_date_string(
186 datestr,
/external/python/dateutil/dateutil/test/
Dtest_isoparser.py160 def test_isoparse_sep_none(datestr, sep): argument
161 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.py1640 for datestr in value.split(','):
1641 rset.rdate(parser.parse(datestr,
1649 for datestr in value.split(','):
1650 rset.exdate(parser.parse(datestr,
/external/curl/lib/
Dhttp.c1872 char datestr[80]; in Curl_add_timecondition() local
1909 msnprintf(datestr, sizeof(datestr), in Curl_add_timecondition()
1920 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.py4260 datestr = '0001-02-03'
4268 self.assertEqual(iso, datestr + 'T' + tailstr)
4270 self.assertEqual(d.isoformat('k'), datestr + 'k' + tailstr)
4271 self.assertEqual(d.isoformat('\u1234'), datestr + '\u1234' + tailstr)
4272 self.assertEqual(str(d), datestr + ' ' + tailstr)