Lines Matching refs:zip

201          ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
299 const ZipFileRO* zip = getZipFileLocked(ap);
300 if (zip == NULL) {
303 const ZipEntryRO entry = zip->findEntryByName(entryFilename);
307 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, (long*)pCrc)) {
818 /* look inside the zip file */
828 //printf("GOT zip, checking NA '%s'\n", (const char*) path);
982 //printf("GOT zip, checking '%s'\n", (const char*) path);
1007 String8 sourceName("zip:");
1121 ALOGV("Opened uncompressed entry %s in zip %s mode %d: %p", entryName.string(),
1126 ALOGV("Opened compressed entry %s in zip %s mode %d: %p", entryName.string(),
1181 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1235 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1462 ALOGW("Failure opening zip %s\n", ap.path.string());
1817 ALOGV("+++ opening zip '%s'\n", mPath.string());
1829 sp<SharedZip> zip = gOpen.valueFor(path).promote();
1830 if (zip != NULL && zip->mModWhen == modWhen) {
1831 return zip;
1833 zip = new SharedZip(path, modWhen);
1834 gOpen.add(path, zip);
1835 return zip;
1944 sp<SharedZip> zip = mZipFile[idx];
1945 if (zip == NULL) {
1946 zip = SharedZip::get(path);
1947 mZipFile.editItemAt(idx) = zip;
1949 return zip->getZip();
1955 sp<SharedZip> zip = mZipFile[idx];
1956 if (zip == NULL) {
1957 zip = SharedZip::get(path);
1958 mZipFile.editItemAt(idx) = zip;
1960 return zip->getResourceTableAsset();
1967 sp<SharedZip> zip = mZipFile[idx];
1969 return zip->setResourceTableAsset(asset);
1975 sp<SharedZip> zip = mZipFile[idx];
1976 if (zip == NULL) {
1977 zip = SharedZip::get(path);
1978 mZipFile.editItemAt(idx) = zip;
1980 return zip->getResourceTable();
1987 sp<SharedZip> zip = mZipFile[idx];
1989 return zip->setResourceTable(res);
2015 * Compute the zip file's index.
2020 int AssetManager::ZipSet::getIndex(const String8& zip) const
2024 if (mZipPath[i] == zip) {
2029 mZipPath.add(zip);