Searched refs:mset (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1107 if (mset[i].count == mset[i].max) { in addentry() 1112 erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == in addentry() 1119 mset[i].me = mp; in addentry() 1121 mset[i].me[mset[i].count++] = *me; in addentry() 1334 memset(mset, 0, sizeof(mset)); in apprentice_load() 1407 i = set_text_binary(ms, mset[j].me, mset[j].count, i); in apprentice_load() 1409 if (mset[j].me) in apprentice_load() 1410 qsort(mset[j].me, mset[j].count, sizeof(*mset[j].me), in apprentice_load() 1417 set_last_default(ms, mset[j].me, mset[j].count); in apprentice_load() 1423 if (coalesce_entries(ms, mset[j].me, mset[j].count, in apprentice_load() [all …]
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 335 mset[i].max += ALLOC_INCR; 337 - realloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 338 + erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 344 struct magic_entry_set *mset) 388 (void)addentry(ms, &me, mset); 425 struct magic_entry_set mset[MAGIC_SETS]; 432 memset(mset, 0, sizeof(mset)); 512 load_1(ms, action, fn, &errs, mset); 515 if (mset[j].count == 0) 519 if (coalesce_entries(ms, mset[j].me, mset[j].count, [all …]
|
Completed in 16 milliseconds