Searched refs:mset (Results 1 – 2 of 2) sorted by relevance
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1068 if (mset[i].count == mset[i].max) { in addentry() 1073 erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == in addentry() 1080 mset[i].me = mp; in addentry() 1082 mset[i].me[mset[i].count++] = *me; in addentry() 1294 memset(mset, 0, sizeof(mset)); in apprentice_load() 1367 i = set_text_binary(ms, mset[j].me, mset[j].count, i); in apprentice_load() 1369 if (mset[j].me) in apprentice_load() 1370 qsort(mset[j].me, mset[j].count, sizeof(*mset[j].me), in apprentice_load() 1377 set_last_default(ms, mset[j].me, mset[j].count); in apprentice_load() 1380 if (coalesce_entries(ms, mset[j].me, mset[j].count, in apprentice_load() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 380 mset[i].max += ALLOC_INCR; 382 - realloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 383 + erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 385 file_oomem(ms, sizeof(*mp) * mset[i].max); 389 struct magic_entry_set *mset) 424 (void)addentry(ms, &me, mset); 461 struct magic_entry_set mset[MAGIC_SETS]; 468 memset(mset, 0, sizeof(mset)); 536 load_1(ms, action, filearr[i], &errs, mset); 544 load_1(ms, action, fn, &errs, mset);
|
Completed in 21 milliseconds