OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ToCeiledInt
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/ui/gfx/
point_conversions.cc
18
int x =
ToCeiledInt
(point.x());
19
int y =
ToCeiledInt
(point.y());
size_conversions.cc
18
int w =
ToCeiledInt
(size.width());
19
int h =
ToCeiledInt
(size.height());
vector2d_conversions.cc
18
int x =
ToCeiledInt
(vector2d.x());
19
int y =
ToCeiledInt
(vector2d.y());
safe_integer_conversions_unittest.cc
59
TEST(SafeIntegerConversions,
ToCeiledInt
) {
60
EXPECT_EQ(0,
ToCeiledInt
(std::numeric_limits<float>::quiet_NaN()));
69
EXPECT_EQ(int_max,
ToCeiledInt
(infinity));
70
EXPECT_EQ(int_max,
ToCeiledInt
(max));
71
EXPECT_EQ(int_max,
ToCeiledInt
(max + 100));
73
EXPECT_EQ(-100,
ToCeiledInt
(-100.5f));
74
EXPECT_EQ(0,
ToCeiledInt
(0));
75
EXPECT_EQ(101,
ToCeiledInt
(100.5f));
77
EXPECT_EQ(int_min,
ToCeiledInt
(-infinity));
78
EXPECT_EQ(int_min,
ToCeiledInt
(min))
[
all
...]
rect_conversions.cc
19
int width = rect.width() == 0 ? 0 : std::max(
ToCeiledInt
(max_x) - min_x, 0);
20
int height = rect.height() == 0 ? 0 : std::max(
ToCeiledInt
(max_y) - min_y, 0);
25
int min_x =
ToCeiledInt
(rect.x());
26
int min_y =
ToCeiledInt
(rect.y());
safe_integer_conversions.h
29
inline int
ToCeiledInt
(float value) {
/external/chromium_org/ui/base/resource/
resource_bundle.cc
86
gfx::
ToCeiledInt
(image.width() * scale),
87
gfx::
ToCeiledInt
(image.height() * scale));
Completed in 233 milliseconds