/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
D | plus_minus_equal_month.pass.cpp | 56 year_month_day ym(y, month{i}, d); in main() local 57 assert(static_cast<unsigned>((ym += months{2}).month()) == i + 2); in main() 58 assert(ym.year() == y); in main() 59 assert(ym.day() == d); in main() 60 assert(static_cast<unsigned>((ym ).month()) == i + 2); in main() 61 assert(ym.year() == y); in main() 62 assert(ym.day() == d); in main() 63 assert(static_cast<unsigned>((ym -= months{1}).month()) == i + 1); in main() 64 assert(ym.year() == y); in main() 65 assert(ym.day() == d); in main() [all …]
|
D | plus_minus_equal_year.pass.cpp | 56 year_month_day ym(year{i}, m, d); in main() local 57 assert(static_cast<int>((ym += years{2}).year()) == i + 2); in main() 58 assert(ym.month() == m); in main() 59 assert(ym.day() == d); in main() 60 assert(static_cast<int>((ym ).year()) == i + 2); in main() 61 assert(ym.month() == m); in main() 62 assert(ym.day() == d); in main() 63 assert(static_cast<int>((ym -= years{1}).year()) == i + 1); in main() 64 assert(ym.month() == m); in main() 65 assert(ym.day() == d); in main() [all …]
|
D | ok.pass.cpp | 80 year_month_day ym{year{2019}, January, day{i}}; in main() local 81 assert( ym.ok() == day{i}.ok()); in main() 86 year_month_day ym{year{2019}, month{i}, day{12}}; in main() local 87 assert( ym.ok() == month{i}.ok()); in main() 93 year_month_day ym{year{i}, January, day{12}}; in main() local 94 assert( ym.ok() == year{i}.ok()); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/ |
D | plus.pass.cpp | 35 constexpr bool testConstexprYears(std::chrono::year_month ym) in testConstexprYears() argument 38 if (static_cast<int>((ym ).year()) != 1) return false; in testConstexprYears() 39 if (static_cast<int>((ym + offset).year()) != 24) return false; in testConstexprYears() 40 if (static_cast<int>((offset + ym).year()) != 24) return false; in testConstexprYears() 45 constexpr bool testConstexprMonths(std::chrono::year_month ym) in testConstexprMonths() argument 48 if (static_cast<unsigned>((ym ).month()) != 1) return false; in testConstexprMonths() 49 if (static_cast<unsigned>((ym + offset).month()) != 7) return false; in testConstexprMonths() 50 if (static_cast<unsigned>((offset + ym).month()) != 7) return false; in testConstexprMonths() 72 year_month ym{year{1234}, std::chrono::January}; in main() local 75 year_month ym1 = ym + years{i}; in main() [all …]
|
D | minus.pass.cpp | 47 year_month ym{year{1234}, std::chrono::January}; in main() local 50 year_month ym1 = ym - years{i}; in main() 62 year_month ym{year{1234}, std::chrono::November}; in main() local 65 year_month ym1 = ym - months{i}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/ |
D | plus.pass.cpp | 35 constexpr bool testConstexprYears(std::chrono::year_month_day ym) in testConstexprYears() argument 38 if (static_cast<int>((ym ).year()) != 1) return false; in testConstexprYears() 39 if (static_cast<int>((ym + offset).year()) != 24) return false; in testConstexprYears() 40 if (static_cast<int>((offset + ym).year()) != 24) return false; in testConstexprYears() 45 constexpr bool testConstexprMonths(std::chrono::year_month_day ym) in testConstexprMonths() argument 48 if (static_cast<unsigned>((ym ).month()) != 1) return false; in testConstexprMonths() 49 if (static_cast<unsigned>((ym + offset).month()) != 7) return false; in testConstexprMonths() 50 if (static_cast<unsigned>((offset + ym).month()) != 7) return false; in testConstexprMonths() 73 year_month_day ym{year{1234}, std::chrono::January, day{12}}; in main() local 76 year_month_day ym1 = ym + months{i}; in main() [all …]
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ |
D | plus.pass.cpp | 35 constexpr bool testConstexprYears(std::chrono::year_month_weekday ym) in testConstexprYears() argument 38 if (static_cast<int>((ym ).year()) != 1) return false; in testConstexprYears() 39 if (static_cast<int>((ym + offset).year()) != 24) return false; in testConstexprYears() 40 if (static_cast<int>((offset + ym).year()) != 24) return false; in testConstexprYears() 45 constexpr bool testConstexprMonths(std::chrono::year_month_weekday ym) in testConstexprMonths() argument 48 if (static_cast<unsigned>((ym ).month()) != 1) return false; in testConstexprMonths() 49 if (static_cast<unsigned>((ym + offset).month()) != 7) return false; in testConstexprMonths() 50 if (static_cast<unsigned>((offset + ym).month()) != 7) return false; in testConstexprMonths() 77 year_month_weekday ym{year{1234}, January, weekday_indexed{Tuesday, 3}}; in main() local 80 year_month_weekday ym1 = ym + months{i}; in main() [all …]
|
D | minus.pass.cpp | 73 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 1}}; in main() local 76 year_month_weekday ym1 = ym - years{i}; in main() 90 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 2}}; in main() local 93 year_month_weekday ym1 = ym - months{i}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
D | plus.pass.cpp | 32 constexpr bool testConstexprYears(std::chrono::year_month_weekday_last ym) in testConstexprYears() argument 35 if (static_cast<int>((ym ).year()) != 1) return false; in testConstexprYears() 36 if (static_cast<int>((ym + offset).year()) != 24) return false; in testConstexprYears() 37 if (static_cast<int>((offset + ym).year()) != 24) return false; in testConstexprYears() 41 constexpr bool testConstexprMonths(std::chrono::year_month_weekday_last ym) in testConstexprMonths() argument 44 if (static_cast<unsigned>((ym ).month()) != 1) return false; in testConstexprMonths() 45 if (static_cast<unsigned>((ym + offset).month()) != 7) return false; in testConstexprMonths() 46 if (static_cast<unsigned>((offset + ym).month()) != 7) return false; in testConstexprMonths() 73 year_month_weekday_last ym{year{1234}, January, weekday_last{Tuesday}}; in main() local 76 year_month_weekday_last ym1 = ym + months{i}; in main() [all …]
|
D | minus.pass.cpp | 28 constexpr bool testConstexprYears(std::chrono::year_month_weekday_last ym) in testConstexprYears() argument 31 if (static_cast<int>((ym ).year()) != 66) return false; in testConstexprYears() 32 if (static_cast<int>((ym - offset).year()) != 52) return false; in testConstexprYears() 36 constexpr bool testConstexprMonths(std::chrono::year_month_weekday_last ym) in testConstexprMonths() argument 39 if (static_cast<unsigned>((ym ).month()) != 10) return false; in testConstexprMonths() 40 if (static_cast<unsigned>((ym - offset).month()) != 4) return false; in testConstexprMonths() 64 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() local 67 year_month_weekday_last ym1 = ym - years{i}; in main() 82 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main() local 85 year_month_weekday_last ym1 = ym - months{i}; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/ |
D | plus_minus_equal_year.pass.cpp | 55 year_month ym(year{i}, m); in main() local 56 assert(static_cast<int>((ym += years{2}).year()) == i + 2); in main() 57 assert(ym.month() == m); in main() 58 assert(static_cast<int>((ym ).year()) == i + 2); in main() 59 assert(ym.month() == m); in main() 60 assert(static_cast<int>((ym -= years{1}).year()) == i + 1); in main() 61 assert(ym.month() == m); in main() 62 assert(static_cast<int>((ym ).year()) == i + 1); in main() 63 assert(ym.month() == m); in main()
|
D | plus_minus_equal_month.pass.cpp | 54 year_month ym(y, month{i}); in main() local 55 assert(static_cast<unsigned>((ym += months{2}).month()) == i + 2); in main() 56 assert(ym.year() == y); in main() 57 assert(static_cast<unsigned>((ym ).month()) == i + 2); in main() 58 assert(ym.year() == y); in main() 59 assert(static_cast<unsigned>((ym -= months{1}).month()) == i + 1); in main() 60 assert(ym.year() == y); in main() 61 assert(static_cast<unsigned>((ym ).month()) == i + 1); in main() 62 assert(ym.year() == y); in main()
|
D | ok.pass.cpp | 40 year_month ym{year{2019}, month{i}}; in main() local 41 assert( ym.ok() == month{i}.ok()); in main() 47 year_month ym{year{i}, January}; in main() local 48 assert( ym.ok() == year{i}.ok()); in main()
|
D | year.pass.cpp | 36 year_month ym(year{i}, month{}); in main() local 37 assert( static_cast<int>(ym.year()) == i); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
D | plus_minus_equal_month.pass.cpp | 56 year_month_day_last ym(y, mdl); in main() local 57 assert(static_cast<unsigned>((ym += months{2}).month()) == i + 2); in main() 58 assert(ym.year() == y); in main() 59 assert(static_cast<unsigned>((ym ).month()) == i + 2); in main() 60 assert(ym.year() == y); in main() 61 assert(static_cast<unsigned>((ym -= months{1}).month()) == i + 1); in main() 62 assert(ym.year() == y); in main() 63 assert(static_cast<unsigned>((ym ).month()) == i + 1); in main() 64 assert(ym.year() == y); in main()
|
D | ok.pass.cpp | 42 year_month_day_last ym{year{2019}, month_day_last{month{i}}}; in main() local 43 assert( ym.ok() == month{i}.ok()); in main() 49 year_month_day_last ym{year{i}, month_day_last{January}}; in main() local 50 assert( ym.ok() == year{i}.ok()); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
D | ok.pass.cpp | 53 year_month_weekday ym{year{2019}, January, weekday_indexed{Tuesday, i}}; in main() local 54 assert((ym.ok() == weekday_indexed{Tuesday, i}.ok())); in main() 59 year_month_weekday ym{year{2019}, January, weekday_indexed{weekday{i}, 1}}; in main() local 60 assert((ym.ok() == weekday_indexed{weekday{i}, 1}.ok())); in main() 65 year_month_weekday ym{year{2019}, month{i}, weekday_indexed{Tuesday, 1}}; in main() local 66 assert((ym.ok() == month{i}.ok())); in main() 72 year_month_weekday ym{year{i}, January, weekday_indexed{Tuesday, 1}}; in main() local 73 assert((ym.ok() == year{i}.ok())); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
D | ok.pass.cpp | 51 year_month_weekday_last ym{year{2019}, January, weekday_last{Tuesday}}; in main() local 52 assert((ym.ok() == weekday_last{Tuesday}.ok())); in main() 57 year_month_weekday_last ym{year{2019}, January, weekday_last{weekday{i}}}; in main() local 58 assert((ym.ok() == weekday_last{weekday{i}}.ok())); in main() 63 year_month_weekday_last ym{year{2019}, month{i}, weekday_last{Tuesday}}; in main() local 64 assert((ym.ok() == month{i}.ok())); in main() 70 year_month_weekday_last ym{year{i}, January, weekday_last{Tuesday}}; in main() local 71 assert((ym.ok() == year{i}.ok())); in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/ |
D | year_month.pass.cpp | 46 year_month ym = year{i}/month{j}; in main() 47 assert(static_cast<int>(ym.year()) == i); in main() 48 assert(static_cast<unsigned>(ym.month()) == j); in main() 63 year_month ym = year{i}/j; in main() 64 assert(static_cast<int>(ym.year()) == i); in main() 65 assert(static_cast<unsigned>(ym.month()) == j); in main()
|
D | year_month_day.pass.cpp | 72 year_month ym(y, m); in main() local 73 year_month_day ymd = ym/d; in main() 95 year_month ym(y, m); in main() local 96 year_month_day ymd = ym/k; in main() 118 year_month ym(y, m); in main() local 119 year_month_day ymd = ym/k; in main()
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/ |
D | plus.pass.cpp | 87 year_month_day_last ym{year{1234}, month_day_last{January}}; in main() local 90 year_month_day_last ym1 = ym + months{i}; in main() 91 year_month_day_last ym2 = months{i} + ym; in main() 109 year_month_day_last ym{year{1234}, month_day_last{January}}; in main() local 112 year_month_day_last ym1 = ym + years{i}; in main() 113 year_month_day_last ym2 = years{i} + ym; in main()
|
D | minus.pass.cpp | 67 year_month_day_last ym{year{1234}, month_day_last{December}}; in main() local 70 year_month_day_last ym1 = ym - years{i}; in main() 82 year_month_day_last ym{year{1234}, month_day_last{December}}; in main() local 85 year_month_day_last ym1 = ym - months{i}; in main()
|
/external/libyuv/files/util/ |
D | ssim.cc | 82 double ym, in FinalizeSSIM() argument 87 const double iwy = ym * iw; in FinalizeSSIM() 119 uint32 ws = 0, xm = 0, ym = 0, xxm = 0, xym = 0, yym = 0; in GetSSIM() local 135 ym += Wxy * rec_x; in GetSSIM() 142 return FinalizeSSIM(1. / ws, xm, ym, xxm, xym, yym); in GetSSIM() 151 uint32 xm = 0, ym = 0, xxm = 0, xym = 0, yym = 0; in GetSSIMFullKernel() local 185 ym += Wxy * (ul2 + ur2 + ll2 + lr2); in GetSSIMFullKernel() 213 ym += Wxy * (u2 + d2 + l2 + r2); in GetSSIMFullKernel() 225 ym += Wxy * s2; in GetSSIMFullKernel() 279 ADD_AND_STORE_FOUR_EPI32(y, ym); in GetSSIMFullKernel() [all …]
|
/external/webp/src/dsp/ |
D | ssim.c | 37 const uint64_t ymym = (uint64_t)stats->ym * stats->ym; in SSIMCalculation() 39 const int64_t xmym = (int64_t)stats->xm * stats->ym; in SSIMCalculation() 84 stats.ym += w * s2; in SSIMGetClipped_C() 103 stats.ym += w * s2; in SSIMGet_C()
|
D | ssim_sse2.c | 117 ym = _mm_add_epi16(ym, wb1); \ 129 __m128i xm = zero, ym = zero; // 16b accums in SSIMGet_SSE2() local 141 stats.ym = HorizontalAdd16b_SSE2(&ym); in SSIMGet_SSE2()
|