Home
last modified time | relevance | path

Searched refs:unit_type (Results 1 – 14 of 14) 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/libpng/
Dpngget.c333 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument
351 if (unit_type != NULL) in png_get_pHYs_dpi()
353 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi()
355 if (*unit_type == 1) in png_get_pHYs_dpi()
618 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument
623 && offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs()
627 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs()
698 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument
719 if (unit_type != NULL) in png_get_pHYs()
721 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
Dpngtest.c1016 int unit_type; in test_one_file() local
1019 &unit_type)) in test_one_file()
1021 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type); in test_one_file()
1043 int unit_type; in test_one_file() local
1045 if (png_get_pHYs(read_ptr, read_info_ptr, &res_x, &res_y, &unit_type)) in test_one_file()
1046 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
Dpngset.c274 png_int_32 offset_x, png_int_32 offset_y, int unit_type) in png_set_oFFs() argument
283 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs()
430 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument
439 info_ptr->phys_unit_type = (png_byte)unit_type; in png_set_pHYs()
Dpngwutil.c1542 int unit_type) in png_write_oFFs() argument
1551 if (unit_type >= PNG_OFFSET_LAST) in png_write_oFFs()
1556 buf[8] = (png_byte)unit_type; in png_write_oFFs()
1704 int unit_type) in png_write_pHYs() argument
1713 if (unit_type >= PNG_RESOLUTION_LAST) in png_write_pHYs()
1718 buf[8] = (png_byte)unit_type; in png_write_pHYs()
Dpng.h2483 int *unit_type));
2489 int unit_type));
2506 png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type));
2511 png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type));
3425 png_int_32 x_offset, png_int_32 y_offset, int unit_type)) PNG_PRIVATE;
3437 int unit_type)) PNG_PRIVATE;
3837 png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type));
Dpngrutil.c1591 int unit_type; in png_handle_pHYs() local
1623 unit_type = buf[8]; in png_handle_pHYs()
1624 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
1634 int unit_type; in png_handle_oFFs() local
1666 unit_type = buf[8]; in png_handle_oFFs()
1667 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); in png_handle_oFFs()
Dlibpng-1.2.44.txt719 &unit_type);
724 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
727 &unit_type);
732 unit_type - PNG_RESOLUTION_UNKNOWN,
1989 unit_type);
1994 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
1997 unit_type);
2002 unit_type - PNG_RESOLUTION_UNKNOWN,
Dlibpng-1.2.46.txt719 &unit_type);
724 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
727 &unit_type);
732 unit_type - PNG_RESOLUTION_UNKNOWN,
1989 unit_type);
1994 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER
1997 unit_type);
2002 unit_type - PNG_RESOLUTION_UNKNOWN,
/external/qemu/distrib/libpng-1.2.19/
Dpngget.c305 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument
322 if (unit_type != NULL) in png_get_pHYs_dpi()
324 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi()
326 if(*unit_type == 1) in png_get_pHYs_dpi()
587 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument
590 && offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs()
595 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs()
665 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument
683 if (unit_type != NULL) in png_get_pHYs()
685 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
Dpngset.c370 png_int_32 offset_x, png_int_32 offset_y, int unit_type) in png_set_oFFs() argument
378 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs()
515 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument
523 info_ptr->phys_unit_type = (png_byte)unit_type; in png_set_pHYs()
Dpng.h2258 int *unit_type));
2264 int unit_type));
2281 png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type));
2286 png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type));
3120 png_int_32 x_offset, png_int_32 y_offset, int unit_type));
3132 int unit_type));
3511 png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type));
Dpngwutil.c1517 int unit_type) in png_write_oFFs() argument
1525 if (unit_type >= PNG_OFFSET_LAST) in png_write_oFFs()
1530 buf[8] = (png_byte)unit_type; in png_write_oFFs()
1674 int unit_type) in png_write_pHYs() argument
1682 if (unit_type >= PNG_RESOLUTION_LAST) in png_write_pHYs()
1687 buf[8] = (png_byte)unit_type; in png_write_pHYs()
Dpngrutil.c1489 int unit_type; in png_handle_pHYs() local
1521 unit_type = buf[8]; in png_handle_pHYs()
1522 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
1532 int unit_type; in png_handle_oFFs() local
1564 unit_type = buf[8]; in png_handle_oFFs()
1565 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); in png_handle_oFFs()