Home
last modified time | relevance | path

Searched refs:maxbytes (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c83 unsigned long long original_maxbytes, maxbytes = 0; in main() local
108 maxbytes = atoll(optarg); in main()
111 if (maxbytes != 0) in main()
186 maxbytes = D - C; in main()
188 maxpercent, maxbytes / 1024); in main()
190 original_maxbytes = maxbytes; in main()
202 while (pid != 0 && maxbytes > FIVE_HUNDRED_MB) { in main()
206 maxbytes -= FIVE_HUNDRED_MB; in main()
215 if (maxbytes > FIVE_HUNDRED_MB) in main()
218 alloc_bytes = (unsigned long)maxbytes; in main()
[all …]
/external/ltp/testcases/kernel/fs/proc/
Dproc01.c66 static long long maxbytes; variable
415 if ((maxbytes > 0) && (file_total_read > maxbytes)) { in readproc()
453 maxbytes = atoi(opt_maxmbytesstr) * 1024 * 1024; in main()
/external/scapy/scapy/
Dfields.py1385 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/libmtp/src/
Dptp.h2664 uint32_t maxbytes, unsigned char** object,
2667 uint32_t maxbytes, PTPDataHandler *handler);
3304 uint32_t maxbytes, unsigned char** object,
Dptp.c1480 uint32_t maxbytes, unsigned char** object, in ptp_getpartialobject() argument
1485 PTP_CNT_INIT(ptp, PTP_OC_GetPartialObject, handle, offset, maxbytes); in ptp_getpartialobject()
1504 uint32_t maxbytes, PTPDataHandler *handler) in ptp_getpartialobject_to_handler() argument
1508 PTP_CNT_INIT(ptp, PTP_OC_GetPartialObject, handle, offset, maxbytes); in ptp_getpartialobject_to_handler()
4094 uint32_t maxbytes, unsigned char** object, in ptp_android_getpartialobject64() argument
4100 …D_GetPartialObject64, handle, ((uint32_t)offset & 0xFFFFFFFF), (uint32_t)(offset >> 32), maxbytes); in ptp_android_getpartialobject64()
Dlibmtp.c9008 uint64_t offset, uint32_t maxbytes, argument
9027 ret = ptp_getpartialobject(params, id, (uint32_t)offset, maxbytes, data, size);
9029 ret = ptp_android_getpartialobject64(params, id, offset, maxbytes, data, size);