/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | packet.cc | 125 memcpy(©_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/libchrome/base/ |
D | pickle.cc | 217 : header_(nullptr), in Pickle() 224 header_->payload_size = 0; in Pickle() 228 : header_(nullptr), in Pickle() 235 header_->payload_size = 0; in Pickle() 239 : header_(reinterpret_cast<Header*>(const_cast<char*>(data))), in Pickle() 244 header_size_ = data_len - header_->payload_size; in Pickle() 254 header_ = nullptr; in Pickle() 258 : header_(nullptr), in Pickle() 262 Resize(other.header_->payload_size); in Pickle() 263 memcpy(header_, other.header_, header_size_ + other.header_->payload_size); in Pickle() [all …]
|
D | pickle.h | 173 size_t size() const { return header_size_ + header_->payload_size; } in size() 176 const void* data() const { return header_; } in data() 241 return static_cast<T*>(header_); in headerT() 246 return static_cast<const T*>(header_); in headerT() 251 return header_ ? header_->payload_size : 0; in payload_size() 255 return reinterpret_cast<const char*>(header_) + header_size_; in payload() 262 return header_ ? payload() + payload_size() : NULL; in end_of_payload() 271 return reinterpret_cast<char*>(header_) + header_size_; in mutable_payload() 313 Header* header_; variable
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 341 header_(reinterpret_cast<MemoryHeader*>(memory)), in ActivityUserData() 351 if (header_->owner.data_id.load(std::memory_order_acquire) == 0) in ActivityUserData() 352 header_->owner.Release_Initialize(pid); in ActivityUserData() 358 header_->owner.data_id.load(std::memory_order_acquire); in ActivityUserData() 359 *const_cast<int64_t*>(&orig_process_id) = header_->owner.process_id; in ActivityUserData() 360 *const_cast<int64_t*>(&orig_create_stamp) = header_->owner.create_stamp; in ActivityUserData() 430 return header_; in GetBaseAddress() 435 if (!header_) in SetOwningProcessIdForTesting() 437 header_->owner.SetOwningProcessIdForTesting(pid, stamp); in SetOwningProcessIdForTesting() 594 if (header_->owner.data_id.load(std::memory_order_acquire) != orig_data_id || in ImportExistingData() [all …]
|
/external/perf_data_converter/src/quipper/ |
D | test_perf_data.cc | 48 header_ = { in ExamplePerfDataFileHeader() 67 header_.attrs.size = n * header_.attr_size; in WithAttrCount() 73 header_.data.size = sz; in WithDataSize() 80 size_t n_attrs = header_.attrs.size / header_.attr_size; in WithCustomPerfEventAttrSize() 82 header_.attr_size = sz + sizeof(perf_file_section); in WithCustomPerfEventAttrSize() 88 u64 offset = header_.size; in UpdateSectionOffsets() 90 header_.attrs.offset = offset; in UpdateSectionOffsets() 91 offset += header_.attrs.size; in UpdateSectionOffsets() 92 header_.data.offset = offset; in UpdateSectionOffsets() 93 offset += header_.data.size; in UpdateSectionOffsets() [all …]
|
D | perf_reader.cc | 250 if (header_.size == sizeof(header_)) { in ReadFromData() 547 if (!data->ReadUint64(&header_.attr_size)) { in ReadHeader() 551 if (!ReadPerfFileSection(data, &header_.attrs) || in ReadHeader() 552 !ReadPerfFileSection(data, &header_.data) || in ReadHeader() 553 !ReadPerfFileSection(data, &header_.event_types)) { in ReadHeader() 558 const size_t features_size = sizeof(header_.adds_features); in ReadHeader() 559 CHECK_EQ(data->Tell(), sizeof(header_) - features_size); in ReadHeader() 561 if (!data->ReadData(features_size, header_.adds_features)) { in ReadHeader() 565 proto_->set_metadata_mask(0, header_.adds_features[0]); in ReadHeader() 576 static_assert(sizeof(header_.adds_features[0]) == sizeof(uint32_t) || in ReadHeader() [all …]
|
/external/syzkaller/vendor/google.golang.org/api/compute/v0.beta/ |
D | compute-gen.go | 17819 header_ http.Header member 17925 if c.header_ == nil { 17926 c.header_ = make(http.Header) 17928 return c.header_ 17933 for k, v := range c.header_ { 18072 header_ http.Header member 18114 if c.header_ == nil { 18115 c.header_ = make(http.Header) 18117 return c.header_ 18122 for k, v := range c.header_ { [all …]
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | unserialized_message_context.cc | 14 header_.interface_id = 0; in UnserializedMessageContext() 15 header_.version = 1; in UnserializedMessageContext() 16 header_.name = message_name; in UnserializedMessageContext() 17 header_.flags = message_flags; in UnserializedMessageContext() 18 header_.num_bytes = sizeof(header_); in UnserializedMessageContext()
|
D | map_data_internal.h | 58 if (object->header_.num_bytes != sizeof(Map_Data) || in Validate() 59 object->header_.version != 0) { in Validate() 86 StructHeader header_; variable 93 header_.num_bytes = sizeof(*this); in Map_Data() 94 header_.version = 0; in Map_Data()
|
D | unserialized_message_context.h | 38 uint32_t message_name() const { return header_.name; } in COMPONENT_EXPORT() 39 uint32_t message_flags() const { return header_.flags; } in COMPONENT_EXPORT() 41 MessageHeaderV1* header() { return &header_; } in COMPONENT_EXPORT() 55 MessageHeaderV1 header_; in COMPONENT_EXPORT() local
|
D | array_internal.h | 344 return Helper::ValidateElements(&object->header_, object->storage(), 348 size_t size() const { return header_.num_elements; } 351 DCHECK(offset < static_cast<size_t>(header_.num_elements)); 356 DCHECK(offset < static_cast<size_t>(header_.num_elements)); 372 header_.num_bytes = num_bytes; 373 header_.num_elements = num_elements; 377 internal::ArrayHeader header_;
|
/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | markv_encoder.h | 54 header_.spirv_version = version; in EncodeHeader() 55 header_.spirv_generator = generator; in EncodeHeader() 77 header_.markv_length_in_bits = in GetMarkvBinary() 78 static_cast<uint32_t>(sizeof(header_) * 8 + writer_.GetNumBits()); in GetMarkvBinary() 79 header_.markv_model = in GetMarkvBinary() 82 const size_t num_bytes = sizeof(header_) + writer_.GetDataSizeBytes(); in GetMarkvBinary() 86 std::memcpy(markv.data(), &header_, sizeof(header_)); in GetMarkvBinary() 87 std::memcpy(markv.data() + sizeof(header_), writer_.GetData(), in GetMarkvBinary()
|
D | markv_decoder.cpp | 371 reader_.ReadUnencoded(&header_.magic_number) && in DecodeModule() 372 reader_.ReadUnencoded(&header_.markv_version) && in DecodeModule() 373 reader_.ReadUnencoded(&header_.markv_model) && in DecodeModule() 374 reader_.ReadUnencoded(&header_.markv_length_in_bits) && in DecodeModule() 375 reader_.ReadUnencoded(&header_.spirv_version) && in DecodeModule() 376 reader_.ReadUnencoded(&header_.spirv_generator); in DecodeModule() 381 if (header_.markv_length_in_bits == 0) in DecodeModule() 385 if (header_.magic_number != MarkvCodec::kMarkvMagicNumber) in DecodeModule() 390 if (header_.markv_version != MarkvCodec::GetMarkvVersion()) in DecodeModule() 394 const uint32_t model_type = header_.markv_model >> 16; in DecodeModule() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | markv_encoder.h | 54 header_.spirv_version = version; in EncodeHeader() 55 header_.spirv_generator = generator; in EncodeHeader() 77 header_.markv_length_in_bits = in GetMarkvBinary() 78 static_cast<uint32_t>(sizeof(header_) * 8 + writer_.GetNumBits()); in GetMarkvBinary() 79 header_.markv_model = in GetMarkvBinary() 82 const size_t num_bytes = sizeof(header_) + writer_.GetDataSizeBytes(); in GetMarkvBinary() 86 std::memcpy(markv.data(), &header_, sizeof(header_)); in GetMarkvBinary() 87 std::memcpy(markv.data() + sizeof(header_), writer_.GetData(), in GetMarkvBinary()
|
D | markv_decoder.cpp | 371 reader_.ReadUnencoded(&header_.magic_number) && in DecodeModule() 372 reader_.ReadUnencoded(&header_.markv_version) && in DecodeModule() 373 reader_.ReadUnencoded(&header_.markv_model) && in DecodeModule() 374 reader_.ReadUnencoded(&header_.markv_length_in_bits) && in DecodeModule() 375 reader_.ReadUnencoded(&header_.spirv_version) && in DecodeModule() 376 reader_.ReadUnencoded(&header_.spirv_generator); in DecodeModule() 381 if (header_.markv_length_in_bits == 0) in DecodeModule() 385 if (header_.magic_number != MarkvCodec::kMarkvMagicNumber) in DecodeModule() 390 if (header_.markv_version != MarkvCodec::GetMarkvVersion()) in DecodeModule() 394 const uint32_t model_type = header_.markv_model >> 16; in DecodeModule() [all …]
|
/external/sfntly/cpp/src/sfntly/table/ |
D | table.h | 43 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_;
|
D | table.cc | 58 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/syzkaller/vendor/google.golang.org/api/storage/v1/ |
D | storage-gen.go | 1827 header_ http.Header member 1865 if c.header_ == nil { 1866 c.header_ = make(http.Header) 1868 return c.header_ 1873 for k, v := range c.header_ { 1947 header_ http.Header member 1995 if c.header_ == nil { 1996 c.header_ = make(http.Header) 1998 return c.header_ 2003 for k, v := range c.header_ { [all …]
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.cc | 44 header_[0] = static_cast<uint8_t>(size - 1); in FakePacketFragment() 48 header_[0] = 0x80 | 127; in FakePacketFragment() 52 WriteVarInt(size - 2, &header_[0]); in FakePacketFragment() 79 uint8_t* end = WriteVarInt(payload_.size(), &header_[0]); in FakePacketFragment() 80 header_size_ = static_cast<size_t>(end - &header_[0]); in FakePacketFragment() 84 data->insert(data->end(), &header_[0], &header_[0] + header_size_); in CopyInto() 90 ParseVarInt(&header_[0], &header_[0] + header_size_, &size); in GetSizeHeader()
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | struct_data_view_declaration.tmpl | 26 auto* pointer = data_->header_.version >= {{pf.min_version}} && !data_->{{name}}.is_null() 42 auto* pointer = data_->header_.version >= {{pf.min_version}} 55 auto data_value = data_->header_.version >= {{pf.min_version}} 66 if (data_->header_.version < {{pf.min_version}}) 76 if (data_->header_.version < {{pf.min_version}}) 91 if (data_->header_.version < {{pf.min_version}}) 104 if (data_->header_.version < {{pf.min_version}})
|
D | struct_definition.tmpl | 27 if (object->header_.version <= 31 if (object->header_.version >= kVersionSizes[i].version) { 32 if (object->header_.num_bytes == kVersionSizes[i].num_bytes) 41 } else if (object->header_.num_bytes < 60 if (object->header_.version < {{packed_field.min_version}}) 72 : header_({sizeof(*this), {{struct.versions[-1].version}}}) {}
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2reader.cc | 87 header_.abbrev_offset; in ReadAbbrevs() 90 const uint64 abbrev_length = iter->second.second - header_.abbrev_offset; in ReadAbbrevs() 188 assert(header_.version >= 2); in SkipAttribute() 189 if (header_.version == 2) { in SkipAttribute() 191 } else if (header_.version >= 3) { in SkipAttribute() 228 header_.length = initial_length; in ReadHeader() 231 header_.version = reader_->ReadTwoBytes(headerptr); in ReadHeader() 235 header_.abbrev_offset = reader_->ReadOffset(headerptr); in ReadHeader() 239 header_.address_size = reader_->ReadOneByte(headerptr); in ReadHeader() 240 reader_->SetAddressSize(header_.address_size); in ReadHeader() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | module.cpp | 37 return header_.bound++; in TakeNextIdBound() 128 binary->push_back(header_.magic_number); in ToBinary() 129 binary->push_back(header_.version); in ToBinary() 131 binary->push_back(header_.generator); in ToBinary() 132 binary->push_back(header_.bound); in ToBinary() 133 binary->push_back(header_.reserved); in ToBinary()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | module.cpp | 37 return header_.bound++; in TakeNextIdBound() 128 binary->push_back(header_.magic_number); in ToBinary() 129 binary->push_back(header_.version); in ToBinary() 131 binary->push_back(header_.generator); in ToBinary() 132 binary->push_back(header_.bound); in ToBinary() 133 binary->push_back(header_.reserved); in ToBinary()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | Idmap.java | 57 Idmap_header header_ = null; field in Idmap.LoadedIdmap 61 public LoadedIdmap(Idmap_header header_) { in LoadedIdmap() argument 62 this.header_ = header_; in LoadedIdmap() 215 return dtohs(header_.target_package_id); in TargetPackageId()
|