Home
last modified time | relevance | path

Searched refs:addFixedTag (Results 1 – 4 of 4) sorted by relevance

/external/scudo/standalone/tests/
Dmemtag_test.cpp31 EXPECT_DEATH(addFixedTag((uptr)0, 1), "not supported"); in TEST()
39 EXPECT_DEATH(addFixedTag(nullptr, 0), "not supported"); in TEST()
89 EXPECT_EQ(Tag, extractTag(addFixedTag(Addr, Tag))); in TEST_F()
91 EXPECT_DEBUG_DEATH(addFixedTag(Addr, 16), ""); in TEST_F()
92 EXPECT_DEBUG_DEATH(addFixedTag(~Addr, 0), ""); in TEST_F()
100 EXPECT_EQ(addFixedTag(Ptr, 0), untagPointer(Ptr)); in TEST_F()
105 u8 *P = reinterpret_cast<u8 *>(addFixedTag(Addr, 1)); in TEST_F()
115 uptr Ptr = addFixedTag(Addr, SrcTag); in TEST_F()
141 uptr Tagged = addFixedTag(Base, 7); in TEST_F()
153 uptr Tagged = addFixedTag(P, 5); in TEST_F()
[all …]
/external/scudo/standalone/
Dmemtag.h161 inline uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag() function
281 inline NORETURN uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag() function
322 inline void *addFixedTag(void *Ptr, uptr Tag) { in addFixedTag() function
324 addFixedTag(reinterpret_cast<uptr>(Ptr), Tag)); in addFixedTag()
Dcombined.h280 return addFixedTag(Ptr, 2); in addHeaderTag()
1328 storeRingBufferEntry(addFixedTag(untagPointer(Ptr), PrevTag), in storeDeallocationStackMaybe()
Dsecondary.h53 return addFixedTag(Ptr, 1); in addHeaderTag()