Home
last modified time | relevance | path

Searched full:messages (Results 1 – 25 of 10677) sorted by relevance

12345678910>>...428

/external/openthread/tests/unit/
Dtest_message_queue.cpp48 // This function verifies the content of the message queue to match the passed in messages
108 Message *messages[kNumTestMessages]; in TestMessageQueue() local
116 for (Message *&msg : messages) in TestMessageQueue()
125 messageQueue.Enqueue(*messages[0]); in TestMessageQueue()
126 VerifyMessageQueueContent(messageQueue, 1, messages[0]); in TestMessageQueue()
127 messageQueue.Dequeue(*messages[0]); in TestMessageQueue()
131 messageQueue.Enqueue(*messages[0], MessageQueue::kQueuePositionHead); in TestMessageQueue()
132 VerifyMessageQueueContent(messageQueue, 1, messages[0]); in TestMessageQueue()
133 messageQueue.Dequeue(*messages[0]); in TestMessageQueue()
136 // Enqueue 5 messages in TestMessageQueue()
[all …]
/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py18 """Tests for apitools.base.protorpclite.messages."""
29 from apitools.base.protorpclite import messages
51 MODULE = messages
59 str(messages.ValidationError('Validation error')))
63 validation_error = messages.ValidationError('Validation error')
77 class Color(messages.Enum):
153 self.assertRaises(messages.EnumDefinitionError,
174 WeekDay = messages.Enum.def_enum({'Monday': 1,
188 self.assertRaises(messages.EnumDefinitionError,
189 messages.Enum.def_enum,
[all …]
Ddescriptor.py42 class Pixel(messages.Message):
44 x = messages.IntegerField(1, required=True)
45 y = messages.IntegerField(2, required=True)
47 color = messages.BytesField(3)
101 from apitools.base.protorpclite import messages
133 messages.IntegerField: six.text_type,
134 messages.FloatField: six.text_type,
135 messages.BooleanField: lambda value: value and u'true' or u'false',
136 messages.BytesField: lambda value: codecs.escape_encode(value)[0],
137 messages.StringField: lambda value: value,
[all …]
Dtest_util.py42 from apitools.base.protorpclite import messages
264 class NestedMessage(messages.Message):
267 a_value = messages.StringField(1, required=True)
270 class HasNestedMessage(messages.Message):
273 nested = messages.MessageField(NestedMessage, 1)
274 repeated_nested = messages.MessageField(NestedMessage, 2, repeated=True)
277 class HasDefault(messages.Message):
280 a_value = messages.StringField(1, default=u'a default')
283 class OptionalMessage(messages.Message):
286 class SimpleEnum(messages.Enum):
[all …]
/external/python/apitools/apitools/base/py/
Dlist_pager_test.py25 import fusiontables_v1_messages as messages unknown
73 messages.FusiontablesColumnListRequest(
78 messages.ColumnList(
80 messages.Column(name='c0'),
81 messages.Column(name='c1'),
82 messages.Column(name='c2'),
83 messages.Column(name='c3'),
88 messages.FusiontablesColumnListRequest(
93 messages.ColumnList(
95 messages.Column(name='c4'),
[all …]
Dencoding_test.py23 from apitools.base.protorpclite import messages
30 class SimpleMessage(messages.Message):
31 field = messages.StringField(1)
32 repfield = messages.StringField(2, repeated=True)
35 class BytesMessage(messages.Message):
36 field = messages.BytesField(1)
37 repfield = messages.BytesField(2, repeated=True)
40 class TimeMessage(messages.Message):
45 class AdditionalPropertiesMessage(messages.Message):
47 class AdditionalProperty(messages.Message):
[all …]
/external/golang-protobuf/internal/impl/
Dlegacy_file_test.go67 want: fileDescP2_20160225.Messages().ByName("Message").Enums().ByName("ChildEnum"),
70 want: fileDescP2_20160225.Messages().ByName("SiblingMessage"),
73 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ChildMessage"),
76 want: fileDescP2_20160225.Messages().ByName("Message"),
79 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("NamedGroup"),
82 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("OptionalGroup"),
85 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("RequiredGroup"),
88 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("RepeatedGroup"),
91 want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("OneofGroup"),
94 …want: fileDescP2_20160225.Messages().ByName("Message").Messages().ByName("ExtensionOptionalGroup"),
[all …]
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/
DBenchmarkServiceGrpc.java18 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
19 io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod;
23 requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class,
24 responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class,
26 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
27 io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod() { in getUnaryCallMethod()
28 ….grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.M… in getUnaryCallMethod()
33 …grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.M… in getUnaryCallMethod()
38 io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance())) in getUnaryCallMethod()
40 io.grpc.benchmarks.proto.Messages.SimpleResponse.getDefaultInstance())) in getUnaryCallMethod()
[all …]
/external/skia/tests/
DMessageBusTest.cpp42 // Send two messages. in DECLARE_SKMESSAGEBUS_MESSAGE()
49 TArray<TestMessage> messages; in DECLARE_SKMESSAGEBUS_MESSAGE() local
50 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
51 REPORTER_ASSERT(r, 2 == messages.size()); in DECLARE_SKMESSAGEBUS_MESSAGE()
52 REPORTER_ASSERT(r, 5 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
53 REPORTER_ASSERT(r, 6 == messages[1].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
58 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
59 REPORTER_ASSERT(r, 1 == messages.size()); in DECLARE_SKMESSAGEBUS_MESSAGE()
60 REPORTER_ASSERT(r, 1 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
63 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
[all …]
/external/private-join-and-compute/private_join_and_compute/crypto/dodis_yampolskiy_prf/
Dbb_oblivious_signature_test.cc135 // Generates random messages appropriate for a signature request.
137 std::vector<BigNum> messages; in GenerateRandomMessages() local
138 messages.reserve(num_messages); in GenerateRandomMessages()
140 messages.push_back(ec_group_->GeneratePrivateKey()); in GenerateRandomMessages()
142 return messages; in GenerateRandomMessages()
161 StatusOr<Transcript> GenerateTranscript(const std::vector<BigNum>& messages) { in GenerateTranscript() argument
166 pedersen_->Commit(messages)); in GenerateTranscript()
171 transcript.rs.reserve(messages.size()); in GenerateTranscript()
172 for (size_t i = 0; i < messages.size(); ++i) { in GenerateTranscript()
187 messages, transcript.rs, public_key_proto_, in GenerateTranscript()
[all …]
/external/grpc-grpc-java/android-interop-testing/src/generated/release/grpc/io/grpc/testing/integration/
DTestServiceGrpc.java52 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleReques…
53 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod;
57 requestType = io.grpc.testing.integration.Messages.SimpleRequest.class,
58 responseType = io.grpc.testing.integration.Messages.SimpleResponse.class,
60 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest,
61 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod() { in getUnaryCallMethod()
62 ….MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
67 …MethodDescriptor.<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
72 io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance())) in getUnaryCallMethod()
74 io.grpc.testing.integration.Messages.SimpleResponse.getDefaultInstance())) in getUnaryCallMethod()
[all …]
DLoadBalancerStatsServiceGrpc.java21 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancer…
22 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod;
26 requestType = io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.class,
27 responseType = io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.class,
29 …public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsReque…
30 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod() { in getGetClientStatsMethod()
31 …odDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
36 …dDescriptor.<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
41 … io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.getDefaultInstance())) in getGetClientStatsMethod()
43 … io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.getDefaultInstance())) in getGetClientStatsMethod()
[all …]
/external/grpc-grpc-java/android-interop-testing/src/generated/debug/grpc/io/grpc/testing/integration/
DTestServiceGrpc.java52 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleReques…
53 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod;
57 requestType = io.grpc.testing.integration.Messages.SimpleRequest.class,
58 responseType = io.grpc.testing.integration.Messages.SimpleResponse.class,
60 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest,
61 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod() { in getUnaryCallMethod()
62 ….MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
67 …MethodDescriptor.<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
72 io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance())) in getUnaryCallMethod()
74 io.grpc.testing.integration.Messages.SimpleResponse.getDefaultInstance())) in getUnaryCallMethod()
[all …]
DLoadBalancerStatsServiceGrpc.java21 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancer…
22 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod;
26 requestType = io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.class,
27 responseType = io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.class,
29 …public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsReque…
30 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod() { in getGetClientStatsMethod()
31 …odDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
36 …dDescriptor.<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
41 … io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.getDefaultInstance())) in getGetClientStatsMethod()
43 … io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.getDefaultInstance())) in getGetClientStatsMethod()
[all …]
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/
DTestServiceGrpc.java53 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleReques…
54 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod;
58 requestType = io.grpc.testing.integration.Messages.SimpleRequest.class,
59 responseType = io.grpc.testing.integration.Messages.SimpleResponse.class,
61 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest,
62 io.grpc.testing.integration.Messages.SimpleResponse> getUnaryCallMethod() { in getUnaryCallMethod()
63 ….MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
68 …MethodDescriptor.<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration. in getUnaryCallMethod()
73 io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance())) in getUnaryCallMethod()
75 io.grpc.testing.integration.Messages.SimpleResponse.getDefaultInstance())) in getUnaryCallMethod()
[all …]
DLoadBalancerStatsServiceGrpc.java21 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancer…
22 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod;
26 requestType = io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.class,
27 responseType = io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.class,
29 …public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsReque…
30 io.grpc.testing.integration.Messages.LoadBalancerStatsResponse> getGetClientStatsMethod() { in getGetClientStatsMethod()
31 …odDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
36 …dDescriptor.<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest, io.grpc.testing.integr… in getGetClientStatsMethod()
41 … io.grpc.testing.integration.Messages.LoadBalancerStatsRequest.getDefaultInstance())) in getGetClientStatsMethod()
43 … io.grpc.testing.integration.Messages.LoadBalancerStatsResponse.getDefaultInstance())) in getGetClientStatsMethod()
[all …]
/external/deqp/scripts/verify/
Dverify.py55 messages = []
63messages.append(error(filename, "Wrong number of test results, expected %d, found %d" % (len(mustp…
71 messages.append(error(filename, "Multiple results for " + result.name))
85 messages.append(error(filename, result.name + ": " + result.statusCode))
87 messages.append(error(filename, "Missing result for " + caseName))
90 messages.append(error(filename, "Results are not in the expected order"))
92 return messages
98 messages = []
111 messages.append(error(statementPath, "Multiple CONFORM_VERSIONs"))
120 messages.append(error(statementPath, "Multiple PRODUCTs"))
[all …]
/external/protobuf/objectivec/Tests/
DGPBConcurrencyTests.m81 - (void)readForeignMessage:(NSArray *)messages {
83 for (TestAllTypes *message in messages) {
90 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]];
93 object:messages];
96 for (TestAllTypes *message in messages) {
101 - (void)readRepeatedInt32:(NSArray *)messages {
103 for (TestAllTypes *message in messages) {
110 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]];
113 object:messages];
116 for (TestAllTypes *message in messages) {
[all …]
/external/cronet/third_party/protobuf/objectivec/Tests/
DGPBConcurrencyTests.m81 - (void)readForeignMessage:(NSArray *)messages {
83 for (TestAllTypes *message in messages) {
90 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]];
93 object:messages];
96 for (TestAllTypes *message in messages) {
101 - (void)readRepeatedInt32:(NSArray *)messages {
103 for (TestAllTypes *message in messages) {
110 NSArray *messages = [self createMessagesWithType:[TestAllTypes class]];
113 object:messages];
116 for (TestAllTypes *message in messages) {
[all …]
/external/python/apitools/apitools/gen/
Dextended_descriptor.py38 from apitools.base.protorpclite import messages
42 class ExtendedEnumValueDescriptor(messages.Message):
51 name = messages.StringField(1)
52 number = messages.IntegerField(2, variant=messages.Variant.INT32)
54 description = messages.StringField(100)
57 class ExtendedEnumDescriptor(messages.Message):
69 class JsonEnumMapping(messages.Message):
72 python_name = messages.StringField(1)
73 json_name = messages.StringField(2)
75 name = messages.StringField(1)
[all …]
/external/googleapis/google/cloud/pubsublite/v1/
Dpublisher.proto32 // The service that a publisher client application uses to publish messages to
33 // topics. Published messages are retained by the service for the duration of
41 // Establishes a stream with the server for publishing messages. Once the
42 // stream is initialized, the client publishes messages by sending publish
53 // The topic to which messages will be written.
56 // The partition within the topic to which messages will be written.
74 // Request to publish messages to the topic.
76 // The messages to publish.
77 repeated PubSubMessage messages = 1; field
79 // The sequence number corresponding to the first message in `messages`.
[all …]
/external/googleapis/google/pubsub/v1beta2/
DREADME.md4 written publishers and subscribers where the publisher publishes messages to
5 *topics* and each subscriber creates a *subscription* and consumes *messages*
9 2. A publisher publishes messages into a topic.
10 3. The Pub/Sub system delivers messages from topics into attached
12 4. A subscriber receives pending messages from its subscription and
14 5. The Pub/Sub system removes acknowledged messages from that subscription.
19 * **Topic**: A topic is a resource to which messages are published by
24 topic. The Pub/Sub system maintains those messages which still need
26 The set of messages that have not been acknowledged is called the
37 A publisher publishes messages to the topic using the `Publish` call:
[all …]
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DRepeatedFieldBuilderV3.java43 * repeated field of other protocol messages. It supports the classical use case of adding immutable
50 * Logically, one can think of a tree of builders as converting the entire tree to messages when
53 * RepeatedFieldBuilderV3} classes cache messages that were created so that messages only need to be
70 // List of messages. Never null. It may be immutable, in which case
72 private List<MType> messages; field in RepeatedFieldBuilderV3
74 // Whether messages is an mutable array that can be modified.
81 // Here are the invariants for messages and builders:
82 // 1. messages is never null and its count corresponds to the number of items
84 // 2. If builders is non-null, messages and builders MUST always
87 // either a Message in messages or a builder in builders.
[all …]
DRepeatedFieldBuilder.java43 * repeated field of other protocol messages. It supports the classical use case of adding immutable
50 * Logically, one can think of a tree of builders as converting the entire tree to messages when
53 * RepeatedFieldBuilder} classes cache messages that were created so that messages only need to be
70 // List of messages. Never null. It may be immutable, in which case
72 private List<MType> messages; field in RepeatedFieldBuilder
74 // Whether messages is an mutable array that can be modified.
81 // Here are the invariants for messages and builders:
82 // 1. messages is never null and its count corresponds to the number of items
84 // 2. If builders is non-null, messages and builders MUST always
87 // either a Message in messages or a builder in builders.
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRepeatedFieldBuilderV3.java44 * repeated field of other protocol messages. It supports the classical use case of adding immutable
51 * Logically, one can think of a tree of builders as converting the entire tree to messages when
54 * RepeatedFieldBuilderV3} classes cache messages that were created so that messages only need to be
71 // List of messages. Never null. It may be immutable, in which case
73 private List<MType> messages; field in RepeatedFieldBuilderV3
75 // Whether messages is an mutable array that can be modified.
82 // Here are the invariants for messages and builders:
83 // 1. messages is never null and its count corresponds to the number of items
85 // 2. If builders is non-null, messages and builders MUST always
88 // either a Message in messages or a builder in builders.
[all …]

12345678910>>...428