Lines Matching refs:pAsset

534         Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i));
535 if (pAsset != NULL) {
536 return pAsset != kExcludedAsset ? pAsset : NULL;
567 Asset* pAsset = openNonAssetInPathLocked(
569 if (pAsset != NULL) {
570 return pAsset != kExcludedAsset ? pAsset : NULL;
592 Asset* pAsset = openNonAssetInPathLocked(
594 if (pAsset != NULL) {
595 return pAsset != kExcludedAsset ? pAsset : NULL;
610 Asset* pAsset = NULL;
617 pAsset = open(fileName, Asset::ACCESS_STREAMING);
618 delete pAsset;
620 if (pAsset == NULL)
799 Asset* pAsset = NULL;
806 pAsset = openAssetFromFileLocked(path, mode);
808 if (pAsset == NULL) {
811 pAsset = openAssetFromFileLocked(path, mode);
814 if (pAsset != NULL) {
816 pAsset->setAssetSource(path);
833 pAsset = openAssetFromZipLocked(pZip, entry, mode, path);
837 if (pAsset != NULL) {
839 pAsset->setAssetSource(
845 return pAsset;
858 Asset* pAsset = NULL;
864 pAsset = openInLocaleVendorLocked(fileName, mode, ap, mLocale, mVendor);
865 if (pAsset == NULL && mVendor != NULL)
866 pAsset = openInLocaleVendorLocked(fileName, mode, ap, NULL, mVendor);
867 if (pAsset == NULL && mLocale != NULL)
868 pAsset = openInLocaleVendorLocked(fileName, mode, ap, mLocale, NULL);
869 if (pAsset == NULL)
870 pAsset = openInLocaleVendorLocked(fileName, mode, ap, NULL, NULL);
872 return pAsset;
887 Asset* pAsset = NULL;
903 pAsset = openAssetFromFileLocked(path, mode);
905 if (pAsset == NULL) {
908 pAsset = openAssetFromFileLocked(path, mode);
911 if (pAsset != NULL)
912 pAsset->setAssetSource(path);
936 pAsset = openAssetFromFileLocked(path, mode);
937 if (pAsset == NULL) {
940 pAsset = openAssetFromFileLocked(path, mode);
944 if (pAsset != NULL)
945 pAsset->setAssetSource(path);
958 if (pAsset == NULL)
960 return pAsset;
970 if (pAsset == NULL && ap.type == kFileTypeRegular) {
988 pAsset = openAssetFromZipLocked(pZip, entry, mode, path);
992 if (pAsset != NULL) {
994 pAsset->setAssetSource(createZipSourceNameLocked(ZipSet::getPathName(ap.path.string()),
999 return pAsset;
1075 Asset* pAsset = NULL;
1079 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1082 pAsset = Asset::createFromFile(pathName.string(), mode);
1085 return pAsset;
1097 Asset* pAsset = NULL;
1121 pAsset = Asset::createFromUncompressedMap(dataMap, mode);
1123 dataMap->getFileName(), mode, pAsset);
1125 pAsset = Asset::createFromCompressedMap(dataMap, method,
1128 dataMap->getFileName(), mode, pAsset);
1130 if (pAsset == NULL) {
1135 return pAsset;