Searched refs:block_count (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_wrapper.cc51 size_t block_count = 0; local
55 ++block_count;
57 DVLOG(1) << "Fuzzed " << block_count << " blocks.";
H A Dhpack_fuzz_mutator.cc64 size_t block_count = 0; local
76 ++block_count;
79 DVLOG(1) << "Mutated " << block_count << " blocks.";
/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_bitmaps_v3.h31 // to be used (as defined on cache_addr.h), block_count is the number of
33 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
53 int HeaderNumberForNewBlock(FileType block_type, int block_count);
H A Dblock_bitmaps_v3.cc27 int block_count,
31 if (block_count < 1 || block_count > kMaxNumBlocks)
34 int header_num = HeaderNumberForNewBlock(block_type, block_count);
39 if (!bitmaps_[header_num].CreateMapBlock(block_count, &index))
43 !bitmaps_[header_num].CreateMapBlock(block_count, &index)) {
48 Addr address(block_type, block_count, bitmaps_[header_num].FileId(), index);
120 int block_count) {
126 while (bitmaps_[header_num].NeedToGrowBlockFile(block_count)) {
140 if (bitmaps_[header_num].CanAllocate(block_count)) {
26 CreateBlock(FileType block_type, int block_count, Addr* block_address) argument
119 HeaderNumberForNewBlock(FileType block_type, int block_count) argument
[all...]
H A Dblock_files.h54 // more records. |block_count| is the number of blocks to allocate.
55 bool NeedToGrowBlockFile(int block_count) const;
58 // size |block_count|.
59 bool CanAllocate(int block_count) const;
104 // to be used (as defined on cache_addr.h), block_count is the number of
106 bool CreateBlock(FileType block_type, int block_count, Addr* block_address);
133 MappedFile* FileForNewBlock(FileType block_type, int block_count);
H A Dblock_files.cc188 bool BlockHeader::NeedToGrowBlockFile(int block_count) const {
193 if (i >= block_count - 1 && header_->empty[i])
206 bool BlockHeader::CanAllocate(int block_count) const {
207 DCHECK_GT(block_count, 0);
208 for (int i = block_count - 1; i < kMaxNumBlocks; i++) {
318 bool BlockFiles::CreateBlock(FileType block_type, int block_count, argument
325 if (block_count < 1 || block_count > kMaxNumBlocks)
331 MappedFile* file = FileForNewBlock(block_type, block_count);
339 if (!file_header.CreateMapBlock(block_count,
550 FileForNewBlock(FileType block_type, int block_count) argument
[all...]
H A Dbackend_impl_v3.h64 // Creates a new storage block of size block_count.
65 bool CreateBlock(FileType block_type, int block_count,
H A Dbackend_impl.h104 // Creates a new storage block of size block_count.
105 bool CreateBlock(FileType block_type, int block_count,
/external/chromium_org/media/formats/webm/
H A Dwebm_cluster_parser_unittest.cc73 int block_count) {
77 for (int i = 0; i < block_count; i++) {
119 int block_count) {
122 if (block_count != buffer_count) {
123 DVLOG(1) << __FUNCTION__ << " : block_count (" << block_count
131 for (int i = 0; i < block_count; i++) {
174 int block_count) {
188 block_count);
194 int block_count,
71 CreateCluster(int timecode, const BlockInfo* block_info, int block_count) argument
115 VerifyBuffers(const WebMClusterParser::BufferQueue& audio_buffers, const WebMClusterParser::BufferQueue& video_buffers, const WebMClusterParser::BufferQueue& text_buffers, const BlockInfo* block_info, int block_count) argument
172 VerifyBuffers(const scoped_ptr<WebMClusterParser>& parser, const BlockInfo* block_info, int block_count) argument
191 VerifyTextBuffers( const scoped_ptr<WebMClusterParser>& parser, const BlockInfo* block_info_ptr, int block_count, int text_track_num, const WebMClusterParser::BufferQueue& text_buffers) argument
335 int block_count = arraysize(kBlockInfo); local
375 int block_count = arraysize(kDefaultBlockInfo); local
394 int block_count = arraysize(kDefaultBlockInfo); local
403 int block_count = arraysize(kDefaultBlockInfo); local
450 int block_count = arraysize(kBlockInfo); local
479 int block_count = arraysize(kBlockInfo); local
730 int block_count = arraysize(kBlockInfo); local
753 int block_count = arraysize(kBlockInfo); local
899 int block_count = arraysize(kBlockInfo); local
934 int block_count = arraysize(kBlockInfo); local
950 int block_count = arraysize(kBlockInfo); local
[all...]
H A Dwebm_parser_unittest.cc39 static scoped_ptr<Cluster> CreateCluster(int block_count) { argument
43 for (int i = 0; i < block_count; i++) {
51 static void CreateClusterExpectations(int block_count, argument
60 for (int i = 0; i < block_count; i++) {
/external/qemu/hw/android/goldfish/
H A Dmmc.c87 uint32_t block_count; member in struct:goldfish_mmc_state
110 QFIELD_INT32(block_count),
384 s->block_count = 1;
394 goldfish_mmc_bdrv_read(s, arg, s->buffer_address, s->block_count);
401 s->block_count = 1;
412 goldfish_mmc_bdrv_write(s, arg, s->buffer_address, s->block_count);
506 s->block_count = val + 1;
/external/fio/os/
H A Dos-mac.h120 uint64_t block_count; local
122 if (ioctl(f->fd, DKIOCGETBLOCKCOUNT, &block_count) == -1)
128 *bytes *= block_count;
/external/chromium_org/extensions/browser/
H A Dcontent_hash_reader.h55 int block_count() const;
H A Dcontent_hash_reader.cc99 int ContentHashReader::block_count() const { function in class:extensions::ContentHashReader
H A Dcontent_verify_job.cc93 if (current_block_ >= hash_reader_->block_count())
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_aq_cyclicrefresh.c198 int i, block_count, bl_index, sb_rows, sb_cols, sbs_in_frame; local
262 block_count = cr->max_sbs_perframe * sbs_in_frame / 100;
264 // cr->mb_index, and stopping when either block_count blocks have been found
310 block_count--;
311 } while (block_count && i != cr->sb_index);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_aq_cyclicrefresh.c198 int i, block_count, bl_index, sb_rows, sb_cols, sbs_in_frame; local
262 block_count = cr->max_sbs_perframe * sbs_in_frame / 100;
264 // cr->mb_index, and stopping when either block_count blocks have been found
310 block_count--;
311 } while (block_count && i != cr->sb_index);
/external/opencv/cxcore/src/
H A Dcxmatrix.cpp1685 int block_count = 0; local
1691 for( i = 0; i < len; i += block_count )
1696 block_count = MIN( count, len - i );
1700 cvGetRows( data, &data_part, i, i + block_count );
1701 cvGetRows( tmp_data, &tdata_part, 0, block_count );
1702 cvGetRows( tmp_avg, &avg_part, i, i + block_count );
1703 cvGetRows( tmp_avg_r, &tmp_avg_part, 0, block_count );
1708 cvGetCols( data, &data_part, i, i + block_count );
1709 cvGetCols( tmp_data, &tdata_part, 0, block_count );
1710 cvGetCols( tmp_avg, &avg_part, i, i + block_count );
1769 int block_count0, block_count, buf_size, elem_size; local
1906 int block_count0, block_count, buf_size, elem_size; local
[all...]
/external/chromium_org/third_party/libjpeg_turbo/
H A Drdtarga.c67 int block_count; /* # of pixels remaining in RLE block */ member in struct:_tga_source_struct
149 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */
153 sinfo->block_count = 0; /* then read new block header */
155 sinfo->block_count = i & 0x7F; /* number of pixels after this one */
372 source->block_count = source->dup_pixel_count = 0;
/external/jpeg/
H A Drdtarga.c67 int block_count; /* # of pixels remaining in RLE block */ member in struct:_tga_source_struct
149 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */
153 sinfo->block_count = 0; /* then read new block header */
155 sinfo->block_count = i & 0x7F; /* number of pixels after this one */
372 source->block_count = source->dup_pixel_count = 0;
/external/qemu/distrib/jpeg-6b/
H A Drdtarga.c67 int block_count; /* # of pixels remaining in RLE block */ member in struct:_tga_source_struct
149 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */
153 sinfo->block_count = 0; /* then read new block header */
155 sinfo->block_count = i & 0x7F; /* number of pixels after this one */
372 source->block_count = source->dup_pixel_count = 0;
/external/chromium_org/media/filters/
H A Dchunk_demuxer_unittest.cc377 void AppendCluster(int timecode, int block_count) { argument
378 AppendCluster(GenerateCluster(timecode, block_count));
382 int timecode, int block_count) {
397 int end_timecode = timecode + block_count * block_duration;
805 scoped_ptr<Cluster> GenerateCluster(int timecode, int block_count) { argument
806 return GenerateCluster(timecode, timecode, block_count);
820 int block_count) {
822 block_count, false);
826 int block_count,
828 CHECK_GT(block_count,
381 AppendSingleStreamCluster(const std::string& source_id, int track_number, int timecode, int block_count) argument
818 GenerateCluster(int first_audio_timecode, int first_video_timecode, int block_count) argument
824 GenerateCluster(int first_audio_timecode, int first_video_timecode, int block_count, bool unknown_size) argument
920 GenerateExpectedReads(int timecode, int block_count) argument
924 GenerateExpectedReads(int start_audio_timecode, int start_video_timecode, int block_count) argument
949 GenerateSingleStreamExpectedReads(int timecode, int block_count, DemuxerStream::Type type, int block_duration) argument
962 GenerateAudioStreamExpectedReads(int timecode, int block_count) argument
967 GenerateVideoStreamExpectedReads(int timecode, int block_count) argument
[all...]
/external/libnfc-nci/src/nfc/tags/
H A Drw_t1t_ndef.c2129 UINT8 block_count = 0; local
2138 block_count = 0;
2139 while (block_count < T1T_BLOCKS_PER_SEGMENT)
2141 p_t1t->lock_attr[block_count] = 0x00;
2142 block_count++;
2150 block_count = 0;
2158 p_t1t->lock_attr[block_count] = 0x00;
2163 p_t1t->lock_attr[block_count] = 0xFF;
2166 block_count++;
2184 block_count
[all...]
H A Drw_t2t_ndef.c2279 UINT8 block_count = 0; local
2292 block_count = 0;
2298 block_count = 0;
2306 p_t2t->lock_attr[block_count] = 0x00;
2311 p_t2t->lock_attr[block_count] = 0x0F;
2317 p_t2t->lock_attr[block_count] |= 0xF0;
2319 block_count++;
2337 p_t2t->lock_attr[block_count] = 0;
2354 p_t2t->lock_attr[block_count] |= 0x01 << bits_covered;
2362 block_count
[all...]
/external/chromium_org/v8/src/
H A Dhydrogen-escape-analysis.cc42 int block_count = graph()->blocks()->length(); local
43 for (int i = 0; i < block_count; ++i) {

Completed in 473 milliseconds

12