Lines Matching refs:src
41 zip_source_open(struct zip_source *src) in zip_source_open() argument
45 if (src->is_open) { in zip_source_open()
46 src->error_source = ZIP_LES_INVAL; in zip_source_open()
50 if (src->src == NULL) { in zip_source_open()
51 if (src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_OPEN) < 0) in zip_source_open()
55 if (zip_source_open(src->src) < 0) { in zip_source_open()
56 src->error_source = ZIP_LES_LOWER; in zip_source_open()
60 ret = src->cb.l(src->src, src->ud, NULL, 0, ZIP_SOURCE_OPEN); in zip_source_open()
63 zip_source_close(src->src); in zip_source_open()
66 src->error_source = ZIP_LES_LOWER; in zip_source_open()
68 src->error_source = ZIP_LES_UPPER; in zip_source_open()
73 src->is_open = 1; in zip_source_open()