Searched refs:RandNum (Results 1 – 9 of 9) sorted by relevance
/external/scapy/scapy/ |
D | volatile.py | 100 class RandNum(RandField): class 130 class RandNumGamma(RandNum): 137 class RandNumGauss(RandNum): 144 class RandNumExpo(RandNum): 151 class RandEnum(RandNum): 158 class RandByte(RandNum): 160 RandNum.__init__(self, 0, 2**8-1) 162 class RandSByte(RandNum): 164 RandNum.__init__(self, -2**7, 2**7-1) 166 class RandShort(RandNum): [all …]
|
D | asn1fields.py | 168 return RandNum(-2**64, 2**64-1) 208 return RandString(RandNum(0, 1000)) 213 return RandString(RandNum(0, 1000))
|
D | fields.py | 415 return RandBin(RandNum(0,1200)) 608 l = RandNum(0,200) 694 return RandBin(RandNum(self.minlen, self.maxlen)) 786 return RandTermString(RandNum(0,1200),b"\x00") 802 return RandTermString(RandNum(0,1200),self.stop) 889 return RandNum(0,2**self.size-1)
|
/external/scapy/test/ |
D | fields.uts | 847 assert(f.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 848 assert(rf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 849 assert(lf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 850 assert(fcb.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 903 assert(f.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 904 assert(rf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 905 assert(lf.i2repr_one(None, RandNum(0, 10)) == '<RandNum>') 906 assert(fcb.i2repr_one(None, RandNum(0, 10)) == '<RandNum>')
|
D | x509.uts | 205 assert(isinstance(r, RandNum))
|
/external/scapy/scapy/modules/ |
D | p0f.py | 24 from scapy.volatile import RandInt, RandByte, RandChoice, RandNum, RandShort, RandString 448 'WScale', coef*RandNum(min=1, max=(2**8-1)//coef))) 504 pkt.payload.window = coef * RandNum(min=1, max=(2**16-1)//coef)
|
/external/scapy/scapy/contrib/ |
D | gtp.py | 284 TBCDByteField("imsi", str(RandNum(0, 999999999999999)), 8)] 341 XBitField("NSAPI", RandNum(0, 15), 4) ]
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerFork.cpp | 146 size_t RandNum = (*Rand)(AverageCorpusSize); in CreateNewJob() local 147 size_t Index = RandNum + StartIndex; in CreateNewJob()
|
/external/scapy/scapy/layers/ |
D | dhcp.py | 178 rndstr = RandBin(RandNum(0,255))
|