Home
last modified time | relevance | path

Searched full:subtype (Results 1 – 25 of 2195) sorted by relevance

12345678910>>...88

/external/yapf/yapftests/
Dsubtype_assigner_test.py32 list_of_expected: list of (name, subtype) pairs. Non-semantic tokens are
52 [('def', [format_token.Subtype.NONE]),
53 ('foo', {format_token.Subtype.FUNC_DEF}),
54 ('(', [format_token.Subtype.NONE]),
55 ('a', {format_token.Subtype.NONE,
56 format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN_ARG_LIST}),
57 ('=', {format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN,
58 format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN_ARG_LIST}),
59 ('37', {format_token.Subtype.NONE,
60 format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN_ARG_LIST}),
[all …]
/external/python/pyasn1-modules/pyasn1_modules/
Drfc3280.py75 namedtype.OptionalNamedType('printable-string', char.PrintableString().subtype(
77 namedtype.OptionalNamedType('teletex-string', char.TeletexString().subtype(
98 namedtype.NamedType('type', char.TeletexString().subtype(
100 namedtype.NamedType('value', char.TeletexString().subtype(
114 namedtype.OptionalNamedType('pSelector', univ.OctetString().subtype(
116 namedtype.OptionalNamedType('sSelector', univ.OctetString().subtype(
118 namedtype.OptionalNamedType('tSelector', univ.OctetString().subtype(
120 namedtype.NamedType('nAddresses', univ.SetOf(componentType=univ.OctetString()).subtype(
145 namedtype.DefaultedNamedType('critical', univ.Boolean().subtype(value=0)),
247 Version().subtype(explicitTag=tag.Tag(tag.tagClassContext,
[all …]
Drfc5280.py68 namedtype.DefaultedNamedType('critical', univ.Boolean().subtype(value=0)),
94 …ptionalNamedType('printable-address', univ.SequenceOf(componentType=char.PrintableString().subtype(
96 namedtype.OptionalNamedType('teletex-string', char.TeletexString().subtype(
108 namedtype.NamedType('teletexString', char.TeletexString().subtype(
110 namedtype.NamedType('printableString', char.PrintableString().subtype(
112 namedtype.NamedType('universalString', char.UniversalString().subtype(
115 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name))),
117 … char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_organization_name)))
136 namedtype.NamedType('numeric-code', char.NumericString().subtype(
138 namedtype.NamedType('printable-code', char.PrintableString().subtype(
[all …]
Drfc2459.py111 … char.TeletexString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))),
113 … char.PrintableString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))),
115 … char.UniversalString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))),
117 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name))),
119 … char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_name)))
128 namedtype.NamedType('teletexString', char.TeletexString().subtype(
130 namedtype.NamedType('printableString', char.PrintableString().subtype(
132 namedtype.NamedType('universalString', char.UniversalString().subtype(
135 … char.UTF8String().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name))),
137 … char.BMPString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, ub_common_name)))
[all …]
Drfc5934.py122 componentType=HardwareSerialEntry()).subtype(
149 namedtype.NamedType('hwModules', HardwareModuleIdentifierList().subtype(
151 namedtype.NamedType('communities', CommunityIdentifierList().subtype(
153 namedtype.NamedType('allModules', univ.Null().subtype(
155 namedtype.NamedType('uri', char.IA5String().subtype(
157 namedtype.NamedType('otherName', AnotherName().subtype(
181 namedtype.DefaultedNamedType('version', TAMPVersion().subtype(
183 tag.tagFormatSimple, 0)).subtype(value='v2')),
184 namedtype.DefaultedNamedType('terse', TerseOrVerbose().subtype(
186 tag.tagFormatSimple, 1)).subtype(value='verbose')),
[all …]
Drfc2511.py66 namedtype.OptionalNamedType('intendedAlg', AlgorithmIdentifier().subtype(
68 namedtype.OptionalNamedType('symmAlg', AlgorithmIdentifier().subtype(
70 namedtype.OptionalNamedType('encSymmKey', univ.BitString().subtype(
72 namedtype.OptionalNamedType('keyAlg', AlgorithmIdentifier().subtype(
74 namedtype.OptionalNamedType('valueHint', univ.OctetString().subtype(
83 namedtype.NamedType('envelopedData', rfc2315.EnvelopedData().subtype(
90 namedtype.NamedType('encryptedPrivKey', EncryptedKey().subtype(
92 namedtype.NamedType('keyGenParameters', KeyGenParameters().subtype(
95 … univ.Boolean().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
111 … namedtype.OptionalNamedType('pubInfos', univ.SequenceOf(componentType=SinglePubInfo()).subtype(
[all …]
Drfc4210.py153 …namedtype.NamedType('certificate', CMPCertificate().subtype(explicitTag=tag.Tag(tag.tagClassContex…
154 …namedtype.NamedType('encryptedCert', rfc2511.EncryptedValue().subtype(explicitTag=tag.Tag(tag.tagC…
168 …namedtype.OptionalNamedType('privateKey', rfc2511.EncryptedValue().subtype(explicitTag=tag.Tag(tag…
169 …namedtype.OptionalNamedType('publicationInfo', rfc2511.PKIPublicationInfo().subtype(explicitTag=ta…
364 'revCerts', univ.SequenceOf(componentType=rfc2511.CertId()).subtype(
370 'crls', univ.SequenceOf(componentType=rfc2459.CertificateList()).subtype(
392 'newSigCert', CMPCertificate().subtype(
397 'caCerts', univ.SequenceOf(componentType=CMPCertificate()).subtype(
402 …medtype.OptionalNamedType('keyPairHist', univ.SequenceOf(componentType=CertifiedKeyPair()).subtype(
438 ).subtype(sizeSpec=constraint.ValueSizeConstraint(1, MAX),
[all …]
Drfc4211.py80 …'sender', rfc3280.GeneralName().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatCons…
97 namedtype.OptionalNamedType('poposkInput', POPOSigningKeyInput().subtype(
120 … Attributes().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0)))
129 namedtype.OptionalNamedType('intendedAlg', rfc3280.AlgorithmIdentifier().subtype(
131 namedtype.OptionalNamedType('symmAlg', rfc3280.AlgorithmIdentifier().subtype(
133 namedtype.OptionalNamedType('encSymmKey', univ.BitString().subtype(
135 namedtype.OptionalNamedType('keyAlg', rfc3280.AlgorithmIdentifier().subtype(
137 namedtype.OptionalNamedType('valueHint', univ.OctetString().subtype(
149 namedtype.NamedType('envelopedData', rfc3852.EnvelopedData().subtype(
164 … EncryptedKey().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 0))),
[all …]
Drfc2251.py107 namedtype.NamedType('simple', univ.OctetString().subtype(
109 namedtype.NamedType('reserved-1', univ.OctetString().subtype(
111 namedtype.NamedType('reserved-2', univ.OctetString().subtype(
114 … SaslCredentials().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 3)))
123 …namedtype.NamedType('version', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(…
150 namedtype.OptionalNamedType('matchingRule', MatchingRuleId().subtype(
152 namedtype.OptionalNamedType('type', AttributeDescription().subtype(
155 … AssertionValue().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 3))),
156 namedtype.DefaultedNamedType('dnAttributes', univ.Boolean('False').subtype(
169 … 'initial', LDAPString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))
[all …]
Drfc3709.py44 componentType=HashAlgAndValue()).subtype(
47 componentType=char.IA5String()).subtype(
59 namedtype.OptionalNamedType('sampleRate', univ.Integer().subtype(
61 namedtype.OptionalNamedType('language', char.IA5String().subtype(
89 univ.Integer().subtype(implicitTag=tag.Tag(
92 univ.Integer().subtype(implicitTag=tag.Tag(
101 namedtype.DefaultedNamedType('type', LogotypeImageType().subtype(
103 tag.tagFormatSimple, 0)).subtype(value='color')),
108 namedtype.OptionalNamedType('language', char.IA5String().subtype(
129 componentType=LogotypeAudio()).subtype(
[all …]
Drfc4055.py128 namedtype.OptionalNamedType('hashFunc', rfc5280.AlgorithmIdentifier().subtype(
130 namedtype.OptionalNamedType('maskGenFunc', rfc5280.AlgorithmIdentifier().subtype(
132 namedtype.OptionalNamedType('pSourceFunc', rfc5280.AlgorithmIdentifier().subtype(
143 rSAES_OAEP_SHA224_Params['hashFunc'] = sha224Identifier.subtype(
145 rSAES_OAEP_SHA224_Params['maskGenFunc'] = mgf1SHA224Identifier.subtype(
153 rSAES_OAEP_SHA256_Params['hashFunc'] = sha256Identifier.subtype(
155 rSAES_OAEP_SHA256_Params['maskGenFunc'] = mgf1SHA256Identifier.subtype(
163 rSAES_OAEP_SHA384_Params['hashFunc'] = sha384Identifier.subtype(
165 rSAES_OAEP_SHA384_Params['maskGenFunc'] = mgf1SHA384Identifier.subtype(
173 rSAES_OAEP_SHA512_Params['hashFunc'] = sha512Identifier.subtype(
[all …]
Drfc3852.py76 namedtype.NamedType('other', OtherRevocationInfoFormat().subtype(
155 … namedtype.OptionalNamedType('keyDerivationAlgorithm', KeyDerivationAlgorithmIdentifier().subtype(
203 namedtype.NamedType('rKeyId', RecipientKeyIdentifier().subtype(
245 namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier().subtype(
247 namedtype.NamedType('originatorKey', OriginatorPublicKey().subtype(
258 namedtype.NamedType('originator', OriginatorIdentifierOrKey().subtype(
260 namedtype.OptionalNamedType('ukm', UserKeyingMaterial().subtype(
273 namedtype.NamedType('subjectKeyIdentifier', SubjectKeyIdentifier().subtype(
296 namedtype.NamedType('kari', KeyAgreeRecipientInfo().subtype(
298 namedtype.NamedType('kekri', KEKRecipientInfo().subtype(
[all …]
Drfc3281.py78 namedtype.NamedType('targetName', rfc3280.GeneralName().subtype(
80 namedtype.NamedType('targetGroup', rfc3280.GeneralName().subtype(
83 … TargetCert().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 2)))
128 namedtype.NamedType('type', univ.ObjectIdentifier().subtype(
130 …namedtype.NamedType('value', univ.Any().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFo…
139 namedtype.NamedType('policyId', univ.ObjectIdentifier().subtype(
142 ClassList().subtype(implicitTag=tag.Tag(tag.tagClassContext,
143 … tag.tagFormatSimple, 1)).subtype(
145 …dtype.OptionalNamedType('securityCategories', univ.SetOf(componentType=SecurityCategory()).subtype(
176 … univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, MAX))),
[all …]
Drfc5652.py68 namedtype.DefaultedNamedType('version', AttCertVersionV1().subtype(value="v1")),
72 …namedtype.NamedType('baseCertificateID', rfc3281.IssuerSerial().subtype(explicitTag=tag.Tag(tag.ta…
73 …namedtype.NamedType('subjectName', rfc5280.GeneralNames().subtype(explicitTag=tag.Tag(tag.tagClass…
183 namedtype.NamedType('rKeyId', RecipientKeyIdentifier().subtype(
275 namedtype.NamedType('extendedCertificate', ExtendedCertificate().subtype(
277 namedtype.NamedType('v1AttrCert', AttributeCertificateV1().subtype(
279 namedtype.NamedType('v2AttrCert', AttributeCertificateV2().subtype(
281 namedtype.NamedType('other', OtherCertificateFormat().subtype(
311 namedtype.NamedType('other', OtherRevocationInfoFormat().subtype(
328 namedtype.OptionalNamedType('certs', CertificateSet().subtype(
[all …]
Drfc5755.py117 IssuerSerial().subtype(implicitTag=tag.Tag(
120 GeneralNames().subtype(implicitTag=tag.Tag(
123 ObjectDigestInfo().subtype(implicitTag=tag.Tag(
133 IssuerSerial().subtype(implicitTag=tag.Tag(
136 ObjectDigestInfo().subtype(implicitTag=tag.Tag(
144 namedtype.NamedType('v2Form', V2Form().subtype(implicitTag=tag.Tag(
207 GeneralName().subtype(implicitTag=tag.Tag(
210 GeneralName().subtype(implicitTag=tag.Tag(
213 TargetCert().subtype(implicitTag=tag.Tag(
239 univ.Integer().subtype(
[all …]
Drfc6960.py86 namedtype.OptionalNamedType('nextUpdate', useful.GeneralizedTime().subtype(
88 namedtype.OptionalNamedType('singleExtensions', Extensions().subtype(
95 namedtype.NamedType('byName', Name().subtype(
97 namedtype.NamedType('byKey', KeyHash().subtype(
104 namedtype.DefaultedNamedType('version', Version('v1').subtype(
110 namedtype.OptionalNamedType('responseExtensions', Extensions().subtype(
121 componentType=Certificate()).subtype(explicitTag=tag.Tag(
129 namedtype.OptionalNamedType('singleRequestExtensions', Extensions().subtype(
139 componentType=Certificate()).subtype(explicitTag=tag.Tag(
146 namedtype.DefaultedNamedType('version', Version('v1').subtype(
[all …]
/external/yapf/yapf/yapflib/
Dsubtype_assigner.py14 """Subtype assigner for lib2to3 trees.
24 subtype: The subtype of a pytree token. See 'format_token' module for a list
39 """Run the subtype assigner visitor over the tree, modifying it in place.
48 # Map tokens in argument lists to their respective subtype.
50 '=': format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN,
51 ':': format_token.Subtype.TYPED_NAME,
52 '*': format_token.Subtype.VARARGS_STAR,
53 '**': format_token.Subtype.KWARGS_STAR_STAR,
60 The subtype is added as an annotation to the pytree token.
77 format_token.Subtype.DICT_SET_GENERATOR)
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_annot.cpp34 bool IsTextMarkupAnnotation(CPDF_Annot::Subtype type) { in IsTextMarkupAnnotation()
35 return type == CPDF_Annot::Subtype::HIGHLIGHT || in IsTextMarkupAnnotation()
36 type == CPDF_Annot::Subtype::SQUIGGLY || in IsTextMarkupAnnotation()
37 type == CPDF_Annot::Subtype::STRIKEOUT || in IsTextMarkupAnnotation()
38 type == CPDF_Annot::Subtype::UNDERLINE; in IsTextMarkupAnnotation()
147 return m_bOpenState || m_nSubtype != CPDF_Annot::Subtype::POPUP; in ShouldDrawAnnotation()
154 CPDF_Annot::Subtype CPDF_Annot::GetSubtype() const { in GetSubtype()
260 CPDF_Annot::Subtype CPDF_Annot::StringToAnnotSubtype( in StringToAnnotSubtype()
263 return CPDF_Annot::Subtype::TEXT; in StringToAnnotSubtype()
265 return CPDF_Annot::Subtype::LINK; in StringToAnnotSubtype()
[all …]
Dcpdf_annotlist.cpp36 bool PopupAppearsForAnnotType(CPDF_Annot::Subtype subtype) { in PopupAppearsForAnnotType() argument
37 switch (subtype) { in PopupAppearsForAnnotType()
38 case CPDF_Annot::Subtype::TEXT: in PopupAppearsForAnnotType()
39 case CPDF_Annot::Subtype::LINE: in PopupAppearsForAnnotType()
40 case CPDF_Annot::Subtype::SQUARE: in PopupAppearsForAnnotType()
41 case CPDF_Annot::Subtype::CIRCLE: in PopupAppearsForAnnotType()
42 case CPDF_Annot::Subtype::POLYGON: in PopupAppearsForAnnotType()
43 case CPDF_Annot::Subtype::POLYLINE: in PopupAppearsForAnnotType()
44 case CPDF_Annot::Subtype::HIGHLIGHT: in PopupAppearsForAnnotType()
45 case CPDF_Annot::Subtype::UNDERLINE: in PopupAppearsForAnnotType()
[all …]
/external/tcpdump/tests/
Ddcb_ets.out16 Subtype MAC address (4): 08:00:27:0d:f1:3c
19 Subtype MAC address (3): 08:00:27:0d:f1:3c
24 Port VLAN Id Subtype (1)
28 Port and Protocol VLAN ID Subtype (2)
32 VLAN name Subtype (3)
37 Protocol Identity Subtype (4)
41 ETS Configuration Subtype (9)
55 ETS Recommendation Subtype (10)
113 Subtype MAC address (4): 08:00:27:0d:f1:3c
116 Subtype MAC address (3): 08:00:27:0d:f1:3c
[all …]
Ddcb_qcn.out27 Subtype MAC address (4): 08:00:27:42:ba:59
30 Subtype MAC address (3): 08:00:27:42:ba:59
35 Port VLAN Id Subtype (1)
39 Port and Protocol VLAN ID Subtype (2)
43 VLAN name Subtype (3)
48 Protocol Identity Subtype (4)
52 Application Priority Subtype (12)
58 Subtype MAC address (4): 08:00:27:42:ba:59
61 Subtype MAC address (3): 08:00:27:42:ba:59
66 Port VLAN Id Subtype (1)
[all …]
Ddcb_pfc.out15 Subtype MAC address (4): 08:00:27:42:ba:59
18 Subtype MAC address (3): 08:00:27:42:ba:59
23 Port VLAN Id Subtype (1)
27 Port and Protocol VLAN ID Subtype (2)
31 VLAN name Subtype (3)
36 Protocol Identity Subtype (4)
40 Priority Flow Control Configuration Subtype (11)
49 Subtype MAC address (4): 08:00:27:42:ba:59
52 Subtype MAC address (3): 08:00:27:42:ba:59
57 Port VLAN Id Subtype (1)
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactory1604.java44 JavaType subtype = tf.constructSpecializedType(base, DataList1604.class); in testCustomTypesRefinedSimple() local
45 assertEquals(DataList1604.class, subtype.getRawClass()); in testCustomTypesRefinedSimple()
46 assertEquals(1, subtype.containedTypeCount()); in testCustomTypesRefinedSimple()
47 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedSimple()
57 JavaType subtype = tf.constructSpecializedType(base, RefinedDataList1604.class); in testCustomTypesRefinedNested() local
58 assertEquals(RefinedDataList1604.class, subtype.getRawClass()); in testCustomTypesRefinedNested()
59 assertEquals(DataList1604.class, subtype.getSuperClass().getRawClass()); in testCustomTypesRefinedNested()
61 assertEquals(1, subtype.containedTypeCount()); in testCustomTypesRefinedNested()
62 JavaType paramType = subtype.containedType(0); in testCustomTypesRefinedNested()
72 JavaType subtype = tf.constructSpecializedType(base, SneakyDataList1604.class); in testCustomTypesRefinedSneaky() local
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DStdSubtypeResolver.java41 /* Subtype registration
69 for (Class<?> subtype : subtypes) { in registerSubtypes()
70 types[i++] = new NamedType(subtype); in registerSubtypes()
92 for (NamedType subtype : _registeredSubtypes) { in collectAndResolveSubtypesByClass()
93 // is it a subtype of root type? in collectAndResolveSubtypesByClass()
94 if (rawBase.isAssignableFrom(subtype.getType())) { // yes in collectAndResolveSubtypesByClass()
96 subtype.getType()); in collectAndResolveSubtypesByClass()
97 _collectAndResolve(curr, subtype, config, ai, collected); in collectAndResolveSubtypesByClass()
133 for (NamedType subtype : _registeredSubtypes) { in collectAndResolveSubtypesByClass()
134 // is it a subtype of root type? in collectAndResolveSubtypesByClass()
[all …]
/external/dagger2/javatests/dagger/functional/membersinject/
DMembersInjectionOrdering.java27 * such ordering. When members injecting {@link Subtype}, field injection is guaranteed to be
37 static class Subtype extends Base { class in MembersInjectionOrdering
43 private final Subtype subtype; field in MembersInjectionOrdering.OrderingModule
45 OrderingModule(Subtype subtype) { in OrderingModule() argument
46 this.subtype = subtype; in OrderingModule()
51 return subtype.first.toString(); in provideToString()
57 void inject(Subtype subtype); in inject() argument

12345678910>>...88