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