Lines Matching refs:pAsset

454         Asset* pAsset = openNonAssetInPathLocked(assetName.c_str(), mode,  in open()  local
456 if (pAsset != NULL) { in open()
457 return pAsset != kExcludedAsset ? pAsset : NULL; in open()
483 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
485 if (pAsset != NULL) { in openNonAsset()
487 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
505 Asset* pAsset = openNonAssetInPathLocked( in openNonAsset() local
507 if (pAsset != NULL) { in openNonAsset()
508 return pAsset != kExcludedAsset ? pAsset : NULL; in openNonAsset()
523 Asset* pAsset = NULL; in getFileType() local
530 pAsset = open(fileName, Asset::ACCESS_STREAMING); in getFileType()
531 delete pAsset; in getFileType()
533 if (pAsset == NULL) { in getFileType()
786 Asset* pAsset = NULL; in openNonAssetInPathLocked() local
795 pAsset = openAssetFromFileLocked(path, mode); in openNonAssetInPathLocked()
797 if (pAsset == NULL) { in openNonAssetInPathLocked()
800 pAsset = openAssetFromFileLocked(path, mode); in openNonAssetInPathLocked()
803 if (pAsset != NULL) { in openNonAssetInPathLocked()
805 pAsset->setAssetSource(path); in openNonAssetInPathLocked()
819 pAsset = openAssetFromZipLocked(pZip, entry, mode, path); in openNonAssetInPathLocked()
824 if (pAsset != NULL) { in openNonAssetInPathLocked()
826 pAsset->setAssetSource( in openNonAssetInPathLocked()
832 return pAsset; in openNonAssetInPathLocked()
899 Asset* pAsset = NULL; in openAssetFromFileLocked() local
903 pAsset = Asset::createFromCompressedFile(pathName.c_str(), mode); in openAssetFromFileLocked()
906 pAsset = Asset::createFromFile(pathName.c_str(), mode); in openAssetFromFileLocked()
909 return pAsset; in openAssetFromFileLocked()
921 std::unique_ptr<Asset> pAsset; in openAssetFromZipLocked() local
943 pAsset = Asset::createFromUncompressedMap(std::move(*dataMap), mode); in openAssetFromZipLocked()
945 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked()
947 pAsset = Asset::createFromCompressedMap(std::move(*dataMap), in openAssetFromZipLocked()
950 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked()
952 if (pAsset == NULL) { in openAssetFromZipLocked()
957 return pAsset.release(); in openAssetFromZipLocked()