Lines Matching defs:dir
371 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn)
376 dir, "Catalog", scn)) == -1)
389 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn,
407 for (j = 0; str == NULL && j < dir->dir_len; j++) {
408 d = &dir->dir_tab[j];
429 dir, scn);
512 cdf_file_dir_info(struct magic_set *ms, const cdf_dir_t *dir)
519 if (cdf_find_stream(dir, si->sections[j], si->types[j])
550 cdf_dir_t dir;
583 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) {
588 if ((i = cdf_read_short_stream(&info, &h, &sat, &dir, &sst,
594 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir);
608 if (cdf_read_user_stream(&info, &h, &sat, &ssat, &sst, &dir,
629 if ((i = cdf_read_summary_info(&info, &h, &sat, &ssat, &sst, &dir,
636 &sat, &ssat, &sst, &dir, &scn, root_storage, &expn);
641 &sst, &dir, &scn)) == -1) {
647 &sst, &dir, &scn, root_storage, &expn);
651 i = cdf_file_dir_info(ms, &dir);
659 free(dir.dir_tab);