/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) {
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestChronoLocalDate.java | 85 List<ChronoLocalDate> dates = new ArrayList<>(); local 88 // Insert dates in order, no duplicates 89 dates.add(date.minus(10, ChronoUnit.YEARS)); 90 dates.add(date.minus(1, ChronoUnit.YEARS)); 91 dates.add(date.minus(1, ChronoUnit.MONTHS)); 92 dates.add(date.minus(1, ChronoUnit.WEEKS)); 93 dates.add(date.minus(1, ChronoUnit.DAYS)); 94 dates.add(date); 95 dates.add(date.plus(1, ChronoUnit.DAYS)); 96 dates.add(date.plus(1, ChronoUnit.WEEKS)) [all...] |
/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...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
TCKChronoLocalDateTime.java | 262 List<ChronoLocalDateTime<?>> dates = new ArrayList<>(); local 266 // Insert dates in order, no duplicates 267 dates.add(date.minus(1, ChronoUnit.YEARS)); 268 dates.add(date.minus(1, ChronoUnit.MONTHS)); 269 dates.add(date.minus(1, ChronoUnit.WEEKS)); 270 dates.add(date.minus(1, ChronoUnit.DAYS)); 271 dates.add(date.minus(1, ChronoUnit.HOURS)); 272 dates.add(date.minus(1, ChronoUnit.MINUTES)); 273 dates.add(date.minus(1, ChronoUnit.SECONDS)); 274 dates.add(date.minus(1, ChronoUnit.NANOS)) [all...] |
TCKChronoZonedDateTime.java | 263 List<ChronoZonedDateTime<?>> dates = new ArrayList<>(); local 269 // Insert dates in order, no duplicates 270 dates.add(date.minus(1, ChronoUnit.YEARS)); 271 dates.add(date.minus(1, ChronoUnit.MONTHS)); 272 dates.add(date.minus(1, ChronoUnit.WEEKS)); 273 dates.add(date.minus(1, ChronoUnit.DAYS)); 274 dates.add(date.minus(1, ChronoUnit.HOURS)); 275 dates.add(date.minus(1, ChronoUnit.MINUTES)); 276 dates.add(date.minus(1, ChronoUnit.SECONDS)); 277 dates.add(date.minus(1, ChronoUnit.NANOS)) [all...] |
TCKChronoLocalDate.java | 259 List<ChronoLocalDate> dates = new ArrayList<>(); local 263 // Insert dates in order, no duplicates 264 dates.add(date.minus(1, ChronoUnit.YEARS)); 265 dates.add(date.minus(1, ChronoUnit.MONTHS)); 266 dates.add(date.minus(1, ChronoUnit.WEEKS)); 267 dates.add(date.minus(1, ChronoUnit.DAYS)); 268 dates.add(date); 269 dates.add(date.plus(1, ChronoUnit.DAYS)); 270 dates.add(date.plus(1, ChronoUnit.WEEKS)); 271 dates.add(date.plus(1, ChronoUnit.MONTHS)) [all...] |
/external/autotest/client/site_tests/touch_UpdateErrors/ |
touch_UpdateErrors.py | 48 lines, dates = [], [] 51 dates.append(entry[entry.find('Linux version '):]) 52 latest = dates[-1] 57 # first change in build. Some of these dates may be duplicated. 59 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 | 70 private static final String CRL_RSA_DATES = "x509/crl-rsa-dates.txt"; 72 private static final String CRL_RSA_DSA_DATES = "x509/crl-rsa-dsa-dates.txt"; 127 Map<String, Date> dates = new HashMap<String, Date>(); local 140 dates.put(key, value); 143 return dates; 272 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); local 274 Date lastUpdate = dates.get("lastUpdate"); 275 Date nextUpdate = dates.get("nextUpdate"); 286 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 288 Date lastUpdate = dates.get("lastUpdate") 375 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local 393 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
cvslib.py | 92 dates = words[3]
93 self.ectime = unctime(dates[:24])
94 self.emtime = unctime(dates[25:])
138 dates = 'Initial ' + self.file
140 dates = gmctime(self.ectime) + ' ' + \
145 dates,
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
VTimeZone.java | 250 * Writes RFC2445 VTIMEZONE data applicable for dates after 259 // Extract rules applicable to dates after the start time 549 List<String> dates = null; // list of RDATE or RRULE strings local 587 dates = null; 620 if (dates == null) { 621 dates = new LinkedList<String>(); 628 dates.add(date); 632 if (!isRRULE && dates != null) { 635 } else if (dates == null) { 636 dates = new LinkedList<String>() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VTimeZone.java | 271 * Writes RFC2445 VTIMEZONE data applicable for dates after 282 // Extract rules applicable to dates after the start time 580 List<String> dates = null; // list of RDATE or RRULE strings local 618 dates = null; 651 if (dates == null) { 652 dates = new LinkedList<String>(); 659 dates.add(date); 663 if (!isRRULE && dates != null) { 666 } else if (dates == null) { 667 dates = new LinkedList<String>() [all...] |
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
MinguoChronologyTest.java | 83 MinguoDate dates[] = new MinguoDate[] { local 91 for (MinguoDate date : dates) {
|
ThaiBuddhistChronologyTest.java | 85 ThaiBuddhistDate dates[] = new ThaiBuddhistDate[] { local 93 for (ThaiBuddhistDate date : dates) {
|
/external/icu/icu4c/source/i18n/ |
vtzone.cpp | 527 UVector* dates, int fromOffset, UErrorCode& status) { 531 if (dates == NULL || dates->size() == 0) { 540 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); 551 if (dates->size() == 1) { 560 int32_t firstDay = 31; // max possible number of dates in a month 598 if (dates->size() > 7) { 615 for (i = 1; i < dates->size(); i++) { 616 rrule = *((UnicodeString*)dates->elementAt(i)); 730 UDate start, UVector* dates, int32_t fromOffset, UErrorCode& status) 1376 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...] |
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo_test.go | 22 // transition time. To do this we explicitly check early dates in a
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo_test.go | 22 // transition time. To do this we explicitly check early dates in a
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
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 | 319 Date[] dates = { d0, d1, d2, d3, d4, d5, d6, d7, d8 }; local 321 for (int i = 0; i < dates.length; ++i) { 322 Date d = dates[i];
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HolidayTest.java | 318 Date[] dates = { d0, d1, d2, d3, d4, d5, d6, d7, d8 }; local 320 for (int i = 0; i < dates.length; ++i) { 321 Date d = dates[i];
|