/external/perfetto/include/perfetto/tracing/core/ |
D | shared_memory_abi.h | 286 struct ChunkHeader { struct 354 uint8_t* payload_begin() const { return begin_ + sizeof(ChunkHeader); } in payload_begin() argument 356 PERFETTO_DCHECK(size_ >= sizeof(ChunkHeader)); in payload_size() 357 return size_ - sizeof(ChunkHeader); in payload_size() 365 ChunkHeader* header() { return reinterpret_cast<ChunkHeader*>(begin_); } in header() 388 ChunkHeader* chunk_header = header(); in IncrementPacketCount() 400 ChunkHeader* chunk_header = header(); in IncreasePacketCountTo() 410 void SetFlag(ChunkHeader::Flags flag) { in SetFlag() 411 ChunkHeader* chunk_header = header(); in SetFlag() 501 const ChunkHeader* header) { in TryAcquireChunkForWriting() [all …]
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_impl.cc | 33 using ChunkHeader = perfetto::SharedMemoryABI::ChunkHeader; typedef 116 new_packet_count == ChunkHeader::Packets::kMaxCount; in NewTracePacket() 141 cur_chunk_.SetFlag(ChunkHeader::kLastPacketContinuesOnNextChunk); in GetNewBuffer() 180 cur_chunk_.SetFlag(ChunkHeader::kChunkNeedsPatching); in GetNewBuffer() 192 ChunkHeader::Packets packets = {}; in GetNewBuffer() 195 packets.flags = ChunkHeader::kFirstPacketContinuesFromPrevChunk; in GetNewBuffer() 201 ChunkHeader header = {}; in GetNewBuffer()
|
D | shared_memory_abi.cc | 64 inline void ClearChunkHeader(SharedMemoryABI::ChunkHeader* header) { in ClearChunkHeader() 95 static_assert(sizeof(ChunkHeader) == 8, "ChunkHeader size"); in Initialize() 96 static_assert(sizeof(ChunkHeader::chunk_id) == sizeof(ChunkID), in Initialize() 99 static_assert(sizeof(ChunkHeader::Packets) == 2, "ChunkHeader::Packets size"); in Initialize() 100 static_assert(alignof(ChunkHeader) == kChunkAlignment, in Initialize() 126 static_assert(sizeof(ChunkHeader::writer_id) == sizeof(WriterID), in Initialize() 128 ChunkHeader chunk_header{}; in Initialize() 161 const ChunkHeader* header) { in TryAcquireChunk() 192 ChunkHeader* new_header = chunk.header(); in TryAcquireChunk()
|
D | shared_memory_abi_unittest.cc | 29 using ChunkHeader = SharedMemoryABI::ChunkHeader; typedef 90 ChunkHeader header{}; in TEST_P() 115 ASSERT_EQ(expected_chunk_size - sizeof(SharedMemoryABI::ChunkHeader), in TEST_P() 140 SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk); in TEST_P() 143 SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk); in TEST_P()
|
D | startup_trace_writer.cc | 29 using ChunkHeader = perfetto::SharedMemoryABI::ChunkHeader; typedef 39 ChunkHeader::Packets packets = {}; in NewChunk() 42 packets.flags = ChunkHeader::kFirstPacketContinuesFromPrevChunk; in NewChunk() 48 ChunkHeader header = {}; in NewChunk() 358 cur_num_packets == ChunkHeader::Packets::kMaxCount || last_write; in CommitLocalBufferChunks() 368 cur_chunk.SetFlag(ChunkHeader::kLastPacketContinuesOnNextChunk); in CommitLocalBufferChunks()
|
D | startup_trace_writer_registry.cc | 26 using ChunkHeader = perfetto::SharedMemoryABI::ChunkHeader; typedef
|
D | trace_writer_impl_unittest.cc | 130 SharedMemoryABI::ChunkHeader::kChunkNeedsPatching); in TEST_P() 132 SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk); in TEST_P()
|
D | trace_buffer.cc | 54 SharedMemoryABI::ChunkHeader::kFirstPacketContinuesFromPrevChunk; 56 SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk; 58 SharedMemoryABI::ChunkHeader::kChunkNeedsPatching; 76 sizeof(SharedMemoryABI::ChunkHeader), in TraceBuffer()
|
D | shared_memory_arbiter_impl.h | 72 SharedMemoryABI::Chunk GetNewChunk(const SharedMemoryABI::ChunkHeader&,
|
D | startup_trace_writer_unittest.cc | 100 SharedMemoryABI::ChunkHeader::kFirstPacketContinuesFromPrevChunk) { in VerifyPackets()
|
D | shared_memory_arbiter_impl.cc | 63 const SharedMemoryABI::ChunkHeader& header, in GetNewChunk()
|
D | trace_buffer_unittest.cc | 47 SharedMemoryABI::ChunkHeader::kFirstPacketContinuesFromPrevChunk; 49 SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk; 51 SharedMemoryABI::ChunkHeader::kChunkNeedsPatching;
|
D | tracing_service_impl.cc | 2577 const SharedMemoryABI::ChunkHeader& chunk_header = *chunk.header(); in CommitData()
|
/external/webrtc/webrtc/common_audio/ |
D | wav_header.cc | 28 struct ChunkHeader { struct 32 static_assert(sizeof(ChunkHeader) == 8, "ChunkHeader size"); 37 ChunkHeader header; 46 const uint32_t kFmtSubchunkSize = sizeof(FmtSubchunk) - sizeof(ChunkHeader); 50 ChunkHeader header; 55 ChunkHeader header; 101 const size_t header_size = kWavHeaderSize - sizeof(ChunkHeader); in CheckWavParameters() 135 bytes_in_payload + kWavHeaderSize - sizeof(ChunkHeader)); in RiffChunkSize()
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.cc | 113 SharedMemoryABI::ChunkHeader::kFirstPacketContinuesFromPrevChunk) || in AddPacket() 116 !(flags & SharedMemoryABI::ChunkHeader::kLastPacketContinuesOnNextChunk)); in AddPacket()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 71 struct ChunkHeader { struct 89 struct ChunkBase : ChunkHeader { 94 static const uptr kChunkHeaderSize = sizeof(ChunkHeader);
|