Home
last modified time | relevance | path

Searched refs:subparts (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Lib/email/
Dgenerator.py190 subparts = msg.get_payload()
191 if subparts is None:
192 subparts = []
193 elif isinstance(subparts, basestring):
195 self._fp.write(subparts)
197 elif not isinstance(subparts, list):
199 subparts = [subparts]
200 for part in subparts:
/external/python/cpython3/Lib/email/
Dgenerator.py263 subparts = msg.get_payload()
264 if subparts is None:
265 subparts = []
266 elif isinstance(subparts, str):
268 self.write(subparts)
270 elif not isinstance(subparts, list):
272 subparts = [subparts]
273 for part in subparts:
Dmessage.py1001 subparts = part.get_payload()
1002 candidate = subparts[0] if subparts else None
/external/curl/src/
Dtool_formparse.c54 m->prev = parent->subparts; in tool_mime_new()
55 parent->subparts = m; in tool_mime_new()
167 if(mime->subparts) in tool_mime_free()
168 tool_mime_free(mime->subparts); in tool_mime_free()
337 ret = tool2curlparts(curl, m->subparts, *mime); in tool2curlmime()
800 struct tool_mime *subparts = NULL; in formparse() local
815 if(!subparts) { in formparse()
817 subparts = *mimecurrent; in formparse()
819 NULL_CHECK(subparts, tool_mime_new_parts(*mimecurrent), 8); in formparse()
824 tool_mime_new_filedata(subparts, data, TRUE, &res), 9); in formparse()
[all …]
Dtool_formparse.h51 struct tool_mime *subparts; /* Part's subparts. */ member
Dtool_setopt.c583 if(toolmime->subparts) { in libcurl_generate_mime()
586 toolmime->subparts, *mimeno); in libcurl_generate_mime()
/external/python/cpython2/Doc/library/
Demail.iterators.rst16 This iterates over all the payloads in all the subparts of *msg*, returning the
29 This iterates over all the subparts of *msg*, returning only those subparts that
Demail.encoders.rst22 must be applied to individual subparts instead, and will raise a
Demail.generator.rst66 Note that for subparts, no envelope header is ever printed.
98 This class, derived from :class:`Generator` walks through all the subparts of a
Demail.parser.rst21 the subparts can be accessed via the :meth:`~email.message.Message.get_payload`
139 message (which may contain MIME-encoded subparts).
207 :class:`~email.message.Message` subparts.
Demail.errors.rst92 :mimetype:`multipart`, but no subparts were found. Note that when a message
Demail.mime.rst79 *_subparts* is a sequence of initial subparts for the payload. It must be
80 possible to convert this sequence to a list. You can always attach new subparts
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttParserUtil.java69 String[] subparts = Util.split(parts[0], ":"); in parseTimestampUs() local
70 for (String subpart : subparts) { in parseTimestampUs()
/external/python/cpython3/Doc/library/
Demail.iterators.rst19 This iterates over all the payloads in all the subparts of *msg*, returning the
32 This iterates over all the subparts of *msg*, returning only those subparts that
Demail.parser.rst25 method, and the subparts can be accessed via the payload manipulation methods,
166 message (which may contain MIME-encoded subparts, including subparts
304 :meth:`~email.message.EmailMessage.iter_parts` will yield a list of subparts.
Demail.encoders.rst36 must be applied to individual subparts instead, and will raise a
Demail.generator.rst41 ``multipart/signed`` and all subparts.
108 Note that for subparts, no envelope header is ever printed.
201 Note that for subparts, no envelope header is ever printed.
Demail.message.rst341 type of :mimetype:`text/plain`, except for messages that are subparts of
342 :mimetype:`multipart/digest` containers. Such subparts have a default
478 iterate over all the parts and subparts of a message object tree, in
503 ``walk`` iterates over the subparts of any part where
532 subparts. ``is_multipart()`` returns ``True`` and ``walk`` descends
533 into the subparts.
Demail.compat32-message.rst460 type of :mimetype:`text/plain`, except for messages that are subparts of
461 :mimetype:`multipart/digest` containers. Such subparts have a default
655 iterate over all the parts and subparts of a message object tree, in
685 ``walk`` iterates over the subparts of any part where
713 subparts. ``is_multipart()`` returns ``True`` and ``walk`` descends
714 into the subparts.
Demail.errors.rst100 :mimetype:`multipart`, but no subparts were found. Note that when a message
Demail.mime.rst93 *_subparts* is a sequence of initial subparts for the payload. It must be
94 possible to convert this sequence to a list. You can always attach new subparts
/external/curl/lib/
Dmime.c1567 curl_mime *subparts, int take_ownership) in Curl_mime_set_subparts() argument
1575 if(part->kind == MIMEKIND_MULTIPART && part->arg == subparts) in Curl_mime_set_subparts()
1580 if(subparts) { in Curl_mime_set_subparts()
1582 if(part->easy && subparts->easy && part->easy != subparts->easy) in Curl_mime_set_subparts()
1586 if(subparts->parent) in Curl_mime_set_subparts()
1594 if(subparts == root) { in Curl_mime_set_subparts()
1601 subparts->parent = part; in Curl_mime_set_subparts()
1605 part->arg = subparts; in Curl_mime_set_subparts()
1613 CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts) in curl_mime_subparts() argument
1615 return Curl_mime_set_subparts(part, subparts, TRUE); in curl_mime_subparts()
[all …]
Dmime.h143 struct curl_mime *subparts,
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2412 subparts = 0
2414 subparts += 1
2416 eq(subparts, 2)
2429 subparts = 0
2431 subparts += 1
2433 eq(subparts, 1)
Dtest_email.py2551 subparts = 0
2553 subparts += 1
2555 eq(subparts, 2)
2568 subparts = 0
2570 subparts += 1
2572 eq(subparts, 1)

12