Searched refs:chunk_size (Results 1 - 24 of 24) sorted by relevance

/haiku-fatelf/src/add-ons/media/plugins/aiff_reader/
H A Daiff.h28 // The complete size of a chunk is chunk_size + sizeof(chunk_struct)
45 uint32 chunk_size; member in struct:chunk_struct
51 uint32 chunk_size; member in struct:aiff_chunk
59 // uint32 chunk_size;
64 uint32 compression_id; // only present if chunk_size >= 22
70 // uint32 chunk_size;
H A Daiff_reader.cpp116 if (UINT32(chunk.chunk_size) == 0) {
125 uint32 size = UINT32(chunk.chunk_size);
144 uint32 size = UINT32(chunk.chunk_size);
151 fDataSize = UINT32(chunk.chunk_size) - sizeof(ssnd);
161 TRACE("aiffReader::Sniff: ignoring chunk 0x%08lx of %lu bytes\n", UINT32(chunk.chunk_id), UINT32(chunk.chunk_size));
164 pos += UINT32(chunk.chunk_size);
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dzcav.cpp22 double access_data(int fd, int size, void *buf, int chunk_size, int do_write);
51 int max_loops = 1, pass_size = 0, chunk_size = DEFAULT_CHUNK_SIZE; local
63 int rc = sscanf(optarg, "%d:%d", &block_size, &chunk_size);
65 chunk_size = DEFAULT_CHUNK_SIZE;
120 if(max_loops < 1 || block_size < 1 || chunk_size < 1
121 || chunk_size > block_size)
128 void *buf = calloc(chunk_size * MEG, 1);
164 double read_time = access_data(fd, block_size, buf, chunk_size, do_write);
210 double read_time = access_data(fd, block_size, buf, chunk_size, do_write);
263 ssize_t access_all(int fd, void *buf, size_t chunk_size, in argument
288 access_data(int fd, int size, void *buf, int chunk_size, int do_write) argument
[all...]
H A Dbon_file.h12 COpenTest(int chunk_size, bool use_sync, bool *doExit);
H A Dbon_time.h34 , int chunk_size, FILE *fp);
H A Dbonnie++.cpp65 int chunk_size() const { return m_chunk_size; } function in class:CGlobalItems
364 if(globals.chunk_size() < 256 || globals.chunk_size() > Unit)
368 for(i = globals.chunk_size(); i > 1; i = i >> 1, globals.chunk_bits++)
370 if(1 << globals.chunk_bits != globals.chunk_size())
415 , num_directories, globals.chunk_size()
422 , num_directories, globals.chunk_size(), stdout);
447 num_chunks = Unit / globals.chunk_size() * file_size;
483 memset(buf, 0, globals.chunk_size());
493 bufindex = (bufindex + 1) % globals.chunk_size();
[all...]
H A Dbon_time.cpp260 , int chunk_size, FILE *fp)
265 m_chunk_size = chunk_size;
258 DoReport(CPCCHAR machine, int file_size, int directory_size , int max_size, int min_size, int num_directories , int chunk_size, FILE *fp) argument
H A Dbon_file.cpp20 COpenTest::COpenTest(int chunk_size, bool use_sync, bool *doExit) argument
21 : m_chunk_size(chunk_size)
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dmempool.c38 int chunk_size = 2048; local
41 int chunk_alloc_size = chunk_size * (count + 1);
49 INIT_DEBUGOUT2("chunk_size %d, mbuf_size %d", chunk_size, mbuf_size);
68 chunk_pool_put(chunk_base + i * chunk_size);
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm440x/
H A Dmempool.c49 int chunk_size = 2048; local
51 int chunk_alloc_size = chunk_size * (count + 1);
65 chunk_pool_put(chunk_base + i * chunk_size);
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm570x/
H A Dmempool.c47 int chunk_size = 2048; local
49 int chunk_alloc_size = chunk_size * (count + 1);
63 chunk_pool_put(chunk_base + i * chunk_size);
/haiku-fatelf/headers/os/drivers/
H A Dlocked_pool.h54 // chunk_size - how much system memory is to be allocated at once
63 int chunk_size, int max_blocks, int min_free_blocks, const char *name,
/haiku-fatelf/src/bin/coreutils/lib/
H A Dobstack.c172 h->chunk_size = size;
176 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
182 = (char *) chunk + h->chunk_size;
219 h->chunk_size = size;
224 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
230 = (char *) chunk + h->chunk_size;
257 if (new_size < h->chunk_size)
258 new_size = h->chunk_size;
H A Dobstack.h152 long chunk_size; /* preferred size to allocate chunks in */
216 #define obstack_chunk_size(h) ((h)->chunk_size)
151 long chunk_size; /* preferred size to allocate chunks in */ member in struct:obstack
/haiku-fatelf/src/bin/
H A Dchop.c180 const off_t chunk_size = KBytesPerChunk * 1024; // max bytes written to any output file local
223 needed = chunk_size - curr_written;
236 if (curr_written >= chunk_size) {
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dobstack.c192 h->chunk_size = size;
196 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
201 = (char *) chunk + h->chunk_size;
251 h->chunk_size = size;
256 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
261 = (char *) chunk + h->chunk_size;
289 if (new_size < h->chunk_size)
290 new_size = h->chunk_size;
/haiku-fatelf/src/system/libroot/posix/glibc/extensions/
H A Dobstack.c197 h->chunk_size = size;
201 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
206 = (char *) chunk + h->chunk_size;
256 h->chunk_size = size;
261 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
266 = (char *) chunk + h->chunk_size;
295 if (new_size < h->chunk_size)
296 new_size = h->chunk_size;
H A Dobstack.h167 long chunk_size; /* preferred size to allocate chunks in */
283 #define obstack_chunk_size(h) ((h)->chunk_size)
166 long chunk_size; /* preferred size to allocate chunks in */ member in struct:obstack
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/
H A Dwebp.c42 uint32_t chunk_size = 0xffffffffu; local
54 chunk_size = get_le32(*data_ptr + 16);
55 if (chunk_size > riff_size - 12) {
63 return chunk_size;
542 const uint32_t chunk_size = CheckRIFFHeader(&data, &data_size); local
543 if (!chunk_size) {
569 if (((bits >> 5)) >= chunk_size) { // partition_length
H A Dvp8.c210 uint32_t chunk_size; local
228 chunk_size = get_le32(buf + 16);
229 if (chunk_size > riff_size - 12) {
/haiku-fatelf/src/bin/gdb/bfd/
H A Dmmo.c2149 int chunk_size local
2154 loc = mmo_get_loc (sec, sec->vma + offset, chunk_size);
2155 while (loc == NULL && (chunk_size /= 2) != 0);
2157 if (chunk_size == 0)
2160 memcpy (location, loc, chunk_size);
2162 location += chunk_size;
2163 bytes_to_do -= chunk_size;
2164 offset += chunk_size;
2624 int chunk_size local
2629 loc = mmo_get_loc (sec, sec->vma + offset, chunk_size);
[all...]
/haiku-fatelf/src/bin/gdb/include/
H A Dobstack.h171 long chunk_size; /* preferred size to allocate chunks in */
286 #define obstack_chunk_size(h) ((h)->chunk_size)
170 long chunk_size; /* preferred size to allocate chunks in */ member in struct:obstack
/haiku-fatelf/src/system/libroot/posix/glibc/include/
H A Dobstack.h167 long chunk_size; /* preferred size to allocate chunks in */
283 #define obstack_chunk_size(h) ((h)->chunk_size)
166 long chunk_size; /* preferred size to allocate chunks in */ member in struct:obstack
/haiku-fatelf/src/bin/gdb/gdb/
H A Dada-lang.c1940 int accum_bits, chunk_size;
1958 chunk_size = HOST_CHAR_BIT - targ_offset;
1959 if (chunk_size > n)
1960 chunk_size = n;
1961 unused_right = HOST_CHAR_BIT - (chunk_size + targ_offset);
1962 mask = ((1 << chunk_size) - 1) << unused_right;
1965 | ((accum >> (accum_bits - chunk_size - unused_right)) & mask);
1966 n -= chunk_size;
1967 accum_bits -= chunk_size;
1983 chunk_size
1936 int accum_bits, chunk_size; local
1986 accum >>= chunk_size; local
[all...]

Completed in 274 milliseconds