Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c458 zip->metanames = in growMetaNames()
459 realloc(zip->metanames, new_metacount * sizeof(zip->metanames[0])); in growMetaNames()
460 if (zip->metanames == NULL) return -1; in growMetaNames()
462 zip->metanames[i] = NULL; in growMetaNames()
476 if (zip->metanames == NULL) { in addMetaName()
478 zip->metanames = calloc(zip->metacount, sizeof(zip->metanames[0])); in addMetaName()
479 if (zip->metanames == NULL) return -1; in addMetaName()
487 zip->metanames[i] = (char *) malloc(length+1); in addMetaName()
488 if (zip->metanames[i] == NULL) return -1; in addMetaName()
489 memcpy(zip->metanames[i], name, length); in addMetaName()
[all …]
Djava_util_zip_ZipFile.c372 if (zip->metanames != 0) { in JarFile_getMetaInfEntryNames()
374 if (zip->metanames[i] != 0) { in JarFile_getMetaInfEntryNames()
386 jstring str = (*env)->NewStringUTF(env, zip->metanames[i]); in JarFile_getMetaInfEntryNames()
Dzip_util.h232 char **metanames; /* array of meta names (may have null names) */ member