Searched refs:mset (Results 1 – 2 of 2) sorted by relevance
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 929 if (mset[i].count == mset[i].max) { in addentry() 932 mset[i].max += ALLOC_INCR; in addentry() 934 erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == in addentry() 941 mset[i].me = mp; in addentry() 943 mset[i].me[mset[i].count++] = *me; in addentry() 1156 memset(mset, 0, sizeof(mset)); in apprentice_load() 1226 i = set_text_binary(ms, mset[j].me, mset[j].count, i); in apprentice_load() 1228 qsort(mset[j].me, mset[j].count, sizeof(*mset[j].me), in apprentice_load() 1235 set_last_default(ms, mset[j].me, mset[j].count); in apprentice_load() 1238 if (coalesce_entries(ms, mset[j].me, mset[j].count, in apprentice_load() [all …]
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 283 mset[i].max += ALLOC_INCR; 285 - realloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 286 + erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == 288 file_oomem(ms, sizeof(*mp) * mset[i].max); 292 struct magic_entry_set *mset) 328 (void)addentry(ms, &me, mset); 363 struct magic_entry_set mset[MAGIC_SETS]; 371 memset(mset, 0, sizeof(mset)); 435 load_1(ms, action, filearr[i], &errs, mset); 442 load_1(ms, action, fn, &errs, mset);
|
Completed in 14 milliseconds