Searched defs:blocksize (Results 1 - 25 of 88) sorted by relevance

1234

/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/e2fsprogs/lib/ext2fs/
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,
154 *retblocks = size64 / (blocksize / 512);
172 *retblocks = size64 / blocksize;
183 *retblocks = size / (blocksize / 512);
194 *retblocks = this_floppy.size / (blocksize / 51
[all...]
H A Ddblist_dir.c32 int blocksize,
47 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf);
25 ext2fs_dblist_dir_iterate(ext2_dblist dblist, 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
H A Dlink.c28 unsigned int blocksize; member in struct:link_struct
35 int blocksize,
58 if ((offset + (int) curr_rec_len < blocksize - 8) &&
60 (offset + (int) curr_rec_len + (int) next->rec_len <= blocksize)) {
133 ls.blocksize = fs->blocksize;
33 link_proc(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data) argument
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 Dimager.c43 static int check_zero_block(char *buf, int blocksize) argument
46 int left = blocksize;
70 buf = malloc(fs->blocksize * BUF_BLOCKS);
95 if (check_zero_block(cp, fs->blocksize)) {
99 cp += fs->blocksize;
100 r = lseek(fd, fs->blocksize, SEEK_CUR);
109 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize))
113 actual = write(fd, cp, fs->blocksize * d);
118 if (actual != (ssize_t) (fs->blocksize *
[all...]
/external/flac/libFLAC/include/protected/
H A Dstream_decoder.h48 unsigned blocksize; /* in samples (per channel) */ member in struct:FLAC__StreamDecoderProtected
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c55 unsigned int blocksize = pool->total_allocated; local
58 if (!blocksize)
59 blocksize = 2*POOL_LARGE_ALLOC;
61 newblock = (struct memory_block*)malloc(blocksize);
66 pool->end = ((unsigned char*)newblock) + blocksize;
67 pool->total_allocated += blocksize;
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DIntStack.java49 * @param blocksize Size of block to allocate
51 public IntStack(int blocksize) argument
53 super(blocksize);
H A DObjectStack.java49 * @param blocksize Size of block to allocate
51 public ObjectStack(int blocksize) argument
53 super(blocksize);
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 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];
H A DSuballocatedIntVector.java89 * @param blocksize Size of block to allocate
92 public SuballocatedIntVector(int blocksize, int numblocks) argument
94 //m_blocksize = blocksize;
95 for(m_SHIFT=0;0!=(blocksize>>>=1);++m_SHIFT)
111 * @param blocksize Size of block to allocate
113 public SuballocatedIntVector(int blocksize) argument
115 this(blocksize, NUMBLOCKS_DEFAULT);
/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/zopfli/src/zopfli/
H A Dcache.c28 void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc) { argument
30 lmc->length = (unsigned short*)malloc(sizeof(unsigned short) * blocksize);
31 lmc->dist = (unsigned short*)malloc(sizeof(unsigned short) * blocksize);
33 lmc->sublen = (unsigned char*)malloc(ZOPFLI_CACHE_LENGTH * 3 * blocksize);
37 for (i = 0; i < blocksize; i++) lmc->length[i] = 1;
38 for (i = 0; i < blocksize; i++) lmc->dist[i] = 0;
39 for (i = 0; i < ZOPFLI_CACHE_LENGTH * blocksize * 3; i++) lmc->sublen[i] = 0;
/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/libdivsufsort/examples/
H A Dbwt.c88 saint_t i, blocksize = 32, needclose = 3; local
98 blocksize = atoi(argv[i + 1]);
99 if(blocksize < 0) { blocksize = 1; }
100 else if(512 < blocksize) { blocksize = 512; }
103 blocksize <<= 20;
164 if((blocksize == 0) || (n < blocksize)) { blocksize
[all...]
H A Dunbwt.c90 saint_t err, blocksize, needclose = 3; local
146 /* Read the blocksize. */
147 if(read_int(fp, &blocksize) != 4) {
153 /* Allocate 5blocksize bytes of memory. */
154 T = (sauchar_t *)malloc(blocksize * sizeof(sauchar_t));
155 A = (saidx_t *)malloc(blocksize * sizeof(saidx_t));
161 fprintf(stderr, "UnBWT (blocksize %" PRIdSAINT_T ") ... ", blocksize);
164 /* Read blocksize bytes of data. */
165 if((m != 4) || ((m = fread(T, sizeof(sauchar_t), blocksize, f
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_rect.c58 int blocksize = util_format_get_blocksize(format); local
62 assert(blocksize > 0);
73 dst += dst_x * blocksize;
74 src += src_x * blocksize;
77 width *= blocksize;
103 int blocksize = desc->block.bits / 8; local
107 assert(blocksize > 0);
116 dst += dst_x * blocksize;
118 width_size = width * blocksize;
120 switch (blocksize) {
[all...]
/external/opencv3/modules/flann/include/opencv2/flann/
H A Dallocator.h85 int blocksize; member in class:cvflann::PooledAllocator
97 blocksize = blockSize;
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_texture.h106 uint32_t blocksize; member in struct:rbug_proto_texture_info_reply
119 uint32_t blocksize; member in struct:rbug_proto_texture_read_reply
175 uint32_t blocksize,
186 uint32_t blocksize,
/external/ImageMagick/coders/
H A Ddjvu.c153 int blocksize = BLOCKSIZE;
158 while ((size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize) {
171 size_t blocksize = BLOCKSIZE;
179 && (size = (size_t) ReadBlob(image,(size_t) blocksize,data)) == blocksize) {
168 size_t blocksize = BLOCKSIZE; local
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMDefaultBaseTraversers.java76 * @param blocksize The block size of the DTM.
85 int blocksize,
90 doIndexing, blocksize, usePrevsib, newNameTable);
80 DTMDefaultBaseTraversers(DTMManager mgr, Source source, int dtmIdentity, DTMWSFilter whiteSpaceFilter, XMLStringFactory xstringfactory, boolean doIndexing, int blocksize, boolean usePrevsib, boolean newNameTable) argument

Completed in 1905 milliseconds

1234