OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ym2
(Results
1 - 7
of
7
) sorted by null
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.members/
ctor.pass.cpp
48
constexpr year_month
ym2
{year{2018}, month{}};
49
static_assert(
ym2
.year() == year{2018}, "");
50
static_assert(
ym2
.month() == month{}, "");
51
static_assert(!
ym2
.ok(), "");
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/
plus.pass.cpp
81
year_month_weekday
ym2
= months{i} + ym;
local
83
assert(static_cast<int>(
ym2
.year()) == 1234);
85
assert(
ym2
.month() == month(1 + i));
87
assert(
ym2
.weekday() == Tuesday);
89
assert(
ym2
.index() == 3);
90
assert(ym1 ==
ym2
);
107
year_month_weekday
ym2
= years{i} + ym;
local
109
assert(static_cast<int>(
ym2
.year()) == i + 1234);
111
assert(
ym2
.month() == January);
113
assert(
ym2
.weekday() == Tuesday)
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/
plus.pass.cpp
77
year_month_weekday_last
ym2
= months{i} + ym;
local
79
assert(
ym2
.year() == year(1234));
81
assert(
ym2
.month() == month(1 + i));
83
assert(
ym2
.weekday() == Tuesday);
85
assert(
ym2
.weekday_last() == weekday_last{Tuesday});
86
assert(ym1 ==
ym2
);
103
year_month_weekday_last
ym2
= years{i} + ym;
local
105
assert(
ym2
.year() == year(1234 + i));
107
assert(
ym2
.month() == January);
109
assert(
ym2
.weekday() == Tuesday)
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/
plus.pass.cpp
76
year_month
ym2
= years{i} + ym;
local
78
assert(static_cast<int>(
ym2
.year()) == i + 1234);
80
assert(
ym2
.month() == std::chrono::January);
81
assert(ym1 ==
ym2
);
98
year_month
ym2
= months{i} + ym;
local
100
assert(static_cast<int>(
ym2
.year()) == 1234);
102
assert(
ym2
.month() == month(1 + i));
103
assert(ym1 ==
ym2
);
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/
plus.pass.cpp
77
year_month_day
ym2
= months{i} + ym;
local
79
assert(static_cast<int>(
ym2
.year()) == 1234);
81
assert(
ym2
.month() == month(1 + i));
83
assert(
ym2
.day() == day{12});
84
assert(ym1 ==
ym2
);
101
year_month_day
ym2
= years{i} + ym;
local
103
assert(static_cast<int>(
ym2
.year()) == i + 1234);
105
assert(
ym2
.month() == std::chrono::January);
107
assert(
ym2
.day() == day{12});
108
assert(ym1 ==
ym2
);
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/
plus.pass.cpp
91
year_month_day_last
ym2
= months{i} + ym;
local
93
assert(static_cast<int>(
ym2
.year()) == 1234);
95
assert(
ym2
.month() == month(1 + i));
96
assert(ym1 ==
ym2
);
113
year_month_day_last
ym2
= years{i} + ym;
local
115
assert(static_cast<int>(
ym2
.year()) == i + 1234);
117
assert(
ym2
.month() == std::chrono::January);
118
assert(ym1 ==
ym2
);
/external/libkmsxx/kms++util/src/
testpat.cpp
26
const unsigned
ym2
= h - mw - 1;
local
29
if (x == xm1 || x == xm2 || y == ym1 || y ==
ym2
)
35
else if ((x == 0 || x == w - 1) && (y < ym1 || y >
ym2
))
41
else if (x < xm1 && (y > ym1 && y <
ym2
))
47
else if (x > xm2 && (y > ym1 && y <
ym2
))
50
else if (y >
ym2
&& (x > xm1 && x < xm2))
53
else if (x > xm1 && x < xm2 && y > ym1 && y <
ym2
) {
Completed in 312 milliseconds