OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:toint
(Results
1 - 25
of
213
) sorted by null
1
2
3
4
5
6
7
8
9
/external/chromium_org/third_party/WebKit/Source/platform/
LayoutUnitTest.cpp
43
ASSERT_EQ(LayoutUnit(INT_MIN).
toInt
(), intMinForLayoutUnit);
44
ASSERT_EQ(LayoutUnit(INT_MIN / 2).
toInt
(), intMinForLayoutUnit);
45
ASSERT_EQ(LayoutUnit(intMinForLayoutUnit - 1).
toInt
(), intMinForLayoutUnit);
46
ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).
toInt
(), intMinForLayoutUnit);
47
ASSERT_EQ(LayoutUnit(intMinForLayoutUnit + 1).
toInt
(), intMinForLayoutUnit + 1);
48
ASSERT_EQ(LayoutUnit(intMinForLayoutUnit / 2).
toInt
(), intMinForLayoutUnit / 2);
49
ASSERT_EQ(LayoutUnit(-10000).
toInt
(), -10000);
50
ASSERT_EQ(LayoutUnit(-1000).
toInt
(), -1000);
51
ASSERT_EQ(LayoutUnit(-100).
toInt
(), -100);
52
ASSERT_EQ(LayoutUnit(-10).
toInt
(), -10)
[
all
...]
/external/chromium_org/printing/
page_number_unittest.cc
14
EXPECT_EQ(0, page.
ToInt
());
17
EXPECT_EQ(1, page.
ToInt
());
21
EXPECT_EQ(1, page_copy.
ToInt
());
22
EXPECT_EQ(1, page.
ToInt
());
24
EXPECT_EQ(1, page_copy.
ToInt
());
25
EXPECT_EQ(2, page.
ToInt
());
/external/guava/guava/src/com/google/common/hash/
Murmur3_128HashFunction.java
17
import static com.google.common.primitives.UnsignedBytes.
toInt
;
92
k2 ^= (long)
toInt
(bb.get(14)) << 48; // fall through
94
k2 ^= (long)
toInt
(bb.get(13)) << 40; // fall through
96
k2 ^= (long)
toInt
(bb.get(12)) << 32; // fall through
98
k2 ^= (long)
toInt
(bb.get(11)) << 24; // fall through
100
k2 ^= (long)
toInt
(bb.get(10)) << 16; // fall through
102
k2 ^= (long)
toInt
(bb.get(9)) << 8; // fall through
104
k2 ^= (long)
toInt
(bb.get(8)) << 0;
111
k1 ^= (long)
toInt
(bb.get(7)) << 56; // fall through
113
k1 ^= (long)
toInt
(bb.get(6)) << 48; // fall throug
[
all
...]
Murmur3_32HashFunction.java
17
import static com.google.common.primitives.UnsignedBytes.
toInt
;
73
k1 ^=
toInt
(bb.get(2)) << 16;
76
k1 ^=
toInt
(bb.get(1)) << 8;
79
k1 ^=
toInt
(bb.get(0));
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/
TSuper.java
26
public int
toInt
() {
30
public int
toInt
(float v) {
TAbstract.java
20
protected abstract int
toInt
();
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/
TSuper.java
24
public int
toInt
() {
28
public int
toInt
(float v) {
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
TSuper.java
21
public int
toInt
() {
25
public int
toInt
(float f) {
T_invoke_super_1.d
30
invoke-super {v7}, dot/junit/opcodes/invoke_super/d/T_invoke_super_1/
toInt
()I
37
.method public
toInt
()I
T_invoke_super_2.d
30
invoke-super {v7}, dot/junit/opcodes/invoke_super/d/T_invoke_super_2/
toInt
()I
37
.method public
toInt
()I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
TSuper.java
21
public int
toInt
() {
25
public int
toInt
(float f) {
T_invoke_super_range_1.d
30
invoke-super/range {v7}, dot/junit/opcodes/invoke_super_range/d/T_invoke_super_range_1/
toInt
()I
37
.method public
toInt
()I
T_invoke_super_range_2.d
30
invoke-super/range {v7}, dot/junit/opcodes/invoke_super_range/d/T_invoke_super_range_2/
toInt
()I
37
.method public
toInt
()I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
TSuper.java
21
public int
toInt
() {
25
public int
toInt
(float value) {
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
signalbar.cpp
38
if (index.data().
toInt
() > 0)
39
signal = 0 - (256 - index.data().
toInt
());
41
signal = index.data().
toInt
();
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
T_invoke_direct_11.d
30
invoke-direct {v2}, dot.junit.opcodes.invoke_direct.d.T_invoke_direct_11/
toInt
()I
36
.method private static
toInt
()I
T_invoke_direct_16.d
29
invoke-direct {v2}, dot/junit/opcodes/invoke_direct/d/T_invoke_direct_16/
toInt
()F
36
.method private
toInt
()I
T_invoke_direct_8.d
31
invoke-direct {v1}, dot.junit.opcodes.invoke_direct.d.T_invoke_direct_8/
toInt
()I
38
.method private
toInt
()I
T_invoke_direct_9.d
30
invoke-direct {v2}, dot.junit.opcodes.invoke_direct.d.T_invoke_direct_9/
toInt
()I
37
.method private native
toInt
()I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
T_invoke_direct_range_11.d
30
invoke-direct/range {v2}, dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_11/
toInt
()I
36
.method private static
toInt
()I
T_invoke_direct_range_16.d
29
invoke-direct/range {v2}, dot/junit/opcodes/invoke_direct_range/d/T_invoke_direct_range_16/
toInt
()F
36
.method private
toInt
()I
T_invoke_direct_range_8.d
31
invoke-direct/range {v1}, dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_8/
toInt
()I
38
.method private
toInt
()I
T_invoke_direct_range_9.d
30
invoke-direct/range {v2}, dot.junit.opcodes.invoke_direct_range.d.T_invoke_direct_range_9/
toInt
()I
37
.method private native
toInt
()I
/external/guava/guava-tests/test/com/google/common/primitives/
UnsignedBytesTest.java
43
assertEquals(0, UnsignedBytes.
toInt
((byte) 0));
44
assertEquals(1, UnsignedBytes.
toInt
((byte) 1));
45
assertEquals(127, UnsignedBytes.
toInt
((byte) 127));
46
assertEquals(128, UnsignedBytes.
toInt
((byte) -128));
47
assertEquals(129, UnsignedBytes.
toInt
((byte) -127));
48
assertEquals(255, UnsignedBytes.
toInt
((byte) -1));
54
UnsignedBytes.checkedCast(UnsignedBytes.
toInt
(value)));
65
UnsignedBytes.saturatedCast(UnsignedBytes.
toInt
(value)));
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
GridCoordinate.h
56
GridResolvedPosition initialResolvedPosition = GridResolvedPosition(std::max<int>(0, resolvedOppositePosition.
toInt
() - positionOffset));
60
return GridSpan::create(resolvedOppositePosition, GridResolvedPosition(resolvedOppositePosition.
toInt
() + positionOffset));
76
const size_t* firstLineBeforeOppositePosition = std::lower_bound(gridLines.begin(), gridLines.end(), resolvedOppositePosition.
toInt
());
78
if (*firstLineBeforeOppositePosition > resolvedOppositePosition.
toInt
() && firstLineBeforeOppositePosition != gridLines.begin())
94
const size_t* firstLineAfterOppositePosition = std::upper_bound(gridLines.begin(), gridLines.end(), resolvedOppositePosition.
toInt
());
119
return resolvedFinalPosition.
toInt
() - resolvedInitialPosition.
toInt
() + 1;
Completed in 1866 milliseconds
1
2
3
4
5
6
7
8
9