Lines Matching refs:fBinaryValue
389 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength);
396 *byteOffset += 4 + res->u.fBinaryValue.fLength;
550 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength);
558 udata_write32(mem, res->u.fBinaryValue.fLength);
559 if (res->u.fBinaryValue.fLength > 0) {
560 udata_writeBlock(mem, res->u.fBinaryValue.fData, res->u.fBinaryValue.fLength);
562 *byteOffset += 4 + res->u.fBinaryValue.fLength;
1032 res->u.fBinaryValue.fLength = length;
1033 res->u.fBinaryValue.fFileName = NULL;
1035 res->u.fBinaryValue.fFileName = (char*) uprv_malloc(sizeof(char) * (uprv_strlen(fileName)+1));
1036 uprv_strcpy(res->u.fBinaryValue.fFileName,fileName);
1039 res->u.fBinaryValue.fData = (uint8_t *) uprv_malloc(sizeof(uint8_t) * length);
1041 if (res->u.fBinaryValue.fData == NULL) {
1047 uprv_memcpy(res->u.fBinaryValue.fData, data, length);
1050 res->u.fBinaryValue.fData = NULL;
1172 if (binres->u.fBinaryValue.fData != NULL) {
1173 uprv_free(binres->u.fBinaryValue.fData);
1174 binres->u.fBinaryValue.fData = NULL;
1176 if (binres->u.fBinaryValue.fFileName != NULL) {
1177 uprv_free(binres->u.fBinaryValue.fFileName);
1178 binres->u.fBinaryValue.fFileName = NULL;