HomeSort by relevance Sort by last modified time
    Searched full:mymessage (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
protojson_test.py 49 class MyMessage(messages.Message):
163 message = protojson.decode_message(MyMessage, '{"a_float": 10}')
170 message = protojson.decode_message(MyMessage,
177 self.assertEquals(MyMessage(an_integer=10,
187 MyMessage, '{"a_string": 10}')
190 MyMessage, '{"an_integer": 10.2}')
193 MyMessage, '{"an_integer": "10.2"}')
197 message = protojson.decode_message(MyMessage, '{"an_enum": 2}')
199 expected_message = MyMessage()
200 expected_message.an_enum = MyMessage.Color.GREE
    [all...]
messages_test.py 271 class MyMessage(messages.Message):
284 self.assertEquals('%s.MyMessage.NestedEnum' % module_name,
285 MyMessage.NestedEnum.definition_name())
286 self.assertEquals('%s.MyMessage' % module_name,
287 MyMessage.NestedEnum.outer_definition_name())
289 MyMessage.NestedEnum.definition_package())
291 self.assertEquals('%s.MyMessage.NestedMessage.NestedEnum' % module_name,
292 MyMessage.NestedMessage.NestedEnum.definition_name())
294 '%s.MyMessage.NestedMessage' % module_name,
295 MyMessage.NestedMessage.NestedEnum.outer_definition_name()
    [all...]
generate_proto_test.py 50 def MakeMessage(self, name='MyMessage', fields=[]):
80 'message MyMessage {\n'
97 'message MyMessage {\n'
114 'message MyMessage {\n'
131 'message MyMessage {\n'
148 'message MyMessage {\n'
166 'message MyMessage {\n'
184 'message MyMessage {\n'
protourlencode_test.py 319 class MyMessage(messages.Message):
323 message = MyMessage()
334 self.assertEquals(message, protourlencode.decode_message(MyMessage,
341 class MyMessage(messages.Message):
344 decoded = protourlencode.decode_message(MyMessage,
355 decoded2 = protourlencode.decode_message(MyMessage, repeated_unknown)
361 class MyMessage(messages.Message):
365 MyMessage, 'a_datetime=invalid')
test_util.py 592 class MyMessage(messages.Message):
596 message = MyMessage(value=value)
598 MyMessage, self.PROTOLIB.encode_message(message))
604 class MyMessage(messages.Message):
609 message = MyMessage(value=value)
611 MyMessage, self.PROTOLIB.encode_message(message))
descriptor_test.py 209 class MyMessage(messages.Message):
213 expected.name = 'MyMessage'
215 described = descriptor.describe_message(MyMessage)
definition_test.py 476 message_descriptor.name = u'MyMessage'
497 self.assertEquals('my.package', module.MyMessage.__module__)
510 self.assertEquals('override', module.MyMessage.__module__)
messages.py 239 class MyMessage(Message):
242 >>> MyMessage.definition_name()
243 some.alternate.package.MyMessage
969 class MyMessage(messages.Message):
973 my_message = MyMessage()
978 >>> <MyMessage
    [all...]
generate_python_test.py 125 message_descriptor.name = 'MyMessage'
  /external/clang/test/SemaObjC/
ibaction.m 8 - (void) __attribute__((ibaction)) myMessage:(id)msg;
16 - (void) __attribute__((ibaction)) myMessage:(id)msg {} // no-warning
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 60 private static final byte[] myMessage = MDGoldenData.getMessage();
64 private static final int MY_MESSAGE_LEN = myMessage.length;
91 InputStream is = new ByteArrayInputStream(myMessage);
124 InputStream is = new ByteArrayInputStream(myMessage);
128 assertTrue("retval", ((byte) dis.read() == myMessage[i]));
157 InputStream is = new ByteArrayInputStream(myMessage);
192 InputStream is = new ByteArrayInputStream(myMessage);
252 InputStream is = new ByteArrayInputStream(myMessage);
276 InputStream is = new ByteArrayInputStream(myMessage);
283 assertTrue((byte) dis.read() == myMessage[i])
    [all...]
