Home
last modified time | relevance | path

Searched refs:mentry (Results 1 – 3 of 3) sorted by relevance

/PHP-5.4/ext/fileinfo/libmagic/
H A Dapprentice.c926 mentry[i] = mp; in addentry()
928 mentry[i][mentrycount[i]++] = *me; in addentry()
1015 (void)addentry(ms, &me, mentry, mentrycount); in load_1()
1024 (void)addentry(ms, &me, mentry, mentrycount); in load_1()
1134 struct magic_entry *mentry[MAGIC_SETS] = { NULL }; in apprentice_load() local
1207 load_1(ms, action, filearr[i], &errs, mentry, in apprentice_load()
1213 load_1(ms, action, fn, &errs, mentry, mentrycount); in apprentice_load()
1220 if (mentry[j][i].mp->cont_level != 0) { in apprentice_load()
1226 qsort(mentry[j], mentrycount[j], sizeof(*mentry[j]), in apprentice_load()
1233 set_last_default(ms, mentry[j], mentrycount[j]); in apprentice_load()
[all …]
/PHP-5.4/ext/phar/
H A Dtar.c162 phar_entry_info *mentry; in phar_tar_process_metadata() local
183 …filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1), (void *)&mentry)) { in phar_tar_process_metadata()
185 mentry->metadata = entry->metadata; in phar_tar_process_metadata()
1120 phar_entry_info *mentry; in phar_tar_flush() local
1121 …ind(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1, (void **)&mentry)) { in phar_tar_flush()
1122 if (ZEND_HASH_APPLY_KEEP != phar_tar_setmetadata(phar->metadata, mentry, error TSRMLS_CC)) { in phar_tar_flush()
1137 …, sizeof(".phar/.metadata.bin")-1, (void *)&newentry, sizeof(phar_entry_info), (void **)&mentry)) { in phar_tar_flush()
1145 if (ZEND_HASH_APPLY_KEEP != phar_tar_setmetadata(phar->metadata, mentry, error TSRMLS_CC)) { in phar_tar_flush()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch286 - realloc(mentry[i], sizeof(*mp) * maxmagic[i]))) ==
287 + erealloc(mentry[i], sizeof(*mp) * maxmagic[i]))) ==
293 struct magic_entry **mentry, uint32_t *mentrycount)
341 (void)addentry(ms, &me, mentry, mentrycount);
372 struct magic_entry *mentry[MAGIC_SETS] = { NULL };
460 load_1(ms, action, filearr[i], &errs, mentry,
468 load_1(ms, action, fn, &errs, mentry, mentrycount);

Completed in 19 milliseconds