/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/buf/ |
H A D | buffers.h | 22 typedef struct buf_t buf_t; typedef 24 buf_t *buf_new(void); 27 void buf_free_(buf_t *buf); 29 void buf_clear(buf_t *buf); 30 buf_t *buf_copy(const buf_t *buf); 37 size_t buf_slack(const buf_t *buf); 48 int buf_move_to_buf(buf_t *buf_out, buf_t *buf_in, size_t *buf_flushlen); 49 size_t buf_move_all(buf_t *buf_out, buf_t *buf_in); 58 int buf_set_to_copy(buf_t **output, 61 void buf_assert_ok(buf_t *buf); [all …]
|
H A D | buffers.c | 284 buf_t * 355 buf_t * 358 buf_t *b = buf_new(); in buf_new_with_capacity() 364 buf_t * 367 buf_t *buf = tor_malloc_zero(sizeof(buf_t)); in buf_new() 381 buf_clear(buf_t *buf) in buf_clear() 424 buf_free_(buf_t *buf) in buf_free_() 452 buf_t * 456 buf_t *out = buf_new(); in buf_copy() 657 buf_move_to_buf(buf_t *buf_out, buf_t *buf_in, size_t *buf_flushlen) in buf_move_to_buf() [all …]
|
/dports/security/tor/tor-0.4.6.8/src/lib/buf/ |
H A D | buffers.h | 22 typedef struct buf_t buf_t; typedef 24 buf_t *buf_new(void); 27 void buf_free_(buf_t *buf); 29 void buf_clear(buf_t *buf); 30 buf_t *buf_copy(const buf_t *buf); 37 size_t buf_slack(const buf_t *buf); 48 int buf_move_to_buf(buf_t *buf_out, buf_t *buf_in, size_t *buf_flushlen); 49 size_t buf_move_all(buf_t *buf_out, buf_t *buf_in); 58 int buf_set_to_copy(buf_t **output, 61 void buf_assert_ok(buf_t *buf); [all …]
|
H A D | buffers.c | 284 buf_t * 355 buf_t * 358 buf_t *b = buf_new(); in buf_new_with_capacity() 364 buf_t * 367 buf_t *buf = tor_malloc_zero(sizeof(buf_t)); in buf_new() 381 buf_clear(buf_t *buf) in buf_clear() 424 buf_free_(buf_t *buf) in buf_free_() 452 buf_t * 456 buf_t *out = buf_new(); in buf_copy() 657 buf_move_to_buf(buf_t *buf_out, buf_t *buf_in, size_t *buf_flushlen) in buf_move_to_buf() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/ |
H A D | buf.h | 270 buf_t *bq_marker; 279 void biodone(buf_t *); 280 int biowait(buf_t *); 283 void nestiobuf_setup(buf_t *, buf_t *, int, size_t); 287 int physio(void (*)(buf_t *), buf_t *, dev_t, int, 296 int bwrite(buf_t *); 297 void bawrite(buf_t *); 298 void bdwrite(buf_t *); 300 buf_t *geteblk(int); 313 void minphys(buf_t *); [all …]
|
/dports/audio/vorbis-tools/vorbis-tools-1.4.2/ogg123/ |
H A D | buffer.h | 34 typedef struct buf_t struct 73 } buf_t; argument 103 void buffer_reset (buf_t *buf); 104 void buffer_destroy (buf_t *buf); 107 int buffer_thread_start (buf_t *buf); 108 void buffer_thread_pause (buf_t *buf); 109 void buffer_thread_unpause (buf_t *buf); 110 void buffer_thread_kill (buf_t *buf); 116 void buffer_mark_eos (buf_t *buf); 117 void buffer_abort_write (buf_t *buf); [all …]
|
H A D | buffer.c | 63 void buffer_init_vars (buf_t *buf) 78 void buffer_thread_init (buf_t *buf) 96 buf_t *buf = (buf_t *)arg; 105 buf_t *buf = (buf_t *)arg; 198 buf_t *buf = (buf_t*) arg; 400 buf_t *buf = malloc (sizeof(buf_t) + sizeof (char) * (size - 1)); 446 void buffer_reset (buf_t *buf) 471 void buffer_destroy (buf_t *buf) 488 int buffer_thread_start (buf_t *buf) 626 void buffer_mark_eos (buf_t *buf) [all …]
|
/dports/net/rtpproxy/rtpproxy-2.1.1/src/ |
H A D | rtpp_command_query.c | 71 len = snprintf(cmd->buf_t, sizeof(cmd->buf_t), "%d %lu %lu %lu %lu\n", 74 len = snprintf(cmd->buf_t, sizeof(cmd->buf_t), "ttl=%d npkts_ina=%lu " 133 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, " "); 143 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%d", 149 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", 155 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", 161 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", 167 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", 173 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", 179 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%lu", [all …]
|
H A D | rtpp_command_stats.c | 43 if (len > sizeof(cmd->buf_t) - 2) { \ 55 for (i = 1; i < cmd->argc && len < (sizeof(cmd->buf_t) - 2); i++) { in handle_get_stats() 58 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, " "); in handle_get_stats() 62 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "%s=", \ in handle_get_stats() 66 rval = CALL_METHOD(cf->stable->rtpp_stats, nstr, cmd->buf_t + len, in handle_get_stats() 67 sizeof(cmd->buf_t) - len, cmd->argv[i]); in handle_get_stats() 74 len += snprintf(cmd->buf_t + len, sizeof(cmd->buf_t) - len, "\n"); in handle_get_stats() 75 rtpc_doreply(cmd, cmd->buf_t, len, 0); in handle_get_stats()
|
/dports/security/dsniff/dsniff-2.4/ |
H A D | buf.h | 19 } *buf_t; typedef 25 buf_t buf_new(int size); 28 void buf_free(buf_t buf); 51 int buf_get(buf_t buf, void *dst, int len); 54 int buf_put(buf_t buf, void *src, int len); 58 void buf_end(buf_t buf); 68 buf_t buf_tok(buf_t buf, void *sep, int len); 71 buf_t buf_getbuf(buf_t buf, int offset, int len); 74 buf_t buf_getword(buf_t buf, void *sep, int len); 77 char * buf_strdup(buf_t buf); [all …]
|
H A D | buf.c | 32 buf_t 35 buf_t buf; in buf_new() 52 buf_free(buf_t buf) in buf_free() 122 buf_end(buf_t buf) in buf_end() 167 buf_t 199 buf_t 202 buf_t b; in buf_getbuf() 218 buf_t 221 buf_t b; in buf_getword() 236 buf_strdup(buf_t buf) in buf_strdup() [all …]
|
/dports/games/odamex/odamex-src-0.7.0/common/ |
H A D | i_net.h | 214 class buf_t 486 buf_t &operator =(const buf_t &other) 507 buf_t() in buf_t() function 511 buf_t(size_t len) in buf_t() function 515 buf_t(const buf_t &other) in buf_t() function 523 ~buf_t() in ~buf_t() 530 extern buf_t net_message; 544 void SZ_Clear (buf_t *buf); 552 void MSG_WriteLong (buf_t *b, int c); 553 void MSG_WriteBool(buf_t *b, bool); [all …]
|
/dports/net/yate/yate-6.4.0-1/libs/miniwebrtc/audio/processing/utility/ |
H A D | ring_buffer.c | 32 } buf_t; typedef 39 static size_t GetBufferReadRegions(buf_t* buf, in GetBufferReadRegions() 71 buf_t* self = NULL; in WebRtc_CreateBuffer() 77 self = malloc(sizeof(buf_t)); in WebRtc_CreateBuffer() 97 buf_t* self = (buf_t*) handle; in WebRtc_InitBuffer() 114 buf_t* self = (buf_t*) handle; in WebRtc_FreeBuffer() 131 buf_t* self = (buf_t*) handle; in WebRtc_ReadBuffer() 176 buf_t* self = (buf_t*) handle; in WebRtc_WriteBuffer() 211 buf_t* self = (buf_t*) handle; in WebRtc_MoveReadPtr() 250 const buf_t* self = (buf_t*) handle; in WebRtc_available_read() [all …]
|
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/sound/ |
H A D | blip_buf.c | 72 typedef int buf_t; typedef 83 buf_t* buffer[2]; 159 m->buffer[0] = (buf_t*) malloc( (size + buf_extra) * sizeof (buf_t)); in blip_new() 160 m->buffer[1] = (buf_t*) malloc( (size + buf_extra) * sizeof (buf_t)); in blip_new() 266 buf_t* buf = SAMPLES( m ); in remove_samples() 268 buf_t* buf = m->buffer[0]; in remove_samples() 310 buf_t const* end = in + count; in blip_read_samples() 368 buf_t const* end; in blip_mix_samples() 369 buf_t const* in[3]; in blip_mix_samples() 378 buf_t const* in2[3]; in blip_mix_samples() [all …]
|
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/core/sound/ |
H A D | blip_buf.c | 72 typedef int buf_t; typedef 83 buf_t* buffer[2]; 159 m->buffer[0] = (buf_t*) malloc( (size + buf_extra) * sizeof (buf_t)); in blip_new() 160 m->buffer[1] = (buf_t*) malloc( (size + buf_extra) * sizeof (buf_t)); in blip_new() 266 buf_t* buf = SAMPLES( m ); in remove_samples() 268 buf_t* buf = m->buffer[0]; in remove_samples() 310 buf_t const* end = in + count; in blip_read_samples() 368 buf_t const* end; in blip_mix_samples() 369 buf_t const* in[3]; in blip_mix_samples() 378 buf_t const* in2[3]; in blip_mix_samples() [all …]
|
/dports/x11/polybar/polybar-3.5.7/lib/i3ipcpp/src/ |
H A D | ipc-util.cpp | 33 buf_t::buf_t(uint32_t payload_size) : size(sizeof(header_t) + payload_size) { in buf_t() function in i3ipc::buf_t 41 buf_t::~buf_t() { in ~buf_t() 45 void buf_t::realloc_payload_to_header() { in realloc_payload_to_header() 80 std::shared_ptr<buf_t> i3_pack(const ClientMessageType type, const std::string& payload) { in i3_pack() 81 buf_t* buff = new buf_t(payload.length()); in i3_pack() 84 return std::shared_ptr<buf_t>(buff); in i3_pack() 114 void i3_send(const int32_t sockfd, const buf_t& buff) { in i3_send() 118 std::shared_ptr<buf_t> i3_recv(const int32_t sockfd) { in i3_recv() 119 auto buff = std::make_shared<buf_t>(0); in i3_recv() 162 std::shared_ptr<buf_t> i3_msg(const int32_t sockfd, const ClientMessageType type, const std::str… in i3_msg()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/ |
H A D | vfs_bio.c | 299 buf_t *b; in checkfreelist() 667 buf_t *bp; in bio_doread() 726 buf_t *bp; in bread() 754 buf_t *bp; in breadn() 1120 buf_t * 1123 buf_t *bp; in incore() 1147 buf_t * 1151 buf_t *bp; in getblk() 1213 buf_t * 1318 buf_t * [all …]
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/img/ |
H A D | ic_conv.c | 162 Byte * buf_t = buf + width * OMP_THREAD_NUM; in BC() local 163 bc_mono_byte( srcDataLoop, buf_t, width); in BC() 164 bc_byte_op( buf_t, buf_t, width, tree, var-> palette, dstPal, EDIFF_CONV); in BC() 299 Byte * buf_t = buf + width * OMP_THREAD_NUM; in BC() local 300 bc_nibble_byte( srcDataLoop, buf_t, width); in BC() 301 bc_byte_op( buf_t, buf_t, width, tree, var-> palette, dstPal, EDIFF_CONV); in BC() 345 Byte * buf_t = buf + width * OMP_THREAD_NUM; in BC() local 346 bc_nibble_byte( srcDataLoop, buf_t, width); in BC() 347 bc_byte_nop( buf_t, buf_t, width, tree, var-> palette, dstPal); in BC() 409 bc_nibble_byte( srcDataLoop, buf_t, width); in BC() [all …]
|
/dports/x11/polybar/polybar-3.5.7/lib/i3ipcpp/include/i3ipc++/ |
H A D | ipc-util.hpp | 95 struct buf_t { struct 113 buf_t(uint32_t payload_size); 114 ~buf_t(); 140 void i3_send(const int32_t sockfd, const buf_t& buff); 147 std::shared_ptr<buf_t> i3_recv(const int32_t sockfd); 152 std::shared_ptr<buf_t> i3_pack(const ClientMessageType type, const std::string& payload); 163 std::shared_ptr<buf_t> i3_msg(const int32_t sockfd, const ClientMessageType type, const std::str…
|
/dports/security/unicornscan/unicornscan-0.4.2/src/parse/ |
H A D | putil.h | 22 typedef struct buf_t { struct 25 } buf_t; argument 27 int yyescapestr(const char *, buf_t *); 29 void pbuffer_get(buf_t *); 30 void pbuffer_append(buf_t *);
|
/dports/security/tor/tor-0.4.6.8/src/lib/net/ |
H A D | buffers_net.h | 19 struct buf_t; 20 int buf_read_from_socket(struct buf_t *buf, tor_socket_t s, size_t at_most, 24 int buf_flush_to_socket(struct buf_t *buf, tor_socket_t s, size_t sz); 26 int buf_read_from_pipe(struct buf_t *buf, int fd, size_t at_most, 30 int buf_flush_to_pipe(struct buf_t *buf, int fd, size_t sz);
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/net/ |
H A D | buffers_net.h | 19 struct buf_t; 20 int buf_read_from_socket(struct buf_t *buf, tor_socket_t s, size_t at_most, 24 int buf_flush_to_socket(struct buf_t *buf, tor_socket_t s, size_t sz); 26 int buf_read_from_pipe(struct buf_t *buf, int fd, size_t at_most, 30 int buf_flush_to_pipe(struct buf_t *buf, int fd, size_t sz);
|
/dports/net/libunp/unpv12e/threads/ |
H A D | example03.c | 27 struct buf_t { struct 35 } buf_t; argument 47 &n, &buf_t, &produce_loop); in main() 63 produce(struct buf_t *bptr, int val) in produce() 83 consume(struct buf_t *bptr) in consume() 113 produce(&buf_t, i); in produce_loop() 126 val = consume(&buf_t); in consume_loop()
|
/dports/security/tor/tor-0.4.6.8/src/lib/process/ |
H A D | process.h | 132 struct buf_t; 133 MOCK_DECL(STATIC int, process_read_stdout, (process_t *, struct buf_t *)); 134 MOCK_DECL(STATIC int, process_read_stderr, (process_t *, struct buf_t *)); 135 MOCK_DECL(STATIC void, process_write_stdin, (process_t *, struct buf_t *)); 138 struct buf_t *buffer, 141 struct buf_t *buffer, 144 struct buf_t *buffer,
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/process/ |
H A D | process.h | 132 struct buf_t; 133 MOCK_DECL(STATIC int, process_read_stdout, (process_t *, struct buf_t *)); 134 MOCK_DECL(STATIC int, process_read_stderr, (process_t *, struct buf_t *)); 135 MOCK_DECL(STATIC void, process_write_stdin, (process_t *, struct buf_t *)); 138 struct buf_t *buffer, 141 struct buf_t *buffer, 144 struct buf_t *buffer,
|