Home
last modified time | relevance | path

Searched refs:fFields (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/common/
Dunistr.cpp121 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()
198 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
210 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
216 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
[all …]
Dunistr_cnv.cpp43 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()
Dunistr_case.cpp103 if(fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) { in caseMap()
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h257 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()
311 } fFields; member
Dcalendar.h1545 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet()
1559 …Fields field, int32_t defaultValue) const {return fStamp[field]>kUnset ? fFields[field] : defaultV… in internalGet()
1569 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet()
1913 int32_t fFields[UCAL_FIELD_COUNT]; variable
2532 fFields[field] = value; in internalSet()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp96 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()
Dcalendar.cpp132 fprintf(stderr, " %25s: %-11ld", f, fFields[i]); in dump()
801 uprv_arrayCopy(right.fFields, fFields, UCAL_FIELD_COUNT); in operator =()
1155 fFields[i] = 0; in setTimeInMillis()
1172 return U_SUCCESS(status) ? fFields[field] : 0; in get()
1184 fFields[field] = value; in set()
1364 fFields[i] = 0; // Must do this; other code depends on it in clear()
1381 fFields[field] = 0; in clear()
1467 if (fFields[field] > max) { in pinField()
1469 } else if (fFields[field] < min) { in pinField()
1524 computeGregorianAndDOWFields(fFields[UCAL_JULIAN_DAY], ec); in computeFields()
[all …]
Dgregocal.cpp513 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
/external/icu/icu4c/source/common/unicode/
Dunistr.h3564 } fFields; member
3618 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3619 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3624 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3625 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3642 return fUnion.fFields.fLengthAndFlags>=0; in hasShortLength()
3649 return fUnion.fFields.fLengthAndFlags>>kLengthShift; in getShortLength()
3654 return hasShortLength() ? getShortLength() : fUnion.fFields.fLength; in length()
3659 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getCapacity()
3660 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()
[all …]