Home
last modified time | relevance | path

Searched refs:add_extension (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_copy_reg.py58 copy_reg.add_extension(mod, func, code)
65 copy_reg.add_extension(mod, func, code) # shouldn't blow up
67 self.assertRaises(ValueError, copy_reg.add_extension,
72 self.assertRaises(ValueError, copy_reg.add_extension,
77 self.assertRaises(ValueError, copy_reg.add_extension,
99 copy_reg.add_extension(mod, func, code)
106 self.assertRaises(ValueError, copy_reg.add_extension,
Dpickletester.py133 copy_reg.add_extension(pair[0], pair[1], code)
1305 copy_reg.add_extension(__name__, "MyList", extcode)
/external/python/cpython3/Lib/test/
Dtest_copyreg.py57 copyreg.add_extension(mod, func, code)
64 copyreg.add_extension(mod, func, code) # shouldn't blow up
66 self.assertRaises(ValueError, copyreg.add_extension,
71 self.assertRaises(ValueError, copyreg.add_extension,
76 self.assertRaises(ValueError, copyreg.add_extension,
98 copyreg.add_extension(mod, func, code)
105 self.assertRaises(ValueError, copyreg.add_extension,
Dpickletester.py94 copyreg.add_extension(pair[0], pair[1], code)
1773 copyreg.add_extension(__name__, "MyList", extcode)
/external/python/cpython2/Lib/
Dcopy_reg.py161 def add_extension(module, name, code): function
/external/python/cpython3/Lib/
Dcopyreg.py162 def add_extension(module, name, code): function
/external/libchrome/third_party/jinja2/
Denvironment.py340 def add_extension(self, extension): member in Environment
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc118 FieldDescriptorProto* result = file->add_extension(); in AddExtension()
132 FieldDescriptorProto* result = parent->add_extension(); in AddNestedExtension()
3209 FieldDescriptorProto* extension = file_proto.add_extension(); in TEST()
Ddescriptor.pb.h445 ::google::protobuf::FieldDescriptorProto* add_extension();
813 ::google::protobuf::FieldDescriptorProto* add_extension();
4007 inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() { in add_extension() function
4371 inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() { in add_extension() function
Ddescriptor.cc1757 extension(i)->CopyTo(proto->add_extension()); in CopyTo()
1807 extension(i)->CopyTo(proto->add_extension()); in CopyTo()
Ddescriptor.pb.cc1396 input, add_extension())); in MergePartialFromCodedStream()
2267 ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() { in add_extension() function in google::protobuf::FileDescriptorProto
3223 input, add_extension())); in MergePartialFromCodedStream()
3880 ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() { in add_extension() function in google::protobuf::DescriptorProto
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1668 FieldDescriptorProto* extension(other_file.add_extension()); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc967 p.add_extension()->set_name(long_string); in TEST()