Lines Matching refs:val
334 magic_setparam(struct magic_set *ms, int param, const void *val) in magic_setparam() argument
340 ms->indir_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
343 ms->name_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
346 ms->elf_phnum_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
349 ms->elf_shnum_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
352 ms->elf_shsize_max = *CAST(const size_t *, val); in magic_setparam()
355 ms->elf_notes_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
358 ms->regex_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam()
361 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam()
364 ms->encoding_max = *CAST(const size_t *, val); in magic_setparam()
373 magic_getparam(struct magic_set *ms, int param, void *val) in magic_getparam() argument
379 *CAST(size_t *, val) = ms->indir_max; in magic_getparam()
382 *CAST(size_t *, val) = ms->name_max; in magic_getparam()
385 *CAST(size_t *, val) = ms->elf_phnum_max; in magic_getparam()
388 *CAST(size_t *, val) = ms->elf_shnum_max; in magic_getparam()
391 *CAST(size_t *, val) = ms->elf_shsize_max; in magic_getparam()
394 *CAST(size_t *, val) = ms->elf_notes_max; in magic_getparam()
397 *CAST(size_t *, val) = ms->regex_max; in magic_getparam()
400 *CAST(size_t *, val) = ms->bytes_max; in magic_getparam()
403 *CAST(size_t *, val) = ms->encoding_max; in magic_getparam()