HomeSort by relevance Sort by last modified time
    Searched refs:cte (Results 1 - 25 of 45) sorted by null

1 2

  /external/python/cpython3/Lib/email/
contentmanager.py 142 def _encode_text(string, charset, cte, policy):
147 if cte==None:
162 cte = 'base64'
164 cte = 'quoted-printable'
166 return cte, sniff_qp
167 if cte == '7bit':
169 elif cte == '8bit':
171 elif cte == 'quoted-printable':
174 elif cte == 'base64':
177 raise ValueError("Unknown content transfer encoding {}".format(cte))
    [all...]
_encoded_words.py 10 # =?charset[*lang]?cte?encoded_string?=
14 # cte (Content Transfer Encoding) is either 'q' or 'b' (ignoring case). In
17 # to the CTE tables, but YAGNI for now. 'q' is Quoted Printable, 'b' is
22 # The general interface for a CTE decoder is that it takes the encoded_string
25 # specified cte. 'defects' is a list of MessageDefect instances indicating any
29 # The general interface for a CTE encoder is that it takes a binary sequence
37 # referenced by the cte specifier, and encode, which adds the appropriate
145 =?charset*lang?cte?encoded_string?=
153 the cte-decoded string does not successfully decode using the specified
161 _, charset, cte, cte_string, _ = ew.split('?'
    [all...]
message.py 261 # cte might be a Header, so for now stringify it.
262 cte = str(self.get('content-transfer-encoding', '')).lower()
283 if cte == 'quoted-printable':
285 elif cte == 'base64':
292 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
356 cte = charset.get_body_encoding()
358 cte(self)
370 self.add_header('Content-Transfer-Encoding', cte)
    [all...]
  /external/python/cpython3/Lib/test/test_email/
test_inversion.py 53 'base64_text': dict(payload=(('xy a'*40+'\n')*5), cte='base64'),
54 'qp_text': dict(payload=(('xy a'*40+'\n')*5), cte='quoted-printable'),
test_contentmanager.py 459 raw_data_manager.set_content(m,"באהיט?צ?.\n", cte='7bit')
469 raw_data_manager.set_content(m,"באהיט?צ?.\n", cte='7bit', charset='ascii')
527 # XXX: the first cte should be 7bit, too...that's a generator bug.
551 for cte in 'quoted-printable base64'.split():
553 with self.subTest(cte=cte, subtype=subtype):
555 m.set_content(content, subtype, cte=cte)
557 self.assertIn(cte, exc)
560 for cte in '8bit binary'.split()
    [all...]
test_defect_handling.py 135 for cte in ('7bit', '8bit', 'BINary'):
137 self.multipart_msg.format("\nContent-Transfer-Encoding: "+cte))
138 self.assertEqual(len(self.get_defects(msg)), 0, "cte="+cte)
test_headerregistry.py 758 cte,
766 self.assertEqual(h.cte, cte)
    [all...]
test_email.py 265 for cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
266 msg['content-transfer-encoding'] = cte
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /external/python/cpython2/Lib/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /prebuilts/gdb/darwin-x86/lib/python2.7/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /prebuilts/gdb/linux-x86/lib/python2.7/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
message.py 199 cte = self.get('content-transfer-encoding', '').lower()
200 if cte == 'quoted-printable':
202 elif cte == 'base64':
208 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'):
268 cte = charset.get_body_encoding()
270 cte(self)
273 self.add_header('Content-Transfer-Encoding', cte)
  /external/skia/src/effects/
SkTableColorFilter.cpp 376 const ColorTableEffect& cte = proc.cast<ColorTableEffect>(); local
377 if (cte.atlas()) {
378 SkScalar yDelta = cte.atlas()->getNormalizedTexelHeight();
379 rgbaYValues[3] = cte.atlas()->getYOffset(cte.atlasRow()) + SK_ScalarHalf * yDelta;
  /external/skqp/src/effects/
SkTableColorFilter.cpp 376 const ColorTableEffect& cte = proc.cast<ColorTableEffect>(); local
377 if (cte.atlas()) {
378 SkScalar yDelta = cte.atlas()->getNormalizedTexelHeight();
379 rgbaYValues[3] = cte.atlas()->getYOffset(cte.atlasRow()) + SK_ScalarHalf * yDelta;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /external/python/cpython2/Lib/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /prebuilts/gdb/darwin-x86/lib/python2.7/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /prebuilts/gdb/linux-x86/lib/python2.7/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
mimify.py 277 cte = re.compile('^content-transfer-encoding:', re.I) variable
300 if cte.match(line):
360 if has_cte and cte.match(line):
  /prebuilts/go/darwin-x86/src/mime/multipart/
multipart.go 137 const cte = "Content-Transfer-Encoding"
138 if bp.Header.Get(cte) == "quoted-printable" {
139 bp.Header.Del(cte)
  /prebuilts/go/linux-x86/src/mime/multipart/
multipart.go 137 const cte = "Content-Transfer-Encoding"
138 if bp.Header.Get(cte) == "quoted-printable" {
139 bp.Header.Del(cte)
  /external/curl/lib/
mime.c 1693 const char *cte = NULL; local
    [all...]

Completed in 732 milliseconds

1 2