Searched refs:dbufi (Results 1 – 11 of 11) sorted by relevance
/dports/net/tacacs/PROJECTS/ftpd/ |
H A D | chunk.c | 24 if (ctx->remaining && bufsize > buffer_getlen(ctx->dbufi)) { in chunk_get() 58 ctx->dbufi = buffer_append(ctx->dbufi, b); in chunk_get() 61 if (!ctx->dbufi || ctx->dbufi->length == 0) in chunk_get() 81 ctx->dbufi = buffer_append(ctx->dbufi, buf); in chunk_get() 85 if (ctx->dbufi) { in chunk_get() 86 ctx->chunk_start = ctx->dbufi->buf + ctx->dbufi->offset; in chunk_get() 87 ctx->chunk_length = ctx->dbufi->length - ctx->dbufi->offset; in chunk_get() 100 ctx->dbufi = buffer_release(ctx->dbufi, &len); in chunk_release() 101 if (ctx->dbufi) { in chunk_release() 102 ctx->chunk_start = ctx->dbufi->buf + ctx->dbufi->offset; in chunk_release() [all …]
|
H A D | file2buffer.c | 50 ctx->dbufi = buffer_free_all(ctx->dbufi); in file2buffer() 51 ctx->dbufi = buffer_get(); in file2buffer() 55 ctx->dbufi->length = in file2buffer() 56 snprintf(ctx->dbufi->buf, ctx->dbufi->size, in file2buffer() 62 …ctx->dbufi->length = snprintf(ctx->dbufi->buf, ctx->dbufi->size, "%s %s\n", d, ctx->filename + ct… in file2buffer() 68 ctx->chunk_start = ctx->dbufi->buf; in file2buffer() 69 ctx->chunk_length = ctx->dbufi->length; in file2buffer()
|
H A D | buffer2socket.c | 65 db = ctx->dbufi; in buffer2socket() 68 if (ctx->mode == 'z' && ctx->dbufi && !ctx->filename[0]) { in buffer2socket() 78 in = ctx->dbufi; in buffer2socket() 79 ctx->dbufi = NULL; in buffer2socket() 126 if (!ctx->dbufi && !ctx->dbuf in buffer2socket() 328 } else if (ctx->dbufi && ctx->mode != 'z' && ctx->conversion != CONV_GZ) in buffer2socket() 334 if (!ctx->remaining && !ctx->dbufi && !ctx->dbuf in buffer2socket()
|
H A D | sig_bus.c | 22 ctx->dbufi = buffer_free_all(ctx->dbufi); in catchbus()
|
H A D | cleanup.c | 179 ctx->dbufi = buffer_free_all(ctx->dbufi); in cleanup_data() 194 ctx->dbufi = buffer_free_all(ctx->dbufi); in cleanup_data() 323 buffer_free_all(ctx->dbufi); in cleanup_context()
|
H A D | list.c | 502 ctx->dbufi = buffer_write(ctx->dbufi, u, strlen(u)); in list() 504 ctx->dbufi = buffer_write(ctx->dbufi, t, strlen(t)); in list() 505 ctx->dbufi = buffer_write(ctx->dbufi, "\r\n", 2); in list() 639 b = ctx->dbufi, bf = buffer_write; in list_dir_details() 666 ctx->dbufi = b; in list_dir_details()
|
H A D | h_stor.c | 25 ctx->dbufi = buffer_free_all(ctx->dbufi); in skipbytes() 49 ctx->dbufi = buffer_free_all(ctx->dbufi); in skipbytes()
|
H A D | h_size.c | 46 ctx->dbufi = buffer_free_all(ctx->dbufi); in getasciisize()
|
H A D | h_site_checksum.c | 120 ctx->dbufi = buffer_free_all(ctx->dbufi); in getchecksum()
|
H A D | h_list.c | 43 if (!ctx->dbufi && ctx->list_mode == List_mlsd) { in xlist_done()
|
H A D | headers.h | 273 # define chunk_remaining(A) (A->remaining || A->dbufi) 472 struct buffer *dbufi; /* read-only data, ready for processing */ member
|