Searched refs:magindex (Results 1 – 2 of 2) sorted by relevance
146 uint32_t magindex = 0; in match() local158 for (magindex = 0; magindex < nmagic; magindex++) { in match()160 struct magic *m = &magic[magindex]; in match()169 while (magindex + 1 < nmagic && in match()170 magic[magindex + 1].cont_level != 0 && in match()171 ++magindex) in match()209 while (magindex < nmagic - 1 && in match()210 magic[magindex + 1].cont_level != 0) in match()211 magindex++; in match()242 while (magindex + 1 < nmagic && in match()[all …]
944 uint32_t magindex = 0; in apprentice_list() local947 for (magindex = 0; magindex < ml->nmagic; magindex++) { in apprentice_list()948 struct magic *m = &ml->magic[magindex]; in apprentice_list()951 while (magindex + 1 < ml->nmagic && in apprentice_list()952 ml->magic[magindex + 1].cont_level != 0) in apprentice_list()953 ++magindex; in apprentice_list()961 while (magindex + 1 < ml->nmagic && in apprentice_list()962 ml->magic[magindex + 1].cont_level != 0 && in apprentice_list()963 *ml->magic[magindex].desc == '\0' && in apprentice_list()964 *ml->magic[magindex].mimetype == '\0') in apprentice_list()[all …]