Home
last modified time | relevance | path

Searched refs:chunk_start (Results 1 – 11 of 11) 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/f2fs-tools/lib/
Dlibf2fs_io.c326 int64_t chunk_start = (blocks[0] == NULL) ? -1 : 0; in f2fs_finalize_device() local
339 if (!blocks[j] && chunk_start != -1) { in f2fs_finalize_device()
340 ret = sparse_merge_blocks(chunk_start, in f2fs_finalize_device()
341 j - chunk_start); in f2fs_finalize_device()
342 chunk_start = -1; in f2fs_finalize_device()
343 } else if (blocks[j] && chunk_start == -1) { in f2fs_finalize_device()
344 chunk_start = j; in f2fs_finalize_device()
345 } else if (blocks[j] && (chunk_start != -1) && in f2fs_finalize_device()
346 (j + 1 - chunk_start >= in f2fs_finalize_device()
348 ret = sparse_merge_blocks(chunk_start, in f2fs_finalize_device()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c308 int64_t chunk_start = (sm->blocks[0] == NULL) ? -1 : 0; in sparse_close_channel() local
310 if (!sm->blocks[i] && chunk_start != -1) { in sparse_close_channel()
311 retval = sparse_merge_blocks(sm, chunk_start, i - chunk_start); in sparse_close_channel()
312 chunk_start = -1; in sparse_close_channel()
313 } else if (sm->blocks[i] && chunk_start == -1) { in sparse_close_channel()
314 chunk_start = i; in sparse_close_channel()
319 if (chunk_start != -1) { in sparse_close_channel()
320 retval = sparse_merge_blocks(sm, chunk_start, in sparse_close_channel()
321 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/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/tensorflow/tensorflow/core/common_runtime/
Dbase_collective_executor.cc123 const T* chunk_start = std::min(data_end_, data_start_ + i * chunk_elts_); in ChunkElts() local
124 const T* chunk_end = std::min(data_end_, chunk_start + chunk_elts_); in ChunkElts()
125 return chunk_end - chunk_start; in ChunkElts()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_utils_test.cc208 const int chunk_start = i * cols + (j * 16); in SetupMatrixVectorData() local
213 for (int k = chunk_start; k < chunk_end; k++) { in SetupMatrixVectorData()
218 for (int k = chunk_start; k < chunk_end; k++) { in SetupMatrixVectorData()
/external/v8/src/
Dunicode.cc116 uint16_t chunk_start = chr - key; in LookupMapping() local
152 result[0] = entry + chunk_start + (value >> 2); in LookupMapping()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp2117 int chunk_start = -1; in assign_constant_locations() local
2121 assert(chunk_start == -1); in assign_constant_locations()
2129 if (chunk_start == -1) { in assign_constant_locations()
2130 chunk_start = u; in assign_constant_locations()
2134 unsigned chunk_offset = (u - chunk_start) * UNIFORM_SLOT_SIZE; in assign_constant_locations()
2159 unsigned chunk_size = u - chunk_start + 1; in assign_constant_locations()
2166 push_constant_loc[chunk_start + i] = num_push_constants++; in assign_constant_locations()
2171 pull_constant_loc[chunk_start + i] = num_pull_constants++; in assign_constant_locations()
2175 chunk_start = -1; in assign_constant_locations()
/external/u-boot/fs/yaffs2/
Dyaffs_guts.c3504 loff_t chunk_start; in yaffs_do_file_wr() local
3534 chunk_start = (((loff_t)(chunk - 1)) * in yaffs_do_file_wr()
3537 if (chunk_start > in->variant.file_variant.file_size) in yaffs_do_file_wr()
3542 chunk_start; in yaffs_do_file_wr()
/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()