HomeSort by relevance Sort by last modified time
    Searched refs:blocksize (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /external/e2fsprogs/misc/
mke2fs.conf 3 blocksize = 4096
21 blocksize = 1024
26 blocksize = 1024
35 blocksize = -1
39 blocksize = -1
42 blocksize = 4096
e2image.c 57 static void write_header(int fd, struct ext2_image_hdr *hdr, int blocksize)
62 header_buf = malloc(blocksize);
72 memset(header_buf, 0, blocksize);
77 actual = write(fd, header_buf, blocksize);
82 if (actual != blocksize) {
96 write_header(fd, NULL, fs->blocksize);
133 hdr.fs_blocksize = fs->blocksize;
145 write_header(fd, &hdr, fs->blocksize);
298 static int check_zero_block(char *buf, int blocksize)
301 int left = blocksize;
    [all...]
  /external/flac/libFLAC/include/private/
format.h 37 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/
f9_process.c 38 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; x++)
    [all...]
f9_done.c 37 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/
extend.c 21 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/
xcbc_process.c 41 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) {
xcbc_done.c 37 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/e2fsprogs/lib/ext2fs/
imager.c 43 static int check_zero_block(char *buf, int blocksize)
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 * d))
    [all...]
getsize.c 72 errcode_t ext2fs_get_device_size(const char *file, int blocksize,
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 / 512)
    [all...]
newdir.c 39 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);
dir_iterate.c 33 *rec_len = fs->blocksize;
43 if ((len > fs->blocksize) || (fs->blocksize > (1 << 18)) || (len & 3))
49 if (len == fs->blocksize) {
50 if (fs->blocksize == 65536)
76 (offset <= fs->blocksize - DIRENT_MIN_LENGTH)) {
97 int blocksize,
116 retval = ext2fs_get_mem(fs->blocksize, &ctx.buf);
135 int blocksize,
144 int blocksize, char *buf, void *priv_data variable
    [all...]
rw_bitmaps.c 55 retval = ext2fs_get_mem(fs->blocksize, &block_buf);
58 memset(block_buf, 0xff, fs->blocksize);
63 retval = ext2fs_get_mem(fs->blocksize, &inode_buf);
66 memset(inode_buf, 0xff, fs->blocksize);
88 for (j = nbits; j < fs->blocksize * 8; j++)
172 retval = ext2fs_get_mem(do_image ? fs->blocksize :
186 retval = ext2fs_get_mem(do_image ? fs->blocksize :
195 blk = (fs->image_header->offset_inodemap / fs->blocksize);
202 cnt = fs->blocksize << 3;
209 ino_itr += fs->blocksize << 3
    [all...]
ind_block.c 28 int limit = fs->blocksize >> 2;
33 memset(buf, 0, fs->blocksize);
52 int limit = fs->blocksize >> 2;
link.c 28 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;
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
OpMapVector.java 48 * @param blocksize Size of block to allocate
50 public OpMapVector(int blocksize, int increaseSize, int lengthPos)
54 m_mapSize = blocksize;
56 m_map = new int[blocksize];
  /external/e2fsprogs/debugfs/
unused.c 47 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/
packet.c 99 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 */
150 * length. Only called during the first BLOCKSIZE of a packet. */
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/
StringToIntTable.java 73 * @param blocksize Size of block to allocate
75 public StringToIntTable(int blocksize)
78 m_blocksize = blocksize;
79 m_mapSize = blocksize;
80 m_map = new String[blocksize];
  /external/apache-xml/src/main/java/org/apache/xml/utils/
StringToIntTable.java 66 * @param blocksize Size of block to allocate
68 public StringToIntTable(int blocksize)
71 m_blocksize = blocksize;
72 m_mapSize = blocksize;
73 m_map = new String[blocksize];
IntStack.java 49 * @param blocksize Size of block to allocate
51 public IntStack(int blocksize)
53 super(blocksize);
StringVector.java 59 * @param blocksize Size of the blocks to allocate
61 public StringVector(int blocksize)
64 m_blocksize = blocksize;
65 m_mapSize = blocksize;
66 m_map = new String[blocksize];
IntVector.java 63 * @param blocksize Size of block to allocate
65 public IntVector(int blocksize)
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)
82 m_mapSize = blocksize;
83 m_map = new int[blocksize];
ObjectVector.java 63 * @param blocksize Size of block to allocate
65 public ObjectVector(int blocksize)
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)
82 m_mapSize = blocksize;
83 m_map = new Object[blocksize];
  /external/flac/libFLAC/include/protected/
stream_decoder.h 46 unsigned blocksize; /* in samples (per channel) */ member in struct:FLAC__StreamDecoderProtected

Completed in 1078 milliseconds

1 2 3 4 5 6 7