/dports/audio/squeezelite/squeezelite-7b13fd9/ |
H A D | output.c | 32 struct buffer *outputbuf = &buf; variable 41 #define LOCK mutex_lock(outputbuf->mutex) 186 (outputbuf->readp + outputbuf->size - output.fade_start) / BYTES_PER_FRAME; in _output_frames() 300 output.fade_end -= outputbuf->size; in _checkfade() 313 output.fade_end = outputbuf->writep; in _checkfade() 317 if (_buf_used(outputbuf) != 0) { in _checkfade() 333 } else if (outputbuf->size == OUTPUTBUF_SIZE && outputbuf->readp == outputbuf->buf) { in _checkfade() 338 touch_memory(outputbuf->buf, outputbuf->size); in _checkfade() 353 if (!outputbuf->buf) { in output_init_common() 427 buf_destroy(outputbuf); in output_close_common() [all …]
|
H A D | opus.c | 63 extern struct buffer *outputbuf; 71 #define LOCK_O mutex_lock(outputbuf->mutex) 72 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 81 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 82 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 145 output.track_start = outputbuf->writep; in opus_decompress() 161 frames = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in opus_decompress() 166 frames = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in opus_decompress() 167 write_buf = outputbuf->writep; in opus_decompress() 195 optr = (ISAMPLE_T *) outputbuf->writep + frames * 2; in opus_decompress() [all …]
|
H A D | vorbis.c | 74 extern struct buffer *outputbuf; 82 #define LOCK_O mutex_lock(outputbuf->mutex) 83 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 92 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 93 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 173 output.track_start = outputbuf->writep; in vorbis_decode() 192 frames = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in vorbis_decode() 197 frames = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in vorbis_decode() 198 write_buf = outputbuf->writep; in vorbis_decode() 241 optr = (ISAMPLE_T *) outputbuf->writep + frames * 2; in vorbis_decode() [all …]
|
H A D | mpg.c | 53 extern struct buffer *outputbuf; 61 #define LOCK_O mutex_lock(outputbuf->mutex) 62 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 64 #define LOCK_O_direct if (decode.direct) mutex_lock(outputbuf->mutex) 65 #define UNLOCK_O_direct if (decode.direct) mutex_unlock(outputbuf->mutex) 71 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 72 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 95 space = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)); 96 write_buf = outputbuf->writep; 129 output.track_start = outputbuf->writep; [all …]
|
H A D | pcm.c | 35 extern struct buffer *outputbuf; 45 #define LOCK_O mutex_lock(outputbuf->mutex) 46 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 48 #define LOCK_O_direct if (decode.direct) mutex_lock(outputbuf->mutex) 49 #define UNLOCK_O_direct if (decode.direct) mutex_unlock(outputbuf->mutex) 55 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 56 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 201 out = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in pcm_decode() 216 output.track_start = outputbuf->writep; in pcm_decode() 247 optr = (OPTR_T *)outputbuf->writep; in pcm_decode() [all …]
|
H A D | flac.c | 81 extern struct buffer *outputbuf; 89 #define LOCK_O mutex_lock(outputbuf->mutex) 90 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 92 #define LOCK_O_direct if (decode.direct) mutex_lock(outputbuf->mutex) 93 #define UNLOCK_O_direct if (decode.direct) mutex_unlock(outputbuf->mutex) 97 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 98 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 142 output.track_start = outputbuf->writep; in write_cb() 180 optr = (ISAMPLE_T *)outputbuf->writep; in write_cb() 181 f = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; in write_cb() [all …]
|
H A D | process.c | 30 extern struct buffer *outputbuf; 37 #define LOCK_O mutex_lock(outputbuf->mutex) 38 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 61 frames_t f = min(_buf_space(outputbuf), _buf_cont_write(outputbuf)) / BYTES_PER_FRAME; 62 u32_t *optr = (u32_t *)outputbuf->writep; 72 _buf_inc_writep(outputbuf, f * BYTES_PER_FRAME);
|
H A D | mad.c | 62 extern struct buffer *outputbuf; 70 #define LOCK_O mutex_lock(outputbuf->mutex) 71 #define UNLOCK_O mutex_unlock(outputbuf->mutex) 73 #define LOCK_O_direct if (decode.direct) mutex_lock(outputbuf->mutex) 78 #define LOCK_O_direct mutex_lock(outputbuf->mutex) 79 #define UNLOCK_O_direct mutex_unlock(outputbuf->mutex) 250 output.track_start = outputbuf->writep; in mad_decode() 259 max_frames = _buf_space(outputbuf) / BYTES_PER_FRAME; in mad_decode() 309 f = min(frames, _buf_cont_write(outputbuf) / BYTES_PER_FRAME); in mad_decode() 310 optr = (ISAMPLE_T *)outputbuf->writep; in mad_decode() [all …]
|
/dports/databases/postgresql-repmgr/repmgr-5.2.0/ |
H A D | sysutils.c | 34 local_command(const char *command, PQExpBufferData *outputbuf) in local_command() argument 36 return _local_command(command, outputbuf, false, NULL); in local_command() 49 return _local_command(command, outputbuf, true, NULL); in local_command_simple() 86 if (outputbuf == NULL) in _local_command() 113 appendPQExpBufferStr(outputbuf, output); in _local_command() 141 appendPQExpBufferStr(outputbuf, output); in _local_command() 152 if (outputbuf->data != NULL && outputbuf->data[0] != '\0') in _local_command() 193 if (outputbuf != NULL) in remote_command() 198 appendPQExpBufferStr(outputbuf, output); in remote_command() 214 if (outputbuf != NULL) in remote_command() [all …]
|
H A D | sysutils.h | 22 extern bool local_command(const char *command, PQExpBufferData *outputbuf); 23 extern bool local_command_return_value(const char *command, PQExpBufferData *outputbuf, int *return… 24 extern bool local_command_simple(const char *command, PQExpBufferData *outputbuf); 26 …*host, const char *user, const char *command, const char *ssh_options, PQExpBufferData *outputbuf);
|
/dports/ftp/smbftpd/smbftpd-2.4/ |
H A D | reply.c | 34 char outputbuf[BUFSIZ + MAXPATHLEN + MAXHOSTNAMELEN]; in reply() local 40 snprintf(outputbuf, sizeof(outputbuf) - 2, "%d- ", n*-1); in reply() 42 snprintf(outputbuf, sizeof(outputbuf) - 2, "%d ", n); in reply() 45 outputbuflen = strlen(outputbuf); in reply() 46 vsnprintf(outputbuf + outputbuflen, in reply() 47 sizeof(outputbuf) - outputbuflen - 2, fmt, ap); in reply() 49 strcat(outputbuf, "\r\n"); in reply() 51 smbftpd_socket_printf("%s", outputbuf); in reply() 55 syslog(LOG_DEBUG, "<--- %s ", outputbuf); in reply()
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | autoit.c | 592 uint8_t *outputbuf; member 793 … if (!CLI_ISCONTAINED(UNP.outputbuf, UNP.usize, &UNP.outputbuf[UNP.cur_output], bs) || in ea05() 799 UNP.outputbuf[UNP.cur_output] = UNP.outputbuf[UNP.cur_output - bb]; in ea05() 828 free(UNP.outputbuf); in ea05() 841 free(UNP.outputbuf); in ea05() 847 free(UNP.outputbuf); in ea05() 850 free(UNP.outputbuf); in ea05() 1135 UNP.outputbuf[UNP.cur_output] = UNP.outputbuf[UNP.cur_output - bb]; in ea06() 1157 free(UNP.outputbuf); in ea06() 1166 free(UNP.outputbuf); in ea06() [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | autoit.c | 592 uint8_t *outputbuf; member 793 … if (!CLI_ISCONTAINED(UNP.outputbuf, UNP.usize, &UNP.outputbuf[UNP.cur_output], bs) || in ea05() 799 UNP.outputbuf[UNP.cur_output] = UNP.outputbuf[UNP.cur_output - bb]; in ea05() 828 free(UNP.outputbuf); in ea05() 841 free(UNP.outputbuf); in ea05() 847 free(UNP.outputbuf); in ea05() 850 free(UNP.outputbuf); in ea05() 1135 UNP.outputbuf[UNP.cur_output] = UNP.outputbuf[UNP.cur_output - bb]; in ea06() 1157 free(UNP.outputbuf); in ea06() 1166 free(UNP.outputbuf); in ea06() [all …]
|
/dports/devel/efl/efl-1.25.1/src/lib/eina/ |
H A D | eina_strbuf.c | 222 char *outputbuf; in eina_strbuf_append_strftime() local 224 outputbuf = eina_strftime(format, tm); in eina_strbuf_append_strftime() 225 if (!outputbuf) return EINA_FALSE; in eina_strbuf_append_strftime() 227 eina_strbuf_append(buf, outputbuf); in eina_strbuf_append_strftime() 228 free(outputbuf); in eina_strbuf_append_strftime() 236 char *outputbuf; in eina_strbuf_insert_strftime() local 238 outputbuf = eina_strftime(format, tm); in eina_strbuf_insert_strftime() 239 if (!outputbuf) return EINA_FALSE; in eina_strbuf_insert_strftime() 241 eina_strbuf_insert_length(buf, outputbuf, strlen(outputbuf), pos); in eina_strbuf_insert_strftime() 242 free(outputbuf); in eina_strbuf_insert_strftime()
|
/dports/audio/playmidi/playmidi-2.4/ |
H A D | toy.c | 45 unsigned char outputbuf[SEQUENCERBLOCKSIZE]; 148 outputbuf[4] = 0; 153 seqread(seqfd, outputbuf); /* trash time stamp (hopefully) */ 205 seqread(seqfd, outputbuf); 206 if (outputbuf[0] == SEQ_WAIT) { 207 oticks = (*(unsigned int *) &outputbuf[1]); 209 seq_addevent(outputbuf, 4); 211 if (outputbuf[0] == SEQ_MIDIPUTC) { 212 if (outputbuf[1] & 0x80) 213 cmd = (mid[db = 0] = outputbuf[1]) & 0xf0; [all …]
|
/dports/net/jsch/jsch-0.1.55/src/main/java/com/jcraft/jsch/jcraft/ |
H A D | Compression.java | 65 byte[] outputbuf=buf; in compress() 76 if(outputbuf.length<outputlen+tmp+buffer_margin){ in compress() 78 System.arraycopy(outputbuf, 0, foo, 0, outputbuf.length); in compress() 79 outputbuf=foo; in compress() 81 System.arraycopy(tmpbuf, 0, outputbuf, outputlen, tmp); in compress() 91 return outputbuf; in compress()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/java/com/jcraft/jsch/jcraft/ |
H A D | Compression.java | 65 byte[] outputbuf=buf; in compress() 76 if(outputbuf.length<outputlen+tmp+buffer_margin){ in compress() 78 System.arraycopy(outputbuf, 0, foo, 0, outputbuf.length); in compress() 79 outputbuf=foo; in compress() 81 System.arraycopy(tmpbuf, 0, outputbuf, outputlen, tmp); in compress() 91 return outputbuf; in compress()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/java/com/jcraft/jsch/jcraft/ |
H A D | Compression.java | 65 byte[] outputbuf=buf; in compress() 76 if(outputbuf.length<outputlen+tmp+buffer_margin){ in compress() 78 System.arraycopy(outputbuf, 0, foo, 0, outputbuf.length); in compress() 79 outputbuf=foo; in compress() 81 System.arraycopy(tmpbuf, 0, outputbuf, outputlen, tmp); in compress() 91 return outputbuf; in compress()
|
/dports/ftp/bsdftpd-ssl/bsdftpd-ssl-1.1.0/ssl/ |
H A D | ssl_port.c | 58 char outputbuf[BUFSIZ + MAXPATHLEN + MAXHOSTNAMELEN]; in PRINTF() local 62 (void)vsnprintf(outputbuf, sizeof(outputbuf), fmt, ap); in PRINTF() 64 ssl_write(ssl_con, outputbuf, strlen(outputbuf)); in PRINTF() 66 printf("%s", outputbuf); in PRINTF()
|
H A D | sslapp.c | 476 char *outputbuf; in ssl_log_msg() local 479 vasprintf(&outputbuf, fmt, ap); in ssl_log_msg() 481 if (outputbuf == NULL) { in ssl_log_msg() 490 free(outputbuf); in ssl_log_msg() 500 char *outputbuf; in ssl_log_msgn() local 503 vasprintf(&outputbuf, fmt, ap); in ssl_log_msgn() 505 if (outputbuf == NULL) { in ssl_log_msgn() 514 free(outputbuf); in ssl_log_msgn() 523 char *tmp, *outputbuf; in ssl_log_vwarn_common() local 538 if (outputbuf == NULL) { in ssl_log_vwarn_common() [all …]
|
/dports/ftp/smbftpd/smbftpd-2.4/ssl/ |
H A D | io.c | 157 char outputbuf[BUFSIZ + MAXPATHLEN + MAXHOSTNAMELEN]; in smbftpd_socket_printf() local 161 (void)vsnprintf(outputbuf, sizeof(outputbuf), fmt, ap); in smbftpd_socket_printf() 163 ssl_write(ssl_con, outputbuf, strlen(outputbuf)); in smbftpd_socket_printf() 165 printf("%s", outputbuf); in smbftpd_socket_printf()
|
/dports/games/quakeforge/quakeforge-0.7.2/qtv/source/ |
H A D | qtv.c | 88 dstring_t outputbuf = {&dstring_default_mem}; variable 101 dstring_appendstr (&outputbuf, msg->str); in qtv_print() 145 if (!outputbuf.size) in qtv_flush_redirect() 148 count = strlen (outputbuf.str); in qtv_flush_redirect() 156 p = outputbuf.str; in qtv_flush_redirect() 166 p = outputbuf.str; in qtv_flush_redirect() 185 dstring_clear (&outputbuf); in qtv_flush_redirect() 193 dstring_clear (&outputbuf); in qtv_begin_redirect()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/liblouis/src/tools/ |
H A D | lou_translate.c | 44 uint8_t *outputbuf; in translate_input() local 69 outputbuf = u32_to_u8(transbuf, translen, NULL, &outlen); in translate_input() 71 outputbuf = u16_to_u8(transbuf, translen, NULL, &outlen); in translate_input() 73 printf(ch == EOF ? "%.*s" : "%.*s\n", (int)outlen, outputbuf); in translate_input() 74 free(outputbuf); in translate_input()
|
/dports/devel/liblouis/liblouis-3.20.0/tools/ |
H A D | lou_translate.c | 44 uint8_t *outputbuf; in translate_input() local 69 outputbuf = u32_to_u8(transbuf, translen, NULL, &outlen); in translate_input() 71 outputbuf = u16_to_u8(transbuf, translen, NULL, &outlen); in translate_input() 73 printf(ch == EOF ? "%.*s" : "%.*s\n", (int)outlen, outputbuf); in translate_input() 74 free(outputbuf); in translate_input()
|
/dports/security/hydra/thc-hydra-9.2/hydra-gtk/src/ |
H A D | callbacks.c | 424 GtkTextBuffer *outputbuf; in read_into() local 437 outputbuf = gtk_text_view_get_buffer((GtkTextView *)output); in read_into() 439 gtk_text_buffer_get_iter_at_offset(outputbuf, &outputiter, -1); in read_into() 456 gtk_text_buffer_insert(outputbuf, &outputiter, end + 1, -1); in read_into() 666 GtkTextBuffer *outputbuf; in on_btnSave_clicked() local 675 outputbuf = gtk_text_view_get_buffer((GtkTextView *)output); in on_btnSave_clicked() 676 gtk_text_buffer_get_start_iter(outputbuf, &start); in on_btnSave_clicked() 677 gtk_text_buffer_get_end_iter(outputbuf, &end); in on_btnSave_clicked() 733 GtkTextBuffer *outputbuf; in on_btnClear_clicked() local 736 outputbuf = gtk_text_view_get_buffer((GtkTextView *)output); in on_btnClear_clicked() [all …]
|