Searched refs:proto1 (Results 1 – 5 of 5) sorted by relevance
78 var proto1 = {}; variable79 proto1[5] = 0;80 proto1.d = 0;81 proto1[3] = 0;82 proto1.e = 0;83 proto1.f = 0; // also on the 'o' object94 o.__proto__ = proto1;95 proto1.__proto__ = proto2;
914 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 = 1932 proto2.MergeFrom(proto1)938 proto1 = unittest_pb2.TestAllTypes()939 proto1.repeated_int32.append(1)940 proto1.repeated_int32.append(2)[all …]
56 // The field name "b" fails to compile in proto1 because it conflicts with58 // This file needs to compile in proto1 to test backwards-compatibility.385 // parents. This is NOT possible in proto1; only proto2. When attempting386 // to compile with proto1, this will emit an error; so we only include it
283 // Set true to use the old proto1 MessageSet wire format for extensions.305 // from proto1 easier; new code should avoid fields named "descriptor".
2885 v8::Handle<v8::Object> proto1 = in THREADED_TEST() local2887 CHECK(!proto1->Has(v8_str("custom"))); in THREADED_TEST()5269 Local<Value> proto1 = o1->GetPrototype(); in THREADED_TEST() local5270 CHECK(proto1->IsObject()); in THREADED_TEST()5271 CHECK_EQ(v8::Handle<v8::Object>::Cast(proto1), o2); in THREADED_TEST()