Lines Matching refs:spoofDH
876 SpoofDataHeader *spoofDH = (SpoofDataHeader *)inBytes; in uspoof_swap() local
877 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap()
878 ds->readUInt32(spoofDH->fLength) < sizeof(SpoofDataHeader)) in uspoof_swap()
888 int32_t spoofDataLength = ds->readUInt32(spoofDH->fLength); in uspoof_swap()
926 sectionStart = ds->readUInt32(spoofDH->fCFUKeys); in uspoof_swap()
927 sectionLength = ds->readUInt32(spoofDH->fCFUKeysSize) * 4; in uspoof_swap()
931 sectionStart = ds->readUInt32(spoofDH->fCFUStringIndex); in uspoof_swap()
932 sectionLength = ds->readUInt32(spoofDH->fCFUStringIndexSize) * 2; in uspoof_swap()
936 sectionStart = ds->readUInt32(spoofDH->fCFUStringTable); in uspoof_swap()
937 sectionLength = ds->readUInt32(spoofDH->fCFUStringTableLen) * 2; in uspoof_swap()
945 uint32_t magic = ds->readUInt32(spoofDH->fMagic); in uspoof_swap()
948 if (outputDH->fFormatVersion != spoofDH->fFormatVersion) { in uspoof_swap()
949 … uprv_memcpy(outputDH->fFormatVersion, spoofDH->fFormatVersion, sizeof(spoofDH->fFormatVersion)); in uspoof_swap()
952 …ds->swapArray32(ds, &spoofDH->fLength, sizeof(SpoofDataHeader)-8 /* minus magic and fFormatVersion… in uspoof_swap()