Lines Matching refs:za
42 static struct zip_file *_zip_file_new(struct zip *za);
47 zip_fopen_index_encrypted(struct zip *za, zip_uint64_t index, zip_flags_t flags, in zip_fopen_index_encrypted() argument
53 if ((src=_zip_source_zip_new(za, za, index, flags, 0, 0, password)) == NULL) in zip_fopen_index_encrypted()
57 _zip_error_set_from_source(&za->error, src); in zip_fopen_index_encrypted()
62 if ((zf=_zip_file_new(za)) == NULL) { in zip_fopen_index_encrypted()
75 _zip_file_new(struct zip *za) in _zip_file_new() argument
80 _zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in _zip_file_new()
84 if (za->nfile+1 >= za->nfile_alloc) { in _zip_file_new()
86 n = za->nfile_alloc + 10; in _zip_file_new()
87 file = (struct zip_file **)realloc(za->file, in _zip_file_new()
90 _zip_error_set(&za->error, ZIP_ER_MEMORY, 0); in _zip_file_new()
94 za->nfile_alloc = n; in _zip_file_new()
95 za->file = file; in _zip_file_new()
98 za->file[za->nfile++] = zf; in _zip_file_new()
100 zf->za = za; in _zip_file_new()