/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 …]
|
/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 …]
|
/external/llvm-project/libcxx/test/std/utilities/time/ |
D | rep.h | 35 template <class Rep, class Period> 36 std::chrono::duration<Rep, Period> 37 operator*(std::chrono::duration<Rep, Period> d, NotARep) { return d; } 39 template <class Rep, class Period> 40 std::chrono::duration<Rep, Period> 41 operator*(NotARep, std::chrono::duration<Rep, Period> d) { return d; } 43 template <class Rep, class Period> 44 std::chrono::duration<Rep, Period> 45 operator/(std::chrono::duration<Rep, Period> d, NotARep) { return d; } 47 template <class Rep, class Period> [all …]
|
/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 …]
|
/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 …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | Timeline.java | 372 public static final class Period { class in Timeline 399 public Period() { in Period() method in Timeline.Period 418 public Period set( in set() 444 public Period set( in set() 624 Period that = (Period) obj; in equals() 666 public Period getPeriod(int periodIndex, Period period, boolean setIds) { 812 public final int getNextPeriodIndex(int periodIndex, Period period, Window window, in getNextPeriodIndex() 836 public final boolean isLastPeriod(int periodIndex, Period period, Window window, in isLastPeriod() 847 Window window, Period period, int windowIndex, long windowPositionUs) { in getPeriodPosition() 870 Period period, in getPeriodPosition() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | TimelineTest.java | 167 Timeline.Period period = new Timeline.Period(); in periodEquals() 168 assertThat(period).isEqualTo(new Timeline.Period()); in periodEquals() 170 Timeline.Period otherPeriod = new Timeline.Period(); in periodEquals() 174 otherPeriod = new Timeline.Period(); in periodEquals() 178 otherPeriod = new Timeline.Period(); in periodEquals() 182 otherPeriod = new Timeline.Period(); in periodEquals() 186 otherPeriod = new Timeline.Period(); in periodEquals() 203 Timeline.Period period = new Timeline.Period(); in periodHashCode() 204 Timeline.Period otherPeriod = new Timeline.Period(); in periodHashCode()
|
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtilTest.java | 26 import com.google.android.exoplayer2.source.dash.manifest.Period; 42 Period period = newPeriod(newAdaptationSet(newRepresentation(newDrmInitData()))); in loadDrmInitDataFromManifest() 49 Period period = newPeriod(newAdaptationSet(newRepresentation(null /* no init data */))); in loadDrmInitDataMissing() 56 Period period = newPeriod(newAdaptationSet(/* no representation */ )); in loadDrmInitDataNoRepresentations() 63 Period period = newPeriod(/* no adaptation set */ ); in loadDrmInitDataNoAdaptationSets() 68 private static Period newPeriod(AdaptationSet... adaptationSets) { in newPeriod() 69 return new Period("", 0, Arrays.asList(adaptationSets)); in newPeriod()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifest.java | 91 private final List<Period> periods; 109 List<Period> periods) { in DashManifest() 137 List<Period> periods) { in DashManifest() 156 public final Period getPeriod(int index) { in getPeriod() 176 ArrayList<Period> copyPeriods = new ArrayList<>(); in copy() 186 Period period = getPeriod(periodIndex); in copy() 189 Period copiedPeriod = new Period(period.id, period.startMs - shiftMs, copyAdaptationSets, in copy()
|
D | Period.java | 26 public class Period { class 56 public Period(@Nullable String id, long startMs, List<AdaptationSet> adaptationSets) { in Period() method in Period 66 public Period(@Nullable String id, long startMs, List<AdaptationSet> adaptationSets, in Period() method in Period 78 public Period( in Period() method in Period
|
/external/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};
|
/external/llvm-project/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};
|
/external/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()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 23 import com.google.android.exoplayer2.Timeline.Period; 111 Period period = new Period(); in assertPeriodDurations() 133 Period period = new Period(); in assertPeriodCounts() 166 Period period = new Period(); in assertAdGroupCounts()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-spuriously-wake-up-functions.cpp | 17 template <class Rep, class Period = ratio<1>> 21 using period = Period; 98 template <class Rep, class Period> 100 const chrono::duration<Rep, Period> &rel_time){}; in wait_for() 101 template <class Rep, class Period, class Predicate> 103 const chrono::duration<Rep, Period> &rel_time, in wait_for()
|
/external/fmtlib/include/fmt/ |
D | chrono.h | 438 template <typename Period> FMT_CONSTEXPR const char* get_units() { 723 template <typename Rep, typename Period, 726 std::chrono::duration<Rep, Period> d) { 746 template <typename Rep, typename Period, 749 std::chrono::duration<Rep, Period> d) { 751 auto ms = mod(d.count() * static_cast<common_type>(Period::num) / 752 static_cast<common_type>(Period::den) * 1000, 779 template <typename Char, typename Period, typename OutputIt> 781 if (const char* unit = get_units<Period>()) 784 if (const_check(Period::den == 1)) return format_to(out, num_f, Period::num); [all …]
|
/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/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/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,
|
/external/llvm-project/libcxx/include/ |
D | condition_variable | 48 template <class Rep, class Period> 51 const chrono::duration<Rep, Period>& rel_time); 53 template <class Rep, class Period, class Predicate> 56 const chrono::duration<Rep, Period>& rel_time, 93 template <class Lock, class Rep, class Period> 96 const chrono::duration<Rep, Period>& rel_time); 98 template <class Lock, class Rep, class Period, class Predicate> 101 const chrono::duration<Rep, Period>& rel_time,
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Backslash escapes.text | 27 Period: \. 63 Period: \. 98 Period: `\.`
|