Lines Matching defs:BOM
474 # check whether there is exactly one BOM in it
494 "", # first byte of BOM read
495 "", # second byte of BOM read
496 "", # third byte of BOM read
497 "", # fourth byte of BOM read => byteorder known
658 # check whether there is exactly one BOM in it
678 "", # first byte of BOM read
679 "", # second byte of BOM read => byteorder known
831 BOM = b''
877 self.BOM + b'[\x80]')
886 self.BOM + b"abc\xed\xa0\x80def")
888 self.BOM + b"\xf0\x90\xbf\xbf\xed\xa0\x80")
890 self.BOM + b'[\xed\xa0\x80\xed\xb2\x80]')
1081 BOM = codecs.BOM_UTF8
1089 "", # First BOM has been read and skipped
1092 "\ufeff", # Second BOM has been read and emitted
1728 "BOM", "BOM_BE", "BOM_LE",
2654 # Check if the BOM is written only once
2663 # Check that the BOM is written after a seek(0)
2672 # (StreamWriter) Check that the BOM is written after a seek(0)
2681 # Check that the BOM is not written after a seek() at a position
2690 # (StreamWriter) Check that the BOM is not written after a seek()