Searched refs:part_size (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/base/ |
D | multipart.cc | 181 size_t part_size, part_offset = 0; in SetPosition() local 183 if (!parts_[i]->GetSize(&part_size)) { in SetPosition() 186 if (part_offset + part_size > position) { in SetPosition() 199 part_offset += part_size; in SetPosition() 212 size_t part_size, total_size = 0; in GetSize() local 214 if (!parts_[i]->GetSize(&part_size)) { in GetSize() 217 total_size += part_size; in GetSize() 229 size_t part_size, total_size = 0; in GetAvailable() local 231 if (!parts_[i]->GetAvailable(&part_size)) { in GetAvailable() 234 total_size += part_size; in GetAvailable()
|
D | multipart_unittest.cc | 57 size_t part_size = in TEST() local 62 EXPECT_EQ(part_size, size); in TEST() 68 part_size += in TEST() 70 part_size += stream_size; in TEST() 77 EXPECT_EQ(part_size, size); in TEST() 87 part_size += multipart.GetEndPartSize(); in TEST() 90 EXPECT_EQ(part_size, size); in TEST()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_kernel.c | 41 uint64_t part_start, part_size; in LoadKernel() local 143 GptNextKernelEntry(&gpt, &part_start, &part_size)) { in LoadKernel() 155 part_start, part_size)); in LoadKernel() 166 shpart->sector_count = part_size; in LoadKernel() 179 part_start, part_size, &stream)) { in LoadKernel()
|
/external/webp/src/enc/ |
D | syntax_enc.c | 253 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); in EmitPartitionsSize() local 254 if (part_size >= VP8_MAX_PARTITION_SIZE) { in EmitPartitionsSize() 257 buf[3 * p + 0] = (part_size >> 0) & 0xff; in EmitPartitionsSize() 258 buf[3 * p + 1] = (part_size >> 8) & 0xff; in EmitPartitionsSize() 259 buf[3 * p + 2] = (part_size >> 16) & 0xff; in EmitPartitionsSize()
|
/external/vboot_reference/cgpt/ |
D | cgpt_find.c | 44 uint64_t part_size; in match_content() local 50 part_size = LBA_SIZE * (entry->ending_lba - entry->starting_lba + 1); in match_content() 51 if (params->matchoffset + params->matchlen > part_size) { in match_content()
|
/external/autotest/client/site_tests/hardware_Badblocks/ |
D | hardware_Badblocks.py | 168 part_size = utils.get_disk_size(dev) 169 logging.info('Partition size (bytes): %s', part_size)
|
/external/syslinux/com32/chain/ |
D | partiter.c | 133 siz = (uint64_t)gpth->part_count * gpth->part_size; in pi_gpt_ctor() 143 iter->gpt.pe_size = (int)gpth->part_size; in pi_gpt_ctor() 571 gpt_lsiz = (uint64_t)gpth->part_size * gpth->part_count; in try_gpt_list() 614 gpt_lsiz = (uint64_t)gpth->part_size * gpth->part_count; in notsane_gpt_hdr() 627 gpth->part_size < sizeof(struct disk_gpt_part_entry)) in notsane_gpt_hdr()
|
/external/webp/src/dec/ |
D | idec_dec.c | 372 const size_t part_size = br->buf_end_ - br->buf_; in CopyParts0Data() local 377 assert(part_size <= mem->part0_size_); in CopyParts0Data() 378 if (part_size == 0) { // can't have zero-size partition #0 in CopyParts0Data() 383 uint8_t* const part0_buf = (uint8_t*)WebPSafeMalloc(1ULL, part_size); in CopyParts0Data() 387 memcpy(part0_buf, br->buf_, part_size); in CopyParts0Data() 389 VP8BitReaderSetBuffer(br, part0_buf, part_size); in CopyParts0Data() 393 mem->start_ += part_size; in CopyParts0Data()
|
/external/libtextclassifier/common/ |
D | task-context.cc | 165 if (input.part_size() == 0) { in InputFile() 169 if (input.part_size() > 1) { in InputFile()
|
/external/libtextclassifier/lang_id/ |
D | lang-id.cc | 233 if (task_input->part_size() != 1) { in GetInMemoryFileNameForTaskInput() 235 << task_input->part_size() << " parts"; in GetInMemoryFileNameForTaskInput()
|
/external/syslinux/com32/include/syslinux/ |
D | disk.h | 166 uint32_t part_size; member
|
/external/syslinux/com32/lib/syslinux/ |
D | disk.c | 580 gpt->lba_table, gpt->part_count, gpt->part_size, gpt->table_chksum); in disk_gpt_header_dump()
|