Lines Matching refs:j
497 int j; in apprentice_unmap() local
498 for (j = 0; j < MAGIC_SETS; j++) { in apprentice_unmap()
499 if (map->magic[j]) { in apprentice_unmap()
500 efree(map->magic[j]); in apprentice_unmap()
1136 uint32_t i, j; in apprentice_load() local
1217 for (j = 0; j < MAGIC_SETS; j++) { in apprentice_load()
1219 for (i = 0; i < mentrycount[j]; ) { in apprentice_load()
1220 if (mentry[j][i].mp->cont_level != 0) { in apprentice_load()
1224 i = set_text_binary(ms, mentry[j], mentrycount[j], i); in apprentice_load()
1226 qsort(mentry[j], mentrycount[j], sizeof(*mentry[j]), in apprentice_load()
1233 set_last_default(ms, mentry[j], mentrycount[j]); in apprentice_load()
1236 if (coalesce_entries(ms, mentry[j], mentrycount[j], in apprentice_load()
1237 &map->magic[j], &map->nmagic[j]) == -1) { in apprentice_load()
1244 for (j = 0; j < MAGIC_SETS; j++) in apprentice_load()
1245 magic_entry_free(mentry[j], mentrycount[j]); in apprentice_load()
1248 for (j = 0; j < MAGIC_SETS; j++) { in apprentice_load()
1249 if (map->magic[j]) in apprentice_load()
1250 efree(map->magic[j]); in apprentice_load()
3005 uint32_t i, j; local
3018 for (j = i + 1; j < nma; j++)
3019 if (ma[j].cont_level == 0)
3021 v->nmagic = j - i;