Home
last modified time | relevance | path

Searched refs:proto1 (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/v8/test/mjsunit/
Denumeration-order.js78 var proto1 = {}; variable
79 proto1[5] = 0;
80 proto1.d = 0;
81 proto1[3] = 0;
82 proto1.e = 0;
83 proto1.f = 0; // also on the 'o' object
94 o.__proto__ = proto1;
95 proto1.__proto__ = proto2;
/external/v8/test/mjsunit/
Denumeration-order.js78 var proto1 = {}; variable
79 proto1[5] = 0;
80 proto1.d = 0;
81 proto1[3] = 0;
82 proto1.e = 0;
83 proto1.f = 0; // also on the 'o' object
94 o.__proto__ = proto1;
95 proto1.__proto__ = proto2;
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py914 proto1 = unittest_pb2.TestAllTypes()
915 test_util.SetAllFields(proto1)
917 string1 = proto1.SerializeToString()
921 self.assertEqual(proto2, proto1)
925 proto1 = unittest_pb2.TestAllTypes()
926 proto1.optional_int32 = 1
932 proto2.MergeFrom(proto1)
938 proto1 = unittest_pb2.TestAllTypes()
939 proto1.repeated_int32.append(1)
940 proto1.repeated_int32.append(2)
[all …]
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py388 proto1 = unittest_pb2.TestAllTypes()
391 proto1.MergeFrom(proto2)
392 self.assertTrue(proto1.HasField('optional_nested_message'))
393 proto1.ClearField('optional_nested_message')
394 self.assertTrue(not proto1.HasField('optional_nested_message'))
1250 proto1 = unittest_pb2.TestAllTypes()
1251 test_util.SetAllFields(proto1)
1253 string1 = proto1.SerializeToString()
1257 self.assertEqual(proto2, proto1)
1261 proto1 = unittest_pb2.TestAllTypes()
[all …]
/external/chromium/net/tools/testserver/
Dchromiumsync_test.py256 proto1, result1 = DoCommit(name='namae', id_string='Foo',
261 parent=proto1)
264 parent=proto1, prev=proto2)
267 for p, r in [(proto1, result1), (proto2, result2), (proto3, result3)]:
277 self.assertEqual(result1.parent_id_string, proto1.parent_id_string)
311 (proto1b, result1b, proto1),
/external/chromium_org/sync/tools/testserver/
Dchromiumsync_test.py221 proto1, result1 = DoCommit(name='namae', id_string='Foo',
226 parent=proto1, position=-100)
229 parent=proto1, position=-50)
232 for p, r in [(proto1, result1), (proto2, result2), (proto3, result3)]:
242 self.assertEqual(result1.parent_id_string, proto1.parent_id_string)
276 (proto1b, result1b, proto1),
/external/protobuf/src/google/protobuf/
Dunittest.proto56 // The field name "b" fails to compile in proto1 because it conflicts with
58 // This file needs to compile in proto1 to test backwards-compatibility.
385 // parents. This is NOT possible in proto1; only proto2. When attempting
386 // to compile with proto1, this will emit an error; so we only include it
Ddescriptor.proto283 // Set true to use the old proto1 MessageSet wire format for extensions.
305 // from proto1 easier; new code should avoid fields named "descriptor".
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dunittest.proto62 // The field name "b" fails to compile in proto1 because it conflicts with
64 // This file needs to compile in proto1 to test backwards-compatibility.
408 // parents. This is NOT possible in proto1; only proto2. When attempting
409 // to compile with proto1, this will emit an error; so we only include it
Ddescriptor.proto314 // Set true to use the old proto1 MessageSet wire format for extensions.
336 // from proto1 easier; new code should avoid fields named "descriptor".
/external/v8/test/cctest/
Dtest-api.cc4331 v8::Handle<v8::Object> proto1 = in THREADED_TEST() local
4333 CHECK(!proto1->Has(v8_str("custom"))); in THREADED_TEST()
7764 Local<Value> proto1 = o1->GetPrototype(); in THREADED_TEST() local
7765 CHECK(proto1->IsObject()); in THREADED_TEST()
7766 CHECK_EQ(proto1.As<v8::Object>(), o2); in THREADED_TEST()
/external/chromium_org/v8/test/cctest/
Dtest-api.cc6248 v8::Handle<v8::Object> proto1 = in THREADED_TEST() local
6250 CHECK(!proto1->Has(v8_str("custom"))); in THREADED_TEST()
9950 Local<Value> proto1 = o1->GetPrototype(); in THREADED_TEST() local
9951 CHECK(proto1->IsObject()); in THREADED_TEST()
9952 CHECK_EQ(proto1.As<v8::Object>(), o2); in THREADED_TEST()