Home
last modified time | relevance | path

Searched refs:fUnion (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/common/
Dunistr.cpp122 { umtx_atomic_inc((int32_t *)fUnion.fFields.fArray - 1);} in addRef()
126 { return umtx_atomic_dec((int32_t *)fUnion.fFields.fArray - 1);} in removeRef()
134 int32_t count = *((int32_t *)fUnion.fFields.fArray - 1); in refCount()
142 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray()
205 fUnion.fStackBuffer[0] = ch; in UnicodeString()
214 U16_APPEND(fUnion.fStackBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString()
384 fUnion.fFields.fArray = (UChar *)array; in allocate()
385 fUnion.fFields.fCapacity = (int32_t)((words - 1) * (sizeof(int32_t) / U_SIZEOF_UCHAR)); in allocate()
389 fUnion.fFields.fArray = 0; in allocate()
390 fUnion.fFields.fCapacity = 0; in allocate()
[all …]
Dunistr_case.cpp114 u_memcpy(oldStackBuffer, fUnion.fStackBuffer, fShortLength); in caseMap()
/external/icu4c/common/unicode/
Dunistr.h3445 } fUnion; variable
3501 { return (fFlags&kUsingStackBuffer) ? fUnion.fStackBuffer : fUnion.fFields.fArray; } in getArrayStart()
3505 { return (fFlags&kUsingStackBuffer) ? fUnion.fStackBuffer : fUnion.fFields.fArray; } in getArrayStart()
3512 { return fShortLength>=0 ? fShortLength : fUnion.fFields.fLength; } in length()
3516 { return (fFlags&kUsingStackBuffer) ? US_STACKBUF_SIZE : fUnion.fFields.fCapacity; } in getCapacity()
3543 return fUnion.fStackBuffer; in getBuffer()
3545 return fUnion.fFields.fArray; in getBuffer()
4208 fUnion.fFields.fLength = len; in setLength()
4221 fUnion.fFields.fArray = array; in setArray()
4222 fUnion.fFields.fCapacity = capacity; in setArray()
[all …]