/third_party/libsnd/src/ |
D | interleave.c | 119 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (short)) in interleave_read_short() 120 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (short) ; in interleave_read_short() 166 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (int)) in interleave_read_int() 167 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (int) ; in interleave_read_int() 216 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (float)) in interleave_read_float() 217 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (float) ; in interleave_read_float() 264 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (double)) in interleave_read_double() 265 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (double) ; in interleave_read_double()
|
D | command.c | 109 …if (data->format < 0 || data->format >= (SIGNED_SIZEOF (simple_formats) / SIGNED_SIZEOF (SF_FORMAT… in psf_get_format_simple() 113 memcpy (data, &(simple_formats [indx]), SIGNED_SIZEOF (SF_FORMAT_INFO)) ; in psf_get_format_simple() 165 …if (data->format < 0 || data->format >= (SIGNED_SIZEOF (major_formats) / SIGNED_SIZEOF (SF_FORMAT_… in psf_get_format_major() 169 memcpy (data, &(major_formats [indx]), SIGNED_SIZEOF (SF_FORMAT_INFO)) ; in psf_get_format_major() 233 …if (data->format < 0 || data->format >= (SIGNED_SIZEOF (subtype_formats) / SIGNED_SIZEOF (SF_FORMA… in psf_get_format_subtype() 254 for (k = 0 ; k < (SIGNED_SIZEOF (major_formats) / SIGNED_SIZEOF (SF_FORMAT_INFO)) ; k++) in psf_get_format_info() 264 for (k = 0 ; k < (SIGNED_SIZEOF (subtype_formats) / SIGNED_SIZEOF (SF_FORMAT_INFO)) ; k++) in psf_get_format_info()
|
D | test_file_io.c | 192 test_seek_or_die (psf, 0, SEEK_END, 2 * SIGNED_SIZEOF (data_out), __LINE__) ; in file_read_write_test() 193 …test_seek_or_die (psf, -1 * SIGNED_SIZEOF (data_out), SEEK_CUR, (sf_count_t) sizeof (data_out), __… in file_read_write_test() 195 …test_seek_or_die (psf, SIGNED_SIZEOF (data_out), SEEK_CUR, 2 * SIGNED_SIZEOF (data_out), __LINE__)… in file_read_write_test() 204 …test_seek_or_die (psf, 2 * SIGNED_SIZEOF (data_out), SEEK_SET, 2 * SIGNED_SIZEOF (data_out), __LIN… in file_read_write_test() 209 test_seek_or_die (psf, SIGNED_SIZEOF (data_out), SEEK_SET, SIGNED_SIZEOF (data_out), __LINE__) ; in file_read_write_test() 235 test_seek_or_die (psf, SIGNED_SIZEOF (data_out), SEEK_SET, SIGNED_SIZEOF (data_out), __LINE__) ; in file_read_write_test() 303 for (k = 0 ; k < SIGNED_SIZEOF (buffer) / 2 ; k++) in file_truncate_test() 309 for (k = SIGNED_SIZEOF (buffer) / 2 ; k < SIGNED_SIZEOF (buffer) ; k++) in file_truncate_test() 324 test_seek_or_die (psf, 0, SEEK_END, SIGNED_SIZEOF (buffer) / 4, __LINE__) ; in file_truncate_test()
|
D | sndfile.c | 929 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 935 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 940 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 946 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 951 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in sf_command() 957 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 962 if (data == NULL || datasize != SIGNED_SIZEOF (SF_FORMAT_INFO)) in sf_command() 983 if (data == NULL || datasize != SIGNED_SIZEOF (SF_INFO)) in sf_command() 1081 if (data == NULL || datasize != SIGNED_SIZEOF (double) * psf->sf.channels) in sf_command() 1086 if (data == NULL || datasize != SIGNED_SIZEOF (double) * psf->sf.channels) in sf_command() [all …]
|
D | mat4.c | 235 if (namesize >= SIGNED_SIZEOF (name)) in mat4_read_header() 265 if (namesize >= SIGNED_SIZEOF (name)) in mat4_read_header()
|
D | aiff.c | 468 else if (FORMsize != psf->filelength - 2 * SIGNED_SIZEOF (chunk_size)) in aiff_read_header() 587 if (chunk_size >= SIGNED_SIZEOF (ubuf.scbuf)) in aiff_read_header() 606 if (chunk_size >= SIGNED_SIZEOF (ubuf.scbuf) - 1) in aiff_read_header() 633 if (len + 1 > SIGNED_SIZEOF (ubuf.scbuf)) in aiff_read_header() 654 if (chunk_size >= SIGNED_SIZEOF (ubuf.scbuf) - 1) in aiff_read_header() 685 if (chunk_size >= SIGNED_SIZEOF (ubuf.scbuf) - 2) in aiff_read_header() 701 if (chunk_size >= SIGNED_SIZEOF (ubuf.scbuf) - 2) in aiff_read_header() 922 if (psf_ftell (psf) >= psf->filelength - (2 * SIGNED_SIZEOF (int32_t))) in aiff_read_header() 1011 &(comm_fmt->sampleSize), &(comm_fmt->sampleRate), SIGNED_SIZEOF (comm_fmt->sampleRate)) ; in aiff_read_comm_chunk()
|
D | wav.c | 346 else if (psf->filelength < RIFFsize + 2 * SIGNED_SIZEOF (marker)) in wav_read_header() 348 …rintf (psf, "RIFF : %u (should be %D)\n", RIFFsize, psf->filelength - 2 * SIGNED_SIZEOF (marker)) ; in wav_read_header() 350 …rintf (psf, "RIFX : %u (should be %D)\n", RIFFsize, psf->filelength - 2 * SIGNED_SIZEOF (marker)) ; in wav_read_header() 352 RIFFsize = psf->filelength - 2 * SIGNED_SIZEOF (RIFFsize) ; in wav_read_header() 444 if (chunk_size > SIGNED_SIZEOF (fact_chunk)) in wav_read_header() 445 psf_binheader_readf (psf, "j", (int) (chunk_size - SIGNED_SIZEOF (fact_chunk))) ; in wav_read_header() 634 if (psf_ftell (psf) >= psf->filelength - SIGNED_SIZEOF (chunk_size)) in wav_read_header()
|
D | mat5.c | 334 if (size > SIGNED_SIZEOF (name) - 1) in mat5_read_header() 428 if (size > SIGNED_SIZEOF (name) - 1) in mat5_read_header()
|
D | rx2.c | 121 if (length >= SIGNED_SIZEOF (ubuf.cbuf)) in rx2_open()
|
D | sd2.c | 524 read_rsrc_str (rsrc, str_offset + 1, name, SF_MIN (SIGNED_SIZEOF (name), slen + 1)) ; in parse_str_rsrc() 548 read_rsrc_str (rsrc, data_offset + 5, value, SF_MIN (SIGNED_SIZEOF (value), slen + 1)) ; in parse_str_rsrc()
|
D | caf.c | 368 if (chunk_size < SIGNED_SIZEOF (DESC_CHUNK)) in caf_read_header() 386 if (chunk_size > SIGNED_SIZEOF (DESC_CHUNK)) in caf_read_header() 550 if (psf_ftell (psf) >= psf->filelength - SIGNED_SIZEOF (chunk_size)) in caf_read_header()
|
D | ogg_opus.c | 1671 if (data == NULL || datasize != SIGNED_SIZEOF (double)) in ogg_opus_command() 1689 if (data == NULL || datasize != SIGNED_SIZEOF (double)) in ogg_opus_command() 1704 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in ogg_opus_command() 1731 if (data == NULL || datasize != SIGNED_SIZEOF (int)) in ogg_opus_command()
|
D | svx.c | 320 if (psf_ftell (psf) >= psf->filelength - SIGNED_SIZEOF (chunk_size)) in svx_read_header()
|
D | wavlike.c | 1009 if (chunk_size >= SIGNED_SIZEOF (buffer) || chunk_size >= chunk_length) in wavlike_subchunk_parse() 1025 if (chunk_size < 1 || chunk_size >= SIGNED_SIZEOF (buffer) || chunk_size >= chunk_length) in wavlike_subchunk_parse() 1056 if (chunk_size >= SIGNED_SIZEOF (buffer) || chunk_size >= chunk_length) in wavlike_subchunk_parse()
|
D | voc.c | 165 offset = psf_binheader_readf (psf, "pb", 0, creative, SIGNED_SIZEOF (creative)) ; in voc_read_header()
|
D | w64.c | 364 if (psf_ftell (psf) >= (psf->filelength - (2 * SIGNED_SIZEOF (dword)))) in w64_read_header()
|
D | dwvw.c | 443 if (pdwvw->b.index > SIGNED_SIZEOF (pdwvw->b.buffer) - 4) in dwvw_encode_store_bits()
|
D | rf64.c | 379 if (psf_ftell (psf) >= psf->filelength - SIGNED_SIZEOF (marker)) in rf64_read_header()
|
D | common.h | 98 #define SIGNED_SIZEOF(x) ((int) sizeof (x)) macro
|
D | common.c | 96 { if (psf->parselog.indx < SIGNED_SIZEOF (psf->parselog.buf) - 1) in log_putchar()
|
/third_party/libsnd/tests/ |
D | win32_test.c | 40 #define SIGNED_SIZEOF(x) ((int) sizeof (x)) macro 116 printf ("0) Create a file, write %d bytes and close it.\n", SIGNED_SIZEOF (data)) ; in show_fstat_error() 126 … Re-open file in read/write mode and write another %d bytes at the end.\n", SIGNED_SIZEOF (data)) ; in show_fstat_error() 176 printf ("0) Create a file, write %d bytes and close it.\n", SIGNED_SIZEOF (data)) ; in show_lseek_error() 186 … Re-open file in read/write mode and write another %d bytes at the end.\n", SIGNED_SIZEOF (data)) ; in show_lseek_error() 236 printf ("0) Create a file and write %d bytes.\n", SIGNED_SIZEOF (data)) ; in show_stat_fstat_error()
|
D | virtual_io_test.c | 110 if (vf->offset >= SIGNED_SIZEOF (vf->data)) in vfwrite() 113 if (vf->offset + count > SIGNED_SIZEOF (vf->data)) in vfwrite()
|
D | utils.tpl | 40 #define SIGNED_SIZEOF(x) ((int64_t) (sizeof (x))) 464 for (m = readcount ; m < SIGNED_SIZEOF (buffer) ; m++) 473 if (readcount < SIGNED_SIZEOF (buffer))
|
/third_party/libsnd/programs/ |
D | sndfile-play.c | 78 #define SIGNED_SIZEOF(x) ((int) sizeof (x)) macro
|