/system/core/libsparse/ |
output_file.h | 24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len, 27 void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
|
sparse_file.h | 23 unsigned int block_size; member in struct:sparse_file
|
/system/extras/ext4_utils/ |
ext4_sb.c | 28 info->block_size = 1024 << sb->s_log_block_size; 41 info->len = (uint64_t)info->block_size * len_blocks;
|
ext4fixup.c | 180 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) + 200 off = block_num * info.block_size; 206 len=read(fd, block, info.block_size); 207 if (len != info.block_size) { 223 off = block_num * info.block_size; 229 len=write(fd, block, info.block_size); 230 if (len != info.block_size) { 299 if (new_inodes_per_group % (info.block_size/info.inode_size)) { 330 * info.blocks_per_group * info.block_size 335 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) [all...] |
ext4_utils.c | 182 offset = (unsigned long long)info.block_size * (aux_info.first_data_block 204 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1; 205 aux_info.len_blocks = info.len / info.block_size; 207 info.block_size); 210 aux_info.blocks_per_ind = info.block_size / sizeof(u32); 216 info.block_size); 236 aux_info.sb_zero = calloc(1, info.block_size); 245 aux_info.sb_block = calloc(1, info.block_size); 249 if (info.block_size > 1024) 260 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks) [all...] |
/system/update_engine/payload_generator/ |
fake_filesystem.cc | 23 FakeFilesystem::FakeFilesystem(uint64_t block_size, uint64_t block_count) : 24 block_size_(block_size),
|
raw_filesystem.cc | 28 const std::string& filename, uint64_t block_size, uint64_t block_count) { 31 result->block_size_ = block_size;
|
/external/autotest/client/cros/chameleon/ |
edid.py | 41 BLOCK_SIZE = 128 64 if data_len % Edid.BLOCK_SIZE != 0: 68 for start in xrange(0, data_len, Edid.BLOCK_SIZE): 71 map(ord, data[start:start+Edid.BLOCK_SIZE])) 74 start / Edid.BLOCK_SIZE)
|
/system/extras/squashfs_utils/ |
mksquashfsimage.sh | 8 ${0##*/} SRC_DIR OUTPUT_FILE [-s] [-m MOUNT_POINT] [-d PRODUCT_OUT] [-C FS_CONFIG ] [-c FILE_CONTEXTS] [-B BLOCK_MAP_FILE] [-b BLOCK_SIZE] [-z COMPRESSOR] [-zo COMPRESSOR_OPT] [-t COMPRESS_THRESHOLD] [-w WHITELIST_FILE] [-a] 63 BLOCK_SIZE=131072 65 BLOCK_SIZE=$2 116 if [ -n "$BLOCK_SIZE" ]; then 117 OPT="$OPT -b $BLOCK_SIZE"
|
squashfs_utils.h | 28 uint32_t block_size; member in struct:squashfs_info
|
/external/protobuf/src/google/protobuf/io/ |
printer_unittest.cc | 57 const int block_size = 100; local 58 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); 66 for (int block_size = 1; block_size < 512; block_size *= 2) { 67 ArrayOutputStream output(buffer, sizeof(buffer), block_size); 91 for (int block_size = 1; block_size < 512; block_size *= 2) { 92 ArrayOutputStream output(buffer, sizeof(buffer), block_size); [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorConvolution.h | 867 dim3 block_size; local 943 dim3 block_size; local 1022 dim3 block_size; local [all...] |
TensorDeviceThreadPool.h | 199 Index block_size = numext::mini(n, numext::maxi<Index>(1, block_size_f)); local 203 Index new_block_size = block_align(block_size); 204 eigen_assert(new_block_size >= block_size); 205 block_size = numext::mini(n, new_block_size); 207 Index block_count = divup(n, block_size); 217 // of blocks than the current block_size. 236 block_size = coarser_block_size; 244 // Recursively divide size into halves until we reach block_size. 245 // Division code rounds mid to block_size, so we are guaranteed to get 250 if (last - first <= block_size) { [all...] |
/device/linaro/hikey/l-loader/ |
gen_loader.py | 32 block_size = 512 variable in class:generator 69 fptable.read(self.block_size) 88 fptable.read(self.block_size - 84) 108 blocks = (fsize + self.block_size - 1) / self.block_size 122 for i in range (0, self.block_size): 125 self.p_file += self.block_size 138 left_bytes = fsize % self.block_size 140 left_bytes = self.block_size - left_bytes 145 buf = fimg.read(self.block_size) [all...] |
/external/e2fsprogs/ext2ed/ |
inode_com.c | 40 block_num=device_offset/file_system_info.block_size; 47 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 88 block_num=device_offset/file_system_info.block_size; 95 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 130 block_num=device_offset/file_system_info.block_size; 137 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 296 block_num=device_offset/file_system_info.block_size; 303 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 378 block_num=inode_offset/file_system_info.block_size; 406 block_num=inode_offset/file_system_info.block_size; [all...] |
/external/opencv/cxcore/src/ |
cxsumpixels.cpp | 141 #define ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) \ 142 int remaining = block_size; \ 145 #define ICV_SUM_ENTRY_BLOCK_C1( sumtype, worktype, block_size ) \ 148 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 150 #define ICV_SUM_ENTRY_BLOCK_C2( sumtype, worktype, block_size ) \ 153 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 155 #define ICV_SUM_ENTRY_BLOCK_C3( sumtype, worktype, block_size ) \ 158 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) 160 #define ICV_SUM_ENTRY_BLOCK_C4( sumtype, worktype, block_size ) \ 163 ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) [all...] |
/external/boringssl/src/crypto/pkcs8/ |
pkcs8.c | 122 /* In the spec, |block_size| is called "v", but measured in bits. */ 123 size_t block_size = EVP_MD_block_size(md); local 128 OPENSSL_memset(D, id, block_size); 140 if (salt_len + block_size - 1 < salt_len || 141 pass_raw_len + block_size - 1 < pass_raw_len) { 145 size_t S_len = block_size * ((salt_len + block_size - 1) / block_size); 146 size_t P_len = block_size * ((pass_raw_len + block_size - 1) / block_size) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
undo_io.c | 71 * Undo file format: The file is cut up into undo_header.block_size blocks. 93 __le32 block_size; /* block size of the undo file */ member in struct:undo_header 193 int block_size; local 221 block_size = channel->block_size; 235 data->hdr.fs_block_size = ext2fs_cpu_to_le32(block_size); 265 io_channel_set_blksize(channel, block_size); 299 data->hdr.block_size = ext2fs_cpu_to_le32(data->tdb_data_size); 345 size = channel->block_size; 350 size = count * channel->block_size; [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
nullblockisa.c | 27 //printf("block is at %p, size is %lx, inner is %p\n", (void *)b, Block_size(b), innerp);
|
/external/libvpx/config/x86/ |
vp9_rtcd.h | 33 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 34 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 37 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 38 int64_t vp9_block_error_fp_sse2(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
|
/external/libvpx/libvpx/vp9/common/ |
vp9_mfqe.c | 23 int dst_stride, int block_size, int src_weight) { 28 for (r = 0; r < block_size; r++) { 29 for (c = 0; c < block_size; c++) { 71 int uvd_stride, BLOCK_SIZE block_size, int weight) { 72 if (block_size == BLOCK_16X16) { 76 } else if (block_size == BLOCK_32X32) { 80 } else if (block_size == BLOCK_64X64) { 131 BLOCK_SIZE bs) { 147 static void get_thr(BLOCK_SIZE bs, int qdiff, int *sad_thr, int *vdiff_thr) [all...] |
vp9_reconinter.h | 52 BLOCK_SIZE bsize); 55 BLOCK_SIZE bsize, int plane); 58 BLOCK_SIZE bsize); 61 BLOCK_SIZE bsize);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_complexity.h | 25 BLOCK_SIZE bs, int mi_row, int mi_col,
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_error_avx2.c | 20 intptr_t block_size, int64_t *ssz) { 29 if (block_size == 16) { 51 assert(block_size % 32 == 0); 55 for (i = 0; i < block_size; i += 32) {
|
/external/syslinux/gpxe/src/drivers/nvs/ |
nvs.c | 55 frag_len = ( ( nvs->block_size - 56 ( address & ( nvs->block_size - 1 ) ) ) 126 frag_len = ( ( nvs->block_size - 127 ( address & ( nvs->block_size - 1 ) ) )
|