Searched refs:ml (Results 1 – 6 of 6) sorted by relevance
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 387 struct mlist *ml; in add_mlist() local 390 if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) in add_mlist() 399 ml->next = mlp; in add_mlist() 400 mlp->prev = ml; in add_mlist() 411 struct mlist *ml; in apprentice_1() local 559 ml = mlist->next; in mlist_free() 560 for (ml = mlist->next; (next = ml->next) != NULL; ml = next) { in mlist_free() 561 if (ml->map) in mlist_free() 563 efree(ml); in mlist_free() 939 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list() [all …]
|
H A D | softmagic.c | 104 struct mlist *ml; in file_softmagic() local 117 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic() 118 if ((rv = match(ms, ml->magic, ml->nmagic, b, 0, mode, in file_softmagic() 1458 struct mlist ml; in mget() local 1698 if (file_magicfind(ms, rbuf, &ml) == -1) { in mget() 1706 rv = match(ms, ml.magic, ml.nmagic, b, offset + o, in mget()
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 140 struct mlist *ml; 143 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL) 144 + if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) 147 ml->map = idx == 0 ? map : NULL; 153 struct mlist *ml; 291 for (ml = mlist->next; (next = ml->next) != NULL; ml = next) { 292 if (ml->map) 294 - free(ml); 295 + efree(ml); 296 if (ml == mlist) [all …]
|
/PHP-7.3/ext/exif/ |
H A D | exif.c | 1840 int i, len, ml = 0; in exif_get_sectionlist() local 1844 ml += strlen(exif_get_sectionname(i))+2; in exif_get_sectionlist() 1846 sections = safe_emalloc(ml, 1, 1); in exif_get_sectionlist() 1851 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist()
|
/PHP-7.3/ext/fileinfo/tests/ |
H A D | magic | 18147 # .ml files These are menu resources I think 18150 4 string \ A~ MAthematica .ml file
|
H A D | magic私はガラスを食べられます | 18147 # .ml files These are menu resources I think 18150 4 string \ A~ MAthematica .ml file
|
Completed in 127 milliseconds