Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java116 public void Test_UmmAlQuraVsISODates(HijrahDate hd, LocalDate ld) { in Test_UmmAlQuraVsISODates() argument
117 …assertEquals(hd.toEpochDay(), ld.toEpochDay(), "Umm alQura date and ISO date should have same epoc… in Test_UmmAlQuraVsISODates()
253 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, i); in test_getDayOfYear() local
254 int doy = hd.get(DAY_OF_YEAR); in test_getDayOfYear()
261 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, 1); in test_withDayOfYear() local
262 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear()
263 HijrahDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear()
271 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1435, 1); in test_withDayOfYearTooSmall() local
272 HijrahDate hd2 = hd.with(DAY_OF_YEAR, 0); in test_withDayOfYearTooSmall()
277 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1435, 1); in test_withDayOfYearTooLarge() local
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java1048 WNode hd = new WNode(WMODE, null); in acquireWrite() local
1049 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireWrite()
1050 wtail = hd; in acquireWrite()
1172 WNode hd = new WNode(WMODE, null); in acquireRead() local
1173 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireRead()
1174 wtail = hd; in acquireRead()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java661 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(era, firstYear, i); in test_getDayOfYear() local
662 int doy = hd.get(DAY_OF_YEAR); in test_getDayOfYear()
663 assertEquals(doy, i, "get(DAY_OF_YEAR) incorrect for " + i + ", of date: " + hd); in test_getDayOfYear()
670 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(1990, 1); in test_withDayOfYear() local
671 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear()
672 JapaneseDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear()
DTCKMinguoChronology.java208 MinguoDate hd = minguoDate; in test_MinguoDate() local
209 ChronoLocalDateTime<MinguoDate> hdt = hd.atTime(LocalTime.NOON); in test_MinguoDate()
DTCKHijrahChronology.java158 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(year, lengthOfYear + 1); in test_ofYearDayTooLarge() local
/libcore/ojluni/src/main/java/java/util/
DHashMap.java759 TreeNode<K,V> hd = null, tl = null; in treeifyBin() local
763 hd = p; in treeifyBin()
770 if ((tab[index] = hd) != null) in treeifyBin()
771 hd.treeify(tab); in treeifyBin()
1956 Node<K,V> hd = null, tl = null; in untreeify() local
1960 hd = p; in untreeify()
1965 return hd; in untreeify()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java1515 TreeNode<K,V> hd = null, tl = null; in readObject() local
1520 hd = t; in readObject()
1525 setTabAt(tab, j, new TreeBin<K,V>(hd)); in readObject()
2681 TreeNode<K,V> hd = null, tl = null; in treeifyBin() local
2687 hd = p; in treeifyBin()
2692 setTabAt(tab, index, new TreeBin<K,V>(hd)); in treeifyBin()
2703 Node<K,V> hd = null, tl = null; in untreeify() local
2707 hd = p; in untreeify()
2712 return hd; in untreeify()