/dports/math/librdata/librdata-4a80bf3/src/test/ |
H A D | test_buffer_io.c | 19 rt_buffer_ctx_t *buffer_ctx = (rt_buffer_ctx_t *)io_ctx; in rt_seek_handler() local 24 newpos = buffer_ctx->pos + offset; in rt_seek_handler() 26 newpos = buffer_ctx->buffer->used + offset; in rt_seek_handler() 32 if (newpos > buffer_ctx->buffer->used) in rt_seek_handler() 35 buffer_ctx->pos = newpos; in rt_seek_handler() 40 rt_buffer_ctx_t *buffer_ctx = (rt_buffer_ctx_t *)io_ctx; in rt_read_handler() local 42 ssize_t bytes_left = buffer_ctx->buffer->used - buffer_ctx->pos; in rt_read_handler() 44 memcpy(buf, buffer_ctx->buffer->bytes + buffer_ctx->pos, nbytes); in rt_read_handler() 47 memcpy(buf, buffer_ctx->buffer->bytes + buffer_ctx->pos, bytes_left); in rt_read_handler() 50 buffer_ctx->pos += bytes_copied; in rt_read_handler() [all …]
|
H A D | test_buffer.c | 30 rt_buffer_ctx_t *buffer_ctx = calloc(1, sizeof(rt_buffer_ctx_t)); in buffer_ctx_init() local 31 buffer_ctx->buffer = buffer; in buffer_ctx_init() 32 return buffer_ctx; in buffer_ctx_init() 35 void buffer_ctx_reset(rt_buffer_ctx_t *buffer_ctx) { in buffer_ctx_reset() argument 36 buffer_reset(buffer_ctx->buffer); in buffer_ctx_reset() 37 buffer_ctx->pos = 0; in buffer_ctx_reset()
|
H A D | test_buffer.h | 19 void buffer_ctx_reset(rt_buffer_ctx_t *buffer_ctx);
|
H A D | test_rdata.c | 179 rt_buffer_ctx_t *buffer_ctx = buffer_ctx_init(buffer); in main() local 187 rdata_set_io_ctx(parser, buffer_ctx); in main()
|
/dports/comms/tits/tits-1.3.0/ |
H A D | buffer.h | 35 struct buffer_ctx { struct 45 extern int buffer_init_delay(struct buffer_ctx **, int, int); argument 47 extern void buffer_destroy(struct buffer_ctx *); 48 extern ssize_t buffer_fill(struct buffer_ctx *, const char *, size_t); 49 extern ssize_t buffer_drain(struct buffer_ctx *);
|
H A D | logger.c | 81 struct buffer_ctx *lc_bc; 128 struct buffer_ctx *bc; in logger_init() 144 buffer_destroy((struct buffer_ctx *)cc->cc_data); in logger_destroy() 154 return ((int) buffer_drain((struct buffer_ctx *) cc->cc_data)); in logger_event() 165 return (buffer_fill((struct buffer_ctx *) cc->cc_data, buff, len)); in logger_output() 172 return (buffer_length((struct buffer_ctx *) cc->cc_data) != 0); in logger_write_pending()
|
H A D | buffer.c | 49 buffer_init_delay(struct buffer_ctx **bcp, int fd, int txdelay) in buffer_init_delay() 51 struct buffer_ctx *bc; in buffer_init_delay() 76 buffer_destroy(struct buffer_ctx *bc) in buffer_destroy() 83 buffer_write(struct buffer_ctx *bc, const char *src, size_t bytes) in buffer_write() 95 buffer_fill(struct buffer_ctx *bc, const char *src, size_t bytes) in buffer_fill() 191 buffer_drain(struct buffer_ctx *bc) in buffer_drain()
|
H A D | stdio2pty.c | 27 static struct buffer_ctx *stdout_buff; 28 static struct buffer_ctx *ptyout_buff; 50 copyfrom(int fd, struct buffer_ctx *bc) in copyfrom()
|
H A D | listener.c | 452 struct buffer_ctx *bc; in full_init() 475 buffer_destroy((struct buffer_ctx *) cc->cc_data); in full_destroy() 482 struct buffer_ctx *bc = cc->cc_data; in full_event()
|
H A D | telnet.c | 76 struct buffer_ctx *tc_buff;
|
H A D | masterpty.c | 86 struct buffer_ctx *mc_bc;
|
/dports/textproc/libcyaml/libcyaml-1.3.0/src/ |
H A D | save.c | 1451 if (size > (buffer_ctx->len - buffer_ctx->used)) { in cyaml__buffer_handler() 1453 buffer_ctx->config, in cyaml__buffer_handler() 1454 buffer_ctx->data, in cyaml__buffer_handler() 1455 buffer_ctx->len, in cyaml__buffer_handler() 1462 buffer_ctx->data = temp; in cyaml__buffer_handler() 1463 buffer_ctx->len = buffer_ctx->used + size; in cyaml__buffer_handler() 1466 memcpy(buffer_ctx->data + buffer_ctx->used, buffer, size); in cyaml__buffer_handler() 1467 buffer_ctx->used += size; in cyaml__buffer_handler() 1504 err = buffer_ctx.err; in cyaml_save_data() 1512 *output = buffer_ctx.data; in cyaml_save_data() [all …]
|
/dports/mail/mailutils/mailutils-3.13/mh/ |
H A D | mh_alias_lex.l | 73 struct buffer_ctx { struct 74 struct buffer_ctx *prev; argument 83 static struct buffer_ctx *context_stack; argument 86 static struct buffer_ctx * 89 struct buffer_ctx *ctx; in ctx_lookup() 101 struct buffer_ctx *ctx; in push_source() 200 struct buffer_ctx *ctx; in pop_source()
|
H A D | mh_alias_lex.c | 573 struct buffer_ctx { struct 574 struct buffer_ctx *prev; argument 583 static struct buffer_ctx *context_stack; argument 586 static struct buffer_ctx * 589 struct buffer_ctx *ctx; in ctx_lookup() 601 struct buffer_ctx *ctx; in push_source() 700 struct buffer_ctx *ctx; in pop_source()
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/AudioEngine/Sinks/ |
H A D | AESinkXAudio.h | 48 struct buffer_ctx struct 54 ~buffer_ctx() in ~buffer_ctx() argument 81 struct buffer_ctx *ctx = static_cast<struct buffer_ctx*>(context); in STDMETHOD_()
|
/dports/net/gnu-radius/radius-1.6.1/lib/ |
H A D | users.l | 199 struct buffer_ctx { struct 200 struct buffer_ctx *prev; argument 207 static struct buffer_ctx *context_stack; argument 209 static struct buffer_ctx *ctx_lookup(ino_t ino); 213 struct buffer_ctx * 216 struct buffer_ctx *ctx; in ctx_lookup() 228 struct buffer_ctx *ctx; in push_source() 292 struct buffer_ctx *ctx; in pop_source()
|
H A D | users_lex.c | 616 struct buffer_ctx { struct 617 struct buffer_ctx *prev; argument 624 static struct buffer_ctx *context_stack; argument 626 static struct buffer_ctx *ctx_lookup(ino_t ino); 630 struct buffer_ctx * 633 struct buffer_ctx *ctx; in ctx_lookup() 645 struct buffer_ctx *ctx; in push_source() 709 struct buffer_ctx *ctx; in pop_source()
|
/dports/mail/mailutils/mailutils-3.13/libmu_sieve/ |
H A D | sieve-lex.l | 112 struct buffer_ctx struct 114 struct buffer_ctx *prev; argument 122 static struct buffer_ctx *context_stack; argument 124 static struct buffer_ctx *ctx_lookup (ino_t ino); 128 struct buffer_ctx * 131 struct buffer_ctx *ctx; in ctx_lookup() 144 struct buffer_ctx *ctx; in push_source() 210 struct buffer_ctx *ctx; in pop_source()
|
H A D | sieve-lex.c | 706 struct buffer_ctx struct 708 struct buffer_ctx *prev; argument 716 static struct buffer_ctx *context_stack; argument 718 static struct buffer_ctx *ctx_lookup (ino_t ino); 722 struct buffer_ctx * 725 struct buffer_ctx *ctx; in ctx_lookup() 738 struct buffer_ctx *ctx; in push_source() 804 struct buffer_ctx *ctx; in pop_source()
|
/dports/www/htdigest/httpd-2.4.6/modules/filters/ |
H A D | mod_buffer.c | 44 typedef struct buffer_ctx { struct 50 } buffer_ctx; argument 58 buffer_ctx *ctx = f->ctx; in buffer_out_filter() 193 buffer_ctx *ctx = f->ctx; in buffer_in_filter()
|
/dports/www/apache24/httpd-2.4.53/modules/filters/ |
H A D | mod_buffer.c | 44 typedef struct buffer_ctx { struct 50 } buffer_ctx; argument 59 buffer_ctx *ctx = f->ctx; in buffer_out_filter() 194 buffer_ctx *ctx = f->ctx; in buffer_in_filter()
|
/dports/net/gnu-dico/dico-2.10/grecs/src/ |
H A D | preproc.c | 44 struct buffer_ctx { struct 45 struct buffer_ctx *prev; /* Pointer to previous context */ argument 54 static struct buffer_ctx *context_stack; argument 228 static struct buffer_ctx * 231 struct buffer_ctx *ctx; in ctx_lookup() 441 struct buffer_ctx *ctx; in push_source() 510 struct buffer_ctx *ctx; in pop_source()
|
/dports/sysutils/direvent/direvent-5.2/grecs/src/ |
H A D | preproc.c | 44 struct buffer_ctx { struct 45 struct buffer_ctx *prev; /* Pointer to previous context */ argument 54 static struct buffer_ctx *context_stack; argument 228 static struct buffer_ctx * 231 struct buffer_ctx *ctx; in ctx_lookup() 441 struct buffer_ctx *ctx; in push_source() 510 struct buffer_ctx *ctx; in pop_source()
|
/dports/sysutils/pies/pies-1.5/grecs/src/ |
H A D | preproc.c | 44 struct buffer_ctx { struct 45 struct buffer_ctx *prev; /* Pointer to previous context */ argument 54 static struct buffer_ctx *context_stack; argument 228 static struct buffer_ctx * 231 struct buffer_ctx *ctx; in ctx_lookup() 441 struct buffer_ctx *ctx; in push_source() 510 struct buffer_ctx *ctx; in pop_source()
|
/dports/sysutils/eclat/eclat-2.0/grecs/src/ |
H A D | preproc.c | 44 struct buffer_ctx { struct 45 struct buffer_ctx *prev; /* Pointer to previous context */ argument 54 static struct buffer_ctx *context_stack; argument 228 static struct buffer_ctx * 231 struct buffer_ctx *ctx; in ctx_lookup() 441 struct buffer_ctx *ctx; in push_source() 510 struct buffer_ctx *ctx; in pop_source()
|