OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ym1
(Results
1 - 12
of
12
) sorted by null
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/
minus.pass.cpp
50
year_month
ym1
= ym - years{i};
local
51
assert(static_cast<int>(
ym1
.year()) == 1234 - i);
52
assert(
ym1
.month() == std::chrono::January);
65
year_month
ym1
= ym - months{i};
local
66
assert(static_cast<int>(
ym1
.year()) == 1234);
67
assert(
ym1
.month() == month(11 - i));
plus.pass.cpp
75
year_month
ym1
= ym + years{i};
local
77
assert(static_cast<int>(
ym1
.year()) == i + 1234);
79
assert(
ym1
.month() == std::chrono::January);
81
assert(
ym1
== ym2);
97
year_month
ym1
= ym + months{i};
local
99
assert(static_cast<int>(
ym1
.year()) == 1234);
101
assert(
ym1
.month() == month(1 + i));
103
assert(
ym1
== ym2);
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/
minus.pass.cpp
29
std::chrono::year_month_day
ym1
= ym0 - std::chrono::years{10};
local
31
ym1
.year() == std::chrono::year{1234-10}
32
&&
ym1
.month() == std::chrono::January
33
&&
ym1
.day() == std::chrono::day{12}
55
year_month_day
ym1
= ym - years{i};
local
56
assert(static_cast<int>(
ym1
.year()) == 1234 - i);
57
assert(
ym1
.month() == January);
58
assert(
ym1
.day() == day{10});
plus.pass.cpp
76
year_month_day
ym1
= ym + months{i};
local
78
assert(static_cast<int>(
ym1
.year()) == 1234);
80
assert(
ym1
.month() == month(1 + i));
82
assert(
ym1
.day() == day{12});
84
assert(
ym1
== ym2);
100
year_month_day
ym1
= ym + years{i};
local
102
assert(static_cast<int>(
ym1
.year()) == i + 1234);
104
assert(
ym1
.month() == std::chrono::January);
106
assert(
ym1
.day() == day{12});
108
assert(
ym1
== ym2)
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/
minus.pass.cpp
35
std::chrono::year_month_day_last
ym1
= ymdl - std::chrono::years{10};
local
37
ym1
.year() == std::chrono::year{static_cast<int>(ymdl.year()) - 10}
38
&&
ym1
.month() == ymdl.month()
44
std::chrono::year_month_day_last
ym1
= ymdl - std::chrono::months{6};
local
46
ym1
.year() == ymdl.year()
47
&&
ym1
.month() == std::chrono::month{static_cast<unsigned>(ymdl.month()) - 6}
70
year_month_day_last
ym1
= ym - years{i};
local
71
assert(static_cast<int>(
ym1
.year()) == 1234 - i);
72
assert(
ym1
.month() == December);
85
year_month_day_last
ym1
= ym - months{i}
local
[
all
...]
plus.pass.cpp
90
year_month_day_last
ym1
= ym + months{i};
local
92
assert(static_cast<int>(
ym1
.year()) == 1234);
94
assert(
ym1
.month() == month(1 + i));
96
assert(
ym1
== ym2);
112
year_month_day_last
ym1
= ym + years{i};
local
114
assert(static_cast<int>(
ym1
.year()) == i + 1234);
116
assert(
ym1
.month() == std::chrono::January);
118
assert(
ym1
== ym2);
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/
minus.pass.cpp
67
year_month_weekday_last
ym1
= ym - years{i};
local
68
assert(
ym1
.year() == year{1234 - i});
69
assert(
ym1
.month() == October);
70
assert(
ym1
.weekday() == Tuesday);
71
assert(
ym1
.weekday_last() == weekday_last{Tuesday});
85
year_month_weekday_last
ym1
= ym - months{i};
local
86
assert(
ym1
.year() == year{1234});
87
assert(
ym1
.month() == month{10 - i});
88
assert(
ym1
.weekday() == Tuesday);
89
assert(
ym1
.weekday_last() == weekday_last{Tuesday})
[
all
...]
plus.pass.cpp
76
year_month_weekday_last
ym1
= ym + months{i};
local
78
assert(
ym1
.year() == year(1234));
80
assert(
ym1
.month() == month(1 + i));
82
assert(
ym1
.weekday() == Tuesday);
84
assert(
ym1
.weekday_last() == weekday_last{Tuesday});
86
assert(
ym1
== ym2);
102
year_month_weekday_last
ym1
= ym + years{i};
local
104
assert(
ym1
.year() == year(1234 + i));
106
assert(
ym1
.month() == January);
108
assert(
ym1
.weekday() == Tuesday)
[
all
...]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/
minus.pass.cpp
32
std::chrono::year_month_weekday
ym1
= ym0 - std::chrono::years{10};
local
34
ym1
.year() == std::chrono::year{1234-10}
35
&&
ym1
.month() == std::chrono::January
36
&&
ym1
.weekday() == std::chrono::Tuesday
37
&&
ym1
.index() == 1
44
std::chrono::year_month_weekday
ym1
= ym0 - std::chrono::months{6};
local
46
ym1
.year() == std::chrono::year{1234}
47
&&
ym1
.month() == std::chrono::May
48
&&
ym1
.weekday() == std::chrono::Tuesday
49
&&
ym1
.index() ==
76
year_month_weekday
ym1
= ym - years{i};
local
93
year_month_weekday
ym1
= ym - months{i};
local
[
all
...]
plus.pass.cpp
80
year_month_weekday
ym1
= ym + months{i};
local
82
assert(static_cast<int>(
ym1
.year()) == 1234);
84
assert(
ym1
.month() == month(1 + i));
86
assert(
ym1
.weekday() == Tuesday);
88
assert(
ym1
.index() == 3);
90
assert(
ym1
== ym2);
106
year_month_weekday
ym1
= ym + years{i};
local
108
assert(static_cast<int>(
ym1
.year()) == i + 1234);
110
assert(
ym1
.month() == January);
112
assert(
ym1
.weekday() == Tuesday)
[
all
...]
/external/libkmsxx/kms++util/src/
testpat.cpp
25
const unsigned
ym1
= mw;
local
29
if (x == xm1 || x == xm2 || y ==
ym1
|| y == ym2)
32
else if (x < xm1 && y <
ym1
)
35
else if ((x == 0 || x == w - 1) && (y <
ym1
|| y > ym2))
41
else if (x < xm1 && (y >
ym1
&& y < ym2))
44
else if (y <
ym1
&& (x > xm1 && x < xm2))
47
else if (x > xm2 && (y >
ym1
&& y < ym2))
53
else if (x > xm1 && x < xm2 && y >
ym1
&& y < ym2) {
64
unsigned c = (y -
ym1
- 1) % 256;
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
b_tgamma.c
190
double y,
ym1
, t;
local
193
ym1
= y - one;
201
y =
ym1
;
204
for (
ym1
= y-one;
ym1
> LEFT + x0; y =
ym1
--, yy.a--) {
Completed in 8083 milliseconds