Home
last modified time | relevance | path

Searched refs:chunksize (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dtransfer_test.py36 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,
68 start, chunksize))
143 download_stream, chunksize=26, total_size=52)
Dtransfer.py66 def __init__(self, stream, close_stream=False, chunksize=None, argument
81 self.chunksize = chunksize or 1048576
269 http_request.headers['Range'] = 'bytes=0-%d' % (self.chunksize - 1,)
372 alternate = start + self.chunksize - 1
535 close_stream=False, chunksize=None, auto_transfer=True, argument
539 stream, close_stream=close_stream, chunksize=chunksize,
840 def __ValidateChunksize(self, chunksize=None): argument
843 chunksize = chunksize or self.chunksize
844 if chunksize % self.__server_chunk_granularity:
861 self.__ValidateChunksize(self.chunksize)
[all …]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
Drdata.py37 def _hexify(data, chunksize=None): argument
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): argument
73 if chunksize is None:
74 chunksize = _base64_chunksize
78 if l > chunksize:
[all …]
/external/jemalloc/test/unit/
Dprof_gdump.c37 p = mallocx(chunksize, 0); in TEST_BEGIN()
42 q = mallocx(chunksize, 0); in TEST_BEGIN()
53 r = mallocx(chunksize, 0); in TEST_BEGIN()
64 s = mallocx(chunksize, 0); in TEST_BEGIN()
Dzero.c66 test_zero(large_maxclass+1, chunksize*2); in TEST_BEGIN()
Dstats.c93 huge = mallocx(chunksize, 0); in TEST_BEGIN()
247 p = mallocx(chunksize, 0); in TEST_BEGIN()
405 p = mallocx(chunksize, 0); in TEST_BEGIN()
Djunk.c151 test_junk(large_maxclass+1, chunksize*2); in TEST_BEGIN()
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/
Dhttp.py144 def chunksize(self): member in MediaUpload
284 def __init__(self, fd, mimetype, chunksize=DEFAULT_CHUNK_SIZE, argument
305 if not (chunksize == -1 or chunksize > 0):
307 self._chunksize = chunksize
313 def chunksize(self): member in MediaIoBaseUpload
409 def __init__(self, filename, mimetype=None, chunksize=DEFAULT_CHUNK_SIZE, argument
429 super(MediaFileUpload, self).__init__(fd, mimetype, chunksize=chunksize,
445 chunksize=d['_chunksize'], resumable=d['_resumable'])
457 chunksize=DEFAULT_CHUNK_SIZE, resumable=False): argument
473 super(MediaInMemoryUpload, self).__init__(fd, mimetype, chunksize=chunksize,
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/
Ddownloads_test.py117 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/jemalloc/src/
Dchunk.c17 size_t chunksize; variable
151 size_t nadd = (size == 0) ? 1 : size / chunksize; in chunk_register()
177 size_t nsub = (size == 0) ? 1 : size / chunksize; in chunk_deregister()
210 assert(new_addr == NULL || alignment == chunksize); in chunk_recycle()
218 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); in chunk_recycle()
373 ret = chunk_alloc_mmap(NULL, size, chunksize, &zero, &commit); in chunk_alloc_base()
471 JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, chunksize); in chunk_alloc_wrapper()
718 chunksize = (ZU(1) << opt_lg_chunk); in chunk_boot()
719 assert(chunksize >= PAGE); in chunk_boot()
720 chunksize_mask = chunksize - 1; in chunk_boot()
[all …]
Dhuge.c40 return (huge_palloc(tsd, arena, usize, chunksize, zero, tcache)); in huge_malloc()
57 assert(ausize >= chunksize); in huge_palloc()
299 if (oldsize < chunksize || usize_max < chunksize) in huge_ralloc_no_move()
345 if (alignment <= chunksize) in huge_ralloc_move_helper()
Dandroid_je_iterate.c49 ptr += chunksize; in je_iterate()
60 ptr += chunksize; in je_iterate()
Darena.c461 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_large_helper()
549 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize, in arena_run_split_small()
601 extent_node_init(&chunk->node, arena, chunk, chunksize, zero, true); in arena_chunk_register()
615 chunksize, chunksize, zero, commit); in arena_chunk_alloc_internal_hard()
618 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
621 chunksize, *zero, *commit); in arena_chunk_alloc_internal_hard()
628 chunk_hooks->decommit(chunk, chunksize, 0, map_bias << in arena_chunk_alloc_internal_hard()
632 chunksize, *zero, *commit); in arena_chunk_alloc_internal_hard()
646 chunk = chunk_alloc_cache(arena, &chunk_hooks, NULL, chunksize, in arena_chunk_alloc_internal()
647 chunksize, zero, true); in arena_chunk_alloc_internal()
[all …]
Dchunk_dss.c110 gap_size = (chunksize - CHUNK_ADDR2OFFSET(dss_max)) & in chunk_alloc_dss()
/external/libpcap/
Ddlpisubs.c275 bpf_u_int32 ss, chunksize; in pcap_conf_bufmod() local
310 chunksize = CHUNKSIZE; in pcap_conf_bufmod()
311 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize) in pcap_conf_bufmod()
Dpcap-snit.c287 int chunksize = CHUNKSIZE; in pcap_activate_snit() local
342 si.ic_len = sizeof(chunksize); in pcap_activate_snit()
343 si.ic_dp = (char *)&chunksize; in pcap_activate_snit()
/external/dlmalloc/
Dmalloc.c2262 #define chunksize(p) ((p)->head & ~(FLAG_BITS)) macro
3074 (chunksize(p))))->prev_foot ^ mparams.magic))
3254 size_t sz = chunksize(p); in do_check_mmapped_chunk()
3279 size_t sz = chunksize(p); in do_check_free_chunk()
3319 size_t tsize = chunksize(t); in do_check_tree()
3330 assert(chunksize(u) == tsize); in do_check_tree()
3357 assert(chunksize(u->child[0]) < chunksize(u->child[1])); in do_check_tree()
3385 size_t size = chunksize(p); in do_check_smallbin()
3391 assert(p->bk == b || chunksize(p->bk) == chunksize(p)); in do_check_smallbin()
3402 size_t size = chunksize(x); in bin_find()
[all …]
/external/skia/tools/
Dembed_resources.py13 def bytes_from_file(f, chunksize=8192): argument
15 chunk = f.read(chunksize)
/external/nist-sip/java/gov/nist/javax/sip/stack/
DIOHandler.java110 int chunksize = 8 * 1024; in writeChunks() local
111 for (int p = 0; p < length; p += chunksize) { in writeChunks()
112 int chunk = p + chunksize < length ? chunksize : length - p; in writeChunks()
/external/fonttools/Lib/fontTools/misc/
DxmlWriter.py106 chunksize = 8
111 for j in range(0, hexlinelength, chunksize):
112 line = line + white + hexline[j:j+chunksize]
/external/curl/tests/
Dhttp_pipe.py201 def Chunkify(self, data, chunksize): argument
204 …return [hex(chunksize)[2:] + "\r\n" + data[i:i+chunksize] + "\r\n" for i in range(0, len(data), ch…
/external/jemalloc/include/jemalloc/internal/
Dchunk.h49 extern size_t chunksize;
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/
DSSHFP.py45 chunksize=128))
/external/autotest/client/bin/
Dbase_utils.py115 chunksize = 4096
128 if chunksize > size:
129 chunksize = size
130 data = f.read(chunksize)
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/
Ddsbase.py48 chunksize=128))

12