Lines Matching refs:f16BitUnits
106 * type_write16() functions write resource values into f16BitUnits
157 uprv_memcpy(newUnits, bundle->f16BitUnits, bundle->f16BitUnitsLength * 2);
162 uprv_free(bundle->f16BitUnits);
163 bundle->f16BitUnits = newUnits;
166 return bundle->f16BitUnits + bundle->f16BitUnitsLength;
686 bundle->f16BitUnits[bundle->f16BitUnitsLength++] = 0xaaaa; /* pad to multiple of 4 bytes */
814 udata_writeBlock(mem, bundle->f16BitUnits, bundle->f16BitUnitsLength*2);
1216 uprv_free(bundle->f16BitUnits);
1639 bundle->f16BitUnits[utf16Length++] = (uint16_t)(0xdc00 + length);
1642 bundle->f16BitUnits[utf16Length] = (uint16_t)(0xdfef + (length >> 16));
1643 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)length;
1647 bundle->f16BitUnits[utf16Length] = 0xdfff;
1648 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)(length >> 16);
1649 bundle->f16BitUnits[utf16Length + 2] = (uint16_t)length;
1655 u_memcpy(bundle->f16BitUnits + utf16Length, res->u.fString.fChars, length + 1);
1676 bundle->f16BitUnits = (UChar *)uprv_malloc(utf16Length * U_SIZEOF_UCHAR);
1678 if (bundle->f16BitUnits == NULL || array == NULL) {
1679 uprv_free(bundle->f16BitUnits);
1680 bundle->f16BitUnits = NULL;
1687 bundle->f16BitUnits[0] = 0;