Searched refs:mask_of (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Flagged.h | 269 struct mask_of { struct 291 getShift(MASK, mask_of<T, Flag>::value, SHARED_MASK, 292 mask_of<T, Flag>::shift, mask_of<T, Flag>::effective_value); 311 && canCombine(MASK, mask_of<T, Flag>::value, SHARED_MASK, SHIFT, 312 mask_of<T, Flag>::shift, mask_of<T, Flag>::effective_value); 320 struct _Flagged_helper::mask_of<T, Flag, true> {
|
/frameworks/av/media/libstagefright/foundation/tests/ |
D | Flagged_test.cpp | 248 static_assert(helper::mask_of<i32_800f_0, u32>::value == 0x800F, "incorrect mask"); in TEST_F() 249 static_assert(helper::mask_of<i32_800f_0, i32>::value == 0, in TEST_F() 251 static_assert(helper::mask_of<i32_800f_0, u32>::effective_value == 0x800F, "incorrect mask"); in TEST_F() 252 static_assert(helper::mask_of<i32_800f_0, i32>::effective_value == 0, in TEST_F() 254 static_assert(helper::mask_of<i32_800f_0, u32>::shift == 0, "incorrect shift"); in TEST_F() 255 static_assert(helper::mask_of<i32_800f_0, i32>::shift == 0, in TEST_F() 258 static_assert(helper::mask_of<i32_800f_4, u32>::value == 0x800F, "incorrect mask"); in TEST_F() 259 static_assert(helper::mask_of<i32_800f_4, i32>::value == 0, in TEST_F() 261 static_assert(helper::mask_of<i32_800f_4, u32>::effective_value == 0x800F0, "incorrect mask"); in TEST_F() 262 static_assert(helper::mask_of<i32_800f_4, i32>::effective_value == 0, in TEST_F() [all …]
|