/external/qemu/distrib/ext4_utils/src/ |
H A D | make_ext4fs_main.c | 68 int sparse = 0; local 128 sparse = 1; 164 if (wipe && sparse) { 165 fprintf(stderr, "Cannot specifiy both wipe and sparse\n"); 204 sparse, crc, wipe, sehnd, verbose);
|
H A D | ext2simg.c | 29 #include <sparse/sparse.h> 54 fprintf(stderr, " -S don't use sparse output format\n"); 184 int sparse = 1; local 200 sparse = 0; 250 write_ext4_image(outfd, gzip, sparse, crc);
|
H A D | ext4_utils.c | 23 #include <sparse/sparse.h> 83 void write_ext4_image(int fd, int gz, int sparse, int crc) argument 85 sparse_file_write(ext4_sparse_file, fd, gz, sparse, crc);
|
H A D | make_ext4fs.c | 24 #include <sparse/sparse.h> 481 int sparse, int crc, int wipe, 630 write_ext4_image(fd, gzip, sparse, crc); 479 make_ext4fs_internal(int fd, const char *_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, struct selabel_handle *sehnd, int verbose) argument
|
/external/qemu/distrib/libsparse/src/ |
H A D | sparse.c | 20 #include <sparse/sparse.h> 152 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, argument 160 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); 172 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, argument 181 sparse, chunks, crc); 200 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) argument 208 s->block_size, s->len, false, sparse, chunks, crc); 235 * overhead is sparse file header, initial skip chunk, split chunk, end 256 * requested size, split the chunk. Results in sparse file [all...] |
H A D | sparse_read.c | 30 #include <sparse/sparse.h> 87 sparse_print_verbose("Invalid sparse file format%s%s\n", s, at); 375 error("failed to read sparse file"); 406 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) argument 408 if (crc && !sparse) { 412 if (sparse) {
|
H A D | output_file.c | 542 int64_t len, bool sparse, int chunks, bool crc) 566 if (sparse) { 572 if (sparse) { 632 int gz __unused, int sparse, int chunks, int crc) 647 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); 657 int gz, int sparse, int chunks, int crc) 673 ret = output_file_init(out, block_size, len, sparse, chunks, crc); 541 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument 630 output_file_open_callback(int (*write)(void *, const void *, int), void *priv, unsigned int block_size, int64_t len, int gz __unused, int sparse, int chunks, int crc) argument 656 output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz, int sparse, int chunks, int crc) argument
|
/external/e2fsprogs/misc/ |
H A D | e2image.c | 561 int sparse = 0; local 662 if (sparse) 663 seek_relative(fd, sparse); 664 sparse = 0; 678 sparse += fs->blocksize; 679 if (sparse > 1024*1024) { 681 sparse -= 1024*1024; 698 sparse = 0; 715 if (sparse) { 721 offset = seek_relative(fd, sparse); [all...] |
/external/opencv/ml/src/ |
H A D | ml_inner_functions.cpp | 1260 const CvSparseMat* sparse = (const CvSparseMat*)sample; local 1263 node = cvInitSparseMatIterator( sparse, &mat_iterator ); 1280 int idx = *CV_NODE_IDX( sparse, node ); 1287 row_sample[idx] = *(float*)CV_NODE_VAL( sparse, node ); 1296 int idx = *CV_NODE_IDX( sparse, node ); 1304 ptr->val = *(float*)CV_NODE_VAL( sparse, node ); 1554 CV_ERROR( CV_StsBadArg, "predict_input should be a matrix or a sparse matrix" ); 1628 CvSparseMat* sparse = (CvSparseMat*)predict_input; 1651 // hack: to decrease memory footprint, make all the sparse matrices 1659 // put each row (or column) of predict_input into separate sparse matri [all...] |