zr_rsrc 1194 ext/zip/php_zip.c zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; zr_rsrc 1196 ext/zip/php_zip.c if (zr_rsrc) { zr_rsrc 1197 ext/zip/php_zip.c if (zr_rsrc->zf) { zr_rsrc 1198 ext/zip/php_zip.c zip_fclose(zr_rsrc->zf); zr_rsrc 1199 ext/zip/php_zip.c zr_rsrc->zf = NULL; zr_rsrc 1201 ext/zip/php_zip.c efree(zr_rsrc); zr_rsrc 1302 ext/zip/php_zip.c zip_read_rsrc *zr_rsrc; zr_rsrc 1316 ext/zip/php_zip.c zr_rsrc = emalloc(sizeof(zip_read_rsrc)); zr_rsrc 1318 ext/zip/php_zip.c ret = zip_stat_index(rsrc_int->za, rsrc_int->index_current, 0, &zr_rsrc->sb); zr_rsrc 1321 ext/zip/php_zip.c efree(zr_rsrc); zr_rsrc 1325 ext/zip/php_zip.c zr_rsrc->zf = zip_fopen_index(rsrc_int->za, rsrc_int->index_current, 0); zr_rsrc 1326 ext/zip/php_zip.c if (zr_rsrc->zf) { zr_rsrc 1328 ext/zip/php_zip.c ZEND_REGISTER_RESOURCE(return_value, zr_rsrc, le_zip_entry); zr_rsrc 1330 ext/zip/php_zip.c efree(zr_rsrc); zr_rsrc 1349 ext/zip/php_zip.c zip_read_rsrc * zr_rsrc; zr_rsrc 1356 ext/zip/php_zip.c ZEND_FETCH_RESOURCE(zr_rsrc, zip_read_rsrc *, &zip_entry, -1, le_zip_entry_name, le_zip_entry); zr_rsrc 1359 ext/zip/php_zip.c if (zr_rsrc->zf != NULL) { zr_rsrc 1372 ext/zip/php_zip.c zip_read_rsrc * zr_rsrc; zr_rsrc 1378 ext/zip/php_zip.c ZEND_FETCH_RESOURCE(zr_rsrc, zip_read_rsrc *, &zip_entry, -1, le_zip_entry_name, le_zip_entry); zr_rsrc 1390 ext/zip/php_zip.c zip_read_rsrc * zr_rsrc; zr_rsrc 1398 ext/zip/php_zip.c ZEND_FETCH_RESOURCE(zr_rsrc, zip_read_rsrc *, &zip_entry, -1, le_zip_entry_name, le_zip_entry); zr_rsrc 1404 ext/zip/php_zip.c if (zr_rsrc->zf) { zr_rsrc 1406 ext/zip/php_zip.c n = zip_fread(zr_rsrc->zf, buffer, len); zr_rsrc 1423 ext/zip/php_zip.c zip_read_rsrc * zr_rsrc; zr_rsrc 1429 ext/zip/php_zip.c ZEND_FETCH_RESOURCE(zr_rsrc, zip_read_rsrc *, &zip_entry, -1, le_zip_entry_name, le_zip_entry); zr_rsrc 1431 ext/zip/php_zip.c if (!zr_rsrc->zf) { zr_rsrc 1437 ext/zip/php_zip.c RETURN_STRING((char *)zr_rsrc->sb.name, 1); zr_rsrc 1440 ext/zip/php_zip.c RETURN_LONG((long) (zr_rsrc->sb.comp_size)); zr_rsrc 1443 ext/zip/php_zip.c RETURN_LONG((long) (zr_rsrc->sb.size)); zr_rsrc 1446 ext/zip/php_zip.c switch (zr_rsrc->sb.comp_method) { zr_rsrc 1477 ext/zip/php_zip.c RETURN_LONG((long) (zr_rsrc->sb.comp_method));