Searched refs:maxbytes (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/mtest01/ |
D | mtest01.c | 53 static long maxbytes = 0; variable 68 char *str_maxbytes, long *maxbytes, in parse_mtest_options() argument 76 if (tst_parse_long(str_maxbytes, maxbytes, 1, LONG_MAX)) { in parse_mtest_options() 82 alloc_maxbytes = (unsigned long long)maxbytes; in parse_mtest_options() 120 opt_maxbytes, &maxbytes, in setup()
|
/external/ltp/testcases/kernel/fs/proc/ |
D | proc01.c | 66 static long long maxbytes; variable 420 if ((maxbytes > 0) && (file_total_read > maxbytes)) { in readproc() 458 maxbytes = atoi(opt_maxmbytesstr) * 1024 * 1024; in main()
|
/external/scapy/scapy/ |
D | fields.py | 1385 def __init__(self, name, default, wordbytes, maxbytes, aton, ntoa, length_from): argument 1387 self.maxbytes = maxbytes 1390 Field.__init__(self, name, default, "%is" % self.maxbytes) 1419 if len(s) < self.maxbytes: 1420 s= s + (b"\0" * (self.maxbytes - len(s))) 1425 return (self.ntoa(b"\0"*self.maxbytes), 1)
|
/external/rust/crates/byteorder/src/ |
D | lib.rs | 2403 ($max:expr, $bytes:expr, $maxbytes:expr) => { 2404 ($max - 1) >> (8 * ($maxbytes - $bytes))
|