Home
last modified time | relevance | path

Searched +full:is +full:- +full:plain +full:- +full:object (Results 1 – 25 of 1120) sorted by relevance

12345678910>>...45

/external/python/cpython2/Doc/library/
Demail.iterators.rst2 ---------------------------------
5 :synopsis: Iterate over a message object tree.
8 Iterating over a message object tree is fairly easy with the
11 message object trees.
17 string payloads line-by-line. It skips over all the subpart headers, and it
18 skips over any subpart with a payload that isn't a Python string. This is
23 Optional *decode* is passed through to :meth:`Message.get_payload
32 Note that *subtype* is optional; if omitted, then subpart MIME type matching is
33 done only with the main type. *maintype* is optional too; it defaults to
45 Prints an indented representation of the content types of the message object
[all …]
Demail.message.rst2 ---------------------------------------------------
8 The central class in the :mod:`email` package is the :class:`Message` class,
9 imported from the :mod:`email.message` module. It is the base class for the
10 :mod:`email` object model. :class:`Message` provides the core functionality for
13 Conceptually, a :class:`Message` object consists of *headers* and *payloads*.
15 value are separated by a colon. The colon is not part of either the field name
18 Headers are stored and returned in case-preserving form but are matched
19 case-insensitively. There may also be a single envelope header, also known as
20 the *Unix-From* header or the ``From_`` header. The payload is either a string
28 representation of the message object tree, for accessing commonly used header
[all …]
/external/python/cpython3/Doc/library/
Demail.iterators.rst2 ---------------------------------
5 :synopsis: Iterate over a message object tree.
9 --------------
11 Iterating over a message object tree is fairly easy with the
14 message object trees.
20 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
26 Optional *decode* is passed through to :meth:`Message.get_payload
35 Note that *subtype* is optional; if omitted, then subpart MIME type matching is
36 done only with the main type. *maintype* is optional too; it defaults to
[all …]
Demail.message.rst2 ---------------------------------------------------
12 --------------
16 The central class in the :mod:`email` package is the :class:`EmailMessage`
17 class, imported from the :mod:`email.message` module. It is the base class for
18 the :mod:`email` object model. :class:`EmailMessage` provides the core
22 An email message consists of *headers* and a *payload* (which is also referred
25 is not part of either the field name or the field value. The payload may be a
26 simple text message, or a binary object, or a structured sequence of
27 sub-messages each with their own set of headers and their own payload. The
28 latter type of payload is indicated by the message having a MIME type such as
[all …]
Demail.compat32-message.rst4 ---------------------------------------------------------------------------------------------------…
12 The :class:`Message` class is very similar to the
19 The philosophy and structure of the two classes is otherwise the same.
27 separated by a colon. The colon is not part of either the field name or the
28 field value. The payload may be a simple text message, or a binary object, or
29 a structured sequence of sub-messages each with their own set of headers and
30 their own payload. The latter type of payload is indicated by the message
34 The conceptual model provided by a :class:`Message` object is that of an
38 over the object tree. Note that duplicate headers are supported but special
41 The :class:`Message` pseudo-dictionary is indexed by the header names, which
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiFrameProtectorTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
78 List<Object> out = new ArrayList<>(); in parserHeader_frameLengthNegativeFails()
83 in.writeIntLE(-1); in parserHeader_frameLengthNegativeFails()
98 List<Object> out = new ArrayList<>(); in parserHeader_frameTooSmall()
105 in.writeIntLE(FRAME_MIN_SIZE - 1); in parserHeader_frameTooSmall()
120 List<Object> out = new ArrayList<>(); in parserHeader_frameTooLarge()
129 - AltsTsiFrameProtector.getHeaderLenFieldBytes() in parserHeader_frameTooLarge()
145 List<Object> out = new ArrayList<>(); in parserHeader_frameTypeInvalid()
167 List<Object> out = new ArrayList<>(); in parserHeader_frameZeroOk()
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/js/
Dwell_known_types_embed.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
51 " * @param {string} name The type name of this message object.\n"
61 " if (opt_typeUrlPrefix.substr(-1) != '/') {\n"
73 " * Unpacks this Any into the given message object.\n"
77 " * @param {string} name The expected type name of this message object.\n"
80 " * object, otherwise returns null.\n"
96 " * Returns a JavaScript 'Date' object corresponding to this Timestamp.\n"
[all …]
/external/python/apitools/apitools/base/py/
Dtransfer_test.py1 # -*- coding: utf-8 -*-
9 # http://www.apache.org/licenses/LICENSE-2.0
12 # distributed under the License is distributed on an "AS IS" BASIS,
42 self.assertIn('content-range', response.info)
43 response_header = response.info['content-range']
58 self.assertEqual(chunksize - 1,
72 total_size - 1,
84 download.chunksize + start - 1,
94 self.assertEqual(total_size - 1,
99 bytes_http = object()
[all …]
Dutil_test.py8 # http://www.apache.org/licenses/LICENSE-2.0
11 # distributed under the License is distributed on an "AS IS" BASIS,
25 class MockedMethodConfig(object):
97 class Class1(object):
100 class Class2(object):
103 class Class3(object):
147 ('*', 'text/plain'),
148 ('*/*', 'text/plain'),
149 ('text/*', 'text/plain'),
150 ('*/plain', 'text/plain'),
[all …]
Dbatch_test.py8 # http://www.apache.org/licenses/LICENSE-2.0
11 # distributed under the License is distributed on an "AS IS" BASIS,
23 from six.moves import range # pylint:disable=redefined-builtin
31 class FakeCredentials(object):
40 class FakeHttp(object):
42 class FakeRequest(object):
45 if credentials is not None:
52 class FakeService(object):
62 # pylint: disable=unused-argument
66 # pylint: enable=unused-argument
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java6 * Copyright (C) 2013-2016, International Business Machines Corporation and
38 Object[][] data = { in TestRelativeDateWithQuantity()
98 for (Object[] row : data) { in TestRelativeDateWithQuantity()
107 Object[][] data = { in TestRelativeDateWithQuantityCaps()
173 for (Object[] row : data) { in TestRelativeDateWithQuantityCaps()
182 Object[][] data = { in TestRelativeDateWithQuantityShort()
248 for (Object[] row : data) { in TestRelativeDateWithQuantityShort()
257 Object[][] data = { in TestRelativeDateWithQuantityNarrow()
323 for (Object[] row : data) { in TestRelativeDateWithQuantityNarrow()
334 Object[][] data = { in TestRelativeDateWithQuantitySr()
[all …]
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java5 * Copyright (C) 2013-2016, International Business Machines Corporation and
35 Object[][] data = { in TestRelativeDateWithQuantity()
95 for (Object[] row : data) { in TestRelativeDateWithQuantity()
104 Object[][] data = { in TestRelativeDateWithQuantityCaps()
170 for (Object[] row : data) { in TestRelativeDateWithQuantityCaps()
179 Object[][] data = { in TestRelativeDateWithQuantityShort()
245 for (Object[] row : data) { in TestRelativeDateWithQuantityShort()
254 Object[][] data = { in TestRelativeDateWithQuantityNarrow()
320 for (Object[] row : data) { in TestRelativeDateWithQuantityNarrow()
331 Object[][] data = { in TestRelativeDateWithQuantitySr()
[all …]
/external/kotlinx.serialization/formats/json/commonMain/src/kotlinx/serialization/json/
DJsonConfiguration.kt11 * Can be used for debug purposes and for custom Json-specific serializers
14 * Standalone configuration object is meaningless and can nor be used outside the
17 * Detailed description of each property is available in [JsonBuilder] class.
57 …* Defines which classes and objects should have their serial name included in the json as so-calle…
59 …* Class discriminator is a JSON field added by kotlinx.serialization that has [JsonBuilder.classDi…
60 …* and class' serial name as a value (fully-qualified name by default, can be changed with [SerialN…
62is important for serializing and deserializing [polymorphic class hierarchies](https://github.com/…
75 * This mode is generally intended to produce JSON for consumption by third-party libraries.
76 …* kotlinx.serialization is unable to deserialize [polymorphic classes][POLYMORPHIC] without class …
77 …* so it is impossible to deserialize JSON produced in this mode if a data model has polymorphic cl…
[all …]
/external/google-cloud-java/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/
DInterconnectAttachmentPartnerMetadata.java8 * https://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
50 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { in newInstance()
78 private volatile java.lang.Object interconnectName_ = "";
83 …* Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner…
88 * @return Whether the interconnectName field is set.
98 …* Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner…
107 java.lang.Object ref = interconnectName_; in getInterconnectName()
121 …* Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner…
130 java.lang.Object ref = interconnectName_; in getInterconnectNameBytes()
[all …]
/external/python/google-api-python-client/docs/dyn/
Ddrive_v2.replies.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Ddrive_v3.comments.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Ddrive_v3.replies.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java12 /* ------------------------------------------------------------------ */
13 /* BigDecimal -- Decimal arithmetic for Java */
14 /* ------------------------------------------------------------------ */
15 /* Copyright IBM Corporation, 1996-2016. All Rights Reserved. */
17 /* The BigDecimal class provides immutable arbitrary-precision */
20 /* As the numbers are decimal, there is an exact correspondence */
21 /* between an instance of a BigDecimal object and its String */
26 /* ------------------------------------------------------------------ */
29 /* 1. A BigDecimal object is never changed in value once constructed; */
37 /* 3. Exponent checking is delayed until finish(), as we know */
[all …]
/external/ot-br-posix/src/rest/
Dopenapi.yaml4 description: |-
5 …OpenThread Border Router REST API. The API is provided by the otbr-agent, if the cmake flag `OTBR_…
9 - [OpenThread Border Router repository](github.com/openthread/ot-br-posix/)
11 name: BSD 3-Clause
12 url: https://github.com/openthread/ot-br-posix/blob/main/LICENSE
15 - url: http://localhost:8081
17 - name: node
19 - name: diagnostics
25 - diagnostics
33 type: object
[all …]
/external/python/cpython2/Lib/test/
Dtest_mimetypes.py1 # -*- coding: utf-8 -*-
23 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
24 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
25 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
26 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2"))
27 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz"))
32 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None))
33 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None))
34 eq(guess_type("data:text/x-foo,thisIsTextXFoo"), ("text/x-foo", None))
38 sio = StringIO.StringIO("x-application/x-unittest pyunit\n")
[all …]
/external/jcommander/doc/
Dold-index.html1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
5 <!--
7 -->
32 <h2>Because life is too short to parse command line parameters</h2>
34 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
41 <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">
42 …cts.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier wa…
62 <div id="table-of-contents">
69 JCommander is a very small Java framework that makes it trivial to parse command line parameters.
80 @Parameter(names = { "-log", "-verbose" }, description = "Level of verbosity")
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/math/
DBigDecimal.java11 /* ------------------------------------------------------------------ */
12 /* BigDecimal -- Decimal arithmetic for Java */
13 /* ------------------------------------------------------------------ */
14 /* Copyright IBM Corporation, 1996-2016. All Rights Reserved. */
16 /* The BigDecimal class provides immutable arbitrary-precision */
19 /* As the numbers are decimal, there is an exact correspondence */
20 /* between an instance of a BigDecimal object and its String */
25 /* ------------------------------------------------------------------ */
28 /* 1. A BigDecimal object is never changed in value once constructed; */
36 /* 3. Exponent checking is delayed until finish(), as we know */
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/doc/qi/
Dactions.qbk2 Copyright (C) 2001-2011 Joel de Guzman
3 Copyright (C) 2001-2011 Hartmut Kaiser
27 The function/function object signature depends on the type of the parser to
28 which it is attached. The parser `double_` passes the parsed number. Thus, if we
42 * Using plain function pointer
43 * Using simple function object
44 * Using __boost_bind__ with a plain function
56 these. We'll see more of `unused_type` elsewhere. `unused_type` is a Spirit
65 The first example shows how to attach a plain function:
69 What's new? Well `int_` is the sibling of `double_`. I'm sure you can guess
[all …]
/external/sdv/vsomeip/third_party/boost/fusion/doc/
Dnotes.qbk2 Copyright (C) 2001-2011 Joel de Guzman
6 Use, modification and distribution is subject to the Boost Software
15 __forward_sequence__ like __list__ is that what could have been linear
24 and amortized constant compile time complexities. There is an overloaded
30 Tag dispatching is a generic programming technique for selecting template
34 # A type for which an appropriate template specialization is required
36 # A template that is specialized for the tag type
38 For example, the fusion `result_of::begin` metafunction is implemented
52 # `Sequence` is the type for which a suitable implementation of
53 `result_of::begin_impl` is required
[all …]
/external/kotlinx.serialization/core/commonTest/src/kotlinx/serialization/
DSerializersLookupNamedCompanionTest.kt2 …* Copyright 2017-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
20 class Plain(val i: Int) { class in kotlinx.serialization.SerializersLookupNamedCompanionTest
21 companion object Named
26 companion object Named
31 object PlainSerializer
35 companion object Named
48 companion object Named in deserialize()
53 companion object Named
59 companion object Named
65 assertSame<KSerializer<*>>(Plain.serializer(), serializer(typeOf<Plain>())) in test()
[all …]

12345678910>>...45