Home
last modified time | relevance | path

Searched refs:outs (Results 1 – 7 of 7) sorted by relevance

/curl/src/
H A Dtool_cb_wrt.c58 DEBUGASSERT(outs); in tool_create_output_file()
126 outs->bytes = 0; in tool_create_output_file()
127 outs->init = 0; in tool_create_output_file()
139 struct OutStruct *outs = &per->outs; in tool_write_cb() local
180 if(outs->fopened && !outs->stream) in tool_write_cb()
182 if(!outs->fopened && outs->stream) in tool_write_cb()
184 if(!outs->fopened && outs->bytes) in tool_write_cb()
189 if(!outs->stream || outs->s_isreg || outs->fopened) in tool_write_cb()
191 if(outs->alloc_filename || outs->is_cd_filename || outs->init) in tool_write_cb()
232 if(0xC0 <= outs->utf8seq[0] && outs->utf8seq[0] < 0xE0) { in tool_write_cb()
[all …]
H A Dtool_cb_hdr.c92 struct OutStruct *outs = &per->outs; in tool_header_cb() local
112 if(outs->utf8seq[0]) in tool_header_cb()
113 memset(outs->utf8seq, 0, sizeof(outs->utf8seq)); in tool_header_cb()
215 if(outs->stream) { in tool_header_cb()
225 if(!outs->filename) in tool_header_cb()
232 outs->s_isreg = TRUE; in tool_header_cb()
233 outs->fopened = FALSE; in tool_header_cb()
243 if(!outs->stream && !tool_create_output_file(outs, per->config)) in tool_header_cb()
289 if(!outs->stream && !tool_create_output_file(outs, per->config)) in tool_header_cb()
306 outs->stream); in tool_header_cb()
[all …]
H A Dtool_operate.c458 struct OutStruct *outs = &per->outs; in post_per_transfer() local
504 if(!result && config->xattr && outs->fopened && outs->stream) { in post_per_transfer()
511 if(!result && !outs->stream && !outs->bytes) { in post_per_transfer()
523 if(!outs->s_isreg && outs->stream) { in post_per_transfer()
536 memset(outs->utf8seq, 0, sizeof(outs->utf8seq)); in post_per_transfer()
671 if(outs->bytes && outs->filename && outs->stream) { in post_per_transfer()
680 if(ftruncate(fileno(outs->stream), outs->init)) { in post_per_transfer()
694 rc = fseek(outs->stream, (long)outs->init, SEEK_SET); in post_per_transfer()
717 if(outs->fopened && outs->stream) { in post_per_transfer()
2091 outs = &per->outs; in single_transfer()
[all …]
H A Dtool_cb_wrt.h35 bool tool_create_output_file(struct OutStruct *outs,
H A Dtool_cb_hdr.h46 struct OutStruct *outs; member
H A Dtool_operate.h49 struct OutStruct outs; member
H A Dtool_writeout.c370 if(per->outs.filename) { in writeString()
371 strinfo = per->outs.filename; in writeString()

Completed in 27 milliseconds