Home
last modified time | relevance | path

Searched refs:metanames (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
Dzip_util.c496 zip->metanames = in growMetaNames()
497 realloc(zip->metanames, new_metacount * sizeof(zip->metanames[0])); in growMetaNames()
498 if (zip->metanames == NULL) return -1; in growMetaNames()
500 zip->metanames[i] = NULL; in growMetaNames()
514 if (zip->metanames == NULL) { in addMetaName()
516 zip->metanames = calloc(zip->metacount, sizeof(zip->metanames[0])); in addMetaName()
517 if (zip->metanames == NULL) return -1; in addMetaName()
525 zip->metanames[i] = (char *) malloc(length+1); in addMetaName()
526 if (zip->metanames[i] == NULL) return -1; in addMetaName()
527 memcpy(zip->metanames[i], name, length); in addMetaName()
[all …]
DZipFile.c365 if (zip->metanames != 0) { in JarFile_getMetaInfEntryNames()
367 if (zip->metanames[i] != 0) { in JarFile_getMetaInfEntryNames()
379 jstring str = (*env)->NewStringUTF(env, zip->metanames[i]); in JarFile_getMetaInfEntryNames()
Dzip_util.h235 char **metanames; /* array of meta names (may have null names) */ member
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java1095 int[] metanames = zsrc.signatureMetaNames; in getManifestAndSignatureRelatedFiles() local
1101 if (metanames != null) { in getManifestAndSignatureRelatedFiles()
1105 for (int i = 0; i < metanames.length; i++) { in getManifestAndSignatureRelatedFiles()
1106 files.add(getEntryName(metanames[i])); in getManifestAndSignatureRelatedFiles()