CAST              368 ext/fileinfo/libmagic/apprentice.c 	if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL)
CAST              463 ext/fileinfo/libmagic/apprentice.c 	if ((ms = CAST(struct magic_set *, ecalloc((size_t)1,
CAST              475 ext/fileinfo/libmagic/apprentice.c 	if ((ms->c.li = CAST(struct level_info *, emalloc(len))) == NULL)
CAST              512 ext/fileinfo/libmagic/apprentice.c 	if ((mlist = CAST(struct mlist *, ecalloc(1, sizeof(*mlist)))) == NULL) {
CAST              779 ext/fileinfo/libmagic/apprentice.c 	const struct magic_entry *ma = CAST(const struct magic_entry *, a);
CAST              780 ext/fileinfo/libmagic/apprentice.c 	const struct magic_entry *mb = CAST(const struct magic_entry *, b);
CAST              916 ext/fileinfo/libmagic/apprentice.c 		if ((mp = CAST(struct magic_entry *,
CAST             1102 ext/fileinfo/libmagic/apprentice.c 	if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
CAST             1146 ext/fileinfo/libmagic/apprentice.c 	if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) {
CAST             1192 ext/fileinfo/libmagic/apprentice.c 				if ((filearr = CAST(char **,
CAST             1537 ext/fileinfo/libmagic/apprentice.c 			if ((nm = CAST(struct magic *, erealloc(me->mp,
CAST             1543 ext/fileinfo/libmagic/apprentice.c 			me->max_count = CAST(uint32_t, cnt);
CAST             1552 ext/fileinfo/libmagic/apprentice.c 		if ((m = CAST(struct magic *, emalloc(len))) == NULL) {
CAST             1563 ext/fileinfo/libmagic/apprentice.c 	m->lineno = CAST(uint32_t, lineno);
CAST             1781 ext/fileinfo/libmagic/apprentice.c 					m->str_range = CAST(uint32_t,
CAST             2474 ext/fileinfo/libmagic/apprentice.c 	m->vallen = CAST(unsigned char, (p - origp));
CAST             2602 ext/fileinfo/libmagic/apprentice.c 	if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) {
CAST             2648 ext/fileinfo/libmagic/apprentice.c 	if ((map->p = CAST(void *, emalloc(map->len))) == NULL) {
CAST             2701 ext/fileinfo/libmagic/apprentice.c 	map->magic[0] = CAST(struct magic *, map->p) + 1;
CAST              142 ext/fileinfo/libmagic/ascmagic.c 		if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
CAST              407 ext/fileinfo/libmagic/cdf.c 	if ((sat->sat_tab = CAST(cdf_secid_t *, calloc(sat->sat_len, ss)))
CAST              421 ext/fileinfo/libmagic/cdf.c 	if ((msa = CAST(cdf_secid_t *, calloc(1, ss))) == NULL)
CAST              609 ext/fileinfo/libmagic/cdf.c 	dir->dir_tab = CAST(cdf_directory_t *,
CAST              614 ext/fileinfo/libmagic/cdf.c 	if ((buf = CAST(char *, malloc(ss))) == NULL) {
CAST              659 ext/fileinfo/libmagic/cdf.c 	ssat->sat_tab = CAST(cdf_secid_t *, calloc(ssat->sat_len, ss));
CAST              772 ext/fileinfo/libmagic/cdf.c 	shp = CAST(const cdf_section_header_t *, (const void *)
CAST              792 ext/fileinfo/libmagic/cdf.c 		inp = CAST(cdf_property_info_t *,
CAST              796 ext/fileinfo/libmagic/cdf.c 		inp = CAST(cdf_property_info_t *,
CAST              804 ext/fileinfo/libmagic/cdf.c 	p = CAST(const uint8_t *, (const void *)
CAST              807 ext/fileinfo/libmagic/cdf.c 	e = CAST(const uint8_t *, (const void *)
CAST              891 ext/fileinfo/libmagic/cdf.c 				inp = CAST(cdf_property_info_t *,
CAST              947 ext/fileinfo/libmagic/cdf.c 	    CAST(const cdf_summary_info_header_t *, sst->sst_tab);
CAST              949 ext/fileinfo/libmagic/cdf.c 	    CAST(const cdf_section_declaration_t *, (const void *)
CAST              167 ext/fileinfo/libmagic/compress.c 			buf = CAST(const char *, buf) + rv;
CAST              348 ext/fileinfo/libmagic/compress.c 	if ((*newch = CAST(unsigned char *, emalloc(HOWMANY + 1))) == NULL) {
CAST              355 ext/fileinfo/libmagic/compress.c 	z.avail_in = CAST(uint32_t, (n - data_start));
CAST               76 ext/fileinfo/libmagic/encoding.c 	if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) {
CAST               81 ext/fileinfo/libmagic/encoding.c 	if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) {
CAST              166 ext/fileinfo/libmagic/funcs.c 	const unsigned char *ubuf = CAST(const unsigned char *, buf);
CAST              356 ext/fileinfo/libmagic/funcs.c 	if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
CAST              418 ext/fileinfo/libmagic/funcs.c 		ms->c.li = CAST(struct level_info *, (ms->c.li == NULL) ?
CAST              373 ext/fileinfo/libmagic/readelf.c 	unsigned char *nbuf = CAST(unsigned char *, vbuf);
CAST              620 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(char)));
CAST              625 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(short)));
CAST              631 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(int32_t)));
CAST              636 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(int64_t)));
CAST              650 ext/fileinfo/libmagic/softmagic.c 			t = CAST(uint32_t, (ms->offset + strlen(p->s)));
CAST              660 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(uint32_t)));
CAST              666 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(uint32_t)));
CAST              671 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(uint64_t)));
CAST              676 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(uint64_t)));
CAST              681 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(float)));
CAST              686 ext/fileinfo/libmagic/softmagic.c 		return CAST(int32_t, (ms->offset + sizeof(double)));
CAST              690 ext/fileinfo/libmagic/softmagic.c 			return CAST(int32_t, ms->search.offset);
CAST              692 ext/fileinfo/libmagic/softmagic.c 			return CAST(int32_t, (ms->search.offset +
CAST              697 ext/fileinfo/libmagic/softmagic.c 			return CAST(int32_t, ms->search.offset);
CAST              699 ext/fileinfo/libmagic/softmagic.c 			return CAST(int32_t, (ms->search.offset + m->vallen));
CAST             1027 ext/fileinfo/libmagic/softmagic.c 			     ((b = CAST(const char *,
CAST             1028 ext/fileinfo/libmagic/softmagic.c 				 memchr(c = b, '\n', CAST(size_t, (end - b)))))
CAST             1029 ext/fileinfo/libmagic/softmagic.c 			     || (b = CAST(const char *,
CAST             1030 ext/fileinfo/libmagic/softmagic.c 				 memchr(c, '\r', CAST(size_t, (end - c))))));
CAST             1136 ext/fileinfo/libmagic/softmagic.c 			const union VALUETYPE *q = CAST(const union VALUETYPE *,