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/ber/
Dtest_encoder.py484 s.setComponentByPosition(0, univ.OctetString('quick brown'))
489 s.setComponentByPosition(0, univ.OctetString('quick brown'))
496 s.setComponentByPosition(0, univ.OctetString('quick brown'))
503 s.setComponentByPosition(0, univ.OctetString('quick brown'))
546 self.s.setComponentByPosition(0, 'quick brown')
579 s.setComponentByPosition(0, univ.OctetString('quick brown'))
584 s.setComponentByPosition(0, univ.OctetString('quick brown'))
591 s.setComponentByPosition(0, univ.OctetString('quick brown'))
598 s.setComponentByPosition(0, univ.OctetString('quick brown'))
643 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.py982 self.s1.setComponentByPosition(0, univ.OctetString('abc'))
989 self.s1.setComponentByPosition(0, 'abc')
991 self.s2.setComponentByPosition(0, univ.OctetString('abc'))
999 s.setComponentByPosition(
1005 s.setComponentByPosition(1, univ.OctetString('Abc'))
1008 s.setComponentByPosition(1, univ.OctetString('Abc'),
1020 s.setComponentByPosition(0, o)
1032 s.setComponentByPosition(0, o.clone('cba'))
1039 s.setComponentByPosition(0, o.clone('cba'))
1049 s.setComponentByPosition(0, univ.OctetString('abc'))
[all …]
/external/python/pyasn1/tests/codec/cer/
Dtest_encoder.py314 self.s.setComponentByPosition(0, univ.Null(''))
315 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
316 self.s.setComponentByPosition(2, univ.Integer(1))
348 self.s.setComponentByPosition(0)
352 self.s.setComponentByPosition(0)
353 self.s.setComponentByPosition(1, 'quick brown')
357 self.s.setComponentByPosition(0)
358 self.s.setComponentByPosition(2, 1)
362 self.s.setComponentByPosition(0, univ.Null(''))
363 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
[all …]
/external/python/pyasn1/pyasn1/type/
Duniv.py1681 self.setComponentByPosition(idx, value)
1742 myClone.setComponentByPosition(
1746 myClone.setComponentByPosition(idx, componentValue.clone())
1832 self.setComponentByPosition(idx)
1841 def setComponentByPosition(self, idx, value=noValue, member in SequenceOfAndSetOfBase
1889 self.setComponentByPosition(
2254 self.setComponentByPosition(idx, value)
2325 myClone.setComponentByPosition(
2329 myClone.setComponentByPosition(idx, componentValue.clone())
2412 return self.setComponentByPosition(
[all …]
Dbase.py683 def setComponentByPosition(self, idx, value, verifyConstraints=True): member in ConstructedAsn1Type
/external/python/pyasn1/docs/source/pyasn1/type/univ/
Dchoice.rst11 …getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
Dsetof.rst11  getComponentByPosition, setComponentByPosition, clear, reset, isInconsistent
Dsequence.rst11 setComponentByPosition, getComponentByName, setComponentByName, setDefaultComponents,
Dsequenceof.rst11 getComponentByPosition, setComponentByPosition, clear, reset, isInconsistent
Dset.rst11 …getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefault…
/external/python/pyasn1/pyasn1/codec/ber/
Ddecoder.py528 asn1Object.setComponentByPosition(
618 asn1Object.setComponentByPosition(
695 asn1Object.setComponentByPosition(idx, component)
715 asn1Object.setComponentByPosition(
800 asn1Object.setComponentByPosition(
881 asn1Object.setComponentByPosition(idx, component)
905 asn1Object.setComponentByPosition(
/external/python/pyasn1/tests/codec/native/
Dtest_encoder.py130 self.s.setComponentByPosition(0, univ.Null(''))
/external/python/pyasn1/tests/codec/der/
Dtest_encoder.py100 self.s.getComponentByName('status').setComponentByPosition(0, 'A')
105 self.s.getComponentByName('status').setComponentByPosition(1, True)