Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 21 of 21) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Dvcencoder_test.cc125 void TestWithFixedChunkSize(size_t chunk_size);
126 void TestWithEncodedChunkVector(size_t chunk_size);
298 void VCDiffEncoderTest::TestWithFixedChunkSize(size_t chunk_size) { in TestWithFixedChunkSize() argument
303 chunk_start_index += chunk_size) { in TestWithFixedChunkSize()
304 size_t this_chunk_size = chunk_size; in TestWithFixedChunkSize()
314 const size_t num_windows = (strlen(kTarget) / chunk_size) + 1; in TestWithFixedChunkSize()
322 chunk_start_index += chunk_size) { in TestWithFixedChunkSize()
323 size_t this_chunk_size = chunk_size; in TestWithFixedChunkSize()
343 for (size_t chunk_size = 1; chunk_size < strlen(kTarget); ++chunk_size) { in TEST_F() local
344 TestWithFixedChunkSize(chunk_size); in TEST_F()
[all …]
/external/open-vcdiff/src/
Dvcencoder_test.cc130 size_t chunk_size);
131 void TestWithEncodedChunkVector(size_t chunk_size);
335 size_t chunk_size) { in TestWithFixedChunkSize() argument
340 chunk_start_index += chunk_size) { in TestWithFixedChunkSize()
341 size_t this_chunk_size = chunk_size; in TestWithFixedChunkSize()
351 const size_t num_windows = (strlen(kTarget) / chunk_size) + 1; in TestWithFixedChunkSize()
362 chunk_start_index += chunk_size) { in TestWithFixedChunkSize()
363 size_t this_chunk_size = chunk_size; in TestWithFixedChunkSize()
383 for (size_t chunk_size = 1; chunk_size < strlen(kTarget); ++chunk_size) { in TEST_F() local
384 TestWithFixedChunkSize(&encoder_, &decoder_, chunk_size); in TEST_F()
[all …]
/external/bison/lib/
Dobstack.c169 h->chunk_size = size; in _obstack_begin()
173 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin()
179 = (char *) chunk + h->chunk_size; in _obstack_begin()
216 h->chunk_size = size; in _obstack_begin_1()
221 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1()
227 = (char *) chunk + h->chunk_size; in _obstack_begin_1()
254 if (new_size < h->chunk_size) in _obstack_newchunk()
255 new_size = h->chunk_size; in _obstack_newchunk()
Dobstack.h151 long chunk_size; /* preferred size to allocate chunks in */ member
213 #define obstack_chunk_size(h) ((h)->chunk_size)
/external/qemu/android/utils/
Djpeg-compress.c35 int chunk_size; member
52 dst->size = dst->chunk_size; in _on_init_destination()
77 dst->size += dst->chunk_size; in _on_empty_output_buffer()
103 jpeg_compressor_create(int header_size, int chunk_size) in jpeg_compressor_create() argument
117 dsc->chunk_size = chunk_size; in jpeg_compressor_create()
Djpeg-compress.h42 extern AJPEGDesc* jpeg_compressor_create(int header_size, int chunk_size);
/external/e2fsprogs/misc/
De2freefrag.c74 void update_chunk_stats(struct chunk_info *info, unsigned long chunk_size) in update_chunk_stats() argument
78 index = ul_log2(chunk_size) + 1; in update_chunk_stats()
82 info->histogram.fc_blocks[index] += chunk_size; in update_chunk_stats()
84 if (chunk_size > info->max) in update_chunk_stats()
85 info->max = chunk_size; in update_chunk_stats()
86 if (chunk_size < info->min) in update_chunk_stats()
87 info->min = chunk_size; in update_chunk_stats()
88 info->avg += chunk_size; in update_chunk_stats()
/external/webp/src/dec/
Dwebp.c117 const uint32_t chunk_size = get_le32(*data + TAG_SIZE); in ParseVP8X() local
118 if (chunk_size != VP8X_CHUNK_SIZE) { in ParseVP8X()
172 uint32_t chunk_size; in ParseOptionalChunks() local
182 chunk_size = get_le32(buf + TAG_SIZE); in ParseOptionalChunks()
183 if (chunk_size > MAX_CHUNK_PAYLOAD) { in ParseOptionalChunks()
187 disk_chunk_size = (CHUNK_HEADER_SIZE + chunk_size + 1) & ~1; in ParseOptionalChunks()
201 *alpha_size = chunk_size; in ParseOptionalChunks()
224 size_t* const chunk_size, in ParseVP8Header() argument
234 assert(chunk_size != NULL); in ParseVP8Header()
248 *chunk_size = size; in ParseVP8Header()
[all …]
Ddecode_vp8.h165 size_t chunk_size, // total data size expected in the chunk
Dvp8.c97 int VP8GetInfo(const uint8_t* data, size_t data_size, size_t chunk_size, in VP8GetInfo() argument
121 if (((bits >> 5)) >= chunk_size) { // partition_length in VP8GetInfo()
/external/chromium/net/spdy/
Dspdy_test_util.cc25 int chunk_size = length / num_chunks; in ChopWriteFrame() local
27 const char* ptr = data + (index * chunk_size); in ChopWriteFrame()
29 chunk_size += length % chunk_size; // The last chunk takes the remainder. in ChopWriteFrame()
30 chunks[index] = MockWrite(true, ptr, chunk_size); in ChopWriteFrame()
50 int chunk_size = length / num_chunks; in ChopReadFrame() local
52 const char* ptr = data + (index * chunk_size); in ChopReadFrame()
54 chunk_size += length % chunk_size; // The last chunk takes the remainder. in ChopReadFrame()
55 chunks[index] = MockRead(true, ptr, chunk_size); in ChopReadFrame()
/external/kernel-headers/original/linux/raid/
Dmd_u.h84 int chunk_size; /* 1 chunk size in bytes */ member
119 int chunk_size; /* in bytes */ member
Dmd_k.h129 int chunk_size; member
279 int (*reconfig) (mddev_t *mddev, int layout, int chunk_size);
Dmd_p.h173 __u32 chunk_size; /* 1 chunk size in bytes */ member
/external/wpa_supplicant_8/src/wps/
Dhttpread.c95 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/ member
556 h->chunk_size = strtoul(cbp, NULL, 16); in httpread_read_handler()
562 if (h->chunk_size == 0) { in httpread_read_handler()
578 (h->chunk_size + 2)) { in httpread_read_handler()
593 h->chunk_size = 0; /* just in case */ in httpread_read_handler()
611 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler()
/external/libvpx/libvpx/vpx_mem/
Dvpx_mem.c549 int chunk_size = 0; in vpx_mm_create_heap_memory() local
555 chunk_size = g_mm_memory_size >> SHIFT_HMM_ADDR_ALIGN_UNIT; in vpx_mm_create_heap_memory()
557 chunk_size -= DUMMY_END_BLOCK_BAUS; in vpx_mm_create_heap_memory()
562 , chunk_size);) in vpx_mm_create_heap_memory()
564 hmm_new_chunk(&hmm_d, (void *)g_p_mng_memory, chunk_size); in vpx_mm_create_heap_memory()
/external/webp/src/demux/
Ddemux.c216 const size_t chunk_size = CHUNK_HEADER_SIZE + payload_available; in StoreFrame() local
227 frame->img_components_[1].size_ = chunk_size; in StoreFrame()
241 WebPGetFeatures(mem->buf_ + chunk_start_offset, chunk_size, in StoreFrame()
252 frame->img_components_[0].size_ = chunk_size; in StoreFrame()
490 const uint32_t chunk_size = ReadLE32(mem); in ParseVP8X() local
491 const uint32_t chunk_size_padded = chunk_size + (chunk_size & 1); in ParseVP8X()
493 if (chunk_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()
550 CHUNK_HEADER_SIZE + chunk_size)) { in ParseVP8X()
/external/v8/src/
Dspaces.cc493 size_t chunk_size; in AllocateChunk() local
500 chunk_size = RoundUp(CodePageAreaStartOffset() + body_size, in AllocateChunk()
504 if (size_executable_ + chunk_size > capacity_executable_) { in AllocateChunk()
514 base = isolate_->code_range()->AllocateRawMemory(chunk_size, &chunk_size); in AllocateChunk()
518 size_ += chunk_size; in AllocateChunk()
520 size_executable_ += chunk_size; in AllocateChunk()
522 base = AllocateAlignedMemory(chunk_size, in AllocateChunk()
538 chunk_size = MemoryChunk::kObjectStartOffset + body_size; in AllocateChunk()
539 base = AllocateAlignedMemory(chunk_size, in AllocateChunk()
547 ZapBlock(base, chunk_size); in AllocateChunk()
[all …]
Dspaces.h2475 static intptr_t ObjectSizeFor(intptr_t chunk_size) { in ObjectSizeFor() argument
2476 if (chunk_size <= (Page::kPageSize + Page::kObjectStartOffset)) return 0; in ObjectSizeFor()
2477 return chunk_size - Page::kPageSize - Page::kObjectStartOffset; in ObjectSizeFor()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h443 uptr chunk_size = SizeClassMap::Size(class_id); in ForEachChunk() local
447 p += chunk_size) { in ForEachChunk()
709 uptr chunk_size = SizeClassMap::Size(state_->possible_regions[region]); in ForEachChunk() local
710 uptr max_chunks_in_region = kRegionSize / (chunk_size + kMetadataSize); in ForEachChunk()
713 p < region_beg + max_chunks_in_region * chunk_size; in ForEachChunk()
714 p += chunk_size) { in ForEachChunk()
/external/chromium/chrome/browser/debugger/
Ddevtools_http_protocol_handler.cc439 std::string chunk_size = StringPrintf("%X\r\n", bytes_read); in OnReadCompleted() local
440 server_->Send(connection_id, chunk_size); in OnReadCompleted()