Lines Matching refs:info

137 cdf_file_property_info(struct magic_set *ms, const cdf_property_info_t *info,  in cdf_file_property_info()  argument
155 cdf_print_property_name(buf, sizeof(buf), info[i].pi_id); in cdf_file_property_info()
156 switch (info[i].pi_type) { in cdf_file_property_info()
161 info[i].pi_s16) == -1) in cdf_file_property_info()
166 info[i].pi_s32) == -1) in cdf_file_property_info()
171 info[i].pi_u32) == -1) in cdf_file_property_info()
176 info[i].pi_f) == -1) in cdf_file_property_info()
181 info[i].pi_d) == -1) in cdf_file_property_info()
186 len = info[i].pi_str.s_len; in cdf_file_property_info()
191 if (info[i].pi_type == CDF_LENGTH32_WSTRING) in cdf_file_property_info()
193 s = info[i].pi_str.s_buf; in cdf_file_property_info()
194 e = info[i].pi_str.s_buf + len; in cdf_file_property_info()
211 } else if (str == NULL && info[i].pi_id == in cdf_file_property_info()
218 tp = info[i].pi_tp; in cdf_file_property_info()
292 cdf_property_info_t *info; in cdf_file_summary_info() local
296 if (cdf_unpack_summary_info(sst, h, &si, &info, &count) == -1) in cdf_file_summary_info()
339 m = cdf_file_property_info(ms, info, count, root_storage); in cdf_file_summary_info()
340 efree(info); in cdf_file_summary_info()
360 cdf_file_catalog_info(struct magic_set *ms, const cdf_info_t *info, in cdf_file_catalog_info() argument
366 if ((i = cdf_read_user_stream(info, h, sat, ssat, sst, in cdf_file_catalog_info()
378 cdf_check_summary_info(struct magic_set *ms, const cdf_info_t *info, in cdf_check_summary_info() argument
419 i = cdf_file_catalog_info(ms, info, h, sat, ssat, sst, in cdf_check_summary_info()
537 cdf_info_t info; in file_trycdf() local
547 info.i_fd = fd; in file_trycdf()
548 info.i_buf = buf; in file_trycdf()
549 info.i_len = nbytes; in file_trycdf()
552 if (cdf_read_header(&info, &h) == -1) in file_trycdf()
558 if ((i = cdf_read_sat(&info, &h, &sat)) == -1) { in file_trycdf()
566 if ((i = cdf_read_ssat(&info, &h, &sat, &ssat)) == -1) { in file_trycdf()
574 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) { in file_trycdf()
579 if ((i = cdf_read_short_stream(&info, &h, &sat, &dir, &sst, in file_trycdf()
585 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in file_trycdf()
599 if ((i = cdf_read_user_stream(&info, &h, &sat, &ssat, &sst, &dir, in file_trycdf()
620 if ((i = cdf_read_summary_info(&info, &h, &sat, &ssat, &sst, &dir, in file_trycdf()
626 i = cdf_check_summary_info(ms, &info, &h, in file_trycdf()
631 if ((i = cdf_read_doc_summary_info(&info, &h, &sat, &ssat, in file_trycdf()
637 i = cdf_check_summary_info(ms, &info, &h, &sat, &ssat, in file_trycdf()