| 284 | } |
| 285 | |
| 286 | void BlPdbParser::ParseIPIData() |
| 287 | { |
| 288 | int sectionSize = 0; |
| 289 | mCvIPIData = CvReadStream(4, §ionSize); |
| 290 | uint8* data = mCvIPIData; |
| 291 | uint8* sectionData = data; |
| 292 | |
| 293 | int32 ver = GET(int32); |
| 294 | int32 headerSize = GET(int32); |
| 295 | int32 minVal = GET(int32); |
| 296 | int32 maxVal = GET(int32); |
| 297 | int32 followSize = GET(int32); |
| 298 | |
| 299 | int16 hashStream = GET(int16); |
| 300 | int16 hashStreamPadding = GET(int16); |
| 301 | int32 hashKey = GET(int32); |
| 302 | int32 hashBucketsSize = GET(int32); |
| 303 | int32 hashValsOffset = GET(int32); |
| 304 | int32 hashValsSize = GET(int32); |
| 305 | int32 hashTypeInfoOffset = GET(int32); |
| 306 | int32 hashTypeInfoSize = GET(int32); |
| 307 | int32 hashAdjOffset = GET(int32); |
| 308 | int32 hashAdjSize = GET(int32); |
| 309 | |
| 310 | mTypeSource->CreateIPI(); |
| 311 | mTypeSource->mIPI->mCvMinTag = minVal; |
| 312 | mTypeSource->mIPI->mCvMaxTag = maxVal; |
| 313 | int recordCount = maxVal - minVal; |
| 314 | mTypeSource->mIPI->mCvTagStartMap.resize(recordCount); |
| 315 | |
| 316 | int typeDataSize = sectionSize - (int)(data - sectionData); |
| 317 | mTypeSource->mIPI->mSectionData = data; |
| 318 | mTypeSource->mIPI->mSectionSize = typeDataSize; |
| 319 | mTypeSource->mIPI->ScanTypeData(); |
| 320 | mTypeSource->mIPI->ParseTypeData(); |
| 321 | } |
| 322 |
nothing calls this directly
no test coverage detected