/frameworks/base/tools/aapt2/ |
H A D | ZipFile.h | 75 * If "storageName" is specified, the archive will use that instead 88 status_t add(const char* fileName, const char* storageName, argument 91 return addCommon(fileName, NULL, 0, storageName, 101 status_t addGzip(const char* fileName, const char* storageName, argument 104 return addCommon(fileName, NULL, 0, storageName, 114 status_t add(const void* data, size_t size, const char* storageName, argument 117 return addCommon(NULL, data, size, storageName, 122 status_t add(const BigBuffer& data, const char* storageName, 126 * Add an entry by copying it from another zip file. If storageName is 127 * non-NULL, the entry will be inserted with the name storageName, otherwis [all...] |
H A D | ZipEntry.cpp | 147 const ZipEntry* pEntry, const char* storageName) 150 if (storageName && *storageName != 0) { 151 mCDE.mFileNameLength = strlen(storageName); 153 strcpy((char*) mCDE.mFileName, storageName); 146 initFromExternal(const ZipFile* , const ZipEntry* pEntry, const char* storageName) argument
|
H A D | ZipFile.cpp | 348 status_t ZipFile::add(const BigBuffer& buffer, const char* storageName, int compressionMethod, argument 351 return add(data.get(), buffer.size(), storageName, compressionMethod, ppEntry); 368 const char* storageName, int sourceType, int compressionMethod, 389 if (getEntryByName(storageName) != NULL) 404 pEntry->initNew(storageName, NULL); 549 const char* storageName, int padding, ZipEntry** ppEntry) 573 result = pEntry->initFromExternal(pSourceZip, pSourceEntry, storageName); 367 addCommon(const char* fileName, const void* data, size_t size, const char* storageName, int sourceType, int compressionMethod, ZipEntry** ppEntry) argument 548 add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, const char* storageName, int padding, ZipEntry** ppEntry) argument
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file); 246 String8 storageName, const sp<const AaptFile>& file) 267 int fileNameLen = storageName.length(); 270 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen), 272 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string()); 276 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) { 278 storageName = storageName.getBasePath(); 282 entry = zip->getEntryByName(storageName.string()); 302 printf(" (removing old '%s')\n", storageName 245 processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file) argument 409 const char* storageName = entry->getFileName(); local [all...] |
H A D | ZipFile.h | 72 * If "storageName" is specified, the archive will use that instead 85 status_t add(const char* fileName, const char* storageName, argument 88 return addCommon(fileName, NULL, 0, storageName, 98 status_t addGzip(const char* fileName, const char* storageName, argument 101 return addCommon(fileName, NULL, 0, storageName, 111 status_t add(const void* data, size_t size, const char* storageName, argument 114 return addCommon(NULL, data, size, storageName, 225 const char* storageName, int sourceType, int compressionMethod,
|
H A D | ZipFile.cpp | 359 const char* storageName, int sourceType, int compressionMethod, 380 if (getEntryByName(storageName) != NULL) 395 pEntry->initNew(storageName, NULL); 358 addCommon(const char* fileName, const void* data, size_t size, const char* storageName, int sourceType, int compressionMethod, ZipEntry** ppEntry) argument
|
H A D | Command.cpp | 2120 String8 storageName = String8(fileName).getPathLeaf(); local 2122 ResTable::normalizeForOutput(storageName.string()).string()); 2123 result = zip->add(fileName, storageName.string(),
|