Home
last modified time | relevance | path

Searched refs:U_POINTER_MASK_LSB (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/common/
Dcmemory.h85 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) macro
91 #define U_ALIGNMENT_OFFSET(ptr) U_POINTER_MASK_LSB(ptr, sizeof(UAlignedMemory) - 1)
Dutrie2.cpp143 if( length<=0 || (U_POINTER_MASK_LSB(data, 3)!=0) || in utrie2_openFromSerialized()
405 capacity<0 || (capacity>0 && (data==NULL || (U_POINTER_MASK_LSB(data, 3)!=0))) in utrie2_serialize()
Ducptrie.cpp29 if (length <= 0 || (U_POINTER_MASK_LSB(data, 3) != 0) || in ucptrie_openFromBinary()
482 (capacity > 0 && (data == nullptr || (U_POINTER_MASK_LSB(data, 3) != 0)))) { in ucptrie_toBinary()
Ducnvsel.cpp292 (bufferCapacity > 0 && (p == NULL || (U_POINTER_MASK_LSB(p, 3) != 0))) in ucnvsel_serialize()
474 (length > 0 && (p == NULL || (U_POINTER_MASK_LSB(p, 3) != 0))) in ucnvsel_openFromSerialized()
Dutrie_swap.cpp301 if(length<16 || data==nullptr || (U_POINTER_MASK_LSB(data, 3)!=0)) { in getVersion()