Lines Matching refs:pMergedInfo
1192 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL;
1213 pMergedInfo = new SortedVector<AssetDir::FileInfo>;
1221 scanAndMergeZipLocked(pMergedInfo, ap, kAssetsRoot, dirName);
1224 scanAndMergeDirLocked(pMergedInfo, ap, kAssetsRoot, dirName);
1230 for (i = 0; i < (size_t) pMergedInfo->size(); i++) {
1232 pMergedInfo->itemAt(i).getFileType(),
1233 (const char*) pMergedInfo->itemAt(i).getFileName());
1237 pDir->setFileList(pMergedInfo);
1255 SortedVector<AssetDir::FileInfo>* pMergedInfo = NULL;
1267 pMergedInfo = new SortedVector<AssetDir::FileInfo>;
1275 scanAndMergeZipLocked(pMergedInfo, ap, NULL, dirName);
1278 scanAndMergeDirLocked(pMergedInfo, ap, NULL, dirName);
1284 for (i = 0; i < (size_t) pMergedInfo->size(); i++) {
1286 pMergedInfo->itemAt(i).getFileType(),
1287 (const char*) pMergedInfo->itemAt(i).getFileName());
1291 pDir->setFileList(pMergedInfo);
1297 * "pMergedInfo" vector, removing previous entries if we find "exclude"
1302 bool AssetManager::scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1308 assert(pMergedInfo != NULL);
1397 matchIdx = AssetDir::FileInfo::findEntry(pMergedInfo, match);
1400 pMergedInfo->itemAt(matchIdx).getFileName().string(),
1401 pMergedInfo->itemAt(matchIdx).getSourceName().string());
1402 pMergedInfo->removeAt(matchIdx);
1414 mergeInfoLocked(pMergedInfo, pContents);
1485 * find into "pMergedInfo". If the Zip archive in question doesn't exist,
1490 bool AssetManager::scanAndMergeZipLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1597 mergeInfoLocked(pMergedInfo, &contents);
1606 * The merged contents will be stuffed into *pMergedInfo.
1608 * If an entry for a file exists in both "pMergedInfo" and "pContents",
1611 void AssetManager::mergeInfoLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1621 * (2) Take the elements from pContents and shove them into pMergedInfo.
1628 * contents of pMergedInfo, but approach #2 requires the same copy for
1629 * every insertion at the front of pMergedInfo.
1639 mergeMax = pMergedInfo->size();
1650 pNewSorted->add(pMergedInfo->itemAt(mergeIdx));
1652 } else if (pMergedInfo->itemAt(mergeIdx) == pContents->itemAt(contIdx))
1658 } else if (pMergedInfo->itemAt(mergeIdx) < pContents->itemAt(contIdx))
1661 pNewSorted->add(pMergedInfo->itemAt(mergeIdx));
1665 assert(pContents->itemAt(contIdx) < pMergedInfo->itemAt(mergeIdx));
1674 *pMergedInfo = *pNewSorted;
1682 for (j = pMergedInfo->size() -1; j >= 0; j--) {
1685 pMergedInfo->itemAt(j).mFileName) == 0)
1694 pMergedInfo->add(pContents->itemAt(i));
1751 void AssetManager::fncScanLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo,
1758 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, NULL, dirName);
1760 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, NULL, dirName);
1762 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, mVendor, dirName);
1764 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, mVendor, dirName);
1775 SortedVector<AssetDir::FileInfo>* pMergedInfo,
1799 * into "pMergedInfo".
1806 fncScanAndMergeDirLocked(pMergedInfo, ap, locale, vendor, subdir.string());
1832 mergeInfoLocked(pMergedInfo, pContents);