Searched refs:U_POINTER_MASK_LSB (Results 1 – 5 of 5) sorted by relevance
85 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) macro91 #define U_ALIGNMENT_OFFSET(ptr) U_POINTER_MASK_LSB(ptr, sizeof(UAlignedMemory) - 1)
143 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()
29 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()
292 (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()
301 if(length<16 || data==nullptr || (U_POINTER_MASK_LSB(data, 3)!=0)) { in getVersion()