Home
last modified time | relevance | path

Searched refs:purpose_len (Results 1 – 2 of 2) sorted by relevance

/external/libpng/
Dpngwutil.c1750 png_uint_32 purpose_len; in png_write_pCAL() local
1762 purpose_len = png_check_keyword(png_ptr, purpose, new_purpose); in png_write_pCAL()
1764 if (purpose_len == 0) in png_write_pCAL()
1767 ++purpose_len; /* terminator */ in png_write_pCAL()
1769 png_debug1(3, "pCAL purpose length = %d", (int)purpose_len); in png_write_pCAL()
1772 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1790 png_write_chunk_data(png_ptr, new_purpose, purpose_len); in png_write_pCAL()
/external/pdfium/third_party/libpng16/
Dpngwutil.c1720 png_uint_32 purpose_len; in png_write_pCAL() local
1732 purpose_len = png_check_keyword(png_ptr, purpose, new_purpose); in png_write_pCAL()
1734 if (purpose_len == 0) in png_write_pCAL()
1737 ++purpose_len; /* terminator */ in png_write_pCAL()
1739 png_debug1(3, "pCAL purpose length = %d", (int)purpose_len); in png_write_pCAL()
1742 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1760 png_write_chunk_data(png_ptr, new_purpose, purpose_len); in png_write_pCAL()