Lines Matching refs:out_handle
79 archive_handle_t *out_handle = handle->ar__out;
82 out_handle->file_header = fh;
83 output_ar_header(out_handle);
85 bb_copyfd_exact_size(handle->src_fd, out_handle->src_fd, fh->size);
86 out_handle->offset += fh->size;
124 archive_handle_t *out_handle;
133 out_handle = init_handle();
135 out_handle->src_fd = xopen(handle->ar__name, O_WRONLY | O_CREAT | O_TRUNC);
136 out_handle->accept = handle->accept;
138 out_handle = handle;
141 handle->ar__out = out_handle;
143 xwrite(out_handle->src_fd, AR_MAGIC "\n", AR_MAGIC_LEN + 1);
144 out_handle->offset += AR_MAGIC_LEN + 1;
153 while (write_ar_header(out_handle) == 0)
159 if (out_handle->src_fd != handle->src_fd)
160 close(out_handle->src_fd);