Home
last modified time | relevance | path

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

/system/core/init/
Dkeychords.cpp50 Keychords::Mask::Mask(size_t bit) : bits_((bit + sizeof(mask_t) - 1) / sizeof(mask_t), 0) {} in Mask() function in android::init::Keychords::Mask
52 void Keychords::Mask::SetBit(size_t bit, bool value) { in SetBit()
62 bool Keychords::Mask::GetBit(size_t bit) const { in GetBit()
67 size_t Keychords::Mask::bytesize() const { in bytesize()
71 void* Keychords::Mask::data() { in data()
75 size_t Keychords::Mask::size() const { in size()
79 void Keychords::Mask::resize(size_t bit) { in resize()
86 Keychords::Mask::operator bool() const { in operator bool()
93 Keychords::Mask Keychords::Mask::operator&(const Keychords::Mask& rval) const { in operator &()
95 Keychords::Mask ret; in operator &()
[all …]
Dkeychords.h44 class Mask {
46 explicit Mask(size_t bit = 0);
57 Mask operator&(const Mask& rval) const;
58 void operator|=(const Mask& rval);
91 Mask current_;