HomeSort by relevance Sort by last modified time
    Searched full:payload_size (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/chromium_org/mojo/public/bindings/generators/cpp_templates/
proxy_implementation 2 size_t payload_size =
6 mojo::internal::MessageBuilder builder($NAME, payload_size);
  /external/chromium_org/mojo/public/bindings/lib/
message_builder.cc 12 MessageBuilder::MessageBuilder(uint32_t message_name, size_t payload_size)
13 : buf_(sizeof(MessageHeader) + payload_size) {
message_builder.h 20 MessageBuilder(uint32_t message_name, size_t payload_size);
  /external/android-clat/
dump.h 23 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, const char *payload, size_t payload_size);
24 void dump_tcp(const struct tcphdr *tcp, const struct iphdr *ip, const char *payload, size_t payload_size, const char *options, size_t options_size);
28 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const char *payload, size_t payload_size);
29 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const char *payload, size_t payload_size, const char *options, size_t options_size);
dump.c 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, const char *payload, size_t payload_size) {
137 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size);
148 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, const char *payload, size_t payload_size) {
150 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size);
151 dump_udp_generic(udp, temp_checksum, payload, payload_size);
155 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const char *payload, size_t payload_size) {
157 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP);
158 dump_udp_generic(udp, temp_checksum, payload, payload_size);
162 void dump_tcp_generic(const struct tcphdr *tcp, const char *options, size_t options_size, uint32_t temp_checksum, const char *payload, size_t payload_size) {
169 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size);
    [all...]
