Home
last modified time | relevance | path

Searched refs:fFlagAndLength (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Dsortkey.cpp54 : UObject(), fFlagAndLength(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 : UObject(), fFlagAndLength(count), in CollationKey()
76 : UObject(other), fFlagAndLength(other.getLength()), in CollationKey()
85 int32_t length = fFlagAndLength; in CollationKey()
98 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey()
107 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate()
110 fFlagAndLength |= 0x80000000; in reallocate()
116 fFlagAndLength = (fFlagAndLength & 0x80000000) | newLength; in setLength()
124 fFlagAndLength &= 0x80000000; in reset()
134 fFlagAndLength &= 0x80000000; in setToBogus()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h259 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
262 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
265 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity()
267 int32_t getLength() const { return fFlagAndLength & 0x7fffffff; } in getLength()
297 int32_t fFlagAndLength; variable