/external/curl/tests/libtest/ |
lib517.c | 26 static const char * const dates[]={ variable 128 for(i=0; dates[i]; i++) { 129 printf("%d: %s => %ld\n", i, dates[i], (long)curl_getdate(dates[i], NULL));
|
/libcore/luni/src/test/java/tests/java/sql/ |
SqlDateTest.java | 25 String[] dates = { local 29 for (String date : dates) {
|
/external/valgrind/auxprogs/ |
nightly-build-summary | 23 # whose keys are the dates at which nightly runs took place. The value 216 my (%dates) = @_; 218 foreach my $date (sort keys %dates) { 221 my %nightly = %{ $dates{$date} }; 254 $dates{$date} = { %nightly }; 257 return %dates; 269 my %dates = (); 303 $dates{$old_date} = { %nightly } if ($old_date ne "-1"); 313 $dates{$old_date} = { %nightly } if ($old_date ne "-1"); 316 %dates = precompute_summary_info( %dates ) [all...] |
/external/autotest/client/site_tests/touch_UpdateErrors/ |
touch_UpdateErrors.py | 44 lines, dates = [], [] 47 dates.append(entry[entry.find('Linux version '):]) 48 latest = dates[-1] 52 # first change in build. Some of these dates may be duplicated. 54 if dates[i] != latest:
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
TBSCertificate.java | 96 // before and after dates 98 ASN1Sequence dates = (ASN1Sequence)seq.getObjectAt(seqStart + 4); local 100 startDate = Time.getInstance(dates.getObjectAt(0)); 101 endDate = Time.getInstance(dates.getObjectAt(1));
|
TBSCertificateStructure.java | 98 // before and after dates 100 ASN1Sequence dates = (ASN1Sequence)seq.getObjectAt(seqStart + 4); local 102 startDate = Time.getInstance(dates.getObjectAt(0)); 103 endDate = Time.getInstance(dates.getObjectAt(1));
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 43 String[] dates = new String[]{ local 64 map.put("date", dates[i]);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLTest.java | 67 private static final String CRL_RSA_DATES = "x509/crl-rsa-dates.txt"; 69 private static final String CRL_RSA_DSA_DATES = "x509/crl-rsa-dsa-dates.txt"; 124 Map<String, Date> dates = new HashMap<String, Date>(); local 137 dates.put(key, value); 140 return dates; 230 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); local 232 Date lastUpdate = dates.get("lastUpdate"); 233 Date nextUpdate = dates.get("nextUpdate"); 244 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 246 Date lastUpdate = dates.get("lastUpdate") 333 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 351 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local [all...] |
X509CertificateTest.java | 170 final InputStream ris = Support_Resources.getStream("x509/cert-rsa-dates.txt"); 398 Date[] dates = getRsaCertificateDates(); local 406 assertTrue(now.after(dates[0])); 407 assertTrue(now.before(dates[1])); 413 cal.setTime(dates[0]); 418 cal.setTime(dates[1]); 423 cal.setTime(dates[0]); 431 cal.setTime(dates[0]); 439 cal.setTime(dates[1]); 447 cal.setTime(dates[1]) 600 Date[] dates = getRsaCertificateDates(); local [all...] |
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
i18n.py | 17 from babel import dates namespace 374 return dates.format_date(date, format, locale=self.locale) 403 return dates.format_datetime(datetime, format, locale=self.locale, 433 return dates.format_time(time, format, locale=self.locale, **kwargs) 458 return dates.format_timedelta(datetime_or_timedelta, granularity, 598 return dates.parse_date(string, locale=self.locale) 611 return dates.parse_datetime(string, locale=self.locale) 628 return dates.parse_time(string, locale=self.locale) 708 return dates.get_timezone_name(dt_or_tzinfo, locale=self.locale)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VTimeZone.java | 244 * Writes RFC2445 VTIMEZONE data applicable for dates after 253 // Extract rules applicable to dates after the start time 543 List<String> dates = null; // list of RDATE or RRULE strings local 581 dates = null; 614 if (dates == null) { 615 dates = new LinkedList<String>(); 622 dates.add(date); 626 if (!isRRULE && dates != null) { 629 } else if (dates == null) { 630 dates = new LinkedList<String>() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VTimeZone.java | 265 * Writes RFC2445 VTIMEZONE data applicable for dates after 276 // Extract rules applicable to dates after the start time 574 List<String> dates = null; // list of RDATE or RRULE strings local 612 dates = null; 645 if (dates == null) { 646 dates = new LinkedList<String>(); 653 dates.add(date); 657 if (!isRRULE && dates != null) { 660 } else if (dates == null) { 661 dates = new LinkedList<String>() [all...] |
/external/icu/icu4c/source/i18n/ |
vtzone.cpp | 525 UVector* dates, int fromOffset, UErrorCode& status) { 529 if (dates == NULL || dates->size() == 0) { 538 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); 549 if (dates->size() == 1) { 558 int32_t firstDay = 31; // max possible number of dates in a month 596 if (dates->size() > 7) { 613 for (i = 1; i < dates->size(); i++) { 614 rrule = *((UnicodeString*)dates->elementAt(i)); 728 UDate start, UVector* dates, int32_t fromOffset, UErrorCode& status) 1374 UVector *dates = NULL; \/\/ list of RDATE or RRULE strings local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RRuleTest.java | 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { 46 String[] out = new String[dates.length]; 48 for (long date : dates) { 192 // Fails: wrong dates 199 // Fails: wrong dates 206 // Fails: wrong dates 343 //Fails: wrong dates 357 // Fails: generates wrong dates 369 //Fails: wrong dates 394 // Fails: wrong dates [all...] |
RecurrenceProcessorTest.java | 37 private static String[] getFormattedDates(long[] dates, Time time) { 38 String[] out = new String[dates.length]; 40 for (long date : dates) { 2476 long [] dates = rp.expand(dtstart, recur, rangeStartMillis, rangeEndMillis); local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceSet.java | 122 final long[] dates = parseRecurrenceDates(exdate); local 123 for (long date : dates) { 162 long[] dates = new long[n]; local 173 dates[i] = time.toMillis(false /* use isDst */); 176 return dates;
|
RecurrenceProcessor.java | 129 // The expansion might not contain any dates if the exrule or 130 // exdates cancel all the generated dates. 131 long[] dates = expand(dtstart, recur, local 136 // The expansion might not contain any dates if exrule or exdates 137 // cancel all the generated dates. 138 if (dates.length == 0) { 141 return dates[dates.length - 1]; 622 * milliseconds. The return value is never null. If there are no dates 632 * @return an array of dates, each date is in UTC millisecond 702 long[] dates = new long[len]; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HolidayTest.java | 314 Date[] dates = { d0, d1, d2, d3, d4, d5, d6, d7, d8 }; local 316 for (int i = 0; i < dates.length; ++i) { 317 Date d = dates[i];
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HolidayTest.java | 310 Date[] dates = { d0, d1, d2, d3, d4, d5, d6, d7, d8 }; local 312 for (int i = 0; i < dates.length; ++i) { 313 Date d = dates[i];
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | 1352 Date[] dates = { local 1411 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), local [all...] |
/external/v8/test/intl/date-format/ |
format-is-bound.js | 31 // Array we want to iterate, actual dates are not important.
|
/external/v8/test/mjsunit/ |
date.js | 30 // Test date construction from other dates. 38 // Test that dates may contain commas. 195 // Parsing ES5 ISO-8601 dates.
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
fsdiff.py | 56 def report(self, header=True, dates=False): 78 if dates:
|
/external/v8/test/webkit/ |
date-constructor.js | 71 // Our results are even worse, though, as the dates are clipped: (new Date(1111, 1201).getTime()) == (new Date(1111, 601).getTime())
|
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 242 UDate dates [] = { local 265 UDate exp = dates[i]; 827 UDate dates [] = { local 842 UDate exp = dates[i]; [all...] |