Home
last modified time | relevance | path

Searched refs:corrupt_bytes (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/misc/
De2fuzz.c85 off_t *corrupt_bytes) in find_metadata_blocks() argument
95 *corrupt_bytes = 0; in find_metadata_blocks()
162 *corrupt_bytes = fb.corrupt_blocks * fs->blocksize; in find_metadata_blocks()
184 off_t hsize, count, off, offset, corrupt_bytes; in process_fs() local
234 corrupt_bytes = (ext2fs_blocks_count(fs->super) - in process_fs()
247 ret = find_metadata_blocks(fs, corrupt_map, &corrupt_bytes); in process_fs()
266 count = user_corrupt_pct * corrupt_bytes / 100; in process_fs()
268 count = rand_num(0, corrupt_bytes / 100); in process_fs()
/external/scapy/scapy/
Dvolatile.py14 from scapy.utils import corrupt_bits,corrupt_bytes
730 return corrupt_bytes(self.s, self.p, self.n)
Dutils.py664 def corrupt_bytes(s, p=0.01, n=None): function
/external/scapy/test/
Dregression.uts343 assert(corrupt_bytes("ABCDE") in [b"ABCDW", b"ABCDX"])
344 assert(sane(corrupt_bytes("ABCDE", n=3)) in ["A.8D4", ".2.DE"])