Home
last modified time | relevance | path

Searched refs:yres (Results 1 – 25 of 41) sorted by relevance

12

/external/libcups/cups/
Dtestthreads.c207 int xres, yres; in show_supported() local
209 xres = ippGetResolution(attr, i, &yres, &units); in show_supported()
211 if (xres == yres) in show_supported()
214 printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); in show_supported()
Dipp-file.c698 yres; /* Y resolution */ in parse_value() local
701 xres = yres = (int)strtol(value, (char **)&ptr, 10); in parse_value()
705 yres = (int)strtol(ptr + 1, (char **)&ptr, 10); in parse_value()
708 …if (ptr <= value || xres <= 0 || yres <= 0 || !ptr || (_cups_strcasecmp(ptr, "dpi") && _cups_strca… in parse_value()
715 return (ippSetResolution(ipp, attr, element, IPP_RES_PER_INCH, xres, yres)); in parse_value()
717 return (ippSetResolution(ipp, attr, element, IPP_RES_PER_CM, xres, yres)); in parse_value()
719 return (ippSetResolution(ipp, attr, element, (ipp_res_t)0, xres, yres)); in parse_value()
Dtestdest.c341 int xres, yres; in localize() local
343 xres = ippGetResolution(attr, i, &yres, &units); in localize()
345 if (xres == yres) in localize()
348 printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); in localize()
691 int xres, yres; in show_supported() local
693 xres = ippGetResolution(attr, i, &yres, &units); in show_supported()
695 if (xres == yres) in show_supported()
698 printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); in show_supported()
Dipp.c729 int yres) /* I - Y resolution */ in ippAddResolution() argument
735 ippTagString(group), name, units, xres, yres)); in ippAddResolution()
744 xres < 0 || yres < 0) in ippAddResolution()
755 attr->values[0].resolution.yres = yres; in ippAddResolution()
782 const int *yres) /* I - Y resolutions */ in ippAddResolutions() argument
789 …)", (void *)ipp, group, ippTagString(group), name, num_values, units, (void *)xres, (void *)yres)); in ippAddResolutions()
808 if (xres && yres) in ippAddResolutions()
815 value->resolution.yres = *yres++; in ippAddResolutions()
2398 int *yres, /* O - Vertical/feed resolution */ in ippGetResolution() argument
2408 if (yres) in ippGetResolution()
[all …]
Dencode.c611 int xres, yres; /* Resolution values */ in _cupsEncodeOption() local
617 yres = (int)strtol(s + 1, &s, 10); in _cupsEncodeOption()
619 yres = xres; in _cupsEncodeOption()
626 ippSetResolution(ipp, &attr, i, units, xres, yres); in _cupsEncodeOption()
Dppd-cache.c39 static void pwg_ppdize_resolution(ipp_attribute_t *attr, int element, int *xres, int *yres, char *n…
3046 int xres, yres; /* Resolution values */ in _ppdCreateFromIPP() local
4525 pwg_ppdize_resolution(attr, resolutions[count / 2], &xres, &yres, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
4534 pwg_ppdize_resolution(attr, resolutions[0], &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
4535 …FilePrintf(fp, "*cupsPrintQuality Draft: \"<</HWResolution[%d %d]>>setpagedevice\"\n", xres, yres); in _ppdCreateFromIPP()
4539 pwg_ppdize_resolution(attr, resolutions[count / 2], &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
4540 …ilePrintf(fp, "*cupsPrintQuality Normal: \"<</HWResolution[%d %d]>>setpagedevice\"\n", xres, yres); in _ppdCreateFromIPP()
4545 pwg_ppdize_resolution(attr, resolutions[count - 1], &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
4546 …sFilePrintf(fp, "*cupsPrintQuality High: \"<</HWResolution[%d %d]>>setpagedevice\"\n", xres, yres); in _ppdCreateFromIPP()
4558 pwg_ppdize_resolution(attr, 0, &xres, &yres, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
[all …]
Dipp-private.h85 yres; /* Vertical resolution */ member
Dipp.h770 int xres, int yres) _CUPS_PUBLIC;
774 const int *yres) _CUPS_PUBLIC;
859 int *yres, ipp_res_t *units)
Dipp-support.c728 if (val->resolution.xres == val->resolution.yres) in ippAttributeString()
736 …t)(bufend - bufptr + 1), "%dx%d%s", val->resolution.xres, val->resolution.yres, val->resolution.un… in ippAttributeString()
738 …intf(temp, sizeof(temp), "%dx%d%s", val->resolution.xres, val->resolution.yres, val->resolution.un… in ippAttributeString()
Ddest-options.c326 attrval->resolution.yres == yres_value && in cupsCheckDestSupported()
1640 yres; /* Vertical resolution */ in cups_collection_string() local
1643 xres = ippGetResolution(member, j, &yres, &units); in cups_collection_string()
1645 if (xres == yres) in cups_collection_string()
1648 … snprintf(temp, sizeof(temp), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"); in cups_collection_string()
2701 attrval->resolution.yres == yres_value && in cups_test_constraints()
/external/libkmsxx/utils/
Dfbtest.cpp43 ExtCPUFramebuffer buf(var.xres, var.yres, PixelFormat::XRGB8888, in main()
48 var.xres, var.yres, in main()
/external/libkmsxx/kms++/src/
Dconnector.cpp155 Videomode Connector::get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const in get_mode() argument
162 if (m.hdisplay != xres || m.vdisplay != yres) in get_mode()
179 if (m.hdisplay != xres || m.vdisplay != yres) in get_mode()
/external/libcups/tools/
Dipptool.c1590 yres; /* Vertical resolution */ in do_test() local
1593 xres = ippGetResolution(found, last, &yres, &units); in do_test()
1595 if (xres == yres) in do_test()
1598 …snprintf(buffer, sizeof(buffer), "%dx%d%s", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm"… in do_test()
2341 int xres, yres; /* Resolution values */ in print_attr() local
2344 xres = ippGetResolution(attr, i, &yres, &units); in print_attr()
2345 …<integer>%d</integer><key>units</key><string>%s</string></dict>\n", xres, yres, units == IPP_RES_P… in print_attr()
2612 int yres, xres = ippGetResolution(attr, i, &yres, &units); in print_ippserver_attr() local
2614 …cupsFilePrintf(data->outfile, "%s%dx%d%s", i ? "," : " ", xres, yres, units == IPP_RES_PER_INCH ? … in print_ippserver_attr()
4578 int xres, yres; /* Resolution values */ in with_value() local
[all …]
Dippeveprinter.c4753 yres; /* Default vertical resolution */ in load_ppd_attributes() local
4905 if ((i = sscanf(ppd_attr->value, "%dx%d", &xres, &yres)) == 1) in load_ppd_attributes()
4906 yres = xres; in load_ppd_attributes()
4908 xres = yres = 300; in load_ppd_attributes()
4916 xres = yres = 300; in load_ppd_attributes()
4919 snprintf(urf_rs, sizeof(urf_rs), "RS%d", yres < xres ? yres : xres); in load_ppd_attributes()
5314 …pAddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-default", IPP_RES_PER_INCH, xres, yres); in load_ppd_attributes()
5317 …ddResolution(attrs, IPP_TAG_PRINTER, "printer-resolution-supported", IPP_RES_PER_INCH, xres, yres); in load_ppd_attributes()
5340 …(attrs, IPP_TAG_PRINTER, "pwg-raster-document-resolution-supported", IPP_RES_PER_INCH, xres, yres); in load_ppd_attributes()
/external/libkmsxx/kms++/inc/kms++/
Dconnector.h28 Videomode get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const;
/external/kernel-headers/original/uapi/linux/
Domapfb.h216 __u16 yres; member
Dfb.h244 __u32 yres; member
/external/arm-trusted-firmware/fdts/
Dfvp-base-gicv2-psci.dts157 yres = <768>;
Dfvp-base-gicv3-psci-aarch32-common.dtsi205 yres = <768>;
Dfvp-base-gicv2-psci-aarch32.dts204 yres = <768>;
Dfvp-base-gicv3-psci-common.dtsi228 yres = <768>;
/external/libcups/scheduler/
Dtestsub.c435 printf(" %dx%d%s", val->resolution.xres, val->resolution.yres, in print_attributes()
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp78 ….def("get_mode", (Videomode(Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace)… in init_pykmsbase()
/external/cpuinfo/test/dmesg/
Dgalaxy-s8-global.log1150 [ 1.145125] [6: swapper/0: 1] xres 1440 yres 2960
1151 [ 1.145131] [6: swapper/0: 1] default_win 5 win_idx 0 xres 1440 yres 2960
1152 [ 1.145137] [6: swapper/0: 1] default_win 5 win_idx 1 xres 1440 yres 2960
1153 [ 1.145142] [6: swapper/0: 1] default_win 5 win_idx 2 xres 1440 yres 2960
1154 [ 1.145148] [6: swapper/0: 1] default_win 5 win_idx 3 xres 1440 yres 2960
1155 [ 1.145153] [6: swapper/0: 1] default_win 5 win_idx 4 xres 1440 yres 2960
1162 [ 1.154568] [6: swapper/0: 1] default_win 5 win_idx 5 xres 1440 yres 2960
1179 [ 1.155785] [6: swapper/0: 1] default_win 3 win_idx 0 xres 0 yres 0
1180 [ 1.155791] [6: swapper/0: 1] default_win 3 win_idx 1 xres 0 yres 0
1181 [ 1.155795] [6: swapper/0: 1] default_win 3 win_idx 2 xres 0 yres 0
[all …]
/external/libcups/cgi-bin/
Dipp-var.c1189 attr->values[i].resolution.yres, in cgiSetIPPObjectVars()

12