Home
last modified time | relevance | path

Searched refs:kStart (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_map_shadow_test.cc103 const char* kStart = ToHostAddr<char>(0x00107000); in TEST_F() local
104 const char* kEnd = kStart + kGuestRegionSize; in TEST_F()
109 shadow->AddProtectedMapping(kStart, kEnd); in TEST_F()
111 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart, kEnd)); in TEST_F()
114 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart - kHalf, kEnd - kHalf)); in TEST_F()
115 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart + kHalf, kEnd + kHalf)); in TEST_F()
118 EXPECT_FALSE(shadow->IntersectsWithProtectedMapping(kStart - kGuestRegionSize, kStart)); in TEST_F()
123 const char* kAnotherStart = kStart + kGuestRegionSize; in TEST_F()
133 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart - kHalf, kAnotherEnd + kHalf)); in TEST_F()
/frameworks/base/libs/androidfw/
DPng.cpp652 enum class TickState { kStart, kInside1, kOutside1 }; enumerator
658 TickState state = TickState::kStart; in getHorizontalTicks()
663 if (state == TickState::kStart || (state == TickState::kOutside1 && multipleAllowed)) { in getHorizontalTicks()
702 TickState state = TickState::kStart; in getVerticalTicks()
707 if (state == TickState::kStart || (state == TickState::kOutside1 && multipleAllowed)) { in getVerticalTicks()