/external/webrtc/webrtc/base/ |
multipart_unittest.cc | 57 size_t part_size = local 62 EXPECT_EQ(part_size, size); 68 part_size += 70 part_size += stream_size; 77 EXPECT_EQ(part_size, size); 87 part_size += multipart.GetEndPartSize(); 90 EXPECT_EQ(part_size, size);
|
multipart.cc | 181 size_t part_size, part_offset = 0; local 183 if (!parts_[i]->GetSize(&part_size)) { 186 if (part_offset + part_size > position) { 199 part_offset += part_size; 212 size_t part_size, total_size = 0; local 214 if (!parts_[i]->GetSize(&part_size)) { 217 total_size += part_size; 229 size_t part_size, total_size = 0; local 231 if (!parts_[i]->GetAvailable(&part_size)) { 234 total_size += part_size; [all...] |
/external/vboot_reference/cgpt/ |
cgpt_find.c | 44 uint64_t part_size; local 50 part_size = LBA_SIZE * (entry->ending_lba - entry->starting_lba + 1); 51 if (params->matchoffset + params->matchlen > part_size) {
|
/external/vboot_reference/firmware/lib/ |
vboot_kernel.c | 41 uint64_t part_start, part_size; local 143 GptNextKernelEntry(&gpt, &part_start, &part_size)) { 155 part_start, part_size)); 166 shpart->sector_count = part_size; 179 part_start, part_size, &stream)) {
|
/external/opencv3/3rdparty/libwebp/enc/ |
syntax.c | 257 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); local 258 if (part_size >= VP8_MAX_PARTITION_SIZE) { 261 buf[3 * p + 0] = (part_size >> 0) & 0xff; 262 buf[3 * p + 1] = (part_size >> 8) & 0xff; 263 buf[3 * p + 2] = (part_size >> 16) & 0xff;
|
/external/webp/src/enc/ |
syntax.c | 253 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); local 254 if (part_size >= VP8_MAX_PARTITION_SIZE) { 257 buf[3 * p + 0] = (part_size >> 0) & 0xff; 258 buf[3 * p + 1] = (part_size >> 8) & 0xff; 259 buf[3 * p + 2] = (part_size >> 16) & 0xff;
|
/system/update_engine/payload_generator/ |
ab_generator_unittest.cc | 63 const size_t part_size = part_num_blocks * kBlockSize; local 66 part_data.resize(part_size); 71 for (uint32_t i = 0; i < part_size; i++) 74 ASSERT_EQ(part_size, part_data.size()); 75 ASSERT_TRUE(utils::WriteFile(part_path.c_str(), part_data.data(), part_size)); 216 const size_t part_size = part_num_blocks * kBlockSize; local 219 part_data.resize(part_size); 224 for (uint32_t i = 0; i < part_size; i++) 227 ASSERT_EQ(part_size, part_data.size()); 228 ASSERT_TRUE(utils::WriteFile(part_path.c_str(), part_data.data(), part_size)); [all...] |
/external/webp/src/dec/ |
idec.c | 365 const size_t part_size = br->buf_end_ - br->buf_; local 370 assert(part_size <= mem->part0_size_); 371 if (part_size == 0) { // can't have zero-size partition #0 376 uint8_t* const part0_buf = (uint8_t*)WebPSafeMalloc(1ULL, part_size); 380 memcpy(part0_buf, br->buf_, part_size); 382 VP8BitReaderSetBuffer(br, part0_buf, part_size); 386 mem->start_ += part_size;
|
/system/update_engine/payload_consumer/ |
delta_performer.cc | 138 uint64_t part_size = fd->BlockDevSize(); local 139 if (!part_size || part_size <= data_size) 151 if (fd->BlkIoctl(request, data_size, part_size - data_size, &error) && 156 << (part_size - data_size) / 1024 << " KiB using ioctl(" [all...] |