/third_party/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()
|
D | BasicDurationFormatter.java | 71 Period p = doBuild(duration, referenceDate); 115 protected Period doBuild(long duration, long referenceDate) { in doBuild() 119 protected String doFormat(Period period) { in doFormat()
|
D | BasicDurationFormat.java | 111 Period p = null; in formatDuration() 146 p = Period.at(floatVal, outFields[i]); in formatDuration()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|
D | BasicDurationFormatter.java | 72 Period p = doBuild(duration, referenceDate); 116 protected Period doBuild(long duration, long referenceDate) { in doBuild() 120 protected String doFormat(Period period) { in doFormat()
|
D | BasicDurationFormat.java | 113 Period p = null; in formatDuration() 148 p = Period.at(floatVal, outFields[i]); in formatDuration()
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
D | PeriodTest.java | 20 import ohos.global.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 ohos.global.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 ohos.global.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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Chrono.h | 100 template <typename Period> struct unit { static const char value[]; }; 101 template <typename Period> const char unit<Period>::value[] = ""; 111 template <typename Rep, typename Period> 112 struct format_provider<std::chrono::duration<Rep, Period>> { 114 typedef std::chrono::duration<Rep, Period> Dur; 139 return {D.count(), detail::unit<Period>::value};
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | event.h | 65 template <typename Rep, typename Period> 67 const std::chrono::duration<Rep, Period>& duration) const; 113 template <typename Rep, typename Period> 115 const std::chrono::duration<Rep, Period>& duration); 158 template <typename Rep, typename Period> 160 const std::chrono::duration<Rep, Period>& duration) { in wait_for() 202 template <typename Rep, typename Period> 203 bool Event::wait_for(const std::chrono::duration<Rep, Period>& duration) const { in wait_for()
|
D | conditionvariable.h | 57 template <typename Rep, typename Period, typename Predicate> 60 const std::chrono::duration<Rep, Period>& duration, 149 template <typename Rep, typename Period, typename Predicate> 152 const std::chrono::duration<Rep, Period>& duration, in wait_for()
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/languages/ |
D | Test_ja.java | 19 import ohos.global.icu.impl.duration.Period; 61 Period p = Period.at(1, MINUTE).and(0, SECOND).and(1, MILLISECOND); in testOmitZeros()
|
/third_party/zlib/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);
|
/third_party/openh264/codec/build/windowsphone/all/CodecApp/ |
D | welsenc.cfg | 13 IntraPeriod 0 # Intra Period ( multipler of GoP size or -1) 53 LtrMarkPeriod 30 # Long Term Reference Marking Period
|
/third_party/openh264/testbin/ |
D | welsenc_vd_1d.cfg | 14 IntraPeriod 0 # Intra Period ( multipler of GoP size or -1) 61 LtrMarkPeriod 30 # Long Term Reference Marking Period
|
D | welsenc_vd_rc.cfg | 14 IntraPeriod 0 # Intra Period ( multipler of GoP size or -1) 60 LtrMarkPeriod 30 # Long Term Reference Marking Period
|