Lines Matching refs:pAsset
453 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open() local
455 if (pAsset != NULL) { in open()
456 return pAsset != kExcludedAsset ? pAsset : NULL; in open()
482 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
484 if (pAsset != NULL) { in openNonAsset()
486 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
504 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
506 if (pAsset != NULL) { in openNonAsset()
507 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
522 Asset* pAsset = NULL; in getFileType() local
529 pAsset = open(fileName, Asset::ACCESS_STREAMING); in getFileType()
530 delete pAsset; in getFileType()
532 if (pAsset == NULL) { in getFileType()
785 Asset* pAsset = NULL; in openNonAssetInPathLocked() local
794 pAsset = openAssetFromFileLocked(path, mode); in openNonAssetInPathLocked()
796 if (pAsset == NULL) { in openNonAssetInPathLocked()
799 pAsset = openAssetFromFileLocked(path, mode); in openNonAssetInPathLocked()
802 if (pAsset != NULL) { in openNonAssetInPathLocked()
804 pAsset->setAssetSource(path); in openNonAssetInPathLocked()
818 pAsset = openAssetFromZipLocked(pZip, entry, mode, path); in openNonAssetInPathLocked()
823 if (pAsset != NULL) { in openNonAssetInPathLocked()
825 pAsset->setAssetSource( in openNonAssetInPathLocked()
831 return pAsset; in openNonAssetInPathLocked()
898 Asset* pAsset = NULL; in openAssetFromFileLocked() local
902 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
905 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
908 return pAsset; in openAssetFromFileLocked()
920 Asset* pAsset = NULL; in openAssetFromZipLocked() local
942 pAsset = Asset::createFromUncompressedMap(dataMap, mode); in openAssetFromZipLocked()
944 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
946 pAsset = Asset::createFromCompressedMap(dataMap, in openAssetFromZipLocked()
949 dataMap->getFileName(), mode, pAsset); in openAssetFromZipLocked()
951 if (pAsset == NULL) { in openAssetFromZipLocked()
956 return pAsset; in openAssetFromZipLocked()