Home
last modified time | relevance | path

Searched refs:file_encoding (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dcodecs.py773 file_encoding = 'unknown' variable in StreamRecoder
919 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): argument
944 if file_encoding is None:
945 file_encoding = data_encoding
947 file_info = lookup(file_encoding)
952 sr.file_encoding = file_encoding
/third_party/skia/third_party/externals/libpng/
Dpngread.c1295 int file_encoding; /* E_ values above */ member
1673 display->file_encoding = P_FILE; in set_file_encoding()
1678 display->file_encoding = P_sRGB; in set_file_encoding()
1682 display->file_encoding = P_LINEAR8; in set_file_encoding()
1689 encoding = display->file_encoding; in decode_gamma()
1694 encoding = display->file_encoding; in decode_gamma()
1780 if (display->file_encoding == P_NOTSET) in png_create_colormap_entry()
1786 encoding = display->file_encoding; in png_create_colormap_entry()
/third_party/python/Doc/library/
Dcodecs.rst208 .. function:: EncodedFile(file, data_encoding, file_encoding=None, errors='strict')
216 *file_encoding*. Bytes read from the original file are decoded
217 according to *file_encoding*, and the result is encoded
220 If *file_encoding* is not given, it defaults to *data_encoding*.