Home | History | Annotate | Download | only in compress

Lines Matching defs:ofp

205 	FILE *ifp, *ofp;
217 ifp = ofp = NULL;
235 if ((ofp = zopen(out, "w", bits)) == NULL) {
241 if (fwrite(buf, 1, nr, ofp) != nr) {
251 if (fclose(ofp))
255 ofp = NULL;
290 err: if (ofp)
291 (void)fclose(ofp);
303 FILE *ifp, *ofp;
315 ifp = ofp = NULL;
337 if ((ofp = fopen(out, "w")) == NULL) {
341 if (fwrite(buf, 1, nr, ofp) != nr) {
348 if (fwrite(buf, 1, nr, ofp) != nr) {
364 if (fclose(ofp)) {
365 ofp = NULL;
378 err: if (ofp)
379 (void)fclose(ofp);