Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/sntp/
DDuration64.java32 private final long mBits; field in Duration64
35 this.mBits = bits; in Duration64()
113 return mBits == that.mBits; in equals()
118 return java.util.Objects.hash(mBits); in hashCode()
124 return Long.toHexString(mBits) in toString()
132 return (int) (mBits >> 32); in getSeconds()
139 return Timestamp64.fractionBitsToNanos((int) (mBits & 0xFFFF_FFFFL)); in getNanos()
/frameworks/rs/
DrsComponent.cpp36 mBits = 0; in set()
80 mBits = 16; in set()
86 mBits = 16; in set()
92 mBits = 16; in set()
132 mBits = 256; in set()
136 mBits = 32; in set()
192 mBits = mTypeBits * rsHigherPow2(mVectorSize); in set()
252 … prefix, gTypeObjStrings[mType - RS_TYPE_ELEMENT], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV()
255 prefix, gTypeBasicStrings[mType], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV()
DrsComponent.h44 uint32_t getBits() const {return mBits;} in getBits()
60 uint32_t mBits; variable
DrsElement.cpp24 mBits = 0; in Element()
73 return mBits; in getSizeBits()
78 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits()
178 mBits = mComponent.getBits(); in compute()
225 mBits = bits; in compute()
DrsElement.h96 uint32_t getBits() const {return mBits;} in getBits()
161 uint32_t mBits; variable
/frameworks/minikin/include/minikin/
DFontCollection.h72 Builder() : mSize(0), mBits(0) {} in Builder()
78 mBits = mBits | (static_cast<uint64_t>(x) << (8 * mSize)); in add()
85 mBits = 0; in reset()
94 return FamilyMatchResult(mBits | (static_cast<uint64_t>(mSize) << 56)); in build()
99 uint64_t mBits; member
125 FamilyMatchResult() : mBits(0) {} in FamilyMatchResult()
127 inline uint8_t size() const { return static_cast<uint8_t>(mBits >> 56); } in size()
130 return static_cast<uint8_t>(mBits >> (pos * 8));
135 inline bool operator==(const FamilyMatchResult& o) const { return mBits == o.mBits; }
148 explicit FamilyMatchResult(uint64_t bits) : mBits(bits) {} in FamilyMatchResult()
[all …]
DFont.h47 : mBits(pack(fakeBold, fakeItalic, wghtAdjustment, italAdjustment)) {} in FontFakery()
50 bool isFakeBold() { return (mBits & MASK_FAKE_BOLD) != 0; } in isFakeBold()
51 bool isFakeItalic() { return (mBits & MASK_FAKE_ITALIC) != 0; } in isFakeItalic()
53 bool hasWghtAdjustment() const { return (mBits & MASK_HAS_WGHT_ADJUSTMENT) != 0; } in hasWghtAdjustment()
54 bool hasItalAdjustment() const { return (mBits & MASK_HAS_ITAL_ADJUSTMENT) != 0; } in hasItalAdjustment()
57 return (mBits & MASK_WGHT_ADJUSTMENT) >> WGHT_ADJUSTMENT_SHIFT; in wghtAdjustment()
65 return (mBits & MASK_ITAL_ADJUSTMENT) != 0 ? 1 : 0; in italAdjustment()
71 uint16_t bits() const { return mBits; } in bits()
73 inline bool operator==(const FontFakery& o) const { return mBits == o.mBits; }
102 const uint16_t mBits; variable
/frameworks/native/libs/math/include/math/
Dhalf.h87 CONSTEXPR half(float v) noexcept : mBits(ftoh(v)) { } in half()
88 CONSTEXPR operator float() const noexcept { return htof(mBits); }
90 uint16_t getBits() const noexcept { return mBits.bits; } in getBits()
91 unsigned int getExponent() const noexcept { return mBits.getE(); } in getExponent()
92 unsigned int getMantissa() const noexcept { return mBits.getM(); } in getMantissa()
99 explicit constexpr half(Binary, uint16_t bits) noexcept : mBits(bits) { } in half()
102 fp16 mBits; variable
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp572 : mBits(bits), in BitmapParams()
789 uint16_t *dst_ptr = (uint16_t *)dst.mBits in convertCbYCrY()
792 const uint8_t *src_ptr = (const uint8_t *)src.mBits in convertCbYCrY()
882 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420PlanarUseLibYUV()
885 const uint8_t *src_y = (const uint8_t *)src.mBits + y_offset; in convertYUV420PlanarUseLibYUV()
887 const uint8_t *src_u = (const uint8_t *)src.mBits + u_offset; in convertYUV420PlanarUseLibYUV()
889 const uint8_t *src_v = (const uint8_t *)src.mBits + v_offset; in convertYUV420PlanarUseLibYUV()
960 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420SemiPlanarUseLibYUV()
963 const uint8_t *src_y = (const uint8_t *)src.mBits + y_offset; in convertYUV420SemiPlanarUseLibYUV()
965 const uint8_t *src_u = (const uint8_t *)src.mBits + u_offset; in convertYUV420SemiPlanarUseLibYUV()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h157 void *mBits; member