Lines Matching refs:ze_obj
1442 ze_zip_object *ze_obj = NULL; in ZIPARCHIVE_METHOD() local
1450 ze_obj = Z_ZIP_P(self); in ZIPARCHIVE_METHOD()
1466 if (ze_obj->za) { in ZIPARCHIVE_METHOD()
1468 if (zip_close(ze_obj->za) != 0) { in ZIPARCHIVE_METHOD()
1473 ze_obj->za = NULL; in ZIPARCHIVE_METHOD()
1475 if (ze_obj->filename) { in ZIPARCHIVE_METHOD()
1476 efree(ze_obj->filename); in ZIPARCHIVE_METHOD()
1477 ze_obj->filename = NULL; in ZIPARCHIVE_METHOD()
1485 ze_obj->filename = resolved_path; in ZIPARCHIVE_METHOD()
1486 ze_obj->filename_len = strlen(resolved_path); in ZIPARCHIVE_METHOD()
1487 ze_obj->za = intern; in ZIPARCHIVE_METHOD()
1530 ze_zip_object *ze_obj; in ZIPARCHIVE_METHOD() local
1539 ze_obj = Z_ZIP_P(self); in ZIPARCHIVE_METHOD()
1550 efree(ze_obj->filename); in ZIPARCHIVE_METHOD()
1551 ze_obj->filename = NULL; in ZIPARCHIVE_METHOD()
1552 ze_obj->filename_len = 0; in ZIPARCHIVE_METHOD()
1553 ze_obj->za = NULL; in ZIPARCHIVE_METHOD()
1841 ze_zip_object *ze_obj; in ZIPARCHIVE_METHOD() local
1857 ze_obj = Z_ZIP_P(self); in ZIPARCHIVE_METHOD()
1858 if (ze_obj->buffers_cnt) { in ZIPARCHIVE_METHOD()
1859 …ze_obj->buffers = (char **)safe_erealloc(ze_obj->buffers, sizeof(char *), (ze_obj->buffers_cnt+1),… in ZIPARCHIVE_METHOD()
1860 pos = ze_obj->buffers_cnt++; in ZIPARCHIVE_METHOD()
1862 ze_obj->buffers = (char **)emalloc(sizeof(char *)); in ZIPARCHIVE_METHOD()
1863 ze_obj->buffers_cnt++; in ZIPARCHIVE_METHOD()
1866 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1); in ZIPARCHIVE_METHOD()
1867 memcpy(ze_obj->buffers[pos], ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1); in ZIPARCHIVE_METHOD()
1869 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0); in ZIPARCHIVE_METHOD()