Home
last modified time | relevance | path

Searched refs:SingleValueConstraint (Results 1 – 11 of 11) sorted by relevance

/external/python/pyasn1/tests/type/
Dtest_constraint.py24 self.c1 = constraint.SingleValueConstraint(1, 2)
25 self.c2 = constraint.SingleValueConstraint(3, 4)
53 constraint.SingleValueConstraint(12)
198 constraint.SingleValueConstraint(4),
203 assert constraint.SingleValueConstraint(4) in self.c1, '__cmp__() fails'
206 assert constraint.SingleValueConstraint(5) not in self.c1, \
211 constraint.SingleValueConstraint(4),
218 constraint.ConstraintsIntersection(constraint.SingleValueConstraint(5))
240 constraint.SingleValueConstraint(4)
255 (0, constraint.SingleValueConstraint(4), 'PRESENT'),
[all …]
Dtest_univ.py307 subtypeSpec=constraint.SingleValueConstraint(1, 3)
312 subtypeSpec=constraint.ConstraintsIntersection(constraint.SingleValueConstraint(1, 3))
997 subtypeSpec=constraint.SingleValueConstraint(str2octs('abc'))))
1001 'abc', subtypeSpec=constraint.SingleValueConstraint(str2octs('abc'))))
1029 … subtypeSpec=constraint.ConstraintsUnion(constraint.SingleValueConstraint(str2octs('cba'))))
1378 … subtypeSpec=constraint.ConstraintsUnion(constraint.SingleValueConstraint(str2octs('cba'))))
/external/python/pyasn1/docs/source/pyasn1/type/constraint/
Dsinglevalue.rst2 .. _constrain.SingleValueConstraint:
4 .. |Constraint| replace:: SingleValueConstraint
9 .. autoclass:: pyasn1.type.constraint.SingleValueConstraint
/external/python/pyasn1-modules/pyasn1_modules/
Drfc8018.py201 subtypeSpec=constraint.SingleValueConstraint(16))),
205 univ.Integer().subtype(subtypeSpec=constraint.SingleValueConstraint(64, 128))),
Drfc6031.py158 Encoding.subtypeSpec = constraint.SingleValueConstraint(
289 PSKCKeyUsage.subtypeSpec = constraint.SingleValueConstraint(
314 PINUsageMode.subtypeSpec = constraint.SingleValueConstraint(
Drfc5084.py41 AES_CCM_ICVlen.subtypeSpec = constraint.SingleValueConstraint(4, 6, 8, 10, 12, 14, 16)
Drfc6664.py91 subtypeSpec = constraint.SingleValueConstraint(1024, 2048, 3072, 7680, 15360)
Drfc2985.py336 GenderString.subtypeSpec = constraint.SingleValueConstraint("M", "F", "m", "f")
Drfc2459.py904 …subtypeSpec = univ.ObjectIdentifier.subtypeSpec + constraint.SingleValueConstraint(id_qt_cps, id_q…
/external/python/pyasn1/pyasn1/type/
Dconstraint.py100 class SingleValueConstraint(AbstractConstraint): class
301 class PermittedAlphabetConstraint(SingleValueConstraint):
Duniv.py336 subtypeSpec = Integer.subtypeSpec + constraint.SingleValueConstraint(0, 1)
1105 subtypeSpec = OctetString.subtypeSpec + constraint.SingleValueConstraint(octets.str2octs(''))