Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 10 of 10) sorted by relevance

/external/chromium/net/disk_cache/
Dblock_files.cc142 int block_count) { in NeedToGrowBlockFile() argument
147 if (i >= block_count - 1 && header->empty[i]) in NeedToGrowBlockFile()
312 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { in FileForNewBlock() argument
318 while (NeedToGrowBlockFile(header, block_count)) { in FileForNewBlock()
403 bool BlockFiles::CreateBlock(FileType block_type, int block_count, in CreateBlock() argument
406 block_count < 1 || block_count > 4) in CreateBlock()
411 MappedFile* file = FileForNewBlock(block_type, block_count); in CreateBlock()
418 for (int i = block_count; i <= 4; i++) { in CreateBlock()
427 if (!CreateMapBlock(target_size, block_count, header, &index)) in CreateBlock()
430 Addr address(block_type, block_count, header->this_file, index); in CreateBlock()
Dblock_files.h38 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
58 MappedFile* FileForNewBlock(FileType block_type, int block_count);
Dbackend_impl.h104 bool CreateBlock(FileType block_type, int block_count,
Dbackend_impl.cc720 bool BackendImpl::CreateBlock(FileType block_type, int block_count, in CreateBlock() argument
722 return block_files_.CreateBlock(block_type, block_count, block_address); in CreateBlock()
/external/qemu/hw/
Dgoldfish_mmc.c79 uint32_t block_count; member
99 QFIELD_INT32(block_count), in QFIELD_INT32()
364 s->block_count = 1; in goldfish_mmc_do_command()
374 result = goldfish_mmc_bdrv_read(s, arg, s->buffer_address, s->block_count); in goldfish_mmc_do_command()
381 s->block_count = 1; in goldfish_mmc_do_command()
392 result = goldfish_mmc_bdrv_write(s, arg, s->buffer_address, s->block_count); in goldfish_mmc_do_command()
482 s->block_count = val + 1; in goldfish_mmc_write()
/external/jpeg/
Drdtarga.c67 int block_count; /* # of pixels remaining in RLE block */ member
149 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */ in read_rle_pixel()
153 sinfo->block_count = 0; /* then read new block header */ in read_rle_pixel()
155 sinfo->block_count = i & 0x7F; /* number of pixels after this one */ in read_rle_pixel()
372 source->block_count = source->dup_pixel_count = 0; in start_input_tga()
/external/grub/stage2/
Dfsys_reiserfs.c475 unsigned int block_count = INFO->journal_block_count; in journal_init() local
484 journal_read (block_count, sizeof (header), (char *) &header); in journal_init()
486 if (desc_block >= block_count) in journal_init()
506 commit_block = (desc_block + desc.j_len + 1) & (block_count - 1); in journal_init()
555 desc_block = (commit_block + 1) & (block_count - 1); in journal_init()
/external/bluetooth/glib/gobject/
Dgsignal.c251 guint block_count : 16; member
502 ((mask & G_SIGNAL_MATCH_UNBLOCKED) || handler->block_count == 0) && in handlers_find()
539 ((mask & G_SIGNAL_MATCH_UNBLOCKED) || handler->block_count == 0) && in handlers_find()
569 handler->block_count = 0; in handler_new()
2304 if (handler->block_count >= HANDLER_MAX_BLOCK_COUNT - 1) in g_signal_handler_block()
2307 handler->block_count += 1; in g_signal_handler_block()
2346 if (handler->block_count) in g_signal_handler_unblock()
2347 handler->block_count -= 1; in g_signal_handler_unblock()
2383 handler->block_count = 1; in g_signal_handler_disconnect()
2443 tmp->block_count = 1; in g_signal_handlers_destroy()
[all …]
/external/webkit/WebKitTools/CygwinDownloader/
Dcygwin-downloader.py16 def download_progress_hook(block_count, block_size, total_blocks): argument
/external/libvpx/vp8/encoder/
Donyx_if.c451 int block_count = cpi->cyclic_refresh_mode_max_mbs_perframe; in cyclic_background_refresh() local
495 if (block_count > 0) in cyclic_background_refresh()
496 block_count--; in cyclic_background_refresh()