HomeSort by relevance Sort by last modified time
    Searched refs:chardet (Results 1 - 7 of 7) sorted by null

  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
test_encoding.py 39 stream = inputstream.HTMLBinaryInputStream(data, chardet=False)
60 import chardet # flake8: noqa namespace
62 print("charade/chardet not found, skipping chardet tests")
65 with open(os.path.join(test_dir, "encoding" , "chardet", "test_big5.txt"), "rb") as fp:
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
inputstream.py 132 def HTMLInputStream(source, encoding=None, parseMeta=True, chardet=True):
148 return HTMLBinaryInputStream(source, encoding, parseMeta, chardet)
398 def __init__(self, source, encoding=None, parseMeta=True, chardet=True):
426 # Number of bytes to use when using detecting encoding using chardet
433 self.charEncoding = self.detectEncoding(parseMeta, chardet)
462 def detectEncoding(self, parseMeta=True, chardet=True):
472 # Guess with chardet, if avaliable
473 if encoding is None and chardet:
479 from chardet.universaldetector import UniversalDetector
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
test_soup.py 197 chardet = bs4.dammit.chardet_dammit
202 # Disable chardet, which will realize that the ASCII is ASCII.
212 bs4.dammit.chardet_dammit = chardet
323 # If chardet is installed, it will detect that the document
328 # So we temporarily disable chardet if it's present.
332 chardet = bs4.dammit.chardet_dammit
346 bs4.dammit.chardet_dammit = chardet
  /external/autotest/site_utils/rpm_control_system/
BeautifulSoup.py 20 * chardet, for auto-detecting character encodings
21 http://chardet.feedparser.org/
1738 import chardet namespace
1742 chardet = None variable in class:SimplifyingSOAPParser
    [all...]
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
dammit.py 27 # Debian package: python-chardet
28 # PyPI package: chardet
29 import chardet namespace
31 return chardet.detect(s)['encoding']
32 #import chardet.constants
33 #chardet.constants._debug = 1
35 # No chardet available.
208 3. An encoding detected through textual analysis by chardet,
  /external/owasp/sanitizer/lib/htmlparser-1.3/
htmlparser-1.3-with-transitions.jar 
htmlparser-1.3.jar 

Completed in 209 milliseconds