Lines Matching refs:zs
290 struct zip_source *zs; in php_zip_add_file() local
315 zs = zip_source_filep(obj->za, fd, offset_start, offset_len); in php_zip_add_file()
317 zs = zip_source_file(obj->za, resolved_path, offset_start, offset_len); in php_zip_add_file()
319 if (!zs) { in php_zip_add_file()
324 if (zip_file_replace(obj->za, replace, zs, flags) < 0) { in php_zip_add_file()
325 zip_source_free(zs); in php_zip_add_file()
332 obj->last_id = zip_file_add(obj->za, entry_name, zs, flags); in php_zip_add_file()
334 zip_source_free(zs); in php_zip_add_file()
1928 struct zip_source *zs; local
1951 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0);
1953 if (zs == NULL) {
1957 ze_obj->last_id = zip_file_add(intern, name, zs, flags);
1959 zip_source_free(zs);