Home
last modified time | relevance | path

Searched refs:header_ (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc125 memcpy(&copy_to->header, &header_, sizeof(header_)); in ConvertHeader()
134 payload_memory_.get(), static_cast<int>(packet_length_bytes_), &header_); in ParseHeader()
139 assert(header_.headerLength <= packet_length_bytes_); in ParseHeader()
140 payload_ = &payload_memory_[header_.headerLength]; in ParseHeader()
141 assert(packet_length_bytes_ >= header_.headerLength); in ParseHeader()
142 payload_length_bytes_ = packet_length_bytes_ - header_.headerLength; in ParseHeader()
143 assert(virtual_packet_length_bytes_ >= header_.headerLength); in ParseHeader()
145 virtual_packet_length_bytes_ - header_.headerLength; in ParseHeader()
150 destination->markerBit = header_.markerBit; in CopyToHeader()
151 destination->payloadType = header_.payloadType; in CopyToHeader()
[all …]
/external/chromium_org/net/disk_cache/blockfile/
Dblock_files.cc40 BlockHeader::BlockHeader() : header_(NULL) { in BlockHeader()
43 BlockHeader::BlockHeader(BlockFileHeader* header) : header_(header) { in BlockHeader()
47 : header_(reinterpret_cast<BlockFileHeader*>(file->buffer())) { in BlockHeader()
50 BlockHeader::BlockHeader(const BlockHeader& other) : header_(other.header_) { in BlockHeader()
60 if (header_->empty[i - 1]) { in CreateMapBlock()
74 int current = header_->hints[target - 1]; in CreateMapBlock()
75 for (int i = 0; i < header_->max_entries / 32; i++, current++) { in CreateMapBlock()
76 if (current == header_->max_entries / 32) in CreateMapBlock()
78 uint32 map_block = header_->allocation_map[current]; in CreateMapBlock()
84 disk_cache::FileLock lock(header_); in CreateMapBlock()
[all …]
Deviction_v3.cc80 header_(NULL), in EvictionV3()
93 header_ = index_->header(); in Init()
136 while ((header_->num_bytes > target_size || test_mode_) && next.get()) { in TrimCache()
255 if (!FallingBehind(header_->num_bytes, max_size_) && in ShouldTrim()
266 int index_load = header_->num_entries * 100 / index_size_; in ShouldTrimDeleted()
271 int max_length = (index_load < 25) ? header_->num_entries * 2 / 5 : in ShouldTrimDeleted()
272 header_->num_entries / 4; in ShouldTrimDeleted()
273 return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); in ShouldTrimDeleted()
339 while ((header_->num_bytes > target_size || test_mode_) && in TrimCacheV2()
432 if (header_->lru.filled) in ReportTrimTimes()
[all …]
Deviction.cc89 header_ = &backend_->data_->header; in Init()
132 while ((header_->num_bytes > target_size || test_mode_) && next.get()) { in TrimCache()
233 if (!FallingBehind(header_->num_bytes, max_size_) && in ShouldTrim()
244 int index_load = header_->num_entries * 100 / index_size_; in ShouldTrimDeleted()
249 int max_length = (index_load < 25) ? header_->num_entries * 2 / 5 : in ShouldTrimDeleted()
250 header_->num_entries / 4; in ShouldTrimDeleted()
251 return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); in ShouldTrimDeleted()
262 if (header_->lru.filled) in ReportTrimTimes()
265 header_->lru.filled = 1; in ReportTrimTimes()
267 if (header_->create_time) { in ReportTrimTimes()
[all …]
Dindex_table_v3.cc425 header_(NULL), in IndexTable()
458 bool growing = header_ != NULL; in Init()
460 header_ = &params->index_bitmap->header; in Init()
465 DCHECK_EQ(base::bits::Log2Floor(header_->table_len), in Init()
488 extra_bits_ = base::bits::Log2Floor(header_->table_len) - in Init()
506 int num_words = (header_->table_len + 31) / 32; in Init()
523 bitmap_.reset(new Bitmap(params->index_bitmap->bitmap, header_->table_len, in Init()
536 backup_header_->table_len = header_->table_len; in Init()
549 DCHECK(header_->flags & SMALL_CACHE); in Init()
558 header_ = NULL; in Shutdown()
[all …]
/external/chromium_org/courgette/
Ddisassembler_elf_32.cc23 header_(NULL), in DisassemblerElf32()
35 header_ = (Elf32_Ehdr *)start(); in ParseHeader()
38 if (header_->e_ident[0] != 0x7f || in ParseHeader()
39 header_->e_ident[1] != 'E' || in ParseHeader()
40 header_->e_ident[2] != 'L' || in ParseHeader()
41 header_->e_ident[3] != 'F') in ParseHeader()
44 if (header_->e_type != ET_EXEC && in ParseHeader()
45 header_->e_type != ET_DYN) in ParseHeader()
48 if (header_->e_machine != ElfEM()) in ParseHeader()
51 if (header_->e_version != 1) in ParseHeader()
[all …]
/external/chromium_org/base/
Dpickle.cc190 : header_(NULL), in Pickle()
195 header_->payload_size = 0; in Pickle()
199 : header_(NULL), in Pickle()
206 header_->payload_size = 0; in Pickle()
210 : header_(reinterpret_cast<Header*>(const_cast<char*>(data))), in Pickle()
215 header_size_ = data_len - header_->payload_size; in Pickle()
225 header_ = NULL; in Pickle()
229 : header_(NULL), in Pickle()
233 size_t payload_size = header_size_ + other.header_->payload_size; in Pickle()
235 memcpy(header_, other.header_, payload_size); in Pickle()
[all …]
Dpickle.h139 size_t size() const { return header_size_ + header_->payload_size; } in size()
142 const void* data() const { return header_; } in data()
284 return static_cast<T*>(header_); in headerT()
289 return static_cast<const T*>(header_); in headerT()
294 return header_ ? header_->payload_size : 0; in payload_size()
298 return reinterpret_cast<const char*>(header_) + header_size_; in payload()
305 return header_ ? payload() + payload_size() : NULL; in end_of_payload()
310 return reinterpret_cast<char*>(header_) + header_size_; in mutable_payload()
338 Header* header_; variable
/external/opencv/cxcore/include/
Dcvwimage.h438 header_ = *(img.Ipl()); in WImageView()
439 WImage<T>::SetIpl(&header_); in WImageView()
443 header_ = *(img.Ipl());
444 WImage<T>::SetIpl(&header_);
449 IplImage header_;
481 header_ = *(img.Ipl()); in WImageViewC()
482 WImageC<T, C>::SetIpl(&header_); in WImageViewC()
485 header_ = *(img.Ipl()); in WImageViewC()
486 WImageC<T, C>::SetIpl(&header_); in WImageViewC()
490 header_ = *(img.Ipl());
[all …]
/external/chromium_org/cloud_print/gcp20/prototype/
Ddns_response_builder.cc27 header_.id = id; in DnsResponseBuilder()
29 header_.flags = net::dns_protocol::kFlagResponse | in DnsResponseBuilder()
31 header_.qdcount = 0; in DnsResponseBuilder()
32 header_.ancount = 0; in DnsResponseBuilder()
33 header_.nscount = 0; in DnsResponseBuilder()
34 header_.arcount = 0; in DnsResponseBuilder()
122 size_t size = sizeof(header_); in Build()
134 DCHECK_EQ(static_cast<size_t>(header_.ancount + header_.arcount), in Build()
139 bool success = writer.WriteU16(header_.id) && in Build()
140 writer.WriteU16(header_.flags) && in Build()
[all …]
Ddns_packet_parser.cc13 record_parser_(packet, length, sizeof(header_)) { in DnsPacketParser()
15 is_header_read_ = reader.ReadU16(&header_.id) && in DnsPacketParser()
16 reader.ReadU16(&header_.flags) && in DnsPacketParser()
17 reader.ReadU16(&header_.qdcount) && in DnsPacketParser()
18 reader.ReadU16(&header_.ancount) && in DnsPacketParser()
19 reader.ReadU16(&header_.nscount) && in DnsPacketParser()
20 reader.ReadU16(&header_.arcount); in DnsPacketParser()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_loader.cpp104 int ret = fd_.Read(&header_, sizeof(header_)); in ReadElfHeader()
109 if (ret != static_cast<int>(sizeof(header_))) { in ReadElfHeader()
114 if (memcmp(header_.e_ident, ELFMAG, SELFMAG) != 0) { in ReadElfHeader()
119 if (header_.e_ident[EI_CLASS] != ELF::kElfClass) { in ReadElfHeader()
122 header_.e_ident[EI_CLASS]); in ReadElfHeader()
126 if (header_.e_ident[EI_DATA] != ELFDATA2LSB) { in ReadElfHeader()
127 error->Format("Not little-endian class: %d", header_.e_ident[EI_DATA]); in ReadElfHeader()
131 if (header_.e_type != ET_DYN) { in ReadElfHeader()
132 error->Format("Not a shared library type: %d", header_.e_type); in ReadElfHeader()
136 if (header_.e_version != EV_CURRENT) { in ReadElfHeader()
[all …]
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dtable.js57 this.header_.redraw();
153 return this.header_;
160 this.header_ = this.ownerDocument.createElement('div');
163 this.appendChild(this.header_);
171 TableHeader.decorate(this.header_);
172 this.header_.table = this;
195 this.header_.redraw();
200 this.header_.startBatchUpdates();
205 this.header_.endBatchUpdates();
214 this.header_.resize();
[all …]
/external/sfntly/cpp/src/sfntly/table/
Dtable.h43 virtual Header* header() { return header_; } in header()
61 Ptr<Header> header_;
73 virtual Header* header() { return header_; } in header()
76 virtual int32_t header_tag() { return header_->tag(); } in header_tag()
79 virtual int32_t header_offset() { return header_->offset(); } in header_offset()
82 virtual int32_t header_length() { return header_->length(); } in header_length()
85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum()
95 Ptr<Header> header_;
Dtable.cc58 header_ = header; in Table()
65 header_.Release(); in ~Builder()
71 derived_table->header_ = new Header(header()->tag(), in NotifyPostTableBuild()
150 header_ = header; in Builder()
155 header_ = header; in Builder()
159 header_ = header; in Builder()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
Dtable.h43 virtual Header* header() { return header_; } in header()
61 Ptr<Header> header_;
73 virtual Header* header() { return header_; } in header()
76 virtual int32_t header_tag() { return header_->tag(); } in header_tag()
79 virtual int32_t header_offset() { return header_->offset(); } in header_offset()
82 virtual int32_t header_length() { return header_->length(); } in header_length()
85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum()
95 Ptr<Header> header_;
Dtable.cc58 header_ = header; in Table()
65 header_.Release(); in ~Builder()
71 derived_table->header_ = new Header(header()->tag(), in NotifyPostTableBuild()
150 header_ = header; in Builder()
155 header_ = header; in Builder()
159 header_ = header; in Builder()
/external/chromium_org/net/quic/
Dquic_framer_test.cc253 header_.reset(new QuicPacketHeader(header)); in OnPacketHeader()
340 scoped_ptr<QuicPacketHeader> header_; member in net::test::TestQuicVisitor
410 if (visitor_.header_->packet_sequence_number != in CheckDecryption()
413 << visitor_.header_->packet_sequence_number << " actual: " in CheckDecryption()
647 ASSERT_TRUE(visitor_.header_.get()); in TEST_P()
650 visitor_.header_->public_header.connection_id); in TEST_P()
672 ASSERT_TRUE(visitor_.header_.get()); in TEST_P()
674 visitor_.header_->public_header.connection_id); in TEST_P()
675 EXPECT_FALSE(visitor_.header_->public_header.reset_flag); in TEST_P()
676 EXPECT_FALSE(visitor_.header_->public_header.version_flag); in TEST_P()
[all …]
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_reader.cc57 const FileHeader* header_; member in ipc_fuzzer::__anonfb5c2fa60111::Reader
66 header_(NULL), in Reader()
82 if (!CutObject<FileHeader>(&header_)) in ReadHeader()
84 if (header_->magic != FileHeader::kMagicValue) { in ReadHeader()
88 if (header_->version != FileHeader::kCurrentVersion) { in ReadHeader()
90 << "File version is " << header_->version << ", " in ReadHeader()
108 for (size_t i = 0; i < header_->message_count; ++i) { in ReadMessages()
133 size_t name_count = header_->name_count; in ReadStringTable()
155 for (size_t i = 0; i < header_->name_count; ++i) { in ReadNameTable()
/external/chromium_org/net/quic/test_tools/
Dquic_test_packet_maker.cc174 return MakePacket(header_, QuicFrame(&frame)); in MakeDataPacket()
193 return MakePacket(header_, QuicFrame(&frame)); in MakeRequestHeadersPacket()
211 return MakePacket(header_, QuicFrame(&frame)); in MakeResponseHeadersPacket()
251 header_.public_header.connection_id = connection_id_; in InitializeHeader()
252 header_.public_header.reset_flag = false; in InitializeHeader()
253 header_.public_header.version_flag = should_include_version; in InitializeHeader()
254 header_.public_header.sequence_number_length = PACKET_1BYTE_SEQUENCE_NUMBER; in InitializeHeader()
255 header_.packet_sequence_number = sequence_number; in InitializeHeader()
256 header_.fec_group = 0; in InitializeHeader()
257 header_.entropy_flag = false; in InitializeHeader()
[all …]
/external/chromium_org/tools/stats_viewer/
Dstats_table.cs166 get { return header_; }
185 offset += AlignedSize(header_.max_threads * kMaxThreadNameLength * 2);
187 offset += AlignedSize(header_.max_threads *
200 offset += AlignedSize(header_.max_threads *
213 offset += AlignedSize(header_.max_counters *
241 header_ = (StatsFileHeader)Marshal.PtrToStructure(memory_, header_.GetType()); in Open()
258 for (int threads = 0; threads < header_.max_threads; threads++) { in Zero()
259 for (int counters = 0; counters < header_.max_counters; counters++) { in Zero()
307 private StatsFileHeader header_; field in StatsViewer.StatsTable
/external/chromium_org/ui/views/controls/
Dscroll_view.cc126 header_(NULL), in ScrollView()
166 SetHeaderOrContents(header_viewport_, header, &header_); in SetHeader()
257 header_ ? header_->GetPreferredSize().height() : 0); in Layout()
333 if (header_) in Layout()
334 header_->Layout(); in Layout()
336 CheckScrollBounds(header_viewport_, header_); in Layout()
414 if (header_) { in ScrollToPosition()
415 header_->SetX(-position); in ScrollToPosition()
416 header_->SchedulePaintInRect(header_->GetVisibleBounds()); in ScrollToPosition()
507 if (header_) in ScrollContentsRegionToBeVisible()
[all …]
/external/chromium_org/mojo/public/tools/bindings/generators/cpp_templates/
Dparams_definition.tmpl15 mojo::internal::StructHeader header_;
28 header_.num_bytes = sizeof(*this);
29 header_.num_fields = {{struct.packed.packed_fields|length}};
/external/chromium_org/third_party/webrtc/base/
Dhttpbase.cc426 header_ = data_->begin(); in send()
427 if (header_ == data_->end()) { in send()
601 if (!send_required && (header_ != data_->end())) { in flush_data()
706 while (header_ != data_->end()) { in queue_headers()
709 header_->first.size(), header_->first.data(), in queue_headers()
710 header_->second.size(), header_->second.data()); in queue_headers()
713 ++header_; in queue_headers()
715 LOG(WARNING) << "discarding header that is too long: " << header_->first; in queue_headers()
716 ++header_; in queue_headers()
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc124 header_(NULL), in TableView()
165 if (header_) in CreateParentIfNecessary()
166 scroll_view->SetHeader(header_); in CreateParentIfNecessary()
218 if (header_) in SetColumnVisibility()
219 header_->SchedulePaint(); in SetColumnVisibility()
323 if (header_ && !visible_columns_.empty()) in GetPreferredSize()
597 if (header_) in SetSortDescriptors()
598 header_->SchedulePaint(); in SetSortDescriptors()
644 if (!header_) in GetCellBounds()
667 if (header_ || (columns_.size() == 1 && columns_[0].title.empty())) in CreateHeaderIfNecessary()
[all …]

123