Home
last modified time | relevance | path

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

/external/python/pyasn1-modules/tools/
Dsnmpget.py27 pdus = msg.setComponentByPosition(2).getComponentByPosition(2)
28 pdu = pdus.setComponentByPosition(0).getComponentByPosition(0)
32 vbl = pdu.setComponentByPosition(3).getComponentByPosition(3)
33 vb = vbl.setComponentByPosition(0).getComponentByPosition(0)
35 …yPosition(1).getComponentByPosition(1).setComponentByPosition(0).getComponentByPosition(0).setComp…
Docspclient.py114 response0 = tbsResponseData.getComponentByName('responses').getComponentByPosition(0)
/external/python/pyasn1/tests/type/
Dtest_univ.py1048 assert s.getComponentByPosition(0) == self.s1.getComponentByPosition(0)
1156 assert s.getComponentByPosition(0, default=None, instantiate=False) is None
1157 assert s.getComponentByPosition(0, default=None) is None
1159 assert s.getComponentByPosition(0, default=None) is not None
1160 assert s.getComponentByPosition(0, default=None) == str2octs('test')
1162 assert s.getComponentByPosition(0, default=None) is None
1170 assert s.getComponentByPosition(0, instantiate=False) is univ.noValue
1172 assert s.getComponentByPosition(0, instantiate=False) is not univ.noValue
1173 assert s.getComponentByPosition(0, instantiate=False) == str2octs('test')
1175 assert s.getComponentByPosition(0, instantiate=False) is univ.noValue
[all …]
/external/python/pyasn1/docs/source/pyasn1/type/univ/
Dsequenceof.rst11 getComponentByPosition, setComponentByPosition
Dsequence.rst10 …eOf, tagSet, effectiveTagSet, tagMap, componentType, subtypeSpec, sizeSpec, getComponentByPosition,
Dsetof.rst11  getComponentByPosition, setComponentByPosition
Dchoice.rst11getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
Dset.rst11getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
/external/python/pyasn1/pyasn1/type/
Duniv.py1619 return self.getComponentByPosition(idx)
1672 def getComponentByPosition(self, idx, default=noValue, instantiate=True): member in SequenceOfAndSetOfBase
2060 return self.getComponentByPosition(idx)
2163 return self.getComponentByPosition(idx, default=default, instantiate=instantiate)
2210 def getComponentByPosition(self, idx, default=noValue, instantiate=True): member in SequenceAndSetBase
2593 componentValue = self.getComponentByPosition(
2649 componentType = self.getComponentByPosition(idx)
2819 def getComponentByPosition(self, idx, default=noValue, instantiate=True): member in Choice
2823 return Set.getComponentByPosition(self, idx, default=default,
Dbase.py621 def getComponentByPosition(self, idx): member in AbstractConstructedAsn1Item
/external/python/pyasn1/pyasn1/codec/ber/
Ddecoder.py568 … if namedType.isOptional and not asn1Object.getComponentByPosition(idx).isValue:
587 asn1Object.getComponentByPosition(idx).asOctets(),
703 … if namedType.isOptional and not asn1Object.getComponentByPosition(idx).isValue:
722 asn1Object.getComponentByPosition(idx).asOctets(),