• Home
  • Raw
  • Download

Lines Matching refs:fRawData

491         fRawData == NULL ||  in validateDataVersion()
492 fRawData->fMagic != USPOOF_MAGIC || in validateDataVersion()
493 fRawData->fFormatVersion[0] != USPOOF_CONFUSABLE_DATA_FORMAT_VERSION || in validateDataVersion()
494 fRawData->fFormatVersion[1] != 0 || in validateDataVersion()
495 fRawData->fFormatVersion[2] != 0 || in validateDataVersion()
496 fRawData->fFormatVersion[3] != 0) { in validateDataVersion()
591 fRawData = reinterpret_cast<SpoofDataHeader *>( in SpoofData()
613 fRawData = static_cast<SpoofDataHeader *>(ncData); in SpoofData()
614 if (length < fRawData->fLength) { in SpoofData()
637 fRawData = static_cast<SpoofDataHeader *>(uprv_malloc(initialSize)); in SpoofData()
639 if (fRawData == NULL) { in SpoofData()
643 uprv_memset(fRawData, 0, initialSize); in SpoofData()
645 fRawData->fMagic = USPOOF_MAGIC; in SpoofData()
646 fRawData->fFormatVersion[0] = USPOOF_CONFUSABLE_DATA_FORMAT_VERSION; in SpoofData()
647 fRawData->fFormatVersion[1] = 0; in SpoofData()
648 fRawData->fFormatVersion[2] = 0; in SpoofData()
649 fRawData->fFormatVersion[3] = 0; in SpoofData()
657 fRawData = NULL; in reset()
690 if (fRawData->fCFUKeys != 0) { in initPtrs()
691 fCFUKeys = (int32_t *)((char *)fRawData + fRawData->fCFUKeys); in initPtrs()
693 if (fRawData->fCFUStringIndex != 0) { in initPtrs()
694 fCFUValues = (uint16_t *)((char *)fRawData + fRawData->fCFUStringIndex); in initPtrs()
696 if (fRawData->fCFUStringTable != 0) { in initPtrs()
697 fCFUStrings = (UChar *)((char *)fRawData + fRawData->fCFUStringTable); in initPtrs()
704 uprv_free(fRawData); in ~SpoofData()
706 fRawData = NULL; in ~SpoofData()
738 fRawData = static_cast<SpoofDataHeader *>(uprv_realloc(fRawData, fMemLimit)); in reserveSpace()
739 fRawData->fLength = fMemLimit; in reserveSpace()
740 uprv_memset((char *)fRawData + returnOffset, 0, numBytes); in reserveSpace()
742 return (char *)fRawData + returnOffset; in reserveSpace()
746 int32_t dataSize = fRawData->fLength; in serialize()
751 uprv_memcpy(buf, fRawData, dataSize); in serialize()
756 return fRawData->fLength; in size()
795 return fRawData->fCFUKeysSize; in length()