Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp331 const uint32_t bitAsInt = static_cast<uint32_t>(bit); in hasBit() local
332 CHECK(bitAsInt && (bitAsInt & (bitAsInt - 1)) == 0) in hasBit()
334 return static_cast<uint32_t>(mask) & bitAsInt; in hasBit()
338 const uint32_t bitAsInt = static_cast<uint32_t>(bit); in clearBit() local
339 CHECK(bitAsInt && (bitAsInt & (bitAsInt - 1)) == 0) in clearBit()
341 return static_cast<Success>(static_cast<uint32_t>(mask) & ~bitAsInt); in clearBit()