Home
last modified time | relevance | path

Searched refs:ValueRangeConstraint (Results 1 – 25 of 32) sorted by relevance

12

/external/python/pyasn1/tests/type/
Dtest_constraint.py74 self.c1 = constraint.ValueRangeConstraint(1, 4)
199 constraint.ValueRangeConstraint(2, 4)
212 constraint.ValueRangeConstraint(2, 4))
282 constraint.ValueRangeConstraint(1, 9),
283 constraint.ValueRangeConstraint(2, 5)
306 constraint.ValueRangeConstraint(1, 3)
329 constraint.ValueRangeConstraint(2, 4)
356 self.c1, constraint.ValueRangeConstraint(1, 3)
373 constraint.ValueRangeConstraint(1, 30)
377 self.c1, constraint.ValueRangeConstraint(1, 20)
[all …]
/external/python/pyasn1-modules/pyasn1_modules/
Drfc1902.py19 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
25 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
49 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
58 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
67 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
76 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
91 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
Drfc7914.py33 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
35 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
37 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
39 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, MAX)))
Drfc3412.py37 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
39 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(484, 2147483647))),
42 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 2147483647)))
49 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
Drfc6031.py169 subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
171 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
180 subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
205 at_pskc_counter.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
219 at_pskc_timeInterval.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
227 at_pskc_timeDrift.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
267 at_pskc_numberOfTransactions.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
326 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
329 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
332 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
Drfc7906.py240 NumEdition.subtypeSpec = constraint.ValueRangeConstraint(0, 308915776)
276 Register.subtypeSpec = constraint.ValueRangeConstraint(0, 2147483647)
302 SegmentNumber.subtypeSpec = constraint.ValueRangeConstraint(1, 127)
489 subtypeSpec=constraint.ValueRangeConstraint(1, ub_KeyDuration_hours)).subtype(
492 subtypeSpec=constraint.ValueRangeConstraint(1, ub_KeyDuration_days))),
494 subtypeSpec=constraint.ValueRangeConstraint(1, ub_KeyDuration_weeks)).subtype(
497 subtypeSpec=constraint.ValueRangeConstraint(1, ub_KeyDuration_months)).subtype(
500 subtypeSpec=constraint.ValueRangeConstraint(1, ub_KeyDuration_years)).subtype(
525 SecurityAttribute.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
Drfc1155.py53 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
62 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
71 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
Drfc3414.py21 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
23 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
Drfc1905.py61 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))),
70 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))),
72 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, max_bindings))),
Drfc8018.py174 subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
176 subtypeSpec=constraint.ValueRangeConstraint(1, MAX))),
203 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(8, 127))),
Drfc3161.py46 …NamedType('millis', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 999)).su…
47 …NamedType('micros', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 999)).su…
Drfc6019.py27 BinaryTime.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
Drfc4108.py65 …pe.NamedType('verNum', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
91 …referredStaleVerNum', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
Drfc6486.py48 subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
Drfc5084.py43 AES_GCM_ICVlen.subtypeSpec = constraint.ValueRangeConstraint(12, 16)
Drfc2251.py123 ….NamedType('version', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 127))),
269 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, maxInt))),
271 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, maxInt))),
527 subtypeSpec = univ.Integer.subtypeSpec + constraint.ValueRangeConstraint(
Drfc5914.py66 subtypeSpec=constraint.ValueRangeConstraint(0, MAX)).subtype(
Drfc8226.py109 univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(2, MAX)))
Drfc5990.py108 KeyLength.subtypeSpec = constraint.ValueRangeConstraint(1, MAX)
Drfc7191.py188 KeyPkgVersion.subtypeSpec = constraint.ValueRangeConstraint(1, 65535)
Drfc3280.py533 subtypeSpec=constraint.ValueRangeConstraint(0, ub_extension_attributes)).subtype(
1233 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
1241 SkipCerts.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
1252 CRLNumber.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
1322 BaseDistance.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
Drfc5280.py403 …univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, ub_extension_attributes)).su…
1050 SkipCerts.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
1141 BaseDistance.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
1389 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX)))
1420 CRLNumber.subtypeSpec = constraint.ValueRangeConstraint(0, MAX)
/external/python/pyasn1/docs/source/pyasn1/type/constraint/
Dvaluerange.rst2 .. _constrain.ValueRangeConstraint:
4 .. |Constraint| replace:: ValueRangeConstraint
9 .. autoclass:: pyasn1.type.constraint.ValueRangeConstraint(start, end)
Dcontents.rst24 subtypeSpec = ValueRangeConstraint(0, 120)
60 ValueRangeConstraint('0', '9'), ValueSizeConstraint(10)
/external/python/pyasn1/pyasn1/type/
Dconstraint.py185 class ValueRangeConstraint(AbstractConstraint): class
241 class ValueSizeConstraint(ValueRangeConstraint):

12