Home
last modified time | relevance | path

Searched refs:chunk_start (Results 1 – 8 of 8) sorted by relevance

/external/e2fsprogs/contrib/android/
Dext2simg.c66 static void add_chunk(ext2_filsys fs, struct sparse_file *s, blk_t chunk_start, blk_t chunk_end) in add_chunk() argument
69 unsigned int nb_blk = chunk_end - chunk_start; in add_chunk()
71 int64_t offset = (int64_t)chunk_start * (int64_t)fs->blocksize; in add_chunk()
74 if (sparse_file_add_file(s, params.in_file, offset, len, chunk_start) < 0) in add_chunk()
89 retval = io_channel_read_blk64(fs->io, chunk_start, nb_blk, bi->buf); in add_chunk()
91 ext2fs_fatal(retval, "reading block %u - %u", chunk_start, chunk_end); in add_chunk()
93 if (sparse_file_add_data(s, bi->buf, len, chunk_start) < 0) in add_chunk()
114 int64_t chunk_start = -1; in ext_to_sparse() local
146 if (chunk_start == -1) { in ext_to_sparse()
147 chunk_start = cur_blk; in ext_to_sparse()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c295 int64_t chunk_start = (sm->blocks[0] == NULL) ? -1 : 0; in sparse_close_channel() local
297 if (!sm->blocks[i] && chunk_start != -1) { in sparse_close_channel()
298 retval = sparse_merge_blocks(sm, chunk_start, i - chunk_start); in sparse_close_channel()
299 chunk_start = -1; in sparse_close_channel()
300 } else if (sm->blocks[i] && chunk_start == -1) { in sparse_close_channel()
301 chunk_start = i; in sparse_close_channel()
306 if (chunk_start != -1) { in sparse_close_channel()
307 retval = sparse_merge_blocks(sm, chunk_start, in sparse_close_channel()
308 sm->blocks_count - chunk_start); in sparse_close_channel()
/external/wpa_supplicant_8/src/wps/
Dhttpread.c82 int chunk_start; /* offset in body of chunk hdr or data */ member
534 char *cbp = h->body + h->chunk_start; in httpread_read_handler()
557 h->body_nbytes = h->chunk_start; in httpread_read_handler()
573 if ((h->body_nbytes - h->chunk_start) == in httpread_read_handler()
590 h->chunk_start = h->body_nbytes; in httpread_read_handler()
608 ncopy = (h->chunk_start + h->chunk_size + 2) - in httpread_read_handler()
/external/libchrome/base/trace_event/
Dprocess_memory_dump.cc102 uintptr_t chunk_start = (start_pointer + offset); in CountResidentBytes() local
110 !!mincore(reinterpret_cast<void*>(chunk_start), chunk_size, vec.get()); in CountResidentBytes()
116 reinterpret_cast<void*>(chunk_start + i * page_size); in CountResidentBytes()
130 mincore(reinterpret_cast<void*>(chunk_start), chunk_size, vec.get()); in CountResidentBytes()
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py177 chunk_start = shard_index * chunk_size
181 chunk_end = chunk_start + chunk_size
182 return ilist[chunk_start:chunk_end]
/external/v8/src/
Dunicode.cc113 uint16_t chunk_start = chr - key; in LookupMapping() local
149 result[0] = entry + chunk_start + (value >> 2); in LookupMapping()
/external/v8/src/debug/
Dliveedit.cc1085 int chunk_start = Handle<Smi>::cast(element)->value(); in TranslatePosition() local
1086 if (original_position < chunk_start) { in TranslatePosition()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2438 unsigned char *chunk_start, *new_buffer; in lodepng_chunk_append() local
2446 chunk_start = &(*out)[new_length - total_chunk_length]; in lodepng_chunk_append()
2448 for(i = 0; i < total_chunk_length; i++) chunk_start[i] = chunk[i]; in lodepng_chunk_append()