Home
last modified time | relevance | path

Searched refs:set_content (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_contentmanager.py85 cm.set_content(m, msg_obj, foo='bar')
102 cm.set_content(m, msg_obj)
111 cm.set_content(m, msg_obj)
118 cm.set_content(m, 'test')
128 m.set_content('xyz', content_manager=cm)
296 raw_data_manager.set_content(m, content)
309 raw_data_manager.set_content(m, content, subtype='html')
322 raw_data_manager.set_content(m, content, charset='latin-1')
335 raw_data_manager.set_content(m, content)
350 raw_data_manager.set_content(m, content)
[all …]
Dtest_message.py498 def set_content(self, msg, *args, **kw): member in TestEmailMessageBase._TestContentManager
524 m.set_content(content_manager=cm)
528 m.set_content('foo', content_manager=cm, bar=1, k=2)
537 m.set_content()
541 m.set_content('foo', bar=1, k=2)
661 def set_content(self, msg, content, *args, **kw): member in TestEmailMessageBase._TestSetContentManager
695 def set_content(self, msg, content, *args, **kw): member in TestEmailMessageBase._TestSetRaisingContentManager
738 m.set_content('arbitrary text as main part')
753 m.set_content(content_manager=cm)
757 def set_content(self, msg, *args, **kw): member in TestEmailMessage._MIME_Version_adding_CM
[all …]
Dtest_inversion.py62 msg.set_content(payload, **kw)
Dtest_generator.py278 msg.set_content("oh là là, know what I mean, know what I mean?")
/external/python/cpython3/Doc/library/
Demail.contentmanager.rst21 well as the ``get_content`` and ``set_content`` dispatch methods.
43 .. method:: set_content(msg, obj, *args, **kw)
83 matching *typekey* is passed to :meth:`set_content`. For the possible
84 values of *typekey*, see :meth:`set_content`.
104 manually decode it, ``set_content`` provides a rich set of options for
119 .. method:: set_content(msg, <'str'>, subtype="plain", charset='utf-8' \
123 set_content(msg, <'bytes'>, maintype, subtype, cte="base64", \
126 set_content(msg, <'EmailMessage'>, cte=None, \
168 The ``EmailMessage`` object as modified by ``set_content`` is
Demail.encoders.rst13 the :meth:`~email.message.EmailMessage.set_content` method.
Demail.message.rst607 .. method:: set_content(*args, content_manager=None, **kw)
609 Call the :meth:`~email.contentmanager.ContentManager.set_content` method
649 object, pass all of the arguments to its :meth:`set_content` method,
662 object, pass all of the arguments to its :meth:`set_content` method, and
674 pass all of the arguments to its :meth:`set_content` method, and
743 added when :meth:`~EmailMessage.set_content` is called, since sub-parts do
Demail.compat32-message.rst183 replaced by :meth:`~email.message.EmailMessage.set_content` and the
238 replaced by :meth:`~email.message.EmailMessage.set_content`.
268 :meth:`email.emailmessage.EmailMessage.set_content` method.
Demail.policy.rst430 An object with at least two methods: get_content and set_content. When
432 :meth:`~email.message.EmailMessage.set_content` method of an
Demail.parser.rst14 using :meth:`~email.message.EmailMessage.set_content` and related methods, or
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h265 void set_content(const ::std::string& value);
266 void set_content(const char* value);
267 void set_content(const char* value, size_t size);
680 inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) { in set_content() function
685 inline void CodeGeneratorResponse_File::set_content(const char* value) { in set_content() function
690 inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) { in set_content() function
Dplugin.pb.cc1468 void CodeGeneratorResponse_File::set_content(const ::std::string& value) { in set_content() function in google::protobuf::compiler::CodeGeneratorResponse_File
1473 void CodeGeneratorResponse_File::set_content(const char* value) { in set_content() function in google::protobuf::compiler::CodeGeneratorResponse_File
1478 void CodeGeneratorResponse_File::set_content(const char* value, size_t size) { in set_content() function in google::protobuf::compiler::CodeGeneratorResponse_File
/external/python/cpython3/Doc/includes/
Demail-simple.py11 msg.set_content(fp.read())
Demail-alternative.py15 msg.set_content("""\
/external/python/cpython3/Lib/email/
Dmessage.py1089 def set_content(self, *args, content_manager=None, **kw): member in MIMEPart
1092 content_manager.set_content(self, *args, **kw)
1135 part.set_content(*args, **kw)
1161 def set_content(self, *args, **kw): member in EmailMessage
1162 super().set_content(*args, **kw)
Dcontentmanager.py30 def set_content(self, msg, obj, *args, **kw): member in ContentManager
/external/tensorflow/tensorflow/core/kernels/
Dsummary_tensor_op_test.cc73 plugin_data->set_content("content_for_plugin_foo"); in TEST_F()
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer_test.cc172 metadata.mutable_plugin_data()->set_content("plugin_data"); in TEST_F()
177 metadata_nope.mutable_plugin_data()->set_content("nope"); in TEST_F()
/external/webrtc/talk/app/webrtc/
Dwebrtcsession.cc1025 auto set_content = [this, action, source, err](cricket::BaseChannel* ch) { in PushdownMediaDescription() local
1037 return (set_content(voice_channel()) && in PushdownMediaDescription()
1038 set_content(video_channel()) && in PushdownMediaDescription()
1039 set_content(data_channel())); in PushdownMediaDescription()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc98 plugin_data->set_content(json_output); in PrepareChunkEventProto()
/external/python/cpython3/Lib/logging/
Dhandlers.py1013 msg.set_content(self.format(record))
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc206 book.set_content(content); in TEST_P()
/external/python/cpython3/Lib/test/
Dtest_smtplib.py1238 msg.set_content("oh là là, know what I mean, know what I mean?\n\n")