/external/chromium-trace/catapult/third_party/gsutil/gslib/third_party/storage_apitools/ |
D | storage_v1_messages.py | 20 from protorpc import messages 28 class Bucket(messages.Message): 74 class CorsValueListEntry(messages.Message): 89 maxAgeSeconds = messages.IntegerField(1, variant=messages.Variant.INT32) 90 method = messages.StringField(2, repeated=True) 91 origin = messages.StringField(3, repeated=True) 92 responseHeader = messages.StringField(4, repeated=True) 94 class LifecycleValue(messages.Message): 106 class RuleValueListEntry(messages.Message): 118 class ActionValue(messages.Message): [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | messages_test.py | 32 from protorpc import messages 39 MODULE = messages 47 str(messages.ValidationError('Validation error'))) 51 validation_error = messages.ValidationError('Validation error') 63 class Color(messages.Enum): 138 self.assertRaises(messages.EnumDefinitionError, 159 WeekDay = messages.Enum.def_enum({'Monday': 1, 173 self.assertRaises(messages.EnumDefinitionError, 174 messages.Enum.def_enum, 180 self.assertRaises(messages.EnumDefinitionError, [all …]
|
D | protobuf.py | 39 from . import messages 142 messages.Variant.DOUBLE: _Encoder.DOUBLE, 143 messages.Variant.FLOAT: _Encoder.FLOAT, 144 messages.Variant.INT64: _Encoder.NUMERIC, 145 messages.Variant.UINT64: _Encoder.NUMERIC, 146 messages.Variant.INT32: _Encoder.NUMERIC, 147 messages.Variant.BOOL: _Encoder.NUMERIC, 148 messages.Variant.STRING: _Encoder.STRING, 149 messages.Variant.MESSAGE: _Encoder.STRING, 150 messages.Variant.BYTES: _Encoder.STRING, [all …]
|
D | descriptor.py | 107 from . import messages 142 messages.IntegerField: six.text_type, 143 messages.FloatField: six.text_type, 144 messages.BooleanField: lambda value: value and u'true' or u'false', 145 messages.BytesField: lambda value: codecs.escape_encode(value)[0], 146 messages.StringField: lambda value: value, 147 messages.EnumField: lambda value: six.text_type(value.number), 151 messages.IntegerField: int, 152 messages.FloatField: float, 153 messages.BooleanField: lambda value: value == u'true', [all …]
|
D | test_util.py | 45 from . import messages 258 class NestedMessage(messages.Message): 261 a_value = messages.StringField(1, required=True) 264 class HasNestedMessage(messages.Message): 267 nested = messages.MessageField(NestedMessage, 1) 268 repeated_nested = messages.MessageField(NestedMessage, 2, repeated=True) 271 class HasDefault(messages.Message): 274 a_value = messages.StringField(1, default=u'a default') 277 class OptionalMessage(messages.Message): 280 class SimpleEnum(messages.Enum): [all …]
|
D | protojson_test.py | 29 from protorpc import messages 36 class CustomField(messages.MessageField): 49 class MyMessage(messages.Message): 52 class Color(messages.Enum): 58 class Nested(messages.Message): 60 nested_value = messages.StringField(1) 62 a_string = messages.StringField(2) 63 an_integer = messages.IntegerField(3) 64 a_float = messages.FloatField(4) 65 a_boolean = messages.BooleanField(5) [all …]
|
D | protojson.py | 36 from . import messages 108 if isinstance(value, messages.Enum): 114 if isinstance(value, messages.Message): 158 if isinstance(field, messages.BytesField): 220 return messages.Variant.BOOL 222 return messages.Variant.INT64 224 return messages.Variant.DOUBLE 226 return messages.Variant.STRING 229 variant_priority = [None, messages.Variant.INT64, messages.Variant.DOUBLE, 230 messages.Variant.STRING] [all …]
|
D | descriptor_test.py | 28 from protorpc import messages 46 class MyEnum(messages.Enum): 61 class EmptyEnum(messages.Enum): 72 class MyScope(messages.Message): 73 class NestedEnum(messages.Enum): 84 class EnumWithItems(messages.Enum): 118 field = messages.IntegerField(10, required=required, repeated=repeated) 133 (messages.IntegerField, 200, '200'), 134 (messages.FloatField, 1.5, '1.5'), 135 (messages.FloatField, 1e6, '1000000.0'), [all …]
|
D | protourlencode_test.py | 29 from protorpc import messages 41 class SuperMessage(messages.Message): 44 sub_message = messages.MessageField(test_util.OptionalMessage, 1) 45 sub_messages = messages.MessageField(test_util.OptionalMessage, 50 class SuperSuperMessage(messages.Message): 53 sub_message = messages.MessageField(SuperMessage, 1) 54 sub_messages = messages.MessageField(SuperMessage, 2, repeated=True) 189 self.assertRaises(messages.DecodeError, 193 self.assertRaises(messages.DecodeError, 223 class HasRepeated(messages.Message): [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/echo/ |
D | services.py | 32 from protorpc import messages 39 class SubMessage(messages.Message): 42 value = messages.StringField(1) 45 class EchoData(messages.Message): 52 class Color(messages.Enum): 60 required = messages.EnumField(Color, 1, 63 required_message = messages.MessageField(SubMessage, 18, required=True) 66 a_string = messages.StringField(2) 67 an_int = messages.IntegerField(3) 68 a_float = messages.FloatField(4) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/ |
D | tunes_db.py | 31 from protorpc import messages 38 class Artist(messages.Message): 47 artist_id = messages.StringField(1, required=True) 48 name = messages.StringField(2, required=True) 50 album_count = messages.IntegerField(3) 53 class Album(messages.Message): 63 album_id = messages.StringField(1, required=True) 64 artist_id = messages.StringField(2, required=True) 65 name = messages.StringField(3, required=True) 66 released = messages.IntegerField(4) [all …]
|
/external/deqp/external/vulkancts/ |
D | verify_submission.py | 120 messages = [] 128 …messages.append(error(filename, "Wrong number of test results, expected %d, found %d" % (len(mustp… 136 messages.append(error(filename, "Multiple results for " + result.name)) 150 messages.append(error(filename, result.name + ": " + result.statusCode)) 152 messages.append(error(filename, "Missing result for " + caseName)) 155 messages.append(error(filename, "Results are not in the expected order")) 157 return messages 163 messages = [] 176 messages.append(error(statementPath, "Multiple CONFORM_VERSIONs")) 183 messages.append(error(statementPath, "Multiple PRODUCTs")) [all …]
|
/external/skia/tests/ |
D | MessageBusTest.cpp | 28 SkTArray<TestMessage> messages; in DEF_TEST() local 29 inbox1.poll(&messages); in DEF_TEST() 30 REPORTER_ASSERT(r, 2 == messages.count()); in DEF_TEST() 31 REPORTER_ASSERT(r, 5 == messages[0].x); in DEF_TEST() 32 REPORTER_ASSERT(r, 6 == messages[1].x); in DEF_TEST() 37 inbox1.poll(&messages); in DEF_TEST() 38 REPORTER_ASSERT(r, 1 == messages.count()); in DEF_TEST() 39 REPORTER_ASSERT(r, 1 == messages[0].x); in DEF_TEST() 42 inbox1.poll(&messages); in DEF_TEST() 43 REPORTER_ASSERT(r, 0 == messages.count()); in DEF_TEST() [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | email_sheriff_test.py | 65 messages = self.mail_stub.get_sent_messages() 66 self.assertEqual(1, len(messages)) 67 self.assertEqual('gasper-alerts@google.com', messages[0].sender) 69 'perf-sheriff-group@google.com,sullivan@google.com', messages[0].to) 73 self.assertEqual(expected_subject, messages[0].subject) 74 body = str(messages[0].body) 81 html = str(messages[0].html) 102 messages = self.mail_stub.get_sent_messages() 103 self.assertEqual(1, len(messages)) 104 self.assertEqual('gasper-alerts@google.com', messages[0].sender) [all …]
|
D | email_summary_test.py | 126 messages = self.mail_stub.get_sent_messages() 127 self.assertEqual(1, len(messages)) 130 messages[0].subject) 131 self.assertEqual('gasper-alerts@google.com', messages[0].sender) 132 self.assertEqual('anandc@google.com', messages[0].to) 133 html = str(messages[0].html) 148 messages = self.mail_stub.get_sent_messages() 149 self.assertEqual(0, len(messages)) 154 messages = self.mail_stub.get_sent_messages() 155 self.assertEqual(0, len(messages)) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | encoding_test.py | 7 from protorpc import messages 16 class SimpleMessage(messages.Message): 17 field = messages.StringField(1) 18 repfield = messages.StringField(2, repeated=True) 21 class BytesMessage(messages.Message): 22 field = messages.BytesField(1) 23 repfield = messages.BytesField(2, repeated=True) 26 class TimeMessage(messages.Message): 31 class AdditionalPropertiesMessage(messages.Message): 33 class AdditionalProperty(messages.Message): [all …]
|
D | extra_types.py | 14 from protorpc import messages 38 class DateField(messages.Field): 50 class __metaclass__(messages.Field.__metaclass__): 53 super(messages.Field.__metaclass__, cls).__init__(name, bases, dct) 56 VARIANTS = frozenset([messages.Variant.STRING]) 57 DEFAULT_VARIANT = messages.Variant.STRING 82 if not isinstance(field, messages.MessageField): 138 class JsonValue(messages.Message): 142 is_null = messages.BooleanField(1, default=False) 146 boolean_value = messages.BooleanField(2) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | extended_descriptor.py | 21 from protorpc import messages 27 class ExtendedEnumValueDescriptor(messages.Message): 36 name = messages.StringField(1) 37 number = messages.IntegerField(2, variant=messages.Variant.INT32) 39 description = messages.StringField(100) 42 class ExtendedEnumDescriptor(messages.Message): 54 class JsonEnumMapping(messages.Message): 57 python_name = messages.StringField(1) 58 json_name = messages.StringField(2) 60 name = messages.StringField(1) [all …]
|
D | command_registry.py | 8 from protorpc import messages 16 messages.Variant.DOUBLE: 'float', 17 messages.Variant.FLOAT: 'float', 18 messages.Variant.INT64: 'string', 19 messages.Variant.UINT64: 'string', 20 messages.Variant.INT32: 'integer', 21 messages.Variant.BOOL: 'boolean', 22 messages.Variant.STRING: 'string', 23 messages.Variant.MESSAGE: 'string', 24 messages.Variant.BYTES: 'string', [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/quotas/backend/quotas/ |
D | services.py | 52 from protorpc import messages 57 class QuotaCheck(messages.Message): 67 class Mode(messages.Enum): 88 name = messages.StringField(1, required=True) 89 tokens = messages.IntegerField(2, required=True) 90 mode = messages.EnumField(Mode, 3, default=Mode.ALL) 93 class QuotaRequest(messages.Message): 101 user = messages.StringField(1, required=True) 102 quotas = messages.MessageField(QuotaCheck, 2, repeated=True) 105 class CheckResult(messages.Message): [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/client/ |
D | guestbook.py | 18 from protorpc import messages 23 class GetNotesRequest(messages.Message): 26 class Order(messages.Enum): 31 limit = messages.IntegerField(1, default=10) 32 on_or_before = messages.IntegerField(2) 33 order = messages.EnumField('guestbook.GetNotesRequest.Order', 3, default=1) 36 class Note(messages.Message): 38 text = messages.StringField(1, required=True) 39 when = messages.IntegerField(2) 42 class Notes(messages.Message): [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | RepeatedFieldBuilder.java | 77 private List<MType> messages; field in RepeatedFieldBuilder 133 List<MType> messages, in RepeatedFieldBuilder() argument 137 this.messages = messages; in RepeatedFieldBuilder() 154 messages = new ArrayList<MType>(messages); in ensureMutableMessageList() 168 messages.size()); in ensureBuilders() 169 for (int i = 0; i < messages.size(); i++) { in ensureBuilders() 181 return messages.size(); in getCount() 190 return messages.isEmpty(); in isEmpty() 220 return messages.get(index); in getMessage() 228 return messages.get(index); in getMessage() [all …]
|
/external/guice/core/src/com/google/inject/ |
D | ProvisionException.java | 36 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(Errors.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() 60 return Errors.format("Unable to provision, see the following errors", messages); in getMessage()
|
D | CreationException.java | 35 private final ImmutableSet<Message> messages; field in CreationException 38 public CreationException(Collection<Message> messages) { in CreationException() argument 39 this.messages = ImmutableSet.copyOf(messages); in CreationException() 40 checkArgument(!this.messages.isEmpty()); in CreationException() 41 initCause(Errors.getOnlyCause(this.messages)); in CreationException() 46 return messages; in getErrorMessages() 50 return Errors.format("Unable to create injector, see the following errors", messages); in getMessage()
|
/external/chromium-trace/catapult/third_party/webapp2/tests/resources/ |
D | protorpc_services.py | 1 from protorpc import messages 4 class BonjourRequest(messages.Message): 5 my_name = messages.StringField(1, required=True) 7 class BonjourResponse(messages.Message): 8 hello = messages.StringField(1, required=True) 16 class CiaoRequest(messages.Message): 17 my_name = messages.StringField(1, required=True) 19 class CiaoResponse(messages.Message): 20 hello = messages.StringField(1, required=True)
|