Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.c460 zip->metanames = in growMetaNames()
461 realloc(zip->metanames, new_metacount * sizeof(zip->metanames[0])); in growMetaNames()
462 if (zip->metanames == NULL) return -1; in growMetaNames()
464 zip->metanames[i] = NULL; in growMetaNames()
478 if (zip->metanames == NULL) { in addMetaName()
480 zip->metanames = calloc(zip->metacount, sizeof(zip->metanames[0])); in addMetaName()
481 if (zip->metanames == NULL) return -1; in addMetaName()
489 zip->metanames[i] = (char *) malloc(length+1); in addMetaName()
490 if (zip->metanames[i] == NULL) return -1; in addMetaName()
491 memcpy(zip->metanames[i], name, length); in addMetaName()
[all …]
DZipFile.c370 if (zip->metanames != 0) { in JarFile_getMetaInfEntryNames()
372 if (zip->metanames[i] != 0) { in JarFile_getMetaInfEntryNames()
384 jstring str = (*env)->NewStringUTF(env, zip->metanames[i]); in JarFile_getMetaInfEntryNames()
Dzip_util.h234 char **metanames; /* array of meta names (may have null names) */ member