Home
last modified time | relevance | path

Searched refs:unit_type (Results 1 – 15 of 15) sorted by relevance

/external/openssh/openbsd-compat/
Dfmt_scaled.c54 } unit_type; typedef
57 static unit_type units[] = { NONE, KILO, MEGA, GIGA, TERA, PETA, EXA };
197 unit_type unit = NONE; in fmt_scaled()
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngget.c391 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument
411 if (unit_type != NULL) in png_get_pHYs_dpi()
413 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi()
416 if (*unit_type == 1) in png_get_pHYs_dpi()
801 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument
806 && offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs()
810 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs()
907 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument
928 if (unit_type != NULL) in png_get_pHYs()
930 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
Dfx_pngset.c246 png_int_32 offset_x, png_int_32 offset_y, int unit_type) in png_set_oFFs() argument
255 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs()
486 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument
495 info_ptr->phys_unit_type = (png_byte)unit_type; in png_set_pHYs()
Dfx_pngwutil.c1773 int unit_type) in png_write_oFFs() argument
1779 if (unit_type >= PNG_OFFSET_LAST) in png_write_oFFs()
1784 buf[8] = (png_byte)unit_type; in png_write_oFFs()
1889 int unit_type) in png_write_pHYs() argument
1895 if (unit_type >= PNG_RESOLUTION_LAST) in png_write_pHYs()
1900 buf[8] = (png_byte)unit_type; in png_write_pHYs()
Dpng.h2473 int *unit_type));
2479 int unit_type));
2498 int *unit_type));
2503 png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type));
2845 int *unit_type));
Dfx_pngrutil.c2003 int unit_type; in png_handle_pHYs() local
2038 unit_type = buf[8]; in png_handle_pHYs()
2039 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
2049 int unit_type; in png_handle_oFFs() local
2084 unit_type = buf[8]; in png_handle_oFFs()
2085 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); in png_handle_oFFs()
Dpngpriv.h1062 png_int_32 x_offset, png_int_32 y_offset, int unit_type),PNG_EMPTY);
1074 int unit_type),PNG_EMPTY);
/external/libpng/
Dpngget.c392 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument
412 if (unit_type != NULL) in png_get_pHYs_dpi()
414 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi()
417 if (*unit_type == 1) in png_get_pHYs_dpi()
802 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument
807 && offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs()
811 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs()
908 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument
929 if (unit_type != NULL) in png_get_pHYs()
931 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
Dpngtest.c1176 int unit_type; in test_one_file() local
1179 &unit_type)) in test_one_file()
1181 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type); in test_one_file()
1203 int unit_type; in test_one_file() local
1205 if (png_get_pHYs(read_ptr, read_info_ptr, &res_x, &res_y, &unit_type)) in test_one_file()
1206 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
Dpngset.c247 png_int_32 offset_x, png_int_32 offset_y, int unit_type) in png_set_oFFs() argument
256 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs()
487 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument
496 info_ptr->phys_unit_type = (png_byte)unit_type; in png_set_pHYs()
Dpng.h2183 int *unit_type));
2189 int unit_type));
2208 int *unit_type));
2213 png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type));
2559 int *unit_type));
Dpngwutil.c1774 int unit_type) in png_write_oFFs() argument
1780 if (unit_type >= PNG_OFFSET_LAST) in png_write_oFFs()
1785 buf[8] = (png_byte)unit_type; in png_write_oFFs()
1890 int unit_type) in png_write_pHYs() argument
1896 if (unit_type >= PNG_RESOLUTION_LAST) in png_write_pHYs()
1901 buf[8] = (png_byte)unit_type; in png_write_pHYs()
Dpngrutil.c2041 int unit_type; in png_handle_pHYs() local
2076 unit_type = buf[8]; in png_handle_pHYs()
2077 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
2087 int unit_type; in png_handle_oFFs() local
2122 unit_type = buf[8]; in png_handle_oFFs()
2123 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); in png_handle_oFFs()
Dpngpriv.h1109 png_int_32 x_offset, png_int_32 y_offset, int unit_type),PNG_EMPTY);
1121 int unit_type),PNG_EMPTY);
Dlibpng-manual.txt1509 &unit_type);
1517 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
1520 &unit_type);
1528 unit_type - PNG_RESOLUTION_UNKNOWN,
3115 unit_type);
3123 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
3126 unit_type);
3134 unit_type - PNG_RESOLUTION_UNKNOWN,