Searched refs:blocksize (Results 1 - 25 of 142) sorted by relevance

123456

/external/e2fsprogs/misc/
H A Dmke2fs.conf3 blocksize = 4096
21 blocksize = 1024
26 blocksize = 1024
35 blocksize = -1
39 blocksize = -1
42 blocksize = 4096
/external/flac/libFLAC/include/private/
H A Dformat.h37 unsigned FLAC__format_get_max_rice_partition_order(unsigned blocksize, unsigned predictor_order);
38 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize(unsigned blocksize);
39 unsigned FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(unsigned limit, unsigned blocksize, unsigned predictor_order);
/external/dropbear/libtomcrypt/src/mac/f9/
H A Df9_process.c38 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) ||
39 (f9->buflen > f9->blocksize) || (f9->buflen < 0)) {
45 while (inlen >= (unsigned long)f9->blocksize) {
46 for (x = 0; x < f9->blocksize; x += sizeof(LTC_FAST_TYPE)) {
50 for (x = 0; x < f9->blocksize; x += sizeof(LTC_FAST_TYPE)) {
53 in += f9->blocksize;
54 inlen -= f9->blocksize;
60 if (f9->buflen == f9->blocksize) {
62 for (x = 0; x < f9->blocksize;
[all...]
H A Df9_done.c37 if ((f9->blocksize > cipher_descriptor[f9->cipher].block_length) || (f9->blocksize < 0) ||
38 (f9->buflen > f9->blocksize) || (f9->buflen < 0)) {
46 for (x = 0; x < f9->blocksize; x++) {
61 for (x = 0; x < f9->blocksize && (unsigned long)x < *outlen; x++) {
/external/e2fsprogs/e2fsck/
H A Dextend.c21 fprintf(stderr, _("%s: %s filename nblocks blocksize\n"),
30 int nblocks, blocksize; local
40 blocksize = strtoul(argv[3], 0, 0);
47 block = malloc(blocksize);
50 blocksize);
53 memset(block, 0, blocksize);
60 ret = lseek(fd, nblocks*blocksize, SEEK_SET);
65 ret = read(fd, block, blocksize);
70 ret = lseek(fd, nblocks*blocksize, SEEK_SET);
75 ret = write(fd, block, blocksize);
[all...]
/external/dropbear/libtomcrypt/src/mac/xcbc/
H A Dxcbc_process.c41 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) ||
42 (xcbc->buflen > xcbc->blocksize) || (xcbc->buflen < 0)) {
48 while (inlen > (unsigned long)xcbc->blocksize) {
49 for (x = 0; x < xcbc->blocksize; x += sizeof(LTC_FAST_TYPE)) {
53 in += xcbc->blocksize;
54 inlen -= xcbc->blocksize;
60 if (xcbc->buflen == xcbc->blocksize) {
H A Dxcbc_done.c37 if ((xcbc->blocksize > cipher_descriptor[xcbc->cipher].block_length) || (xcbc->blocksize < 0) ||
38 (xcbc->buflen > xcbc->blocksize) || (xcbc->buflen < 0)) {
43 if (xcbc->buflen == xcbc->blocksize) {
45 for (x = 0; x < xcbc->blocksize; x++) {
51 for (x = 0; x < xcbc->blocksize; x++) {
61 for (x = 0; x < xcbc->blocksize && (unsigned long)x < *outlen; x++) {
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/
H A DHMAC.java30 int blocksize = 64;
32 k_xor_ipad = new byte[blocksize];
33 k_xor_opad = new byte[blocksize];
35 if (key.length > blocksize)
46 for (int i = 0; i < blocksize; i++)
/external/e2fsprogs/lib/ext2fs/
H A Dimager.c43 static int check_zero_block(char *buf, int blocksize) argument
46 int left = blocksize;
69 buf = malloc(fs->blocksize * BUF_BLOCKS);
94 if (check_zero_block(cp, fs->blocksize)) {
98 cp += fs->blocksize;
99 lseek(fd, fs->blocksize, SEEK_CUR);
104 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize))
108 actual = write(fd, cp, fs->blocksize * d);
113 if (actual != (ssize_t) (fs->blocksize *
[all...]
H A Ddir_iterate.c32 if (fs->blocksize < 65536)
35 *rec_len = fs->blocksize;
45 if ((len > fs->blocksize) || (fs->blocksize > (1 << 18)) || (len & 3))
51 if (len == fs->blocksize) {
52 if (fs->blocksize == 65536)
78 (offset <= fs->blocksize - DIRENT_MIN_LENGTH)) {
99 int blocksize,
118 retval = ext2fs_get_mem(fs->blocksize, &ctx.buf);
137 int blocksize,
91 ext2fs_dir_iterate2(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument
146 int blocksize, char *buf, void *priv_data) variable
153 ext2fs_dir_iterate(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument
[all...]
H A Dgetsize.c72 errcode_t ext2fs_get_device_size(const char *file, int blocksize, argument
96 *retblocks = pi.PartitionLength.QuadPart / blocksize;
106 gi.Cylinders.QuadPart / blocksize;
110 *retblocks = filesize.QuadPart / blocksize;
116 *retblocks = filesize / blocksize;
141 errcode_t ext2fs_get_device_size2(const char *file, int blocksize,
172 *retblocks = size64 / (blocksize / 512);
186 *retblocks = size64 / blocksize;
193 *retblocks = size / (blocksize / 512);
200 *retblocks = this_floppy.size / (blocksize / 51
[all...]
H A Dnewdir.c39 retval = ext2fs_get_mem(fs->blocksize, &buf);
42 memset(buf, 0, fs->blocksize);
45 retval = ext2fs_set_rec_len(fs, fs->blocksize, dir);
59 rec_len = fs->blocksize - EXT2_DIR_REC_LEN(1);
H A Drw_bitmaps.c55 retval = ext2fs_get_memalign(fs->blocksize, fs->blocksize,
59 memset(block_buf, 0xff, fs->blocksize);
64 retval = ext2fs_get_memalign(fs->blocksize, fs->blocksize,
68 memset(inode_buf, 0xff, fs->blocksize);
90 for (j = nbits; j < fs->blocksize * 8; j++)
175 retval = ext2fs_get_mem(fs->blocksize, &block_bitmap);
178 fs->blocksize,
193 retval = ext2fs_get_mem(do_image ? fs->blocksize
[all...]
H A Dind_block.c28 int limit = fs->blocksize >> 2;
33 memset(buf, 0, fs->blocksize);
52 int limit = fs->blocksize >> 2;
H A Dlink.c28 unsigned int blocksize; member in struct:link_struct
35 int blocksize,
55 if ((offset + curr_rec_len < blocksize - 8) &&
57 (offset + curr_rec_len + next->rec_len <= blocksize)) {
130 ls.blocksize = fs->blocksize;
33 link_proc(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data) argument
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
H A DOpMapVector.java48 * @param blocksize Size of block to allocate
50 public OpMapVector(int blocksize, int increaseSize, int lengthPos) argument
54 m_mapSize = blocksize;
56 m_map = new int[blocksize];
/external/e2fsprogs/debugfs/
H A Dunused.c47 for (i=0; i < current_fs->blocksize; i++)
50 if (i >= current_fs->blocksize)
54 for (i=0; i < current_fs->blocksize; i++)
/external/dropbear/
H A Dpacket.c99 unsigned char blocksize; local
102 blocksize = ses.keys->recv_algo_crypt->blocksize;
104 if (ses.readbuf == NULL || ses.readbuf->len < blocksize) {
105 /* In the first blocksize of a packet */
107 /* Read the first blocksize of the packet, so we can decrypt it and
112 * a whole blocksize and should exit */
155 unsigned char blocksize; local
159 blocksize = ses.keys->recv_algo_crypt->blocksize;
199 blocksize); local
229 unsigned char blocksize; local
413 unsigned char blocksize, macsize; local
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DStringToIntTable.java73 * @param blocksize Size of block to allocate
75 public StringToIntTable(int blocksize) argument
78 m_blocksize = blocksize;
79 m_mapSize = blocksize;
80 m_map = new String[blocksize];
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DStringToIntTable.java66 * @param blocksize Size of block to allocate
68 public StringToIntTable(int blocksize) argument
71 m_blocksize = blocksize;
72 m_mapSize = blocksize;
73 m_map = new String[blocksize];
H A DIntStack.java49 * @param blocksize Size of block to allocate
51 public IntStack(int blocksize) argument
53 super(blocksize);
H A DStringVector.java59 * @param blocksize Size of the blocks to allocate
61 public StringVector(int blocksize) argument
64 m_blocksize = blocksize;
65 m_mapSize = blocksize;
66 m_map = new String[blocksize];
H A DIntVector.java63 * @param blocksize Size of block to allocate
65 public IntVector(int blocksize) argument
68 m_blocksize = blocksize;
69 m_mapSize = blocksize;
70 m_map = new int[blocksize];
76 * @param blocksize Size of block to allocate
78 public IntVector(int blocksize, int increaseSize) argument
82 m_mapSize = blocksize;
83 m_map = new int[blocksize];
H A DObjectVector.java63 * @param blocksize Size of block to allocate
65 public ObjectVector(int blocksize) argument
68 m_blocksize = blocksize;
69 m_mapSize = blocksize;
70 m_map = new Object[blocksize];
76 * @param blocksize Size of block to allocate
78 public ObjectVector(int blocksize, int increaseSize) argument
82 m_mapSize = blocksize;
83 m_map = new Object[blocksize];
/external/flac/libFLAC/include/protected/
H A Dstream_decoder.h46 unsigned blocksize; /* in samples (per channel) */ member in struct:FLAC__StreamDecoderProtected

Completed in 351 milliseconds

123456