Lines Matching refs:mdb
55 _cups_media_db_t *mdb; /* Media database entry */ in cupsLocalizeDestMedia() local
139 …for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db… in cupsLocalizeDestMedia()
141 if (mdb->key && !strcmp(mdb->key, size->media)) in cupsLocalizeDestMedia()
143 else if (mdb->size_name && !strcmp(mdb->size_name, size->media)) in cupsLocalizeDestMedia()
147 if (!mdb) in cupsLocalizeDestMedia()
149 …for (mdb = (_cups_media_db_t *)cupsArrayFirst(db); mdb; mdb = (_cups_media_db_t *)cupsArrayNext(db… in cupsLocalizeDestMedia()
151 …(mdb->width == size->width && mdb->length == size->length && mdb->bottom == size->bottom && mdb->l… in cupsLocalizeDestMedia()
156 if (mdb) in cupsLocalizeDestMedia()
158 …d T%d]", (void *)mdb, mdb->key, mdb->size_name, mdb->source, mdb->type, mdb->width, mdb->length, m… 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()