Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/common/libs/net/
Dnetlink_request.cpp34 return header_->nlmsg_seq; in SeqNo()
66 header_(Reserve<nlmsghdr>()) { in NetlinkRequest()
68 header_->nlmsg_flags = flags; in NetlinkRequest()
69 header_->nlmsg_type = command; in NetlinkRequest()
70 header_->nlmsg_pid = getpid(); in NetlinkRequest()
71 header_->nlmsg_seq = kRequestSequenceNumber++; in NetlinkRequest()
77 swap(header_, other.header_); in NetlinkRequest()
121 header_->nlmsg_len = request_.size(); in RequestData()
122 return header_; in RequestData()
Dnetlink_request.h104 nlmsghdr* header_; variable
/device/google/cuttlefish_common/host/frontend/stream_audio/
Dmain.cpp63 const size_t num_channels = header_.frame_size / sizeof(opus_int16); in MakeAudioDescriptionHeader()
65 static_cast<std::uint16_t>(header_.frame_rate)); in MakeAudioDescriptionHeader()
73 return header_.frame_rate; in frame_rate()
81 return header_.frame_size / sizeof(opus_int16); in num_channels()
88 while (header_.frame_num <= previous_frame_num) { in audio_buffer()
92 return {header_.frame_num, audio_buffer_}; in audio_buffer()
116 header_ = new_header; in Update()
188 CHECK_EQ(header_.frame_size, new_header.frame_size) in CheckAudioConfigurationIsSame()
190 CHECK_EQ(header_.frame_rate, new_header.frame_rate) in CheckAudioConfigurationIsSame()
192 CHECK_EQ(header_.stream_number, new_header.stream_number) in CheckAudioConfigurationIsSame()
[all …]
/device/google/cuttlefish_common/common/vsoc/lib/
Dsocket_forward_region_view.h46 Header header_;
52 packet.header_.message_type = type; in MakePacket()
71 bool empty() const { return IsData() && header_.payload_length == 0; } in empty()
75 header_.payload_length = length; in set_payload_length()
83 return header_.payload_length; in payload_length()
87 return header_.message_type == Header::BEGIN; in IsBegin()
90 constexpr bool IsEnd() const { return header_.message_type == Header::END; } in IsEnd()
92 constexpr bool IsData() const { return header_.message_type == Header::DATA; } in IsData()
95 return header_.message_type == Header::RECV_CLOSED; in IsRecvClosed()
99 return header_.message_type == Header::RESTART; in IsRestart()
[all …]