Home
last modified time | relevance | path

Searched refs:setComponentByPosition (Results 1 – 16 of 16) sorted by relevance

/external/python/pyasn1-modules/tools/
Dsnmpget.py24 msg.setComponentByPosition(0)
25 msg.setComponentByPosition(1, sys.argv[1])
27 pdus = msg.setComponentByPosition(2).getComponentByPosition(2)
28 pdu = pdus.setComponentByPosition(0).getComponentByPosition(0)
29 pdu.setComponentByPosition(0, 123)
30 pdu.setComponentByPosition(1, 0)
31 pdu.setComponentByPosition(2, 0)
32 vbl = pdu.setComponentByPosition(3).getComponentByPosition(3)
33 vb = vbl.setComponentByPosition(0).getComponentByPosition(0)
34 vb.setComponentByPosition(0, sys.argv[3])
[all …]
Docspclient.py94 requestList.setComponentByPosition(0, request)
/external/python/pyasn1/tests/codec/cer/
Dtest_encoder.py291 self.s.setComponentByPosition(0, univ.Null(''))
292 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
293 self.s.setComponentByPosition(2, univ.Integer(1))
325 self.s.setComponentByPosition(0)
329 self.s.setComponentByPosition(0)
330 self.s.setComponentByPosition(1, 'quick brown')
334 self.s.setComponentByPosition(0)
335 self.s.setComponentByPosition(2, 1)
339 self.s.setComponentByPosition(0, univ.Null(''))
340 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
[all …]
/external/python/pyasn1/tests/codec/ber/
Dtest_encoder.py483 s.setComponentByPosition(0, univ.OctetString('quick brown'))
488 s.setComponentByPosition(0, univ.OctetString('quick brown'))
495 s.setComponentByPosition(0, univ.OctetString('quick brown'))
502 s.setComponentByPosition(0, univ.OctetString('quick brown'))
545 self.s.setComponentByPosition(0, 'quick brown')
577 s.setComponentByPosition(0, univ.OctetString('quick brown'))
582 s.setComponentByPosition(0, univ.OctetString('quick brown'))
589 s.setComponentByPosition(0, univ.OctetString('quick brown'))
596 s.setComponentByPosition(0, univ.OctetString('quick brown'))
641 self.s.setComponentByPosition(0, 'quick brown')
[all …]
Dtest_decoder.py507 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
560 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
587 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
619 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
652 self.s.setComponentByPosition(0, univ.Null(null))
653 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
654 self.s.setComponentByPosition(2, univ.Integer(1))
714 self.s.setComponentByPosition(0, univ.Null(null))
718 self.s.setComponentByPosition(0, univ.Null(null))
719 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
[all …]
/external/python/pyasn1/tests/type/
Dtest_univ.py946 self.s1.setComponentByPosition(0, univ.OctetString('abc'))
953 self.s1.setComponentByPosition(0, 'abc')
955 self.s2.setComponentByPosition(0, univ.OctetString('abc'))
963 s.setComponentByPosition(0, univ.OctetString('abc'))
967 s.setComponentByPosition(1, univ.OctetString('Abc'))
970 s.setComponentByPosition(1, univ.OctetString('Abc'),
982 s.setComponentByPosition(0, o)
994 s.setComponentByPosition(0, o.clone('cba'))
1001 s.setComponentByPosition(0, o.clone('cba'))
1011 s.setComponentByPosition(0, univ.OctetString('abc'))
[all …]
/external/python/pyasn1/pyasn1/type/
Duniv.py1626 self.setComponentByPosition(idx, value)
1666 myClone.setComponentByPosition(
1670 myClone.setComponentByPosition(idx, componentValue.clone())
1745 self.setComponentByPosition(idx)
1754 def setComponentByPosition(self, idx, value=noValue, member in SequenceOfAndSetOfBase
2077 self.setComponentByPosition(idx, value)
2122 myClone.setComponentByPosition(
2126 myClone.setComponentByPosition(idx, componentValue.clone())
2206 return self.setComponentByPosition(
2290 self.setComponentByPosition(idx)
[all …]
Dbase.py624 def setComponentByPosition(self, idx, value, verifyConstraints=True): member in AbstractConstructedAsn1Item
/external/python/pyasn1/docs/source/pyasn1/type/univ/
Dsequenceof.rst11 getComponentByPosition, setComponentByPosition
Dsequence.rst11 setComponentByPosition, getComponentByName, setComponentByName, setDefaultComponents
Dsetof.rst11  getComponentByPosition, setComponentByPosition
Dchoice.rst11 …getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
Dset.rst11 …getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
/external/python/pyasn1/pyasn1/codec/ber/
Ddecoder.py473 asn1Object.setComponentByPosition(
545 asn1Object.setComponentByPosition(
591 asn1Object.setComponentByPosition(idx, component)
605 asn1Object.setComponentByPosition(
675 asn1Object.setComponentByPosition(
727 asn1Object.setComponentByPosition(idx, component)
745 asn1Object.setComponentByPosition(
/external/python/pyasn1/tests/codec/der/
Dtest_encoder.py99 self.s.getComponentByName('status').setComponentByPosition(0, 'A')
104 self.s.getComponentByName('status').setComponentByPosition(1, True)
/external/python/pyasn1/tests/codec/native/
Dtest_encoder.py130 self.s.setComponentByPosition(0, univ.Null(''))