Searched refs:ml (Results 1 – 5 of 5) sorted by relevance
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 372 struct mlist *ml; in add_mlist() local 374 if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) in add_mlist() 383 ml->next = mlp; in add_mlist() 384 mlp->prev = ml; in add_mlist() 535 for (ml = mlist->next; ml != mlist;) { in mlist_free() 537 if (ml->map) in mlist_free() 539 efree(ml); in mlist_free() 540 ml = next; in mlist_free() 542 efree(ml); in mlist_free() 816 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list() [all …]
|
H A D | softmagic.c | 90 struct mlist *ml; in file_softmagic() local 92 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic() 93 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode, in file_softmagic() 1171 struct mlist ml; in mget() local 1783 if (file_magicfind(ms, sbuf, &ml) == -1) { in mget() 1791 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o, in mget()
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 102 struct mlist *ml; 104 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL) 105 + if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) 108 ml->map = idx == 0 ? map : NULL; 222 if (ml->map) 223 apprentice_unmap(ml->map); 224 - free(ml); 225 + efree(ml); 226 ml = next; 228 - free(ml); [all …]
|
/PHP-5.6/ext/exif/ |
H A D | exif.c | 1454 int i, len, ml = 0; in exif_get_sectionlist() local 1458 ml += strlen(exif_get_sectionname(i))+2; in exif_get_sectionlist() 1460 sections = safe_emalloc(ml, 1, 1); in exif_get_sectionlist() 1465 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist()
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | magic | 13165 # .ml files These are menu resources I think 13168 4 string \ A~ MAthematica .ml file
|
Completed in 107 milliseconds