Home
last modified time | relevance | path

Searched refs:add_extension (Results 1 – 24 of 24) 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.py105 copyreg.add_extension(pair[0], pair[1], code)
1949 copyreg.add_extension(__name__, "MyList", extcode)
/external/python/cryptography/tests/x509/
Dtest_x509_revokedcertbuilder.py97 builder = x509.RevokedCertificateBuilder().add_extension(
102 builder.add_extension(
108 x509.RevokedCertificateBuilder().add_extension(
161 ).add_extension(
190 ).add_extension(
192 ).add_extension(
194 ).add_extension(
Dtest_x509_crlbuilder.py131 builder = x509.CertificateRevocationListBuilder().add_extension(
136 builder.add_extension(x509.CRLNumber(2), False)
142 builder.add_extension(
244 ).add_extension(
273 ).add_extension(
275 ).add_extension(
305 ).add_extension(
363 ).add_extension(
378 ).add_extension(
408 ).add_extension(
[all …]
Dtest_x509.py1508 ).add_extension(
1510 ).add_extension(
1634 ).add_extension(
1665 ).add_extension(
2128 builder = x509.CertificateBuilder().add_extension(
2133 builder.add_extension(
2141 builder.add_extension(object(), False)
2246 ).add_extension(
2248 ).add_extension(
2292 ).add_extension(
[all …]
Dtest_ocsp.py163 builder = builder.add_extension(x509.OCSPNonce(b"123"), False)
165 builder.add_extension(x509.OCSPNonce(b"123"), False)
170 builder.add_extension("notanext", False)
204 ).add_extension(
319 builder.add_extension("notanextension", True)
530 ).add_extension(
Dtest_x509_ext.py2610 builder = builder.add_extension(
3480 builder = builder.add_extension(
4857 ).add_extension(
4889 cert = _make_certbuilder(private_key).add_extension(
/external/python/cryptography/src/cryptography/x509/
Dbase.py408 def add_extension(self, extension, critical): member in CertificateSigningRequestBuilder
557 def add_extension(self, extension, critical): member in CertificateBuilder
653 def add_extension(self, extension, critical): member in CertificateRevocationListBuilder
730 def add_extension(self, extension, critical): member in RevokedCertificateBuilder
Docsp.py94 def add_extension(self, extension, critical): member in OCSPRequestBuilder
225 def add_extension(self, extension, critical): member in OCSPResponseBuilder
/external/python/cpython2/Lib/
Dcopy_reg.py161 def add_extension(module, name, code): function
/external/python/cpython3/Lib/
Dcopyreg.py165 def add_extension(module, name, code): function
/external/python/cryptography/docs/x509/
Dtutorial.rst70 ... ])).add_extension(
144 ... ).add_extension(
Docsp.rst154 .. method:: add_extension(extension, critical)
278 .. method:: add_extension(extension, critical)
Dreference.rst694 >>> builder = builder.add_extension(
700 >>> builder = builder.add_extension(
768 .. method:: add_extension(extension, critical)
978 .. method:: add_extension(extension, critical)
1097 .. method:: add_extension(extension, critical)
1141 >>> builder = builder.add_extension(
1157 .. method:: add_extension(extension, critical)
/external/libchrome/third_party/jinja2/
Denvironment.py340 def add_extension(self, extension): member in Environment
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc125 FieldDescriptorProto* result = file->add_extension(); in AddExtension()
139 FieldDescriptorProto* result = parent->add_extension(); in AddNestedExtension()
3501 FieldDescriptorProto* extension = file_proto.add_extension(); in TEST()
Ddescriptor.pb.h711 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
1408 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
6963 inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() { in add_extension() function
7447 inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() { in add_extension() function
Ddescriptor.pb.cc1939 ptr = ctx->ParseMessage(add_extension(), ptr); in _InternalParse()
2110 input, add_extension())); in MergePartialFromCodedStream()
3624 ptr = ctx->ParseMessage(add_extension(), ptr); in _InternalParse()
3767 input, add_extension())); in MergePartialFromCodedStream()
Ddescriptor.cc2038 extension(i)->CopyTo(proto->add_extension()); in CopyTo()
2086 extension(i)->CopyTo(proto->add_extension()); in CopyTo()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2092 FieldDescriptorProto* extension(other_file.add_extension()); in TEST_F()
/external/python/pyopenssl/tests/
Dtest_ssl.py367 builder = builder.add_extension(
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc1041 p.add_extension()->set_name(long_string);