Home
last modified time | relevance | path

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

/PHP-7.1/ext/fileinfo/libmagic/
H A Dapprentice.c387 struct mlist *ml; in add_mlist() local
390 if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL) in add_mlist()
393 ml->map = 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
557 for (ml = mlist->next; (next = ml->next) != NULL; ml = next) { in mlist_free()
558 if (ml->map) in mlist_free()
560 efree(ml); in mlist_free()
888 for (ml = mlist->next; ml != mlist; ml = ml->next) { in apprentice_list()
[all …]
H A Dsoftmagic.c84 struct mlist *ml; in file_softmagic() local
93 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) in file_softmagic()
94 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode, in file_softmagic()
1210 struct mlist ml; in mget() local
1703 if (file_magicfind(ms, rbuf, &ml) == -1) { in mget()
1711 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o, in mget()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch115 struct mlist *ml;
118 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL)
119 + if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL)
122 ml->map = NULL;
128 struct mlist *ml;
271 for (ml = mlist->next; (next = ml->next) != NULL; ml = next) {
272 if (ml->map)
274 - free(ml);
275 + efree(ml);
276 if (ml == mlist)
[all …]
/PHP-7.1/ext/exif/
H A Dexif.c1448 int i, len, ml = 0; in exif_get_sectionlist() local
1452 ml += strlen(exif_get_sectionname(i))+2; in exif_get_sectionlist()
1454 sections = safe_emalloc(ml, 1, 1); in exif_get_sectionlist()
1459 snprintf(sections+len, ml-len, "%s, ", exif_get_sectionname(i)); in exif_get_sectionlist()
/PHP-7.1/ext/fileinfo/tests/
H A Dmagic13926 # .ml files These are menu resources I think
13929 4 string \ A~ MAthematica .ml file
H A Dmagic私はガラスを食べられます13926 # .ml files These are menu resources I think
13929 4 string \ A~ MAthematica .ml file

Completed in 100 milliseconds