Searched refs:mset (Results 1 – 2 of 2) sorted by relevance
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1054 if (mset[i].count == mset[i].max) { in addentry() 1059 erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == in addentry() 1066 mset[i].me = mp; in addentry() 1068 mset[i].me[mset[i].count++] = *me; in addentry() 1280 memset(mset, 0, sizeof(mset)); in apprentice_load() 1351 i = set_text_binary(ms, mset[j].me, mset[j].count, i); in apprentice_load() 1353 if (mset[j].me) in apprentice_load() 1354 qsort(mset[j].me, mset[j].count, sizeof(*mset[j].me), in apprentice_load() 1361 set_last_default(ms, mset[j].me, mset[j].count); in apprentice_load() 1364 if (coalesce_entries(ms, mset[j].me, mset[j].count, in apprentice_load() [all …]
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 433 mset[i].max += ALLOC_INCR; 435 - realloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 436 + erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 438 file_oomem(ms, sizeof(*mp) * mset[i].max); 442 struct magic_entry_set *mset) 477 (void)addentry(ms, &me, mset); 523 struct magic_entry_set mset[MAGIC_SETS]; 530 memset(mset, 0, sizeof(mset)); 597 load_1(ms, action, filearr[i], &errs, mset); 604 load_1(ms, action, fn, &errs, mset);
|
Completed in 19 milliseconds