Lines Matching refs:zep
61 zip_open(const char *fn, int flags, int *zep) in zip_open() argument
66 return _zip_allocate_new(fn, zep); in zip_open()
69 switch (_zip_file_exists(fn, flags, zep)) { in zip_open()
75 return _zip_allocate_new(fn, zep); in zip_open()
81 set_error(zep, NULL, ZIP_ER_OPEN); in zip_open()
85 return _zip_open(fn, fp, flags, 0, zep); in zip_open()
91 _zip_open(const char *fn, FILE *fp, int flags, int aflags, int *zep) in _zip_open() argument
99 *zep = ZIP_ER_SEEK; in _zip_open()
106 if ((za=_zip_allocate_new(fn, zep)) == NULL) in _zip_open()
113 cdir = _zip_find_central_dir(fp, flags, zep, len); in _zip_open()
119 if ((za=_zip_allocate_new(fn, zep)) == NULL) { in _zip_open()
130 set_error(zep, NULL, ZIP_ER_MEMORY); in _zip_open()
146 set_error(int *zep, struct zip_error *err, int ze) in set_error() argument
156 if (zep) in set_error()
157 *zep = ze; in set_error()
455 _zip_allocate_new(const char *fn, int *zep) in _zip_allocate_new() argument
461 set_error(zep, &error, 0); in _zip_allocate_new()
471 set_error(zep, NULL, ZIP_ER_MEMORY); in _zip_allocate_new()
481 _zip_file_exists(const char *fn, int flags, int *zep) in _zip_file_exists() argument
486 set_error(zep, NULL, ZIP_ER_INVAL); in _zip_file_exists()
494 set_error(zep, NULL, ZIP_ER_OPEN); in _zip_file_exists()
499 set_error(zep, NULL, ZIP_ER_EXISTS); in _zip_file_exists()
511 _zip_find_central_dir(FILE *fp, int flags, int *zep, off_t len) in _zip_find_central_dir() argument
522 set_error(zep, NULL, ZIP_ER_SEEK); in _zip_find_central_dir()
529 set_error(zep, NULL, ZIP_ER_MEMORY); in _zip_find_central_dir()
537 set_error(zep, NULL, ZIP_ER_READ); in _zip_find_central_dir()
581 set_error(zep, &zerr, 0); in _zip_find_central_dir()