/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | Period.java | 31 public final class Period { class 43 public static Period at(float count, TimeUnit unit) { in at() 45 return new Period(ETimeLimit.NOLIMIT, false, count, unit); in at() 55 public static Period moreThan(float count, TimeUnit unit) { in moreThan() 57 return new Period(ETimeLimit.MT, false, count, unit); in moreThan() 67 public static Period lessThan(float count, TimeUnit unit) { in lessThan() 69 return new Period(ETimeLimit.LT, false, count, unit); in lessThan() 83 public Period and(float count, TimeUnit unit) { in and() 94 public Period omit(TimeUnit unit) { in omit() 103 public Period at() { in at() [all …]
|
D | BasicPeriodBuilderFactory.java | 162 Period createLimited(long duration, boolean inPast) { in createLimited() 166 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited() 176 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited() 327 public Period create(long duration) { in create() 336 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() 341 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate() 345 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate() 368 protected abstract Period handleCreate(long duration, long referenceDate, 397 protected Period handleCreate(long duration, long referenceDate, 403 return Period.at((float)((double)duration/unitDuration), unit) [all …]
|
D | PeriodBuilder.java | 33 Period create(long duration); in create() 44 Period createWithReferenceDate(long duration, long referenceDate); in createWithReferenceDate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | Period.java | 29 public final class Period { class 41 public static Period at(float count, TimeUnit unit) { in at() 43 return new Period(ETimeLimit.NOLIMIT, false, count, unit); in at() 53 public static Period moreThan(float count, TimeUnit unit) { in moreThan() 55 return new Period(ETimeLimit.MT, false, count, unit); in moreThan() 65 public static Period lessThan(float count, TimeUnit unit) { in lessThan() 67 return new Period(ETimeLimit.LT, false, count, unit); in lessThan() 81 public Period and(float count, TimeUnit unit) { in and() 92 public Period omit(TimeUnit unit) { in omit() 101 public Period at() { in at() [all …]
|
D | BasicPeriodBuilderFactory.java | 161 Period createLimited(long duration, boolean inPast) { in createLimited() 165 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited() 175 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited() 326 public Period create(long duration) { in create() 335 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() 340 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate() 344 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate() 367 protected abstract Period handleCreate(long duration, long referenceDate, 396 protected Period handleCreate(long duration, long referenceDate, 402 return Period.at((float)((double)duration/unitDuration), unit) [all …]
|
D | PeriodBuilder.java | 31 Period create(long duration); in create() 42 Period createWithReferenceDate(long duration, long referenceDate); in createWithReferenceDate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | PeriodTest.java | 19 import com.ibm.icu.impl.duration.Period; 26 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet() 37 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan() 50 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan() 54 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan() 63 Period p = Period.at(1, TimeUnit.YEAR).inFuture(); in testFuturePast() 75 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH) in testAnd() 87 Period.at(-1, TimeUnit.YEAR); in testInvalidCount() 93 Period.moreThan(-1, TimeUnit.YEAR); in testInvalidCount() 99 Period.lessThan(-1, TimeUnit.YEAR); in testInvalidCount() [all …]
|
D | LanguageTestFmwk.java | 29 import com.ibm.icu.impl.duration.Period; 178 protected static String timestring(Period ts) { in timestring() 259 Period p = pb.create(approximateDuration(u) * c); in testFullPluralizedForms() 282 Period p = pb.create(approximateDuration(u) * 3); in testMediumForms() 304 Period p = pb.create(approximateDuration(u) * 3); in testShortForms() 323 Period p = Period.at(1, HOUR); in testCustomMinutes() 342 Period p = Period.at(1, MONTH); in testLimitedUnits() 448 Period p = Period.at(c + .5f, u); in testHalfUnits() 479 Period p = Period.at(c, u); in testFractionalUnits() 501 Period p = Period.at(1, units[i]).and(2, units[i + 1]); in testMultipleUnits() [all …]
|
D | PeriodBuilderFactoryTest.java | 20 import com.ibm.icu.impl.duration.Period; 42 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange() 50 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange() 100 Period p = pb.create(H1M35S30M100); in testBuilderFactoryPeriodConstruction()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | PeriodTest.java | 20 import android.icu.impl.duration.Period; 29 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet() 40 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan() 53 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan() 57 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan() 66 Period p = Period.at(1, TimeUnit.YEAR).inFuture(); in testFuturePast() 78 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH) in testAnd() 90 Period.at(-1, TimeUnit.YEAR); in testInvalidCount() 96 Period.moreThan(-1, TimeUnit.YEAR); in testInvalidCount() 102 Period.lessThan(-1, TimeUnit.YEAR); in testInvalidCount() [all …]
|
D | LanguageTestFmwk.java | 30 import android.icu.impl.duration.Period; 179 protected static String timestring(Period ts) { in timestring() 260 Period p = pb.create(approximateDuration(u) * c); in testFullPluralizedForms() 283 Period p = pb.create(approximateDuration(u) * 3); in testMediumForms() 305 Period p = pb.create(approximateDuration(u) * 3); in testShortForms() 324 Period p = Period.at(1, HOUR); in testCustomMinutes() 343 Period p = Period.at(1, MONTH); in testLimitedUnits() 449 Period p = Period.at(c + .5f, u); in testHalfUnits() 480 Period p = Period.at(c, u); in testFractionalUnits() 502 Period p = Period.at(1, units[i]).and(2, units[i + 1]); in testMultipleUnits() [all …]
|
D | PeriodBuilderFactoryTest.java | 21 import android.icu.impl.duration.Period; 45 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange() 53 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange() 103 Period p = pb.create(H1M35S30M100); in testBuilderFactoryPeriodConstruction()
|
/external/libcxx/include/ |
D | condition_variable | 49 template <class Rep, class Period> 52 const chrono::duration<Rep, Period>& rel_time); 54 template <class Rep, class Period, class Predicate> 57 const chrono::duration<Rep, Period>& rel_time, 94 template <class Lock, class Rep, class Period> 97 const chrono::duration<Rep, Period>& rel_time); 99 template <class Lock, class Rep, class Period, class Predicate> 102 const chrono::duration<Rep, Period>& rel_time,
|
D | shared_mutex | 57 template <class Rep, class Period> 58 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 66 template <class Rep, class Period> 68 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time); 90 template <class Rep, class Period> 92 const chrono::duration<Rep, Period>& rel_time); 103 template <class Rep, class Period> 104 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 399 template <class Rep, class Period> 400 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/ |
D | Test_ja.java | 19 import android.icu.impl.duration.Period; 61 Period p = Period.at(1, MINUTE).and(0, SECOND).and(1, MILLISECOND); in testOmitZeros()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/ |
D | Test_ja.java | 18 import com.ibm.icu.impl.duration.Period; 58 Period p = Period.at(1, MINUTE).and(0, SECOND).and(1, MILLISECOND); in testOmitZeros()
|
/external/markdown/tests/markdown-test/ |
D | backlash-escapes.txt | 27 Period: \. 63 Period: \. 98 Period: `\.`
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Backslash escapes.text | 27 Period: \. 63 Period: \. 98 Period: `\.`
|
/external/zlib/src/contrib/ada/ |
D | read.adb | 54 Period : constant Stream_Element_Offset := 200; constant 90 if J < Item'First + Period then 93 Item (J) := Item (J - Period);
|
/external/markdown/MarkdownTest/Tests_2007/ |
D | Backslash escapes.text | 27 Period: \. 63 Period: \. 98 Period: `\.`
|
/external/libcxx/test/std/utilities/time/ |
D | microseconds.pass.cpp | 22 typedef D::period Period; in main() typedef 26 static_assert((std::is_same<Period, std::micro>::value), ""); in main()
|
D | seconds.pass.cpp | 22 typedef D::period Period; in main() typedef 26 static_assert((std::is_same<Period, std::ratio<1> >::value), ""); in main()
|
D | minutes.pass.cpp | 22 typedef D::period Period; in main() typedef 26 static_assert((std::is_same<Period, std::ratio<60> >::value), ""); in main()
|
D | hours.pass.cpp | 22 typedef D::period Period; in main() typedef 26 static_assert((std::is_same<Period, std::ratio<3600> >::value), ""); in main()
|
D | milliseconds.pass.cpp | 22 typedef D::period Period; in main() typedef 26 static_assert((std::is_same<Period, std::milli>::value), ""); in main()
|