Home
last modified time | relevance | path

Searched refs:subpart (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/email/
Diterators.py28 for subpart in self.get_payload():
29 yield from subpart.walk()
39 for subpart in msg.walk():
40 payload = subpart.get_payload(decode=decode)
52 for subpart in msg.walk():
53 if subpart.get_content_maintype() == maintype:
54 if subtype is None or subpart.get_content_subtype() == subtype:
55 yield subpart
70 for subpart in msg.get_payload():
71 _structure(subpart, fp, level+1, include_default)
Dmessage.py988 for subpart in part.iter_parts():
989 yield from self._find_body(subpart, preferencelist)
996 for subpart in part.iter_parts():
997 if subpart['content-id'] == start:
998 candidate = subpart
/third_party/python/Doc/library/
Demail.iterators.rst20 string payloads line-by-line. It skips over all the subpart headers, and it
21 skips over any subpart with a payload that isn't a Python string. This is
35 Note that *subtype* is optional; if omitted, then subpart MIME type matching is
39 Thus, by default :func:`typed_subpart_iterator` returns each subpart that has a
Demail.message.rst442 for each subpart in the payload, otherwise, it will be a list of length 1.
446 represented subpart. If the subpart has no :mailheader:`Content-Type`
480 iterator in a ``for`` loop; each iteration returns the next subpart.
549 part (or subpart of the root part) of any related encountered as a
741 This class represents a subpart of a MIME message. It is identical to
Demail.generator.rst244 Act like :class:`Generator`, except that for any subpart of the message
245 passed to :meth:`Generator.flatten`, if the subpart is of main type
246 :mimetype:`text`, print the decoded payload of the subpart, and if the main
Demail.compat32-message.rst633 for each subpart in the payload, otherwise, it will be a list of length 1.
637 represented subpart. However, if the subpart has no
657 iterator in a ``for`` loop; each iteration returns the next subpart.
/third_party/curl/lib/
Dmime.c1883 curl_mimepart *subpart; in Curl_mime_prepare_headers() local
1888 for(subpart = mime->firstpart; subpart; subpart = subpart->nextpart) { in Curl_mime_prepare_headers()
1889 ret = Curl_mime_prepare_headers(data, subpart, NULL, in Curl_mime_prepare_headers()
1908 curl_mimepart *subpart; in Curl_mime_unpause() local
1910 for(subpart = mime->firstpart; subpart; subpart = subpart->nextpart) in Curl_mime_unpause()
1911 Curl_mime_unpause(subpart); in Curl_mime_unpause()
/third_party/curl/tests/libtest/
Dlib643.c235 curl_mimepart *subpart = curl_mime_addpart(submime); in cyclic_add() local
238 a1 = curl_mime_subparts(subpart, mime); in cyclic_add()
/third_party/python/Lib/test/test_email/
Dtest_email.py165 subpart = msg.get_payload(1)
166 eq(subpart.get_filename(), 'dingusfish.gif')
2027 for subpart in msg1.get_payload():
2028 eq(subpart.get_content_type(), 'message/external-body')
2029 eq(len(subpart.get_payload()), 1)
2030 subsubpart = subpart.get_payload(0)
2455 subpart = payload[0]
2456 self.assertIs(subpart, m)
2457 eq(subpart['subject'], subject)
2507 subpart = msg.get_payload(0)
[all …]
/third_party/ffmpeg/doc/
Dfilters.texi3376 Trim the input so that the output contains one continuous subpart of the input.
22628 Trim the input so that the output contains one continuous subpart of the input.