Lines Matching refs:nmagic
119 uint32_t nmagic[MAGIC_SETS]; member
399 ml->nmagic = map->nmagic[idx]; in add_mlist()
900 for (magindex = 0; magindex < ml->nmagic; magindex++) { in apprentice_list()
904 while (magindex + 1 < ml->nmagic && in apprentice_list()
914 while (magindex + 1 < ml->nmagic && in apprentice_list()
1325 &map->magic[j], &map->nmagic[j]) == -1) { in apprentice_load()
2987 map->nmagic[i] = swap4(ptr[i + 2]); in apprentice_map()
2989 map->nmagic[i] = ptr[i + 2]; in apprentice_map()
2991 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map()
2992 nentries += map->nmagic[i]; in apprentice_map()
3001 byteswap(map->magic[i], map->nmagic[i]); in apprentice_map()
3057 map->nmagic[i] = swap4(ptr[i + 2]); in check_buffer()
3059 map->nmagic[i] = ptr[i + 2]; in check_buffer()
3061 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in check_buffer()
3062 nentries += map->nmagic[i]; in check_buffer()
3071 byteswap(map->magic[i], map->nmagic[i]); in check_buffer()
3081 static const size_t nm = sizeof(*map->nmagic) * MAGIC_SETS; in apprentice_compile()
3108 memcpy(hdr.h + 2, map->nmagic, nm); in apprentice_compile()
3116 len = m * map->nmagic[i]; in apprentice_compile()
3185 byteswap(struct magic *magic, uint32_t nmagic) argument
3188 for (i = 0; i < nmagic; i++)
3345 uint32_t nma = ml->nmagic;
3354 v->nmagic = j - i;