Lines Matching refs:magindex
937 uint32_t magindex = 0; in apprentice_list() local
940 for (magindex = 0; magindex < ml->nmagic; magindex++) { in apprentice_list()
941 struct magic *m = &ml->magic[magindex]; in apprentice_list()
944 while (magindex + 1 < ml->nmagic && in apprentice_list()
945 ml->magic[magindex + 1].cont_level != 0) in apprentice_list()
946 ++magindex; in apprentice_list()
954 while (magindex + 1 < ml->nmagic && in apprentice_list()
955 ml->magic[magindex + 1].cont_level != 0 && in apprentice_list()
956 *ml->magic[magindex].desc == '\0' && in apprentice_list()
957 *ml->magic[magindex].mimetype == '\0') in apprentice_list()
958 magindex++; in apprentice_list()
962 ml->magic[magindex].lineno, in apprentice_list()
963 ml->magic[magindex].desc, in apprentice_list()
964 ml->magic[magindex].mimetype); in apprentice_list()