Home
last modified time | relevance | path

Searched refs:messages (Results 1 – 25 of 2131) sorted by relevance

12345678910>>...86

/external/python/apitools/apitools/base/protorpclite/
Dmessages_test.py29 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,
195 self.assertRaises(messages.EnumDefinitionError,
[all …]
Ddescriptor.py101 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,
138 messages.EnumField: lambda value: six.text_type(value.number),
142 messages.IntegerField: int,
143 messages.FloatField: float,
144 messages.BooleanField: lambda value: value == u'true',
[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 …]
Dprotojson_test.py23 from apitools.base.protorpclite import messages
28 class CustomField(messages.MessageField):
41 class MyMessage(messages.Message):
44 class Color(messages.Enum):
50 class Nested(messages.Message):
52 nested_value = messages.StringField(1)
54 class NestedDatetime(messages.Message):
58 a_string = messages.StringField(2)
59 an_integer = messages.IntegerField(3)
60 a_float = messages.FloatField(4)
[all …]
Dprotojson.py34 from apitools.base.protorpclite import messages
110 if isinstance(value, messages.Enum):
116 if isinstance(value, messages.Message):
165 if isinstance(field, messages.BytesField):
230 return messages.Variant.BOOL
232 return messages.Variant.INT64
234 return messages.Variant.DOUBLE
236 return messages.Variant.STRING
240 messages.Variant.INT64,
241 messages.Variant.DOUBLE,
[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 …]
Dextra_types.py26 from apitools.base.protorpclite import messages
60 class _FieldMeta(messages._FieldMeta):
68 class DateField(six.with_metaclass(_FieldMeta, messages.Field)):
72 VARIANTS = frozenset([messages.Variant.STRING])
73 DEFAULT_VARIANT = messages.Variant.STRING
98 if not isinstance(field, messages.MessageField):
154 class JsonValue(messages.Message):
158 is_null = messages.BooleanField(1, default=False)
162 boolean_value = messages.BooleanField(2)
163 string_value = messages.StringField(3)
[all …]
/external/skia/tests/
DMessageBusTest.cpp41 SkTArray<TestMessage> messages; in DECLARE_SKMESSAGEBUS_MESSAGE() local
42 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
43 REPORTER_ASSERT(r, 2 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE()
44 REPORTER_ASSERT(r, 5 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
45 REPORTER_ASSERT(r, 6 == messages[1].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
50 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
51 REPORTER_ASSERT(r, 1 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE()
52 REPORTER_ASSERT(r, 1 == messages[0].x); in DECLARE_SKMESSAGEBUS_MESSAGE()
55 inbox1.poll(&messages); in DECLARE_SKMESSAGEBUS_MESSAGE()
56 REPORTER_ASSERT(r, 0 == messages.count()); in DECLARE_SKMESSAGEBUS_MESSAGE()
[all …]
/external/skqp/tests/
DMessageBusTest.cpp38 SkTArray<TestMessage> messages; in DEF_TEST() local
39 inbox1.poll(&messages); in DEF_TEST()
40 REPORTER_ASSERT(r, 2 == messages.count()); in DEF_TEST()
41 REPORTER_ASSERT(r, 5 == messages[0].x); in DEF_TEST()
42 REPORTER_ASSERT(r, 6 == messages[1].x); in DEF_TEST()
47 inbox1.poll(&messages); in DEF_TEST()
48 REPORTER_ASSERT(r, 1 == messages.count()); in DEF_TEST()
49 REPORTER_ASSERT(r, 1 == messages[0].x); in DEF_TEST()
52 inbox1.poll(&messages); in DEF_TEST()
53 REPORTER_ASSERT(r, 0 == messages.count()); in DEF_TEST()
[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/llvm-project/flang/lib/Semantics/
Dcheck-call.cpp28 evaluate::ActualArgument &arg, parser::ContextualMessages &messages) { in CheckImplicitInterfaceArg() argument
30 messages.Say(*kw, in CheckImplicitInterfaceArg()
36 messages.Say( in CheckImplicitInterfaceArg()
39 messages.Say( in CheckImplicitInterfaceArg()
43 messages.Say( in CheckImplicitInterfaceArg()
52 messages.Say( in CheckImplicitInterfaceArg()
57 messages.Say( in CheckImplicitInterfaceArg()
62 messages.Say( in CheckImplicitInterfaceArg()
66 messages.Say( in CheckImplicitInterfaceArg()
78 evaluate::FoldingContext &context, parser::ContextualMessages &messages) { in PadShortCharacterActual() argument
[all …]
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslog0775 if [ -e /var/log/messages ]; then
76 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages`
77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages`
78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages`
79 err_old=`grep -c "syslogtst: error log" /var/log/messages`
80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages`
81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages`
82 info_old=`grep -c "syslogtst: info log" /var/log/messages`
83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages`
102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/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/protobuf/java/core/src/main/java/com/google/protobuf/
DRepeatedFieldBuilder.java72 private List<MType> messages; field in RepeatedFieldBuilder
127 List<MType> messages, in RepeatedFieldBuilder() argument
131 this.messages = messages; in RepeatedFieldBuilder()
148 messages = new ArrayList<MType>(messages); in ensureMutableMessageList()
159 this.builders = new ArrayList<SingleFieldBuilder<MType, BType, IType>>(messages.size()); in ensureBuilders()
160 for (int i = 0; i < messages.size(); i++) { in ensureBuilders()
172 return messages.size(); in getCount()
181 return messages.isEmpty(); in isEmpty()
211 return messages.get(index); in getMessage()
219 return messages.get(index); in getMessage()
[all …]
DRepeatedFieldBuilderV3.java72 private List<MType> messages; field in RepeatedFieldBuilderV3
127 List<MType> messages, in RepeatedFieldBuilderV3() argument
131 this.messages = messages; in RepeatedFieldBuilderV3()
148 messages = new ArrayList<MType>(messages); in ensureMutableMessageList()
159 this.builders = new ArrayList<SingleFieldBuilderV3<MType, BType, IType>>(messages.size()); in ensureBuilders()
160 for (int i = 0; i < messages.size(); i++) { in ensureBuilders()
172 return messages.size(); in getCount()
181 return messages.isEmpty(); in isEmpty()
211 return messages.get(index); in getMessage()
219 return messages.get(index); in getMessage()
[all …]
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentCreatorValidator.java120 private final ComponentCreatorMessages messages; field in ComponentCreatorValidator.ElementValidator
130 this.messages = ErrorMessages.creatorMessagesFor(annotation); in ElementValidator()
136 report.addError(messages.mustBeInComponent()); in validate()
166 report.addError(messages.mustBeClassOrInterface()); in validateIsClassOrInterface()
185 report.addError(messages.invalidConstructor()); in validateConstructor()
192 report.addError(messages.generics()); in validateTypeRequirements()
197 report.addError(messages.isPrivate()); in validateTypeRequirements()
200 report.addError(messages.mustBeStatic()); in validateTypeRequirements()
204 report.addError(messages.mustBeAbstract()); in validateTypeRequirements()
218 messages.twoFactoryMethods(), in validateBuilder()
[all …]
/external/rust/crates/syn/src/
Derror.rs83 messages: Vec<ErrorMessage>, field
135 messages: vec![ErrorMessage { in new()
162 messages: vec![ErrorMessage { in new_spanned()
176 let start = match self.messages[0].start_span.get() { in span()
180 let end = match self.messages[0].end_span.get() { in span()
194 self.messages in to_compile_error()
239 self.messages.extend(another.messages) in combine()
288 messages: vec![ErrorMessage { in new2()
298 if self.messages.len() == 1 { in fmt()
301 .field(&self.messages[0]) in fmt()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dsequence_equal.cpp8 const rxsc::test::messages<int> on;
34 auto required = std::vector<rxsc::test::messages<bool>::recorded_type>();
35 auto actual = res.get_observer().messages();
54 const rxsc::test::messages<int> on;
80 auto required = std::vector<rxsc::test::messages<bool>::recorded_type>();
81 auto actual = res.get_observer().messages();
100 const rxsc::test::messages<int> on;
121 auto required = std::vector<rxsc::test::messages<bool>::recorded_type>();
122 auto actual = res.get_observer().messages();
141 const rxsc::test::messages<int> on;
[all …]
Dreduce.cpp8 const rxsc::test::messages<int> on;
44 auto actual = res.get_observer().messages();
63 const rxsc::test::messages<int> on;
99 auto actual = res.get_observer().messages();
118 const rxsc::test::messages<int> on;
119 const rxsc::test::messages<double> d_on;
142 auto actual = res.get_observer().messages();
161 const rxsc::test::messages<int> on;
162 const rxsc::test::messages<int> d_on;
185 auto actual = res.get_observer().messages();
[all …]
Dcontains.cpp8 const rxsc::test::messages<int> on;
9 const rxsc::test::messages<bool> on_contains;
32 auto actual = res.get_observer().messages();
52 const rxsc::test::messages<int> on;
53 const rxsc::test::messages<bool> on_contains;
76 auto actual = res.get_observer().messages();
96 const rxsc::test::messages<int> on;
97 const rxsc::test::messages<bool> on_contains;
118 auto actual = res.get_observer().messages();
137 const rxsc::test::messages<int> on;
[all …]
Dexists.cpp10 const rxsc::test::messages<int> on;
11 const rxsc::test::messages<bool> on_exists;
34 auto actual = res.get_observer().messages();
54 const rxsc::test::messages<int> on;
55 const rxsc::test::messages<bool> on_exists;
79 auto actual = res.get_observer().messages();
99 const rxsc::test::messages<int> on;
100 const rxsc::test::messages<bool> on_exists;
121 auto actual = res.get_observer().messages();
140 const rxsc::test::messages<int> on;
[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/guice/core/src/com/google/inject/
DProvisionException.java36 private final ImmutableSet<Message> messages; field in ProvisionException
39 public ProvisionException(Iterable<Message> messages) { in ProvisionException() argument
40 this.messages = ImmutableSet.copyOf(messages); in ProvisionException()
41 checkArgument(!this.messages.isEmpty()); in ProvisionException()
42 initCause(Messages.getOnlyCause(this.messages)); in ProvisionException()
47 this.messages = ImmutableSet.of(new Message(message, cause)); in ProvisionException()
51 this.messages = ImmutableSet.of(new Message(message)); in ProvisionException()
56 return messages; in getErrorMessages()
61 return Messages.formatMessages("Unable to provision, see the following errors", messages); in getMessage()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/subscriptions/
Dcoroutine.cpp11 const rxsc::test::messages<int> on;
22 std::vector<typename rxsc::test::messages<int>::recorded_type> messages; variable
29 messages.push_back(on.next(w.clock(), n)); in __anon714eca020102()
31 messages.push_back(on.completed(w.clock())); in __anon714eca020102()
33 messages.push_back(on.error(w.clock(), rxu::current_exception())); in __anon714eca020102()
49 auto actual = messages;
69 const rxsc::test::messages<int> on;
83 std::vector<typename rxsc::test::messages<int>::recorded_type> messages; variable
90 messages.push_back(on.next(w.clock(), n)); in __anon714eca020202()
92 messages.push_back(on.completed(w.clock())); in __anon714eca020202()
[all …]

12345678910>>...86