Home
last modified time | relevance | path

Searched refs:decode_data (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers_unittest.cc144 TextFormatDecodeData decode_data; in TEST() local
147 decode_data.AddString(1, "abcdefghIJ", "zbcdefghIJ"); in TEST()
148 decode_data.AddString(3, "abcdefghIJ", "abcdezghIJ"); in TEST()
150 decode_data.AddString(2, "abcdefghIJ", "abcdefghI"); in TEST()
152 decode_data.AddString(4, "abcdefghIJ", "abcdefghIJz"); in TEST()
154 EXPECT_EQ(4, decode_data.num_entries()); in TEST()
165 EXPECT_EQ(expected, decode_data.Data()); in TEST()
169 TextFormatDecodeData decode_data; in TEST() local
171 decode_data.AddString(1, "abcdefghIJ", "abcdefghIJ"); in TEST()
172 decode_data.AddString(3, "abcdefghIJ", "_AbcdefghIJ"); in TEST()
[all …]
/external/python/cpython3/Doc/library/
Dsmtpd.rst38 map=None, enable_SMTPUTF8=False, decode_data=False)
58 ``kwargs['mail_options']`` list. *decode_data* and *enable_SMTPUTF8*
61 *decode_data* specifies whether the data portion of the SMTP transaction
62 should be decoded using UTF-8. When *decode_data* is ``False`` (the
66 in the ``kwargs['mail_options']`` list. *decode_data* and *enable_SMTPUTF8*
79 If the *decode_data* constructor keyword is set to ``True``, the *data*
84 if ``decode_data=True`` was given as an init argument, otherwise
116 The *decode_data* and *enable_SMTPUTF8* constructor parameters, and the
117 *kwargs* parameter to :meth:`process_message` when *decode_data* is
121 *decode_data* is now ``False`` by default.
[all …]
/external/python/cpython3/Lib/test/
Dtest_smtpd.py43 decode_data=True)
45 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
64 decode_data=True)
92 decode_data=True)
94 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
238 server = DummyServer((socket_helper.HOST, 0), ('b', 0), decode_data=True)
240 channel = smtpd.SMTPChannel(server, conn, addr, decode_data=True)
291 decode_data=True)
294 decode_data=True)
308 (socket_helper.HOST, 0), ('b', 0), decode_data=True)
[all …]
Dtest_smtplib.py235 decode_data=True)
940 decode_data=self._decode_data)
964 self.serv = SimSMTPServer((HOST, 0), ('nowhere', -1), decode_data=True)
1252 decode_data=self._decode_data,
1278 decode_data=False,
1407 (HOST, 0), ('nowhere', -1), decode_data=True)
Dtest_logging.py825 decode_data=True)
/external/python/cpython3/Lib/
Dsmtpd.py134 map=None, enable_SMTPUTF8=False, decode_data=False): argument
141 self._decode_data = decode_data
142 if enable_SMTPUTF8 and decode_data:
145 if decode_data:
634 enable_SMTPUTF8=False, decode_data=False): argument
639 self._decode_data = decode_data
640 if enable_SMTPUTF8 and decode_data:
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b1.rst477 smtpd now supports the 8BITMIME extension whenever the new *decode_data*
D3.5.1rc1.rst428 smtpd's SMTPChannel now correctly raises a ValueError if both decode_data
D3.6.0a1.rst906 The default value of the decode_data parameter for smtpd.SMTPChannel and
2715 smtpd's SMTPChannel now correctly raises a ValueError if both decode_data
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1667 accept a *decode_data* keyword argument to determine if the ``DATA`` portion of
1672 reasons, but will change to ``False`` in Python 3.6. If *decode_data* is set
1678 (:rfc:`6152`) if *decode_data* has been set ``True``. If the client
2300 new *decode_data* keyword to :class:`~smtpd.SMTPServer`. The default value is
2301 ``True``, but this default is deprecated. Specify the *decode_data* keyword
D3.6.rst2218 * The *decode_data* argument for the :class:`smtpd.SMTPChannel` and