Searched refs:magindex (Results 1 – 2 of 2) sorted by relevance
152 uint32_t magindex = 0; in match() local164 for (magindex = 0; magindex < nmagic; magindex++) { in match()166 struct magic *m = &magic[magindex]; in match()175 while (magindex + 1 < nmagic && in match()176 magic[magindex + 1].cont_level != 0 && in match()177 ++magindex) in match()215 while (magindex < nmagic - 1 && in match()216 magic[magindex + 1].cont_level != 0) in match()217 magindex++; in match()248 while (magindex + 1 < nmagic && in match()[all …]
950 uint32_t magindex = 0; in apprentice_list() local953 for (magindex = 0; magindex < ml->nmagic; magindex++) { in apprentice_list()954 struct magic *m = &ml->magic[magindex]; in apprentice_list()957 while (magindex + 1 < ml->nmagic && in apprentice_list()958 ml->magic[magindex + 1].cont_level != 0) in apprentice_list()959 ++magindex; in apprentice_list()967 while (magindex + 1 < ml->nmagic && in apprentice_list()968 ml->magic[magindex + 1].cont_level != 0 && in apprentice_list()969 *ml->magic[magindex].desc == '\0' && in apprentice_list()970 *ml->magic[magindex].mimetype == '\0') in apprentice_list()[all …]