Lines Matching defs:str
154 const char *str = NULL;
159 str = cdf_clsid_to_mime(root_storage->d_storage_uuid,
217 } else if (str == NULL && info[i].pi_id ==
219 str = cdf_app_to_mime(vbuf, app2mime);
254 if (str == NULL)
256 if (file_printf(ms, "application/%s", str) == -1)
306 const char *str;
336 str = cdf_clsid_to_mime(root_storage->d_storage_uuid,
338 if (str) {
339 if (file_printf(ms, ", %s", str) == -1)
562 const char *str = NULL;
567 for (j = 0; str == NULL && j < dir.dir_len; j++) {
571 str = cdf_app_to_mime(name,
575 if (str != NULL) {
576 if (file_printf(ms, "%s", str) == -1)
581 if (str == NULL)
582 str = "vnd.ms-office";
583 if (file_printf(ms, "application/%s", str) == -1)