Searched refs:fUnion (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/core/ |
D | SkFontStyle.cpp | 13 fUnion.fU32 = 0; in SkFontStyle() 14 fUnion.fR.fWeight = kNormal_Weight; in SkFontStyle() 15 fUnion.fR.fWidth = kNormal_Width; in SkFontStyle() 16 fUnion.fR.fSlant = kUpright_Slant; in SkFontStyle() 20 fUnion.fU32 = 0; in SkFontStyle() 21 fUnion.fR.fWeight = SkTPin<int>(weight, kThin_Weight, kBlack_Weight); in SkFontStyle() 22 fUnion.fR.fWidth = SkTPin<int>(width, kUltraCondensed_Width, kUltaExpanded_Width); in SkFontStyle() 23 fUnion.fR.fSlant = SkTPin<int>(slant, kUpright_Slant, kItalic_Slant); in SkFontStyle() 27 fUnion.fU32 = 0; in SkFontStyle() 28 fUnion.fR.fWeight = (oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight in SkFontStyle() [all …]
|
/external/icu/icu4c/source/common/ |
D | unistr.cpp | 121 umtx_atomic_inc((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in addRef() 126 return umtx_atomic_dec((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in removeRef() 131 return umtx_loadAcquire(*((u_atomic_int32_t *)fUnion.fFields.fArray - 1)); in refCount() 136 if((fUnion.fFields.fLengthAndFlags & kRefCounted) && removeRef() == 0) { in releaseArray() 137 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray() 150 fUnion.fFields.fLengthAndFlags = 0; in UnicodeString() 193 fUnion.fFields.fLengthAndFlags = kLength1 | kShortString; in UnicodeString() 194 fUnion.fStackFields.fBuffer[0] = ch; in UnicodeString() 198 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString() 201 U16_APPEND(fUnion.fStackFields.fBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString() [all …]
|
D | unistr_cnv.cpp | 43 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString() 51 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString() 62 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString() 71 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString() 80 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
|
D | unistr_case.cpp | 103 if(fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) { in caseMap() 107 u_memcpy(oldStackBuffer, fUnion.fStackFields.fBuffer, oldLength); in caseMap()
|
/external/skia/include/core/ |
D | SkFontStyle.h | 50 return fUnion.fU32 == rhs.fUnion.fU32; 53 int weight() const { return fUnion.fR.fWeight; } in weight() 54 int width() const { return fUnion.fR.fWidth; } in width() 55 Slant slant() const { return (Slant)fUnion.fR.fSlant; } in slant() 58 return kItalic_Slant == fUnion.fR.fSlant; in isItalic() 69 } fUnion; variable
|
/external/icu/icu4c/source/i18n/unicode/ |
D | sortkey.h | 257 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes() 260 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes() 263 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity() 312 } fUnion; variable
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 3706 } fUnion; variable 3759 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart() 3760 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart() 3765 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart() 3766 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart() 3775 fUnion.fStackFields.fLengthAndFlags=kShortString; in UnicodeString() 3783 return fUnion.fFields.fLengthAndFlags>=0; in hasShortLength() 3790 return fUnion.fFields.fLengthAndFlags>>kLengthShift; in getShortLength() 3795 return hasShortLength() ? getShortLength() : fUnion.fFields.fLength; in length() 3800 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getCapacity() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 96 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey() 105 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate() 106 fUnion.fFields.fBytes = newBytes; in reallocate() 107 fUnion.fFields.fCapacity = newCapacity; in reallocate()
|
D | digitlst.h | 477 } fUnion; variable 514 fUnion.fDouble=d; in internalSetDouble() 518 fUnion.fInt64=d; in internalSetInt64()
|
D | digitlst.cpp | 121 fUnion.fDouble = other.fUnion.fDouble; in operator =() 123 fUnion.fInt64 = other.fUnion.fInt64; in operator =() 438 return fUnion.fDouble; in getDouble() 440 return (double)fUnion.fInt64; in getDouble() 541 return fUnion.fInt64; in getInt64()
|