Home
last modified time | relevance | path

Searched refs:subparts (Results 1 – 25 of 34) 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.py259 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:
Dmessage.py1001 subparts = part.get_payload()
1002 candidate = subparts[0] if subparts else None
/external/u-boot/tools/
Difwitool.c339 } subparts[MAX_SUBPARTS] = { variable
814 i + 1, subparts[e[i].type].name, in bpdt_print_entries()
815 subparts[e[i].type].readable_name, e[i].type, e[i].flags, in bpdt_print_entries()
926 if ((strlen(subparts[i].name) == strlen(name)) && in find_type_by_name()
927 (!strcmp(subparts[i].name, name))) in find_type_by_name()
962 type, subparts[type].name); in read_subpart_buf()
968 subparts[type].name); in read_subpart_buf()
996 alloc_buffer(buf, e[i].size, subparts[type].name); in read_subpart_buf()
1259 if (subparts[i].attr & MANDATORY_BPDT_ENTRY) { in bpdt_reset()
1266 if (subparts[i].attr & NON_CRITICAL_SUBPART) in bpdt_reset()
[all …]
/external/curl/src/
Dtool_formparse.c53 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()
797 tool_mime *subparts = NULL; in formparse() local
812 if(!subparts) { in formparse()
814 subparts = *mimecurrent; in formparse()
816 NULL_CHECK(subparts, tool_mime_new_parts(*mimecurrent), 8); in formparse()
821 tool_mime_new_filedata(subparts, data, TRUE, &res), 9); in formparse()
[all …]
Dtool_formparse.h52 tool_mime *subparts; /* Part's subparts. */ member
Dtool_setopt.c569 if(toolmime->subparts) { in libcurl_generate_mime()
572 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.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.encoders.rst22 must be applied to individual subparts instead, and will raise 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.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
Demail.errors.rst92 :mimetype:`multipart`, but no subparts were found. Note that when a message
/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.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.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.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.c1470 curl_mime *subparts, int take_ownership) in Curl_mime_set_subparts() argument
1478 if(part->kind == MIMEKIND_MULTIPART && part->arg == subparts) in Curl_mime_set_subparts()
1483 if(subparts) { in Curl_mime_set_subparts()
1485 if(part->easy && subparts->easy && part->easy != subparts->easy) in Curl_mime_set_subparts()
1489 if(subparts->parent) in Curl_mime_set_subparts()
1497 if(subparts == root) { in Curl_mime_set_subparts()
1504 subparts->parent = part; in Curl_mime_set_subparts()
1508 part->arg = subparts; in Curl_mime_set_subparts()
1516 CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts) in curl_mime_subparts() argument
1518 return Curl_mime_set_subparts(part, subparts, TRUE); in curl_mime_subparts()
[all …]
Dmime.h140 curl_mime *subparts, int take_ownership);
/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)

12