/external/openssh/openbsd-compat/ |
D | fmt_scaled.c | 54 } 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/ |
D | pngget.c | 422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 443 if (unit_type != NULL) in png_get_pHYs_dpi() 445 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi() 448 if (*unit_type == 1) in png_get_pHYs_dpi() 841 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument 847 offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs() 851 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs() 949 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 970 if (unit_type != NULL) in png_get_pHYs() 972 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
|
D | pngtest.c | 1204 int unit_type; in test_one_file() local 1207 &unit_type) != 0) in test_one_file() 1209 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type); in test_one_file() 1231 int unit_type; in test_one_file() local 1234 &unit_type) != 0) in test_one_file() 1235 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
|
D | pngset.c | 249 png_int_32 offset_x, png_int_32 offset_y, int unit_type) in png_set_oFFs() argument 258 info_ptr->offset_unit_type = (png_byte)unit_type; in png_set_oFFs() 497 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument 506 info_ptr->phys_unit_type = (png_byte)unit_type; in png_set_pHYs()
|
D | pngwutil.c | 1697 int unit_type) in png_write_oFFs() argument 1703 if (unit_type >= PNG_OFFSET_LAST) in png_write_oFFs() 1708 buf[8] = (png_byte)unit_type; in png_write_oFFs() 1813 int unit_type) in png_write_pHYs() argument 1819 if (unit_type >= PNG_RESOLUTION_LAST) in png_write_pHYs() 1824 buf[8] = (png_byte)unit_type; in png_write_pHYs()
|
D | png.h | 2053 int *unit_type)); 2059 int unit_type)); 2078 int *unit_type)); 2083 png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)); 2429 int *unit_type));
|
D | pngrutil.c | 2064 int unit_type; in png_handle_pHYs() local 2099 unit_type = buf[8]; in png_handle_pHYs() 2100 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs() 2110 int unit_type; in png_handle_oFFs() local 2145 unit_type = buf[8]; in png_handle_oFFs() 2146 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); in png_handle_oFFs()
|
D | pngpriv.h | 1126 png_int_32 x_offset, png_int_32 y_offset, int unit_type),PNG_EMPTY); 1138 int unit_type),PNG_EMPTY);
|
D | libpng-manual.txt | 1513 &unit_type); 1521 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER 1524 &unit_type); 1532 unit_type - PNG_RESOLUTION_UNKNOWN, 3122 unit_type); 3130 unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER 3133 unit_type); 3141 unit_type - PNG_RESOLUTION_UNKNOWN,
|
/external/pdfium/third_party/lpng_v163/ |
D | pngget.c | 391 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()
|
D | pngset.c | 246 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()
|
D | pngwutil.c | 1773 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()
|
D | png.h | 2473 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));
|
D | pngrutil.c | 2003 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()
|
D | pngpriv.h | 1056 png_int_32 x_offset, png_int_32 y_offset, int unit_type),PNG_EMPTY); 1068 int unit_type),PNG_EMPTY);
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_png.cpp | 34 int unit_type; in _png_load_bmp_attribute() local 35 png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type); in _png_load_bmp_attribute() 36 switch (unit_type) { in _png_load_bmp_attribute()
|
/external/ImageMagick/coders/ |
D | png.c | 1938 unit_type; in ReadOnePNGImage() local 2691 unit_type=0; in ReadOnePNGImage() 2698 &unit_type); in ReadOnePNGImage() 2702 if (unit_type == PNG_RESOLUTION_METER) in ReadOnePNGImage() 2712 (double) x_resolution,(double) y_resolution,unit_type); in ReadOnePNGImage() 3891 (double) x_resolution,(double) y_resolution, unit_type); in ReadOnePNGImage()
|