Lines Matching refs:zf
141 struct zip_file *zf; in php_zip_extract_file() local
268 zf = zip_fopen(za, file, 0); in php_zip_extract_file()
269 if (zf == NULL) { in php_zip_extract_file()
277 while ((n=zip_fread(zf, b, sizeof(b))) > 0) { in php_zip_extract_file()
282 n = zip_fclose(zf); in php_zip_extract_file()
1169 if (zr_rsrc->zf) { in php_zip_free_entry()
1170 if (zr_rsrc->zf->za) { in php_zip_free_entry()
1171 zip_fclose(zr_rsrc->zf); in php_zip_free_entry()
1173 if (zr_rsrc->zf->src) in php_zip_free_entry()
1174 zip_source_free(zr_rsrc->zf->src); in php_zip_free_entry()
1175 free(zr_rsrc->zf); in php_zip_free_entry()
1177 zr_rsrc->zf = NULL; in php_zip_free_entry()
1303 zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0); in PHP_NAMED_FUNCTION()
1304 if (zr_rsrc->zf) { in PHP_NAMED_FUNCTION()
1337 if (zr_rsrc->zf != NULL) { in PHP_NAMED_FUNCTION()
1382 if (zr_rsrc->zf) { in PHP_NAMED_FUNCTION()
1384 n = zip_fread(zr_rsrc->zf, buffer, len); in PHP_NAMED_FUNCTION()
1409 if (!zr_rsrc->zf) { in php_zip_entry_get_info()
2515 struct zip_file *zf; in php_zip_get_from() local
2552 zf = zip_fopen_index(intern, index, flags); in php_zip_get_from()
2554 zf = zip_fopen(intern, filename, flags); in php_zip_get_from()
2557 if (zf == NULL) { in php_zip_get_from()
2562 n = zip_fread(zf, buffer, len); in php_zip_get_from()
2568 zip_fclose(zf); in php_zip_get_from()