Home
last modified time | relevance | path

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

/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/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/v8/test/cctest/
Dtest-api.cc2885 v8::Handle<v8::Object> proto1 = in THREADED_TEST() local
2887 CHECK(!proto1->Has(v8_str("custom"))); in THREADED_TEST()
5269 Local<Value> proto1 = o1->GetPrototype(); in THREADED_TEST() local
5270 CHECK(proto1->IsObject()); in THREADED_TEST()
5271 CHECK_EQ(v8::Handle<v8::Object>::Cast(proto1), o2); in THREADED_TEST()