Lines Matching refs:info

148 cdf_file_property_info(struct magic_set *ms, const cdf_property_info_t *info,
164 cdf_print_property_name(buf, sizeof(buf), info[i].pi_id);
165 switch (info[i].pi_type) {
170 info[i].pi_s16) == -1)
175 info[i].pi_s32) == -1)
180 info[i].pi_u32) == -1)
185 info[i].pi_f) == -1)
190 info[i].pi_d) == -1)
195 len = info[i].pi_str.s_len;
200 if (info[i].pi_type == CDF_LENGTH32_WSTRING)
202 s = info[i].pi_str.s_buf;
203 e = info[i].pi_str.s_buf + len;
220 } else if (str == NULL && info[i].pi_id ==
227 tp = info[i].pi_tp;
301 cdf_property_info_t *info;
305 if (cdf_unpack_summary_info(sst, h, &si, &info, &count) == -1)
348 m = cdf_file_property_info(ms, info, count, root_storage);
349 free(info);
369 cdf_file_catalog_info(struct magic_set *ms, const cdf_info_t *info,
375 if ((i = cdf_read_user_stream(info, h, sat, ssat, sst,
387 cdf_check_summary_info(struct magic_set *ms, const cdf_info_t *info,
428 i = cdf_file_catalog_info(ms, info, h, sat, ssat, sst,
546 cdf_info_t info;
556 info.i_fd = fd;
557 info.i_buf = buf;
558 info.i_len = nbytes;
561 if (cdf_read_header(&info, &h) == -1)
567 if ((i = cdf_read_sat(&info, &h, &sat)) == -1) {
575 if ((i = cdf_read_ssat(&info, &h, &sat, &ssat)) == -1) {
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 ((i = cdf_read_user_stream(&info, &h, &sat, &ssat, &sst, &dir,
629 if ((i = cdf_read_summary_info(&info, &h, &sat, &ssat, &sst, &dir,
632 expn = "Cannot read summary info";
635 i = cdf_check_summary_info(ms, &info, &h,
640 if ((i = cdf_read_doc_summary_info(&info, &h, &sat, &ssat,
643 expn = "Cannot read summary info";
646 i = cdf_check_summary_info(ms, &info, &h, &sat, &ssat,
653 expn = "Cannot read section info";