Searched refs:payload_size (Results 1 – 10 of 10) 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/linux-tools-perf/util/ |
D | cpumap.c | 30 size_t payload_size = nr_cpus * sizeof(int); in cpu_map__trim_new() local 31 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 35 memcpy(cpus->map, tmp_cpus, payload_size); in cpu_map__trim_new()
|
/external/qemu/android/camera/ |
D | camera-service.c | 376 _qemu_client_reply_payload(QemudClient* qc, size_t payload_size) in _qemu_client_reply_payload() argument 379 snprintf(payload_size_str, sizeof(payload_size_str), "%08zx", payload_size); in _qemu_client_reply_payload() 414 size_t payload_size; in _qemu_client_query_reply() local 426 payload_size = extra_size + 3; in _qemu_client_query_reply() 430 payload_size = 3; in _qemu_client_query_reply() 435 _qemu_client_reply_payload(qc, payload_size); in _qemu_client_query_reply() 1003 size_t payload_size; in _camera_client_query_frame() local 1116 payload_size = 3 + video_size + preview_size; in _camera_client_query_frame() 1119 _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/libvpx/mkvparser/ |
D | mkvparser.hpp | 476 long long payload_size,
|
D | mkvparser.cpp | 5653 long long id, payload_size; in Parse() local 5660 payload_size); in Parse() 5665 if (payload_size == 0) //weird in Parse() 5668 const long long payload_stop = pos + payload_size; in Parse() 5680 payload_size, in Parse() 6623 long long payload_size, in ParseBlockGroup() argument 6628 const long long payload_stop = pos + payload_size; in ParseBlockGroup() 6646 len = static_cast<long>(payload_size); in ParseBlockGroup() 6853 status = CreateBlock(0x20, payload_start, payload_size); //BlockGroup ID in ParseBlockGroup()
|
/external/chromium/chrome/browser/password_manager/ |
D | native_backend_kwallet_x.cc | 487 header->payload_size > byte_array->len - sizeof(*header)) { in CheckSerializedValue()
|