/prebuilts/gdb/darwin-x86/lib/python2.7/ |
chunk.py | 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 69 self.chunksize = self.chunksize - 8 # subtract header 84 return self.chunksize 109 pos = pos + self.chunksize 110 if pos < 0 or pos > self.chunksize: 128 if self.size_read >= self.chunksize: 131 size = self.chunksize - self.size_read 132 if size > self.chunksize - self.size_read: 133 size = self.chunksize - self.size_rea [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
chunk.py | 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 69 self.chunksize = self.chunksize - 8 # subtract header 84 return self.chunksize 109 pos = pos + self.chunksize 110 if pos < 0 or pos > self.chunksize: 128 if self.size_read >= self.chunksize: 131 size = self.chunksize - self.size_read 132 if size > self.chunksize - self.size_read: 133 size = self.chunksize - self.size_rea [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
chunk.py | 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 69 self.chunksize = self.chunksize - 8 # subtract header 84 return self.chunksize 109 pos = pos + self.chunksize 110 if pos < 0 or pos > self.chunksize: 128 if self.size_read >= self.chunksize: 131 size = self.chunksize - self.size_read 132 if size > self.chunksize - self.size_read: 133 size = self.chunksize - self.size_rea [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
chunk.py | 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 69 self.chunksize = self.chunksize - 8 # subtract header 84 return self.chunksize 109 pos = pos + self.chunksize 110 if pos < 0 or pos > self.chunksize: 128 if self.size_read >= self.chunksize: 131 size = self.chunksize - self.size_read 132 if size > self.chunksize - self.size_read: 133 size = self.chunksize - self.size_rea [all...] |
/external/jemalloc/test/unit/ |
prof_gdump.c | 37 p = mallocx(chunksize, 0); 42 q = mallocx(chunksize, 0); 53 r = mallocx(chunksize, 0); 64 s = mallocx(chunksize, 0);
|
zero.c | 66 test_zero(large_maxclass+1, chunksize*2);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
transfer_test.py | 36 chunksize = 10 38 six.StringIO(), chunksize=chunksize, total_size=total_size) 39 self.assertEqual(chunksize - 1, 50 six.StringIO(), chunksize=10, total_size=total_size) 60 default_chunksize = download.chunksize 61 for chunksize in (100, default_chunksize): 62 download.chunksize = chunksize 65 download.chunksize + start - 1 [all...] |
transfer.py | 66 def __init__(self, stream, close_stream=False, chunksize=None, 81 self.chunksize = chunksize or 1048576 174 chunksize: default chunksize to use for transfers. 269 http_request.headers['Range'] = 'bytes=0-%d' % (self.chunksize - 1,) 354 use the chunksize, we'll return None. 360 use_chunks: (bool, default: True) If False, ignore self.chunksize. 372 alternate = start + self.chunksize - 1 440 use_chunks: (bool, default: True) If False, ignore self.chunksize [all...] |
/external/skia/tools/ |
embed_resources.py | 13 def bytes_from_file(f, chunksize=8192): 15 chunk = f.read(chunksize)
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
rdata.py | 37 def _hexify(data, chunksize=None): 39 of I{chunksize} characters separated by a space. 43 @param chunksize: the chunk size. Default is L{dns.rdata._hex_chunksize} 47 if chunksize is None: 48 chunksize = _hex_chunksize 51 if l > chunksize: 55 chunks.append(hex[i : i + chunksize]) 56 i += chunksize 62 def _base64ify(data, chunksize=None): 64 of I{chunksize} characters separated by a space [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/ |
downloads_test.py | 117 for chunksize in (2, 3, 15, 100): 119 self.__download.chunksize = chunksize 127 for chunksize in (1048576, 40 * 1048576): 129 self.__download.chunksize = chunksize
|
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/ |
http.py | 122 Note that subclasses of MediaUpload may allow you to control the chunksize 144 def chunksize(self): member in class:MediaUpload 268 chunksize=1024*1024, resumable=True) 275 chunksize, which indicates that the entire file should be uploaded in a single 280 your chunksize larger than 5MB, or to -1. 284 def __init__(self, fd, mimetype, chunksize=DEFAULT_CHUNK_SIZE, 294 chunksize: int, File will be uploaded in chunks of this many bytes. Only 297 on request size, so you should never set your chunksize larger than 5MB, 305 if not (chunksize == -1 or chunksize > 0) 313 def chunksize(self): member in class:MediaIoBaseUpload [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
pool.py | 245 def map(self, func, iterable, chunksize=None): 250 return self.map_async(func, iterable, chunksize).get() 252 def imap(self, func, iterable, chunksize=1): 257 if chunksize == 1: 263 assert chunksize > 1 264 task_batches = Pool._get_tasks(func, iterable, chunksize) 270 def imap_unordered(self, func, iterable, chunksize=1): 275 if chunksize == 1: 281 assert chunksize > 1 282 task_batches = Pool._get_tasks(func, iterable, chunksize) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
pool.py | 245 def map(self, func, iterable, chunksize=None): 250 return self.map_async(func, iterable, chunksize).get() 252 def imap(self, func, iterable, chunksize=1): 257 if chunksize == 1: 263 assert chunksize > 1 264 task_batches = Pool._get_tasks(func, iterable, chunksize) 270 def imap_unordered(self, func, iterable, chunksize=1): 275 if chunksize == 1: 281 assert chunksize > 1 282 task_batches = Pool._get_tasks(func, iterable, chunksize) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
pool.py | 245 def map(self, func, iterable, chunksize=None): 250 return self.map_async(func, iterable, chunksize).get() 252 def imap(self, func, iterable, chunksize=1): 257 if chunksize == 1: 263 assert chunksize > 1 264 task_batches = Pool._get_tasks(func, iterable, chunksize) 270 def imap_unordered(self, func, iterable, chunksize=1): 275 if chunksize == 1: 281 assert chunksize > 1 282 task_batches = Pool._get_tasks(func, iterable, chunksize) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
pool.py | 245 def map(self, func, iterable, chunksize=None): 250 return self.map_async(func, iterable, chunksize).get() 252 def imap(self, func, iterable, chunksize=1): 257 if chunksize == 1: 263 assert chunksize > 1 264 task_batches = Pool._get_tasks(func, iterable, chunksize) 270 def imap_unordered(self, func, iterable, chunksize=1): 275 if chunksize == 1: 281 assert chunksize > 1 282 task_batches = Pool._get_tasks(func, iterable, chunksize) [all...] |
/external/libpcap/ |
dlpisubs.c | 29 #define CHUNKSIZE 65536 35 #define PKTBUFSIZE CHUNKSIZE 275 bpf_u_int32 ss, chunksize; local 310 chunksize = CHUNKSIZE; 311 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize)
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
IOHandler.java | 110 int chunksize = 8 * 1024; local 111 for (int p = 0; p < length; p += chunksize) { 112 int chunk = p + chunksize < length ? chunksize : length - p;
|
/external/dlmalloc/ |
malloc.c | 2262 #define chunksize macro [all...] |
/external/jemalloc/src/ |
android_je_iterate.c | 49 ptr += chunksize; 60 ptr += chunksize;
|
huge.c | 40 return (huge_palloc(tsd, arena, usize, chunksize, zero, tcache)); 57 assert(ausize >= chunksize); 299 if (oldsize < chunksize || usize_max < chunksize) 345 if (alignment <= chunksize)
|
chunk.c | 17 size_t chunksize; variable 18 size_t chunksize_mask; /* (chunksize - 1). */ 151 size_t nadd = (size == 0) ? 1 : size / chunksize; 177 size_t nsub = (size == 0) ? 1 : size / chunksize; 210 assert(new_addr == NULL || alignment == chunksize); 218 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); 373 ret = chunk_alloc_mmap(NULL, size, chunksize, &zero, &commit); 471 JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, chunksize); 705 * Configure chunksize (if not set) to match granularity (usually 64K), 718 chunksize = (ZU(1) << opt_lg_chunk) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
SSHFP.py | 45 chunksize=128))
|
/external/jemalloc/include/jemalloc/internal/ |
chunk.h | 49 extern size_t chunksize; 50 extern size_t chunksize_mask; /* (chunksize - 1). */
|
/external/fonttools/Lib/fontTools/misc/ |
xmlWriter.py | 106 chunksize = 8 111 for j in range(0, hexlinelength, chunksize): 112 line = line + white + hexline[j:j+chunksize]
|