Lines Matching refs:CAST
203 if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) in file_or_stream()
248 if (file_buffer(ms, stream, &sb, inname, buf, CAST(size_t, nbytes)) == -1) in file_or_stream()
331 ms->indir_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
334 ms->name_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
337 ms->elf_phnum_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
340 ms->elf_shnum_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
343 ms->elf_notes_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
346 ms->regex_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
349 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam()
352 ms->encoding_max = *CAST(const size_t *, val); in magic_setparam()
367 *CAST(size_t *, val) = ms->indir_max; in magic_getparam()
370 *CAST(size_t *, val) = ms->name_max; in magic_getparam()
373 *CAST(size_t *, val) = ms->elf_phnum_max; in magic_getparam()
376 *CAST(size_t *, val) = ms->elf_shnum_max; in magic_getparam()
379 *CAST(size_t *, val) = ms->elf_notes_max; in magic_getparam()
382 *CAST(size_t *, val) = ms->regex_max; in magic_getparam()
385 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
388 *CAST(size_t *, val) = ms->encoding_max; in magic_getparam()