Lines Matching refs:NULL
65 if (za == NULL) in zip_source_filep()
66 return NULL; in zip_source_filep()
68 if (file == NULL || start < 0 || len < -1) { in zip_source_filep()
70 return NULL; in zip_source_filep()
73 return _zip_source_file_or_p(za, NULL, file, start, len, 1, NULL); in zip_source_filep()
86 if (file == NULL && fname == NULL) { in _zip_source_file_or_p()
88 return NULL; in _zip_source_file_or_p()
91 if ((f=(struct read_file *)malloc(sizeof(struct read_file))) == NULL) { in _zip_source_file_or_p()
93 return NULL; in _zip_source_file_or_p()
96 f->fname = NULL; in _zip_source_file_or_p()
98 if ((f->fname=strdup(fname)) == NULL) { in _zip_source_file_or_p()
101 return NULL; in _zip_source_file_or_p()
113 if ((zs=zip_source_function(za, read_file, f)) == NULL) { in _zip_source_file_or_p()
115 return NULL; in _zip_source_file_or_p()
136 if ((z->f=fopen(z->fname, "rb")) == NULL) { in read_file()
184 z->f = NULL; in read_file()