Lines Matching refs:spoofDH
768 SpoofDataHeader *spoofDH = (SpoofDataHeader *)inBytes; in uspoof_swap() local
769 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap()
770 ds->readUInt32(spoofDH->fLength) < sizeof(SpoofDataHeader)) in uspoof_swap()
780 int32_t spoofDataLength = ds->readUInt32(spoofDH->fLength); in uspoof_swap()
818 sectionStart = ds->readUInt32(spoofDH->fCFUKeys); in uspoof_swap()
819 sectionLength = ds->readUInt32(spoofDH->fCFUKeysSize) * 4; in uspoof_swap()
823 sectionStart = ds->readUInt32(spoofDH->fCFUStringIndex); in uspoof_swap()
824 sectionLength = ds->readUInt32(spoofDH->fCFUStringIndexSize) * 2; in uspoof_swap()
828 sectionStart = ds->readUInt32(spoofDH->fCFUStringTable); in uspoof_swap()
829 sectionLength = ds->readUInt32(spoofDH->fCFUStringTableLen) * 2; in uspoof_swap()
833 sectionStart = ds->readUInt32(spoofDH->fCFUStringLengths); in uspoof_swap()
834 sectionLength = ds->readUInt32(spoofDH->fCFUStringLengthsSize) * 4; in uspoof_swap()
838 sectionStart = ds->readUInt32(spoofDH->fAnyCaseTrie); in uspoof_swap()
839 sectionLength = ds->readUInt32(spoofDH->fAnyCaseTrieLength); in uspoof_swap()
843 sectionStart = ds->readUInt32(spoofDH->fLowerCaseTrie); in uspoof_swap()
844 sectionLength = ds->readUInt32(spoofDH->fLowerCaseTrieLength); in uspoof_swap()
848 sectionStart = ds->readUInt32(spoofDH->fScriptSets); in uspoof_swap()
849 sectionLength = ds->readUInt32(spoofDH->fScriptSetsLength) * sizeof(ScriptSet); in uspoof_swap()
857 uint32_t magic = ds->readUInt32(spoofDH->fMagic); in uspoof_swap()
860 if (outputDH->fFormatVersion != spoofDH->fFormatVersion) { in uspoof_swap()
861 … uprv_memcpy(outputDH->fFormatVersion, spoofDH->fFormatVersion, sizeof(spoofDH->fFormatVersion)); in uspoof_swap()
864 …ds->swapArray32(ds, &spoofDH->fLength, sizeof(SpoofDataHeader)-8 /* minus magic and fFormatVersion… in uspoof_swap()