• Home
  • Raw
  • Download

Lines Matching full:best

1797 			*best = NULL,	/* Best matching entry */  in cups_get_media_db()  local
1829 * Found an exact match, let's figure out the best margins for the flags in cups_get_media_db()
1833 best = mdb; in cups_get_media_db()
1841 if (best->left != 0 || best->right != 0 || best->top != 0 || best->bottom != 0) in cups_get_media_db()
1847 if (mdb->left <= best->left && mdb->right <= best->right && in cups_get_media_db()
1848 mdb->top <= best->top && mdb->bottom <= best->bottom) in cups_get_media_db()
1850 best = mdb; in cups_get_media_db()
1864 (best->left || best->right || best->top || best->bottom)) in cups_get_media_db()
1877 if (mdb->left >= best->left && mdb->right >= best->right && in cups_get_media_db()
1878 mdb->top >= best->top && mdb->bottom >= best->bottom && in cups_get_media_db()
1879 …(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top !… in cups_get_media_db()
1880 best = mdb; in cups_get_media_db()
1893 if (((mdb->left > 0 && mdb->left <= best->left) || best->left == 0) && in cups_get_media_db()
1894 ((mdb->right > 0 && mdb->right <= best->right) || best->right == 0) && in cups_get_media_db()
1895 ((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) && in cups_get_media_db()
1896 ((mdb->bottom > 0 && mdb->bottom <= best->bottom) || best->bottom == 0) && in cups_get_media_db()
1897 …(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top !… in cups_get_media_db()
1898 best = mdb; in cups_get_media_db()
1925 best = &key; in cups_get_media_db()
1942 best = &key; in cups_get_media_db()
1959 best = mdb; in cups_get_media_db()
1967 if (best->left != 0 || best->right != 0 || best->top != 0 || in cups_get_media_db()
1968 best->bottom != 0) in cups_get_media_db()
1974 if (mdb->left <= best->left && mdb->right <= best->right && in cups_get_media_db()
1975 mdb->top <= best->top && mdb->bottom <= best->bottom && in cups_get_media_db()
1976 …(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top !… in cups_get_media_db()
1978 best = mdb; in cups_get_media_db()
1996 if (mdb->left >= best->left && mdb->right >= best->right && in cups_get_media_db()
1997 mdb->top >= best->top && mdb->bottom >= best->bottom && in cups_get_media_db()
1998 …(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top !… in cups_get_media_db()
1999 best = mdb; in cups_get_media_db()
2012 if (((mdb->left > 0 && mdb->left <= best->left) || best->left == 0) && in cups_get_media_db()
2013 ((mdb->right > 0 && mdb->right <= best->right) || in cups_get_media_db()
2014 best->right == 0) && in cups_get_media_db()
2015 ((mdb->top > 0 && mdb->top <= best->top) || best->top == 0) && in cups_get_media_db()
2016 ((mdb->bottom > 0 && mdb->bottom <= best->bottom) || in cups_get_media_db()
2017 best->bottom == 0) && in cups_get_media_db()
2018 …(mdb->bottom != best->bottom || mdb->left != best->left || mdb->right != best->right || mdb->top !… in cups_get_media_db()
2019 best = mdb; in cups_get_media_db()
2024 if (best) in cups_get_media_db()
2030 if (best->size_name) in cups_get_media_db()
2031 strlcpy(size->media, best->size_name, sizeof(size->media)); in cups_get_media_db()
2032 else if (best->key) in cups_get_media_db()
2033 strlcpy(size->media, best->key, sizeof(size->media)); in cups_get_media_db()
2037 size->width = best->width; in cups_get_media_db()
2038 size->length = best->length; in cups_get_media_db()
2039 size->bottom = best->bottom; in cups_get_media_db()
2040 size->left = best->left; in cups_get_media_db()
2041 size->right = best->right; in cups_get_media_db()
2042 size->top = best->top; in cups_get_media_db()