/external/python/cpython2/Lib/email/ |
D | generator.py | 190 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/ |
D | generator.py | 259 subparts = msg.get_payload() 260 if subparts is None: 261 subparts = [] 262 elif isinstance(subparts, str): 264 self.write(subparts) 266 elif not isinstance(subparts, list): 268 subparts = [subparts] 269 for part in subparts:
|
D | message.py | 1001 subparts = part.get_payload() 1002 candidate = subparts[0] if subparts else None
|
/external/curl/src/ |
D | tool_formparse.c | 53 m->prev = parent->subparts; in tool_mime_new() 54 parent->subparts = m; in tool_mime_new() 165 if(mime->subparts) in tool_mime_free() 166 tool_mime_free(mime->subparts); in tool_mime_free() 334 ret = tool2curlparts(curl, m->subparts, *mime); in tool2curlmime() 799 tool_mime *subparts = NULL; in formparse() local 814 if(!subparts) { in formparse() 816 subparts = *mimecurrent; in formparse() 818 NULL_CHECK(subparts, tool_mime_new_parts(*mimecurrent), 8); in formparse() 823 tool_mime_new_filedata(subparts, data, TRUE, &res), 9); in formparse() [all …]
|
D | tool_formparse.h | 52 tool_mime *subparts; /* Part's subparts. */ member
|
D | tool_setopt.c | 568 if(toolmime->subparts) { in libcurl_generate_mime() 571 toolmime->subparts, *mimeno); in libcurl_generate_mime()
|
/external/python/cpython2/Doc/library/ |
D | email.iterators.rst | 16 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
|
D | email.generator.rst | 66 Note that for subparts, no envelope header is ever printed. 98 This class, derived from :class:`Generator` walks through all the subparts of a
|
D | email.parser.rst | 21 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.
|
D | email.encoders.rst | 22 must be applied to individual subparts instead, and will raise a
|
D | email.mime.rst | 79 *_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
|
D | email.errors.rst | 92 :mimetype:`multipart`, but no subparts were found. Note that when a message
|
D | email.message.rst | 354 type of :mimetype:`text/plain`, except for messages that are subparts of 355 :mimetype:`multipart/digest` containers. Such subparts have a default 537 iterate over all the parts and subparts of a message object tree, in
|
/external/curl/lib/ |
D | mime.c | 1468 curl_mime *subparts, int take_ownership) in Curl_mime_set_subparts() argument 1476 if(part->kind == MIMEKIND_MULTIPART && part->arg == subparts) in Curl_mime_set_subparts() 1481 if(subparts) { in Curl_mime_set_subparts() 1483 if(part->easy && subparts->easy && part->easy != subparts->easy) in Curl_mime_set_subparts() 1487 if(subparts->parent) in Curl_mime_set_subparts() 1495 if(subparts == root) { in Curl_mime_set_subparts() 1502 subparts->parent = part; in Curl_mime_set_subparts() 1506 part->arg = subparts; in Curl_mime_set_subparts() 1514 CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts) in curl_mime_subparts() argument 1516 return Curl_mime_set_subparts(part, subparts, TRUE); in curl_mime_subparts() [all …]
|
D | mime.h | 134 curl_mime *subparts, int take_ownership);
|
/external/python/cpython3/Doc/library/ |
D | email.iterators.rst | 19 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
|
D | email.parser.rst | 25 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.
|
D | email.encoders.rst | 31 must be applied to individual subparts instead, and will raise a
|
D | email.message.rst | 341 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 504 ``walk`` iterates over the subparts of any part where 532 subparts. ``is_multipart()`` returns ``True`` and ``walk`` descends 533 into the subparts.
|
D | email.compat32-message.rst | 459 type of :mimetype:`text/plain`, except for messages that are subparts of 460 :mimetype:`multipart/digest` containers. Such subparts have a default 654 iterate over all the parts and subparts of a message object tree, in 684 ``walk`` iterates over the subparts of any part where 712 subparts. ``is_multipart()`` returns ``True`` and ``walk`` descends 713 into the subparts.
|
D | email.errors.rst | 100 :mimetype:`multipart`, but no subparts were found. Note that when a message
|
D | email.mime.rst | 93 *_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
|
D | email.generator.rst | 104 Note that for subparts, no envelope header is ever printed. 197 Note that for subparts, no envelope header is ever printed.
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2412 subparts = 0 2414 subparts += 1 2416 eq(subparts, 2) 2429 subparts = 0 2431 subparts += 1 2433 eq(subparts, 1)
|
D | test_email.py | 2551 subparts = 0 2553 subparts += 1 2555 eq(subparts, 2) 2568 subparts = 0 2570 subparts += 1 2572 eq(subparts, 1)
|