Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonBitArray.cpp27 m_bits.Copy(array->GetBits()); in CBC_CommonBitArray()
30 m_bits.SetSize(1); in CBC_CommonBitArray()
34 m_bits.SetSize((size + 31) >> 5); in CBC_CommonBitArray()
44 return m_bits; in GetBits()
50 return (m_bits[i >> 5] & (1 << (i & 0x1f))) != 0; in Get()
53 m_bits[i >> 5] |= 1 << (i & 0x1F); in Set()
56 m_bits[i >> 5] ^= 1 << (i & 0x1F); in Flip()
59 m_bits[i >> 5] = newBits; in SetBulk()
62 FXSYS_memset(&m_bits[0], 0x00, m_bits.GetSize() * sizeof(int32_t)); in Clear()
91 if ((m_bits[i] & mask) != (value ? mask : 0)) { in IsRange()
[all …]
DBC_CommonBitMatrix.cpp30 m_bits = NULL; in CBC_CommonBitMatrix()
37 m_bits = FX_Alloc2D(int32_t, m_rowSize, m_height); in Init()
38 FXSYS_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 FXSYS_memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Init()
49 if (m_bits != NULL) { in ~CBC_CommonBitMatrix()
50 FX_Free(m_bits); in ~CBC_CommonBitMatrix()
52 m_bits = NULL; in ~CBC_CommonBitMatrix()
60 return ((((FX_DWORD)m_bits[offset]) >> (x & 0x1f)) & 1) != 0; in Get()
63 return m_bits; in GetBits()
[all …]
DBC_CommonBitArray.h29 CFX_Int32Array m_bits; variable
DBC_CommonBitMatrix.h39 int32_t* m_bits; variable
/external/deqp/framework/opengl/
DgluRenderContext.hpp73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} in ApiType()
74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType()
76 …int getMajorVersion (void) const { return int((m_bits>>MAJOR_SHIFT) & ((1u<<MAJOR_BITS)-1u))… in getMajorVersion()
77 …int getMinorVersion (void) const { return int((m_bits>>MINOR_SHIFT) & ((1u<<MINOR_BITS)-1u))… in getMinorVersion()
78 …Profile getProfile (void) const { return Profile((m_bits>>PROFILE_SHIFT) & ((1u<<PROFILE_BITS)… in getProfile()
80 bool operator== (ApiType other) const { return m_bits == other.m_bits; } in operator ==()
81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } in operator !=()
83 deUint32 getPacked (void) const { return m_bits; } in getPacked()
91 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType()
96 deUint32 m_bits; member in glu::ApiType
[all …]
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDetectorResult.cpp29 : m_bits(bits), m_points(points) {} in CBC_QRDetectorResult()
37 if (m_bits != NULL) { in ~CBC_QRDetectorResult()
38 delete m_bits; in ~CBC_QRDetectorResult()
40 m_bits = NULL; in ~CBC_QRDetectorResult()
43 return m_bits; in GetBits()
DBC_QRCoderErrorCorrectionLevel.cpp35 m_bits = bits; in CBC_QRCoderErrorCorrectionLevel()
54 return m_bits; in GetBits()
DBC_QRCoderMode.cpp49 m_bits = bits; in CBC_QRCoderMode()
116 return m_bits; in GetBits()
DBC_QRDetectorResult.h13 CBC_CommonBitMatrix* m_bits;
DBC_QRCoderErrorCorrectionLevel.h12 int32_t m_bits; variable
DBC_QRCoderMode.h13 int32_t m_bits; variable
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DefaultPlacement.cpp32 m_bits.SetSize(numcols * numrows); in CBC_DefaultPlacement()
34 m_bits[i] = (uint8_t)2; in CBC_DefaultPlacement()
38 m_bits.RemoveAll(); in ~CBC_DefaultPlacement()
47 return m_bits; in getBits()
50 return m_bits[row * m_numcols + col] == 1; in getBit()
53 m_bits[row * m_numcols + col] = bit ? (uint8_t)1 : (uint8_t)0; in setBit()
56 return m_bits[row * m_numcols + col] != 2; in hasBit()
DBC_DefaultPlacement.h28 CFX_ByteArray m_bits; variable
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417DetectorResult.cpp29 m_bits = bits; in CBC_PDF417DetectorResult()
45 return m_bits; in getBits()
DBC_PDF417DetectorResult.h18 CBC_CommonBitMatrix* m_bits;
/external/deqp/modules/gles3/functional/
Des3fShaderPrecisionTests.cpp472 int m_bits; member in deqp::gles3::Functional::ShaderIntPrecisionCase
493 , m_bits (bits) in ShaderIntPrecisionCase()
544 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage; in init()
580 deUint32 mask = m_bits == 32 ? 0xffffffffu : ((1u<<m_bits)-1); in iterate()
602 …(isMaxRangeA ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeA.x(), m_rangeA.y())) & mask), m_bits); in iterate()
603 …(isMaxRangeB ? (int)m_rnd.getUint32() : m_rnd.getInt(m_rangeB.x(), m_rangeB.y())) & mask), m_bits); in iterate()
605 int refOut = deSignExtendTo32(refMasked, m_bits); in iterate()
666 int m_bits; member in deqp::gles3::Functional::ShaderUintPrecisionCase
687 , m_bits (bits) in ShaderUintPrecisionCase()
738 log << TestLog::Message << "Number of accurate bits assumed = " << m_bits << TestLog::EndMessage; in init()
[all …]