Home
last modified time | relevance | path

Searched refs:ml (Results 1 – 5 of 5) sorted by relevance

/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c366 struct mlist *ml; in add_mlist() local
368 if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) in add_mlist()
377 ml->next = mlp; in add_mlist()
378 mlp->prev = ml; in add_mlist()
529 for (ml = mlist->next; ml != mlist;) { in mlist_free()
531 if (ml->map) in mlist_free()
533 efree(ml); in mlist_free()
534 ml = next; in mlist_free()
536 efree(ml); in mlist_free()
801 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list()
[all …]
H A Dsoftmagic.c81 struct mlist *ml; in file_softmagic() local
83 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic()
84 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode, in file_softmagic()
1139 struct mlist ml; in mget() local
1749 if (file_magicfind(ms, sbuf, &ml) == -1) { in mget()
1757 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o, in mget()
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch102 struct mlist *ml;
104 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL)
105 + if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL)
222 if (ml->map)
224 - free(ml);
225 + efree(ml);
226 ml = next;
228 - free(ml);
229 + efree(ml);
2923 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next)
[all …]
/PHP-5.5/ext/exif/
H A Dexif.c1464 int i, len, ml = 0; in exif_get_sectionlist() local
1468 ml += strlen(exif_get_sectionname(i))+2; in exif_get_sectionlist()
1470 sections = safe_emalloc(ml, 1, 1); in exif_get_sectionlist()
1475 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist()
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic12436 # .ml files These are menu resources I think
12439 4 string \ A~ MAthematica .ml file

Completed in 97 milliseconds