Lines Matching full:dinfo
26 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo);
46 cups_dinfo_t *dinfo, /* I - Destination information */
63 DEBUG_printf(("cupsLocalizeDestMedia(http=%p, dest=%p, dinfo=%p, flags=%x, size=%p(\"%s\"))", (void *)http, (void *)dest, (void *)dinfo, flags, (void *)size, size ? size->media : "(null)"));
69 if (!http || !dest || !dinfo || !size)
80 if (!dinfo->localizations)
81 cups_create_localizations(http, dinfo);
84 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL)
133 db = dinfo->ready_db;
135 db = dinfo->media_db;
160 lsource = cupsLocalizeDestValue(http, dest, dinfo, "media-source", mdb->source);
161 ltype = cupsLocalizeDestValue(http, dest, dinfo, "media-type", mdb->type);
204 cupsArrayAdd(dinfo->localizations, match);
226 cups_dinfo_t *dinfo, /* I - Destination information */
234 DEBUG_printf(("cupsLocalizeDestOption(http=%p, dest=%p, dinfo=%p, option=\"%s\")", (void *)http, (void *)dest, (void *)dinfo, option));
236 if (!http || !dest || !dinfo)
239 if (!dinfo->localizations)
240 cups_create_localizations(http, dinfo);
243 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations,
267 cups_dinfo_t *dinfo, /* I - Destination information */
277 DEBUG_printf(("cupsLocalizeDestValue(http=%p, dest=%p, dinfo=%p, option=\"%s\", value=\"%s\")", (void *)http, (void *)dest, (void *)dinfo, option, value));
279 if (!http || !dest || !dinfo)
295 return (cupsLocalizeDestMedia(http, dest, dinfo, CUPS_MEDIA_FLAGS_DEFAULT, &size));
298 if (!dinfo->localizations)
299 cups_create_localizations(http, dinfo);
303 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations,
321 cups_dinfo_t *dinfo) /* I - Destination informations */
342 dinfo->localizations = _cupsMessageNew(NULL);
348 if ((attr = ippFindAttribute(dinfo->attrs, "printer-strings-uri",
446 cupsArrayAdd(dinfo->localizations, m);
462 cupsArrayCount(dinfo->localizations)));