Searched refs:payload_size (Results 1 – 8 of 8) sorted by relevance
/external/chromium/base/ |
D | pickle.cc | 28 header_->payload_size = 0; in Pickle() 39 header_->payload_size = 0; in Pickle() 48 header_size_ = data_len - header_->payload_size; in Pickle() 66 size_t payload_size = header_size_ + other.header_->payload_size; in Pickle() local 67 bool resized = Resize(payload_size); in Pickle() 69 memcpy(header_, other.header_, payload_size); in Pickle() 91 bool resized = Resize(other.header_size_ + other.header_->payload_size); in operator =() 94 other.header_size_ + other.header_->payload_size); in operator =() 375 header_->payload_size -= (*cur_length - new_length); in TrimWriteData() 381 size_t offset = AlignInt(header_->payload_size, sizeof(uint32)); in BeginWrite() [all …]
|
D | pickle.h | 59 size_t size() const { return header_size_ + header_->payload_size; } in size() 143 uint32 payload_size; // Specifies the size of the payload. member 172 size_t payload_size() const { return header_->payload_size; } in payload_size() function 185 return payload() + payload_size(); in end_of_payload() 189 return header_ ? payload() + payload_size() : NULL; in end_of_payload()
|
D | pickle_unittest.cc | 223 EXPECT_EQ(pickle.payload_size(), payload_size_after_header); in TEST() 229 EXPECT_EQ(cur_payload, pickle.payload_size()); in TEST() 235 EXPECT_EQ(cur_payload, pickle.payload_size()); in TEST()
|
/external/qemu/android/camera/ |
D | camera-service.c | 561 _qemu_client_reply_payload(QemudClient* qc, size_t payload_size) in _qemu_client_reply_payload() argument 564 snprintf(payload_size_str, sizeof(payload_size_str), "%08x", payload_size); in _qemu_client_reply_payload() 599 size_t payload_size; in _qemu_client_query_reply() local 611 payload_size = extra_size + 3; in _qemu_client_query_reply() 615 payload_size = 3; in _qemu_client_query_reply() 620 _qemu_client_reply_payload(qc, payload_size); in _qemu_client_query_reply() 1183 size_t payload_size; in _camera_client_query_frame() local 1276 payload_size = 3 + video_size + preview_size; in _camera_client_query_frame() 1279 _qemu_client_reply_payload(qc, payload_size); in _camera_client_query_frame()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | prefix_set_unittest.cc | 108 size_t payload_size = static_cast<size_t>(file_size) - sizeof(MD5Digest); in CleanChecksum() local 111 while (digested_size < payload_size) { in CleanChecksum() 113 size_t nitems = std::min(payload_size - digested_size, sizeof(buf)); in CleanChecksum() 118 ASSERT_EQ(digested_size, payload_size); in CleanChecksum()
|
/external/bluetooth/bluez/audio/ |
D | avdtp.c | 1989 gsize payload_size; in avdtp_parse_data() local 2003 payload_size = size - sizeof(*single); in avdtp_parse_data() 2031 payload_size = size - sizeof(*start); in avdtp_parse_data() 2054 payload_size = size - sizeof(struct avdtp_continue_header); in avdtp_parse_data() 2076 payload_size = size - sizeof(struct avdtp_continue_header); in avdtp_parse_data() 2084 if (session->in.data_size + payload_size > in avdtp_parse_data() 2090 memcpy(session->in.buf + session->in.data_size, payload, payload_size); in avdtp_parse_data() 2091 session->in.data_size += payload_size; in avdtp_parse_data()
|
/external/chromium/chrome/browser/password_manager/ |
D | native_backend_kwallet_x.cc | 487 header->payload_size > byte_array->len - sizeof(*header)) { in CheckSerializedValue()
|
/external/libvpx/mkvparser/ |
D | mkvparser.cpp | 6475 long long payload_size, in ParseBlockGroup() argument 6480 const long long payload_stop = pos + payload_size; in ParseBlockGroup() 6498 len = static_cast<long>(payload_size); in ParseBlockGroup() 6687 CreateBlock(0x20, payload_start, payload_size); //BlockGroup ID in ParseBlockGroup()
|