Searched refs:namedType (Results 1 – 8 of 8) sorted by relevance
/external/python/pyasn1/pyasn1/type/ |
D | namedtype.py | 162 self.__hasOptionalOrDefault = any([True for namedType in self.__namedTypes 163 if namedType.isDefaulted or namedType.isOptional]) 164 self.__hasOpenTypes = any([True for namedType in self.__namedTypes 165 if namedType.openType]) 170 self.__keys = frozenset([namedType.name for namedType in self.__namedTypes]) 171 self.__values = tuple([namedType.asn1Object for namedType in self.__namedTypes]) 172 … self.__items = tuple([(namedType.name, namedType.asn1Object) for namedType in self.__namedTypes]) 245 for idx, namedType in enumerate(self.__namedTypes): 246 tagMap = namedType.asn1Object.tagMap 253 … return NamedTypes.PostponedError('Duplicate component tag %s at %s' % (_tagSet, namedType)) [all …]
|
/external/python/pyasn1/pyasn1/codec/cer/ |
D | encoder.py | 118 namedType = namedTypes[idx] 120 if namedType.isOptional and not component.isValue: 123 if namedType.isDefaulted and component == namedType.asn1Object: 126 compsMap[id(component)] = namedType 135 for idx, namedType in enumerate(asn1Spec.componentType.namedTypes): 138 component = value[namedType.name] 141 … raise error.PyAsn1Error('Component name "%s" not found in %r' % (namedType.name, value)) 143 if namedType.isOptional and namedType.name not in value: 146 if namedType.isDefaulted and component == namedType.asn1Object: 149 compsMap[id(component)] = namedType [all …]
|
/external/python/pyasn1/pyasn1/codec/ber/ |
D | encoder.py | 439 namedType = namedTypes[idx] 441 if namedType.isOptional and not component.isValue: 444 if namedType.isDefaulted and component == namedType.asn1Object: 448 options.update(ifNotEmpty=namedType.isOptional) 453 if namedTypes and namedType.openType: 454 wrapType = namedType.asn1Object 462 for idx, namedType in enumerate(asn1Spec.componentType.namedTypes): 465 component = value[namedType.name] 468 … raise error.PyAsn1Error('Component name "%s" not found in %r' % (namedType.name, value)) 470 if namedType.isOptional and namedType.name not in value: [all …]
|
D | decoder.py | 564 for idx, namedType in enumerate(namedTypes.namedTypes): 565 if not namedType.openType: 568 … if namedType.isOptional and not asn1Object.getComponentByPosition(idx).isValue: 572 namedType.openType.name 581 openType = namedType.openType[governingValue] 699 for idx, namedType in enumerate(namedTypes.namedTypes): 700 if not namedType.openType: 703 … if namedType.isOptional and not asn1Object.getComponentByPosition(idx).isValue: 707 namedType.openType.name 716 openType = namedType.openType[governingValue]
|
/external/python/pyasn1/pyasn1/codec/der/ |
D | encoder.py | 33 names = [namedType.name for namedType in asn1Spec.componentType.namedTypes 34 if namedType.name in component]
|
/external/libxml2/include/libxml/ |
D | schemasInternals.h | 781 const xmlChar *namedType; member
|
/external/libxml2/os400/libxmlrpg/ |
D | schemasInternals.rpgle | 951 d namedType * const xmlChar *
|
/external/libxml2/ |
D | xmlschemas.c | 4259 if (elem->namedType != NULL) { in xmlSchemaElementDump() 4260 fprintf(output, " type: '%s' ", elem->namedType); in xmlSchemaElementDump() 8774 &(decl->namedTypeNs), &(decl->namedType)); in xmlSchemaParseElement() 8804 if (decl->namedType != NULL) { in xmlSchemaParseElement() 8819 if (decl->namedType != NULL) { in xmlSchemaParseElement() 13252 if ((elemDecl->subtypes == NULL) && (elemDecl->namedType != NULL)) { in xmlSchemaResolveElementReferences() 13258 type = xmlSchemaGetType(ctxt->schema, elemDecl->namedType, in xmlSchemaResolveElementReferences() 13264 "type", elemDecl->namedType, elemDecl->namedTypeNs, in xmlSchemaResolveElementReferences() 13306 (elemDecl->namedType == NULL) && in xmlSchemaResolveElementReferences()
|