Home
last modified time | relevance | path

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

/external/scudo/standalone/
Doptions.h18 enum class OptionBit { enum
33 bool get(OptionBit Opt) const { return Val & (1U << static_cast<u32>(Opt)); } in get()
37 (Val >> static_cast<u32>(OptionBit::FillContents0of2)) & 3); in getFillContentsMode()
43 Options.get(OptionBit::UseMemoryTagging); in useMemoryTagging()
51 void clear(OptionBit Opt) { in clear()
56 void set(OptionBit Opt) { in set()
64 NewOpts &= ~(3U << static_cast<u32>(OptionBit::FillContents0of2)); in setFillContentsMode()
66 << static_cast<u32>(OptionBit::FillContents0of2); in setFillContentsMode()
Dcombined.h156 Primary.Options.set(OptionBit::MayReturnNull); in init()
162 Primary.Options.set(OptionBit::DeallocTypeMismatch); in init()
164 Primary.Options.set(OptionBit::DeleteSizeMismatch); in init()
167 Primary.Options.set(OptionBit::UseMemoryTagging); in init()
168 Primary.Options.set(OptionBit::UseOddEvenTags); in init()
303 if (!Options.get(OptionBit::UseOddEvenTags)) in computeOddEvenMaskForPointerMaybe()
321 if (Options.get(OptionBit::MayReturnNull))
359 if (Options.get(OptionBit::MayReturnNull))
369 if (Options.get(OptionBit::MayReturnNull))
406 if (Options.get(OptionBit::MayReturnNull))
[all …]
Dsecondary.h499 if (Options.get(OptionBit::AddLargeAllocationSlack)) in allocate()
/external/scudo/standalone/tests/
Dsecondary_test.cpp29 AO.set(scudo::OptionBit::UseMemoryTagging); in getOptionsForConfig()