Home
last modified time | relevance | path

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

/external/pdfium/fxbarcode/common/
DBC_CommonBitArray.cpp31 m_bits = array->GetBits(); in CBC_CommonBitArray()
35 m_bits.resize(1); in CBC_CommonBitArray()
40 m_bits.resize((size + 31) >> 5); in CBC_CommonBitArray()
51 return m_bits; in GetBits()
59 return (m_bits[i >> 5] & (1 << (i & 0x1f))) != 0; in Get()
63 m_bits[i >> 5] |= 1 << (i & 0x1F); in Set()
67 m_bits[i >> 5] ^= 1 << (i & 0x1F); in Flip()
71 m_bits[i >> 5] = newBits; in SetBulk()
75 for (auto& value : m_bits) in Clear()
80 return m_bits.data(); in GetBitArray()
[all …]
DBC_CommonBitMatrix.cpp36 m_bits = FX_Alloc2D(int32_t, m_rowSize, m_height); in Init()
37 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Init()
45 m_bits = FX_Alloc2D(int32_t, m_rowSize, m_height); in Init()
46 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Init()
50 FX_Free(m_bits); in ~CBC_CommonBitMatrix()
57 return ((((uint32_t)m_bits[offset]) >> (x & 0x1f)) & 1) != 0; in Get()
64 m_bits[offset] |= 1 << (x & 0x1f); in Set()
69 m_bits[offset] ^= 1 << (x & 0x1f); in Flip()
73 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Clear()
91 m_bits[offset + (x >> 5)] |= 1 << (x & 0x1f); in SetRegion()
[all …]
DBC_CommonBitMatrix.h34 int32_t* GetBits() const { return m_bits; } in GetBits()
40 int32_t* m_bits = nullptr; variable
DBC_CommonBitArray.h34 std::vector<int32_t> m_bits; variable
/external/deqp/framework/opengl/
DgluRenderContext.hpp78 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} in ApiType()
79 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType()
81 …int getMajorVersion (void) const { return int((m_bits>>MAJOR_SHIFT) & ((1u<<MAJOR_BITS)-1u))… in getMajorVersion()
82 …int getMinorVersion (void) const { return int((m_bits>>MINOR_SHIFT) & ((1u<<MINOR_BITS)-1u))… in getMinorVersion()
83 …Profile getProfile (void) const { return Profile((m_bits>>PROFILE_SHIFT) & ((1u<<PROFILE_BITS)… in getProfile()
85 bool operator== (ApiType other) const { return m_bits == other.m_bits; } in operator ==()
86 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } in operator !=()
88 deUint32 getPacked (void) const { return m_bits; } in getPacked()
96 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType()
101 deUint32 m_bits; member in glu::ApiType
[all …]
/external/pdfium/fxbarcode/datamatrix/
DBC_DefaultPlacement.cpp32 m_bits.resize(numcols * numrows); in CBC_DefaultPlacement()
34 m_bits[i] = (uint8_t)2; in CBC_DefaultPlacement()
46 return m_bits; in getBits()
49 return m_bits[row * m_numcols + col] == 1; in getBit()
52 m_bits[row * m_numcols + col] = bit ? (uint8_t)1 : (uint8_t)0; in setBit()
55 return m_bits[row * m_numcols + col] != 2; in hasBit()
DBC_DefaultPlacement.h31 std::vector<uint8_t> m_bits; variable
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderErrorCorrectionLevel.h27 int32_t GetBits() const { return m_bits; } in GetBits()
37 int32_t m_bits; variable
DBC_QRCoderMode.cpp44 m_bits(bits), in CBC_QRCoderMode()
107 return m_bits; in GetBits()
DBC_QRCoderMode.h47 const int32_t m_bits; variable
DBC_QRCoderErrorCorrectionLevel.cpp34 : m_ordinal(ordinal), m_bits(bits), m_name(name) {} in CBC_QRCoderErrorCorrectionLevel()
/external/deqp/modules/gles3/functional/
Des3fShaderPrecisionTests.cpp451 int m_bits; member in deqp::gles3::Functional::ShaderIntPrecisionCase
472 , m_bits (bits) in ShaderIntPrecisionCase()
523 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage; in init()
559 deUint32 mask = m_bits == 32 ? 0xffffffffu : ((1u<<m_bits)-1); in iterate()
581 …(isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits); in iterate()
582 …(isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_rangeB.y())) & mask), m_bits); in iterate()
584 int refOut = deSignExtendTo32(refMasked, m_bits); in iterate()
645 int m_bits; member in deqp::gles3::Functional::ShaderUintPrecisionCase
666 , m_bits (bits) in ShaderUintPrecisionCase()
717 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage; in init()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3bitset.inl6 m_bits = NULL;
13 m_bits = bits;
20 return m_bits;
32 m_bits = bits;
65 blist.m_bits[count] = *(m_bits+count);
89 memcpy(bitset->get_blist().get_bits(), m_bits, numElements * sizeof(ANTLR_BITWORD));
Dantlr3bitset.hpp81 ANTLR_BITWORD* m_bits; member in BitsetList
/external/skqp/third_party/skcms/
Dskcms.cc1368 int32_t m_bits = (bits & 0x007fffff) | 0x3f000000; in log2f_() local
1370 small_memcpy(&m, &m_bits, sizeof(m)); in log2f_()
/external/skia/third_party/skcms/
Dskcms.cc1368 int32_t m_bits = (bits & 0x007fffff) | 0x3f000000; in log2f_() local
1370 small_memcpy(&m, &m_bits, sizeof(m)); in log2f_()