Home
last modified time | relevance | path

Searched refs:dbufi (Results 1 – 11 of 11) sorted by relevance

/dports/net/tacacs/PROJECTS/ftpd/
H A Dchunk.c24 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 Dfile2buffer.c50 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 Dbuffer2socket.c65 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 Dsig_bus.c22 ctx->dbufi = buffer_free_all(ctx->dbufi); in catchbus()
H A Dcleanup.c179 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 Dlist.c502 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 Dh_stor.c25 ctx->dbufi = buffer_free_all(ctx->dbufi); in skipbytes()
49 ctx->dbufi = buffer_free_all(ctx->dbufi); in skipbytes()
H A Dh_size.c46 ctx->dbufi = buffer_free_all(ctx->dbufi); in getasciisize()
H A Dh_site_checksum.c120 ctx->dbufi = buffer_free_all(ctx->dbufi); in getchecksum()
H A Dh_list.c43 if (!ctx->dbufi && ctx->list_mode == List_mlsd) { in xlist_done()
H A Dheaders.h273 # define chunk_remaining(A) (A->remaining || A->dbufi)
472 struct buffer *dbufi; /* read-only data, ready for processing */ member