translate.h 77 const char *payload, size_t payload_size);
79 const char *payload, size_t payload_size);
91 uint32_t old_sum, uint32_t new_sum, const char *payload, size_t payload_size);
93 uint32_t old_sum, uint32_t new_sum, const char *payload, size_t payload_size);
translate.c 224 * payload_size - size of payload
228 const char *payload, size_t payload_size) {
246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size);
260 out[CLAT_POS_PAYLOAD].iov_len = payload_size;
278 * payload_size - size of payload
282 const char *payload, size_t payload_size) {
300 clat_packet_len = ipv6_packet(out, pos + 1, payload, payload_size);
306 out[CLAT_POS_PAYLOAD].iov_len = payload_size;
346 size_t payload_size; local
354 payload_size = len - sizeof(struct udphdr)
370 size_t payload_size, header_size; local
    [all...]
  /external/chromium_org/media/webm/
webm_webvtt_parser.cc 9 void WebMWebVTTParser::Parse(const uint8* payload, int payload_size,
13 WebMWebVTTParser parser(payload, payload_size);
17 WebMWebVTTParser::WebMWebVTTParser(const uint8* payload, int payload_size)
19 ptr_end_(payload + payload_size) {
tracks_builder.cc 49 static int MasterElementSize(int element_id, int payload_size) {
50 return GetUIntSize(element_id) + GetUIntMkvSize(payload_size) + payload_size;
85 int element_id, int payload_size) {
87 WriteUInt(buf, buf_size, payload_size);
145 int payload_size = 0; local
149 payload_size += itr->GetSize();
152 return payload_size;
webm_webvtt_parser.h 18 static void Parse(const uint8* payload, int payload_size,
26 WebMWebVTTParser(const uint8* payload, int payload_size);
  /external/chromium_org/net/tools/testserver/
echo_message.py 14 <version><checksum><payload_size><payload>. <version> is the version number
16 <payload_size> is the size of the <payload>. <payload> is the echo message.
19 <version><checksum><payload_size><key><encoded_payload>.<version>,
20 <checksum> and <payload_size> are same as what is in the "echo request" message.
36 This class knows how to parse the checksum, payload_size from the
38 payload_size of the "echo request" and "echo response" messages.
51 # This specifies the starting position of the <payload_size> and length of the
52 # <payload_size>. Maximum number of bytes that can be sent in the <payload> is
59 def __init__(self, checksum=0, payload_size=0):
60 """Initializes the checksum and payload_size of self (EchoHeader)
    [all...]
  /external/chromium_org/base/
pickle.cc 170 header_->payload_size = 0;
181 header_->payload_size = 0;
190 header_size_ = data_len - header_->payload_size;
208 size_t payload_size = header_size_ + other.header_->payload_size; local
209 Resize(payload_size);
210 memcpy(header_, other.header_, payload_size);
232 Resize(other.header_->payload_size);
234 other.header_size_ + other.header_->payload_size);
305 if (length < header_size || length - header_size < hdr->payload_size)
    [all...]
pickle_unittest.cc 201 if (sizeof(size_t) > sizeof(header->payload_size) ||
202 sizeof(uintptr_t) > sizeof(header->payload_size))
205 header->payload_size = -(reinterpret_cast<uintptr_t>(start) + header_size2);
208 header->payload_size = -header_size2;
211 header->payload_size = 0;
255 EXPECT_EQ(pickle.payload_size(), payload_size_after_header);
261 EXPECT_EQ(cur_payload, pickle.payload_size());
267 EXPECT_EQ(cur_payload, pickle.payload_size());
  /external/chromium_org/media/cast/framer/
frame_buffer.cc 24 size_t payload_size,
54 retval.first->second.resize(payload_size);
55 std::copy(payload_data, payload_data + payload_size,
59 total_data_size_ += payload_size;
frame_buffer.h 24 size_t payload_size,
framer.cc 29 size_t payload_size,
39 frame_buffer->InsertPacket(payload_data, payload_size, rtp_header);
43 it->second->InsertPacket(payload_data, payload_size, rtp_header);
  /external/chromium/base/
pickle.cc 28 header_->payload_size = 0;
39 header_->payload_size = 0;
48 header_size_ = data_len - header_->payload_size;
66 size_t payload_size = header_size_ + other.header_->payload_size; local
67 bool resized = Resize(payload_size);
69 memcpy(header_, other.header_, payload_size);
91 bool resized = Resize(other.header_size_ + other.header_->payload_size);
94 other.header_size_ + other.header_->payload_size);
375 header_->payload_size -= (*cur_length - new_length)
    [all...]
  /external/chromium_org/media/cast/audio_receiver/
audio_decoder_unittest.cc 81 size_t payload_size = payload.size() * sizeof(int16); local
84 payload_size, rtp_header);
123 size_t payload_size = payload.size() * sizeof(int16); local
126 payload_size, rtp_header);
151 payload_size, rtp_header);
192 size_t payload_size = payload.size() * sizeof(int16); local
195 payload_size, rtp_header);
audio_decoder.h 45 size_t payload_size,
  /external/chromium_org/media/cast/rtp_receiver/
rtp_receiver.h 21 size_t payload_size,
  /external/bluetooth/bluedroid/stack/gatt/
att_protocol.c 165 BT_HDR *attp_build_read_handles_cmd (UINT16 payload_size, tGATT_FIND_TYPE_VALUE *p_value_type)
171 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
184 if (p_value_type->value_len + p_buf->len > payload_size )
185 len = payload_size - p_buf->len;
202 BT_HDR *attp_build_read_multi_cmd(UINT16 payload_size, UINT16 num_handle, UINT16 *p_handle)
216 for (i = 0; i < num_handle && p_buf->len + 2 <= payload_size; i ++)
295 BT_HDR *attp_build_value_cmd (UINT16 payload_size, UINT8 op_code, UINT16 handle,
301 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
331 if (payload_size - p_buf->len < len)
333 len = payload_size - p_buf->len
    [all...]
  /external/linux-tools-perf/util/
cpumap.c 30 size_t payload_size = nr_cpus * sizeof(int); local
31 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size);
35 memcpy(cpus->map, tmp_cpus, payload_size);
  /external/chromium_org/ppapi/proxy/
websocket_resource.cc 34 uint64_t GetFrameSize(uint64_t payload_size) {
36 if (payload_size > kMinimumPayloadSizeWithEightByteExtendedPayloadLength)
38 else if (payload_size > kMinimumPayloadSizeWithTwoByteExtendedPayloadLength)
40 return SaturateAdd(payload_size, overhead);
247 uint64_t payload_size = 0; local
251 payload_size += message_string->value().length();
256 payload_size += message_array_buffer->ByteLength();
263 SaturateAdd(buffered_amount_after_close_, GetFrameSize(payload_size));
  /external/chromium_org/content/common/gpu/client/
gpu_video_encode_accelerator_host.cc 199 uint32 payload_size,
203 << ", payload_size=" << payload_size
206 client_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame);
  /external/chromium_org/media/mp2t/
ts_packet.h 42 int payload_size() const { return payload_size_; } function in class:media::mp2t::TsPacket

Completed in 2353 milliseconds

1 2 3 4