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

1 2

  /external/android-clat/
ipv4.c 37 size_t payload_size; local
45 payload_size = len - sizeof(struct icmphdr);
47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size);
ipv6.c 39 size_t payload_size; local
47 payload_size = len - sizeof(struct icmp6_hdr);
49 return icmp6_to_icmp(out, pos, icmp6, payload, 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/mp2t/
ts_packet.h 42 int payload_size() const { return payload_size_; } function in class:media::mp2t::TsPacket
  /external/chromium/base/
pickle.h 59 size_t size() const { return header_size_ + header_->payload_size; }
143 uint32 payload_size; // Specifies the size of the payload. member in struct:Pickle::Header
172 size_t payload_size() const { return header_->payload_size; } function in class:Pickle
185 return payload() + payload_size();
189 return header_ ? payload() + payload_size() : NULL;
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_receiver.cc 40 size_t payload_size,
42 audio_receiver_->IncomingParsedRtpPacket(payload_data, payload_size,
152 size_t payload_size,
157 rtp_header.packet_id, rtp_header.max_packet_id, payload_size);
170 payload_size); local
178 payload_data), payload_size), &plaintext)) {
202 bool complete = audio_buffer_->InsertPacket(payload_data, payload_size,
  /external/chromium_org/mojo/public/tests/
bindings_connector_unittest.cc 53 size_t payload_size = strlen(text) + 1; // Plus null terminator. local
54 size_t num_bytes = sizeof(MessageHeader) + payload_size;
58 memcpy(message->data->payload, text, payload_size);
  /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/bluetooth/bluedroid/stack/gatt/
gatt_auth.c 47 UINT16 payload_size = p_clcb->p_tcb->payload_size; local
64 if ((payload_size - GATT_AUTH_SIGN_LEN - 3) < p_attr->len)
65 p_attr->len = payload_size - GATT_AUTH_SIGN_LEN - 3;
  /external/chromium/chrome/browser/safe_browsing/
prefix_set_unittest.cc 108 size_t payload_size = static_cast<size_t>(file_size) - sizeof(MD5Digest); local
111 while (digested_size < payload_size) {
113 size_t nitems = std::min(payload_size - digested_size, sizeof(buf));
118 ASSERT_EQ(digested_size, payload_size);
  /external/chromium_org/base/
pickle.h 133 size_t size() const { return header_size_ + header_->payload_size; }
262 uint32 payload_size; // Specifies the size of the payload. member in struct:Pickle::Header
280 size_t payload_size() const { return header_->payload_size; } function in class:Pickle
290 return header_ ? payload() + payload_size() : NULL;
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...]
  /external/chromium_org/ipc/
ipc_message_utils.cc 739 m->WriteData(p.payload(), static_cast<uint32>(p.payload_size()));
750 int payload_size; local
752 if (!m->ReadData(iter, &payload, &payload_size))
756 return r->WriteBytes(payload, payload_size);
  /external/chromium_org/media/webm/
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;
  /device/generic/goldfish/camera/
QemuClient.cpp 293 size_t payload_size; local
305 payload_size = strtol(payload_size_str, NULL, 16);
312 *data = malloc(payload_size);
315 __FUNCTION__, payload_size);
318 rd_res = qemud_fd_read(mPipeFD, *data, payload_size);
319 if (static_cast<size_t>(rd_res) == payload_size) {
320 *data_size = payload_size;
324 __FUNCTION__, rd_res, payload_size, strerror(errno));
  /external/chromium_org/net/quic/
quic_stream_sequencer_test.cc 504 int payload_size = arraysize(kPayload) - 1; local
505 int remaining_payload = payload_size;
508 int index = payload_size - remaining_payload;
  /external/chromium_org/net/websockets/
websocket_basic_stream_test.cc 245 const size_t payload_size = local
248 frame->data = new IOBuffer(payload_size);
250 kWriteFrame + kWriteFrameSize - payload_size,
251 payload_size);
255 header.payload_length = payload_size;
872 const size_t payload_size = unmasked_payload.size(); local
    [all...]
  /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));
  /hardware/qcom/media/mm-video-legacy/vidc/common/src/
extra_data_handler.cpp 96 OMX_U32 extra_data_handler::parse_frame_pack(OMX_U32 payload_size)
166 OMX_U32 nal_unit_type, payload_type = 0, payload_size = 0; local
183 payload_size += rbsp_buf[byte_ptr++];
184 payload_size += rbsp_buf[byte_ptr++];
186 DEBUG_PRINT_LOW("\nIn %s() payload_size : %u", __func__, payload_size);
191 parse_frame_pack(payload_size);
215 DEBUG_PRINT_LOW("\nIn %s() payload_size : %u/%u", __func__,
216 payload_size, byte_ptr);
  /hardware/qcom/media/mm-video-v4l2/vidc/common/src/
extra_data_handler.cpp 100 OMX_U32 extra_data_handler::parse_frame_pack(OMX_U32 payload_size)
178 OMX_U32 nal_unit_type, payload_type = 0, payload_size = 0; local
196 payload_size += rbsp_buf[byte_ptr++];
198 payload_size += rbsp_buf[byte_ptr++];
200 DEBUG_PRINT_LOW("\nIn %s() payload_size : %u", __func__, payload_size);
205 parse_frame_pack(payload_size);
233 DEBUG_PRINT_LOW("\nIn %s() payload_size : %u/%u", __func__,
234 payload_size, byte_ptr);
  /external/chromium_org/net/spdy/
spdy_stream.cc 859 size_t payload_size = local
861 DCHECK_LE(payload_size, session_->GetDataFrameMaximumPayload());
862 DecreaseSendWindowSize(static_cast<int32>(payload_size));
868 GetWeakPtr(), payload_size));
  /external/qemu/android/camera/
camera-service.c 373 * payload_size - Payload size to report to the client.
376 _qemu_client_reply_payload(QemudClient* qc, size_t payload_size)
379 snprintf(payload_size_str, sizeof(payload_size_str), "%08zx", payload_size);
414 size_t payload_size; local
426 payload_size = extra_size + 3;
430 payload_size = 3;
435 _qemu_client_reply_payload(qc, payload_size);
1003 size_t payload_size; local
    [all...]
  /external/chromium_org/content/common/gpu/media/
h264_parser.h 235 int payload_size; member in struct:content::H264SEIMessage

Completed in 371 milliseconds

1 2