Lines Matching refs:ma
970 const struct magic_entry *ma = CAST(const struct magic_entry *, a); in apprentice_sort() local
972 size_t sa = apprentice_magic_strength(ma->mp); in apprentice_sort()
1285 struct magic **ma, uint32_t *nma) in coalesce_entries() argument
1293 slen = sizeof(**ma) * mentrycount; in coalesce_entries()
1294 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) { in coalesce_entries()
1301 (void)memcpy(*ma + mentrycount, me[i].mp, in coalesce_entries()
1302 me[i].cont_count * sizeof(**ma)); in coalesce_entries()
3443 struct magic *ma = ml->magic; local
3446 if (ma[i].type != FILE_NAME)
3448 if (strcmp(ma[i].value.s, name) == 0) {
3449 v->magic = &ma[i];
3451 if (ma[j].cont_level == 0)