/external/python/cpython3/Lib/email/ |
D | contentmanager.py | 142 def _encode_text(string, charset, cte, policy): argument 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 …]
|
D | _encoded_words.py | 173 _, charset, cte, cte_string, _ = ew.split('?') 175 cte = cte.lower() 178 bstring, defects = _cte_decoders[cte](bstring)
|
D | message.py | 260 cte = str(self.get('content-transfer-encoding', '')).lower() 281 if cte == 'quoted-printable': 283 elif cte == 'base64': 290 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'): 354 cte = charset.get_body_encoding() 356 cte(self) 368 self.add_header('Content-Transfer-Encoding', cte)
|
D | headerregistry.py | 515 self._cte = utils._sanitize(self._parse_tree.cte) 518 def cte(self): member in ContentTransferEncodingHeader
|
D | _header_value_parser.py | 219 cte = None variable in EncodedWord 837 cte = '7bit' variable in ContentTransferEncoding 1061 ew.cte = value 1067 "encoded word format invalid: '{}'".format(ew.cte)) 2725 cte_header.cte = token.value.strip().lower()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | PKWareExtraHeader.java | 219 final Map<Integer, EncryptionAlgorithm> cte = new HashMap<>(); 221 cte.put(method.getCode(), method); in method.getCode() 223 codeToEnum = Collections.unmodifiableMap(cte); 274 final Map<Integer, HashAlgorithm> cte = new HashMap<>(); 276 cte.put(method.getCode(), method); in method.getCode() 278 codeToEnum = Collections.unmodifiableMap(cte);
|
D | ZipMethod.java | 183 final Map<Integer, ZipMethod> cte = new HashMap<>(); 185 cte.put(method.getCode(), method); in method.getCode() 187 codeToEnum = Collections.unmodifiableMap(cte);
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_contentmanager.py | 487 raw_data_manager.set_content(m,"áàäéèęöő.\n", cte='7bit') 497 raw_data_manager.set_content(m,"áàäéèęöő.\n", cte='7bit', charset='ascii') 579 for cte in 'quoted-printable base64'.split(): 581 with self.subTest(cte=cte, subtype=subtype): 583 m.set_content(content, subtype, cte=cte) 585 self.assertIn(cte, exc) 588 for cte in '8bit binary'.split(): 589 with self.subTest(cte=cte, subtype=subtype): 591 m.set_content(content, subtype, cte=cte) 593 self.assertIn(cte, exc) [all …]
|
D | 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'),
|
D | 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)
|
D | test_headerregistry.py | 780 cte, 788 self.assertEqual(h.cte, cte)
|
D | test_email.py | 262 for cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'): 263 msg['content-transfer-encoding'] = cte 2199 for cte in ('7bit', '8bit', 'BINary'): 2202 "\nContent-Transfer-Encoding: {}".format(cte))) 3817 cte='8bit', 3826 cte='8bit', 3844 cte='quoted-printable', 3859 cte='quoted-printable', 3872 cte='base64', 3884 cte='uuencode',
|
D | test__header_value_parser.py | 2579 cte = self._test_parse_x(
|
/external/python/cpython3/Doc/library/ |
D | email.contentmanager.rst | 120 cte=None, \ 123 set_content(msg, <'bytes'>, maintype, subtype, cte="base64", \ 126 set_content(msg, <'EmailMessage'>, cte=None, \ 150 If *cte* is set, encode the payload using the specified content transfer 152 that value. Possible values for *cte* are ``quoted-printable``, 154 encoded in the specified encoding (for example, specifying a *cte* of 158 * For ``str`` objects, if *cte* is not set use heuristics to 161 an error if a *cte* of ``quoted-printable`` or ``base64`` is 162 requested for *subtype* ``rfc822``, and for any *cte* other than 164 ``message/rfc822``, use ``8bit`` if *cte* is not specified. For [all …]
|
D | email.encoders.rst | 12 new API the functionality is provided by the *cte* parameter of
|
D | email.headerregistry.rst | 301 .. attribute:: cte
|
/external/python/cpython2/Lib/email/ |
D | message.py | 197 cte = self.get('content-transfer-encoding', '').lower() 198 if cte == 'quoted-printable': 200 elif cte == 'base64': 206 elif cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'): 266 cte = charset.get_body_encoding() 268 cte(self) 271 self.add_header('Content-Transfer-Encoding', cte)
|
/external/skia/src/effects/ |
D | SkTableColorFilter.cpp | 236 auto cte = ColorTableEffect::Make(std::move(inputFP), context, fBitmap); in asFragmentProcessor() local 237 return cte ? GrFPSuccess(std::move(cte)) : GrFPFailure(nullptr); in asFragmentProcessor()
|
/external/python/cpython2/Lib/ |
D | 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | DifferenceElementCalculator.java | 139 ChildTextElement cte = (ChildTextElement) el; in considerRemoval() local 140 … considerRemoval(LexicalPreservingPrinter.getOrCreateNodeText(cte.getChild()), elements); in considerRemoval()
|
/external/curl/lib/ |
D | mime.c | 1806 const char *cte = NULL; in Curl_mime_prepare_headers() local 1903 cte = part->encoder->name; in Curl_mime_prepare_headers() 1906 cte = "8bit"; in Curl_mime_prepare_headers() 1907 if(cte) { in Curl_mime_prepare_headers() 1909 "Content-Transfer-Encoding: %s", cte); in Curl_mime_prepare_headers()
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 209 for cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'): 210 msg['content-transfer-encoding'] = cte
|
D | test_email.py | 237 for cte in ('x-uuencode', 'uuencode', 'uue', 'x-uue'): 238 msg['content-transfer-encoding'] = cte
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | iso-639-3_Name_Index.tab | 1477 cte Tepinapa Chinantec Chinantec, Tepinapa
|
D | iso-639-3.tab | 1421 cte I L Tepinapa Chinantec
|