DigestOutputStreamTest.java 60 private static final byte[] myMessage = MDGoldenData.getMessage();
64 private static final int MY_MESSAGE_LEN = myMessage.length;
152 dos.write(myMessage[i]);
189 dos.write(myMessage[i]);
221 dos.write(myMessage[i]);
249 dos.write(myMessage[i]);
273 dos.write(myMessage[i]);
296 dos.write(myMessage, 0, MY_MESSAGE_LEN);
299 assertTrue("write", Arrays.equals(myMessage, bos.toByteArray()));
331 dos.write(myMessage, i * CHUNK_SIZE, CHUNK_SIZE)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 62 private static final byte[] myMessage = MDGoldenData.getMessage();
66 private static final int MY_MESSAGE_LEN = myMessage.length;
84 InputStream is = new ByteArrayInputStream(myMessage);
117 InputStream is = new ByteArrayInputStream(myMessage);
121 assertTrue("retval", ((byte)dis.read() == myMessage[i]));
150 InputStream is = new ByteArrayInputStream(myMessage);
185 InputStream is = new ByteArrayInputStream(myMessage);
246 InputStream is = new ByteArrayInputStream(myMessage);
271 InputStream is = new ByteArrayInputStream(myMessage);
278 assertTrue((byte)dis.read() == myMessage[i])
    [all...]
DigestOutputStreamTest.java 62 private static final byte[] myMessage = MDGoldenData.getMessage();
66 private static final int MY_MESSAGE_LEN = myMessage.length;
151 dos.write(myMessage[i]);
187 dos.write(myMessage[i]);
218 dos.write(myMessage[i]);
246 dos.write(myMessage[i]);
270 dos.write(myMessage[i]);
291 dos.write(myMessage, 0, MY_MESSAGE_LEN);
294 assertTrue("write", Arrays.equals(myMessage, bos.toByteArray()));
325 dos.write(myMessage, i*CHUNK_SIZE, CHUNK_SIZE)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/experimental/parser/
test.proto 22 message MyMessage {
  /external/protobuf/python/google/protobuf/
symbol_database.py 45 db.RegisterMessage(my_proto_pb2.MyMessage)
51 my_message_instance = types['MyMessage']()
55 filename = db.pool.FindFileContainingSymbol('MyMessage')
56 my_message_instance = db.GetMessages([filename])['MyMessage']()
59 my_message_instance = db.GetSymbol('MyMessage')()
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MDGoldenData.java 40 private static final byte[] myMessage = new byte[MY_MESSAGE_LEN];
42 // for <code>myMessage</code>
46 // fill myMessage
47 for (int i = 0; i < myMessage.length; i++) {
48 myMessage[i] = (byte) i;
51 // digest updated with myMessage bytes
183 return myMessage.clone();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MDGoldenData.java 42 private static final byte[] myMessage = new byte[MY_MESSAGE_LEN];
44 // for <code>myMessage</code>
48 // fill myMessage
49 for (int i=0; i<myMessage.length; i++) {
50 myMessage[i] = (byte)i;
53 // digest updated with myMessage bytes
185 return myMessage.clone();
  /external/nanopb-c/
pb_encode.h 59 * MyMessage msg = {};
95 * MyMessage msg = {};
pb_decode.h 59 * MyMessage msg = {};
  /external/nanopb-c/docs/
index.rst 83 Example mymessage = {42};
86 pb_encode(&stream, Example_fields, &mymessage);
reference.rst 113 message MyMessage {
121 MyMessage.name max_size:40
122 MyMessage.ids max_count:5
130 more options. For example: *"MyMessage.myfield max_size:5 max_count:10"*.
162 message MyMessage {
    [all...]
concepts.rst 268 message MyMessage {
282 extend MyMessage {
  /external/clang/test/Index/
c-index-api-loadTU-test.m 8 - (void) __attribute__((ibaction)) myMessage:(id)msg;
82 // CHECK: c-index-api-loadTU-test.m:8:36: ObjCInstanceMethodDecl=myMessage::8:36 Extent=[8:1 - 8:54]
  /external/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java 651 .setName("MyMessage")
669 if (desc.getName().equals("MyMessage")) {

Completed in 484 milliseconds

1 2 3 4